-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from dinusha92/master
Updating docs and keys.go with minor improvements
- Loading branch information
Showing
12 changed files
with
345 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## apimcli add | ||
|
||
Add an API to the kubernetes cluster | ||
|
||
### Synopsis | ||
|
||
|
||
Add an API from a Swagger file to the kubernetes cluster. JSON and YAML formats are accepted. | ||
To execute kubernetes commands set mode to Kubernetes | ||
|
||
### Examples | ||
|
||
``` | ||
apimcli add api -n petstore --from-file=./Swagger.json --replicas=1 --namespace=wso2 | ||
apimcli add api -n petstore --from-file=./product-apim-tooling/import-export-cli/build/target/apimcli/myapi --replicas=1 --namespace=wso2 | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for add | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-k, --insecure Allow connections to SSL endpoints without certs | ||
--verbose Enable verbose mode | ||
``` | ||
|
||
### SEE ALSO | ||
* [apimcli](apimcli.md) - CLI for Importing and Exporting APIs and Applications | ||
* [apimcli add api](apimcli_add_api.md) - handle APIs in kubernetes cluster | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
## apimcli add api | ||
|
||
handle APIs in kubernetes cluster | ||
|
||
### Synopsis | ||
|
||
|
||
Add, Update and Delete APIs in kubernetes cluster. JSON and YAML formats are accepted. | ||
available modes are as follows | ||
* kubernetes | ||
|
||
``` | ||
apimcli add api [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
apimcli add/update api -n petstore --from-file=./Swagger.json --replicas=3 --namespace=wso2 | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-f, --from-file string Path to swagger file | ||
-h, --help help for api | ||
-n, --name string Name of the API | ||
--namespace string namespace of API | ||
--replicas int replica set (default 1) | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-k, --insecure Allow connections to SSL endpoints without certs | ||
--verbose Enable verbose mode | ||
``` | ||
|
||
### SEE ALSO | ||
* [apimcli add](apimcli_add.md) - Add an API to the kubernetes cluster | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
## apimcli update | ||
|
||
Update an API to the kubernetes cluster | ||
|
||
### Synopsis | ||
|
||
|
||
Update an existing API with Swagger file in the kubernetes cluster. JSON and YAML formats are accepted. | ||
|
||
### Examples | ||
|
||
``` | ||
apimcli update api -n petstore --from-file=./Swagger.json --replicas=1 --namespace=wso2 | ||
apimcli update api -n petstore --from-file=./product-apim-tooling/import-export-cli/build/target/apimcli/myapi --replicas=1 --namespace=wso2 | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for update | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-k, --insecure Allow connections to SSL endpoints without certs | ||
--verbose Enable verbose mode | ||
``` | ||
|
||
### SEE ALSO | ||
* [apimcli](apimcli.md) - CLI for Importing and Exporting APIs and Applications | ||
* [apimcli update api](apimcli_update_api.md) - handle APIs in kubernetes cluster | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
## apimcli update api | ||
|
||
handle APIs in kubernetes cluster | ||
|
||
### Synopsis | ||
|
||
|
||
Add, Update and Delete APIs in kubernetes cluster. JSON and YAML formats are accepted. | ||
available modes are as follows | ||
* kubernetes | ||
|
||
``` | ||
apimcli update api [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
apimcli add/update api -n petstore --from-file=./Swagger.json --replicas=3 --namespace=wso2 | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-f, --from-file string Path to swagger file | ||
-h, --help help for api | ||
-n, --name string Name of the API | ||
--namespace string namespace of API | ||
--replicas int replica set (default 1) | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-k, --insecure Allow connections to SSL endpoints without certs | ||
--verbose Enable verbose mode | ||
``` | ||
|
||
### SEE ALSO | ||
* [apimcli update](apimcli_update.md) - Update an API to the kubernetes cluster | ||
|
Oops, something went wrong.