x

package
v1.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitCommand

func InitCommand() *cobra.Command

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

func SetClientCredentials(apiKey, apiSecret string) error

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

func XListInstanceTypes(params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)

XListInstanceTypes List Compute instance types

func XListLoadBalancers

func XListLoadBalancers(params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)

XListLoadBalancers List Load Balancers

func XListSecurityGroups

func XListSecurityGroups(params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)

XListSecurityGroups List Security Groups

func XListSnapshots

func XListSnapshots(params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)

XListSnapshots List snapshots

func XListTemplates

func XListTemplates(params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)

XListTemplates List templates

func XListZones

func XListZones(params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)

XListZones List zones

func XRegisterTemplate

func XRegisterTemplate(params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)

XRegisterTemplate Register a template

func XUpdateLoadBalancer

func XUpdateLoadBalancer(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)

XUpdateLoadBalancer Update a Load Balancer

func XUpdateLoadBalancerService

func XUpdateLoadBalancerService(paramId string, paramServiceId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)

XUpdateLoadBalancerService Update a Load Balancer Service

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL