Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
posriniv committed Jul 9, 2024
1 parent a76a69d commit eaccea2
Show file tree
Hide file tree
Showing 100 changed files with 4 additions and 102 deletions.
2 changes: 1 addition & 1 deletion cmd/cluster/create_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func init() {
createClusterCmd.Flags().String("cloud-provider", "", "[OPTIONAL] The cloud provider where database needs to be deployed. AWS, AZURE or GCP. Default AWS.")
createClusterCmd.Flags().String("cluster-tier", "", "[OPTIONAL] The tier of the cluster. Sandbox or Dedicated. Default Sandbox.")
createClusterCmd.Flags().String("cluster-type", "", "[OPTIONAL] Cluster replication type. SYNCHRONOUS or GEO_PARTITIONED. Default SYNCHRONOUS.")
createClusterCmd.Flags().String("database-version", "", "[OPTIONAL] The database version of the cluster. Production, Innovation, Preview or 'Early Access'. Default depends on cluster tier, Sandbox is Preview, Dedicated is Production.")
createClusterCmd.Flags().String("database-version", "", "[OPTIONAL] The database version of the cluster. Production, Innovation, Preview, or 'Early Access'. Default depends on cluster tier, Sandbox is Preview, Dedicated is Production.")
if util.IsFeatureFlagEnabled(util.ENTERPRISE_SECURITY) {
createClusterCmd.Flags().Bool("enterprise-security", false, "[OPTIONAL] The security level of cluster. Advanced security will have security checks for cluster. Default false.")
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/cluster/update_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func init() {
updateClusterCmd.Flags().StringArray("region-info", []string{}, `Region information for the cluster, provided as key-value pairs. Arguments are region=<region-name>,num-nodes=<number-of-nodes>,vpc=<vpc-name>,num-cores=<num-cores>,disk-size-gb=<disk-size-gb>,disk-iops=<disk-iops> (AWS only). region, num-nodes, num-cores, disk-size-gb are required. Specify one --region-info flag for each region in the cluster.`)
updateClusterCmd.Flags().String("cluster-tier", "", "[OPTIONAL] The tier of the cluster. Sandbox or Dedicated.")
updateClusterCmd.Flags().String("fault-tolerance", "", "[OPTIONAL] Fault tolerance of the cluster. The possible values are NONE, NODE, ZONE, or REGION. Default NONE.")
updateClusterCmd.Flags().String("database-version", "", "[OPTIONAL] The database version of the cluster. Production or Innovation or Preview or 'Early Access'.")
updateClusterCmd.Flags().String("database-version", "", "[OPTIONAL] The database version of the cluster. Production, Innovation, Preview, or 'Early Access'.")

}

Expand Down
1 change: 0 additions & 1 deletion docs/ybm.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ ybm [flags]
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
-h, --help help for ybm
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_api-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ ybm api-key [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_api-key_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ ybm api-key create [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_api-key_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ ybm api-key list [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_api-key_revoke.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ ybm api-key revoke [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ ybm auth [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ ybm backup [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_backup_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ ybm backup create [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_backup_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ ybm backup delete [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_backup_describe.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ ybm backup describe [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_backup_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ ybm backup list [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_backup_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ ybm backup policy [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_backup_policy_disable.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ ybm backup policy disable [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_backup_policy_enable.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ ybm backup policy enable [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_backup_policy_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ ybm backup policy list [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_backup_policy_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ ybm backup policy update [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_backup_restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ ybm backup restore [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ ybm cluster [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_cluster_cert.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ ybm cluster cert [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_cluster_cert_download.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ ybm cluster cert download [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
3 changes: 1 addition & 2 deletions docs/ybm_cluster_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ybm cluster create [flags]
--cloud-provider string [OPTIONAL] The cloud provider where database needs to be deployed. AWS, AZURE or GCP. Default AWS.
--cluster-tier string [OPTIONAL] The tier of the cluster. Sandbox or Dedicated. Default Sandbox.
--cluster-type string [OPTIONAL] Cluster replication type. SYNCHRONOUS or GEO_PARTITIONED. Default SYNCHRONOUS.
--database-version string [OPTIONAL] The database version of the cluster. Production, Innovation, Preview or 'Early Access'. Default depends on cluster tier, Sandbox is Preview, Dedicated is Production.
--database-version string [OPTIONAL] The database version of the cluster. Production, Innovation, Preview, or 'Early Access'. Default depends on cluster tier, Sandbox is Preview, Dedicated is Production.
--encryption-spec string [OPTIONAL] The customer managed key spec for the cluster.
Please provide key value pairs as follows:
For AWS:
Expand All @@ -43,7 +43,6 @@ ybm cluster create [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_cluster_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ ybm cluster delete [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_cluster_describe.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ ybm cluster describe [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_cluster_encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ ybm cluster encryption [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_cluster_encryption_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ ybm cluster encryption list [flags]
-c, --cluster-name string [REQUIRED] The name of the cluster.
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_cluster_encryption_update-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ ybm cluster encryption update-state [flags]
-c, --cluster-name string [REQUIRED] The name of the cluster.
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_cluster_encryption_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ ybm cluster encryption update [flags]
-c, --cluster-name string [REQUIRED] The name of the cluster.
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_cluster_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ ybm cluster list [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_cluster_network.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ ybm cluster network [flags]
-a, --apiKey string YBM Api Key
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_cluster_network_allow-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ ybm cluster network allow-list [flags]
-c, --cluster-name string [REQUIRED] The name of the cluster.
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
1 change: 0 additions & 1 deletion docs/ybm_cluster_network_allow-list_assign.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ ybm cluster network allow-list assign [flags]
-c, --cluster-name string [REQUIRED] The name of the cluster.
--config string config file (default is $HOME/.ybm-cli.yaml)
--debug Use debug mode, same as --logLevel debug
--host string YBM Api hostname
-l, --logLevel string Select the desired log level format(info). Default to info
--no-color Disable colors in output , default to false
-o, --output string Select the desired output format (table, json, pretty). Default to table
Expand Down
Loading

0 comments on commit eaccea2

Please sign in to comment.