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 XCreatePrivateNetwork(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 XCreateSksCluster(params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
- func XCreateSksNodepool(paramId string, 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 XDeletePrivateNetwork(paramId 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 XDeleteSksCluster(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XDeleteSksNodepool(paramId string, paramSksNodepoolId 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 XEvictSksNodepoolMembers(paramId string, paramSksNodepoolId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
- func XExportSnapshot(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
- func XGenerateSksClusterKubeconfig(paramId string, params *viper.Viper, body string) (*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 XGetPrivateNetwork(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 XGetSksCluster(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XGetSksNodepool(paramId string, paramSksNodepoolId 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 XListEvents(params *viper.Viper) (*gentleman.Response, 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 XListPrivateNetworks(params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XListSecurityGroups(params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
- func XListSksClusters(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 XRevertInstanceToSnapshot(paramInstanceId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
- func XScaleSksNodepool(paramId string, paramSksNodepoolId string, 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)
- func XUpdatePrivateNetwork(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
- func XUpdateSksCluster(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
- func XUpdateSksNodepool(paramId string, paramSksNodepoolId 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 Load Balancer
func XCreatePrivateNetwork ¶
func XCreatePrivateNetwork(params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XCreatePrivateNetwork Create a Private network
func XCreateSecurityGroup ¶
func XCreateSecurityGroup(params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XCreateSecurityGroup Create a Security Group
func XCreateSksCluster ¶
func XCreateSksCluster(params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XCreateSksCluster Create a SKS cluster
func XCreateSksNodepool ¶
func XCreateSksNodepool(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XCreateSksNodepool Create a new SKS Nodepool
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 XDeletePrivateNetwork ¶
func XDeletePrivateNetwork(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XDeletePrivateNetwork Delete a Private network
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 XDeleteSksCluster ¶
func XDeleteSksCluster(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XDeleteSksCluster Delete a SKS cluster
func XDeleteSksNodepool ¶
func XDeleteSksNodepool(paramId string, paramSksNodepoolId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XDeleteSksNodepool Delete a SKS Nodepool
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 XEvictSksNodepoolMembers ¶
func XEvictSksNodepoolMembers(paramId string, paramSksNodepoolId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XEvictSksNodepoolMembers Evict Nodepool members
func XExportSnapshot ¶
func XExportSnapshot(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XExportSnapshot Export a Snapshot
func XGenerateSksClusterKubeconfig ¶
func XGenerateSksClusterKubeconfig(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XGenerateSksClusterKubeconfig Generate a new Kubeconfig file for a SKS cluster
func XGetInstanceType ¶
func XGetInstanceType(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetInstanceType Retrieve Instance Type details
func XGetLoadBalancer ¶
func XGetLoadBalancer(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetLoadBalancer Retrieve Load Balancer details
func XGetLoadBalancerService ¶
func XGetLoadBalancerService(paramId string, paramServiceId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetLoadBalancerService Retrieve Load Balancer Service details
func XGetOperation ¶
func XGetOperation(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetOperation Retrieve Operation details
func XGetPrivateNetwork ¶
func XGetPrivateNetwork(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetPrivateNetwork Retrieve Private network details
func XGetSecurityGroup ¶
func XGetSecurityGroup(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetSecurityGroup Retrieve Security Group details
func XGetSksCluster ¶
func XGetSksCluster(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetSksCluster Retrieve SKS cluster details
func XGetSksNodepool ¶
func XGetSksNodepool(paramId string, paramSksNodepoolId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetSksNodepool Retrieve SKS Nodepool details
func XGetSnapshot ¶
func XGetSnapshot(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetSnapshot Retrieve Snapshot details
func XGetTemplate ¶
func XGetTemplate(paramId string, params *viper.Viper) (*gentleman.Response, map[string]interface{}, error)
XGetTemplate Retrieve Template details
func XListEvents ¶
XListEvents List Events
func XListInstanceTypes ¶
XListInstanceTypes List Compute instance Types
func XListLoadBalancers ¶
XListLoadBalancers List Load Balancers
func XListPrivateNetworks ¶
XListPrivateNetworks List Private networks
func XListSecurityGroups ¶
XListSecurityGroups List Security Groups
func XListSksClusters ¶
XListSksClusters List SKS clusters
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
func XRevertInstanceToSnapshot ¶
func XRevertInstanceToSnapshot(paramInstanceId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XRevertInstanceToSnapshot revert-instance-to-snapshot
func XScaleSksNodepool ¶
func XScaleSksNodepool(paramId string, paramSksNodepoolId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XScaleSksNodepool Scale a SKS Nodepool
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
func XUpdatePrivateNetwork ¶
func XUpdatePrivateNetwork(paramId string, params *viper.Viper, body string) (*gentleman.Response, map[string]interface{}, error)
XUpdatePrivateNetwork Update a Private network
Types ¶
This section is empty.