Documentation
¶
Index ¶
- func InitCommand() *cobra.Command
- func SetClientCredentials(apiKey, apiSecret string) error
- func SetClientUserAgent(ua string)
- func XAddRuleToSecurityGroup(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
- func XAddServiceToLoadBalancer(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
- func XCreateInstance(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 XCreateSecurityGroup(params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
- func XCreateSnapshot(paramId string, 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 XDeleteRuleFromSecurityGroup(paramId string, paramRuleId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XDeleteSecurityGroup(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XDeleteSnapshot(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XDeleteTemplate(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XExportSnapshot(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
- func XGetExportSnapshot(paramId 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 XGetSecurityGroup(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XGetSnapshot(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XGetTemplate(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 XListSecurityGroups(params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XListSnapshots(params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XListTemplates(params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XListZones(params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XRegisterTemplate(params *viper.Viper, body string) (*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 XAddRuleToSecurityGroup ¶
func XAddRuleToSecurityGroup(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XAddRuleToSecurityGroup Create a Security Group rule
func XAddServiceToLoadBalancer ¶
func XAddServiceToLoadBalancer(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XAddServiceToLoadBalancer Add a Load Balancer Service
func XCreateInstance ¶
func XCreateInstance(params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XCreateInstance Create a Compute instance
func XCreateLoadBalancer ¶
func XCreateLoadBalancer(params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XCreateLoadBalancer Create a new Load Balancer
func XCreateSecurityGroup ¶
func XCreateSecurityGroup(params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XCreateSecurityGroup Create a Security Group
func XCreateSnapshot ¶
func XCreateSnapshot(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XCreateSnapshot Create a snapshot of a Compute instance
func XDeleteLoadBalancer ¶
func XDeleteLoadBalancer(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XDeleteLoadBalancer Delete a Load Balancer
func XDeleteLoadBalancerService ¶
func XDeleteLoadBalancerService(paramId string, paramServiceId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XDeleteLoadBalancerService Delete a Load Balancer Service
func XDeleteRuleFromSecurityGroup ¶
func XDeleteRuleFromSecurityGroup(paramId string, paramRuleId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XDeleteRuleFromSecurityGroup Delete a Security Group rule
func XDeleteSecurityGroup ¶
func XDeleteSecurityGroup(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XDeleteSecurityGroup Delete a Security Group
func XDeleteSnapshot ¶
func XDeleteSnapshot(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XDeleteSnapshot Delete a snapshot
func XDeleteTemplate ¶
func XDeleteTemplate(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XDeleteTemplate Delete a template
func XExportSnapshot ¶
func XExportSnapshot(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XExportSnapshot Export a snapshot
func XGetExportSnapshot ¶ added in v1.13.0
func XGetExportSnapshot(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetExportSnapshot Retrieve an exported snapshot details
func XGetInstanceType ¶
func XGetInstanceType(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetInstanceType Retrieve an Instance Type details
func XGetLoadBalancer ¶
func XGetLoadBalancer(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetLoadBalancer Retrieve a Load Balancer details
func XGetLoadBalancerService ¶
func XGetLoadBalancerService(paramId string, paramServiceId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetLoadBalancerService Retrieve a Load Balancer Service details
func XGetOperation ¶
func XGetOperation(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetOperation Lookup operation status by ID
func XGetSecurityGroup ¶
func XGetSecurityGroup(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetSecurityGroup Retrieve a Security Group details
func XGetSnapshot ¶
func XGetSnapshot(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetSnapshot Retrieve a snapshot details
func XGetTemplate ¶
func XGetTemplate(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetTemplate Retrieve a Compute template details
func XListInstanceTypes ¶
XListInstanceTypes List Compute instance types
func XListLoadBalancers ¶
XListLoadBalancers List Load Balancers
func XListSecurityGroups ¶
XListSecurityGroups List Security Groups
func XListSnapshots ¶
XListSnapshots List snapshots
func XListTemplates ¶
XListTemplates List templates
func XListZones ¶
XListZones List zones
func XRegisterTemplate ¶
func XRegisterTemplate(params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XRegisterTemplate Register a template
Types ¶
This section is empty.