Documentation
¶
Index ¶
- func InitCommand() *cobra.Command
- func SetClientCredentials(apiKey, apiSecret string) error
- func SetClientUserAgent(ua string)
- func XAddServiceToLoadBalancer(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
- func XCreateLoadBalancer(params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
- func XDeleteLoadBalancer(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XDeleteLoadBalancerService(paramId string, paramServiceId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XGetInstanceType(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XGetLoadBalancer(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XGetLoadBalancerService(paramId string, paramServiceId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XGetOperation(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XListInstanceTypes(params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XListLoadBalancers(params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XListOperations(params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XListZones(params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XUpdateLoadBalancer(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
- func XUpdateLoadBalancerService(paramId string, paramServiceId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitCommand ¶
InitCommand initializes the code-generated CLI instance and returns the resulting Cobra command to the caller so it can be added as subcommand to a higher level CLI.
func SetClientCredentials ¶
SetClientCredentials adds a pre-request hook to sign outgoing requests using specified API credentials.
func SetClientUserAgent ¶
func SetClientUserAgent(ua string)
SetClientUserAgent adds a pre-request hook to set the User-Agent header value on outgoing HTTP requests.
func XAddServiceToLoadBalancer ¶
func XAddServiceToLoadBalancer(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XAddServiceToLoadBalancer add-service-to-load-balancer
func XCreateLoadBalancer ¶
func XCreateLoadBalancer(params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XCreateLoadBalancer create-load-balancer
func XDeleteLoadBalancer ¶
func XDeleteLoadBalancer(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XDeleteLoadBalancer delete-load-balancer
func XDeleteLoadBalancerService ¶
func XDeleteLoadBalancerService(paramId string, paramServiceId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XDeleteLoadBalancerService delete-load-balancer-service
func XGetInstanceType ¶
func XGetInstanceType(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetInstanceType get-instance-type
func XGetLoadBalancer ¶
func XGetLoadBalancer(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetLoadBalancer get-load-balancer
func XGetLoadBalancerService ¶
func XGetLoadBalancerService(paramId string, paramServiceId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetLoadBalancerService get-load-balancer-service
func XGetOperation ¶
func XGetOperation(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetOperation get-operation
func XListInstanceTypes ¶
XListInstanceTypes list-instance-types
func XListLoadBalancers ¶
XListLoadBalancers list-load-balancers
func XListOperations ¶ added in v1.13.0
XListOperations list-operations
func XListZones ¶
XListZones list-zones
Types ¶
This section is empty.