Documentation
¶
Overview ¶
Package publicapi provides primitives to interact the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen DO NOT EDIT.
Package publicapi is an internal package containing code generated from the Exoscale API OpenAPI specs, as well as helpers and transition types exposed in the public-facing package.
Index ¶
- func NewAddRuleToSecurityGroupRequest(server string, id string, body AddRuleToSecurityGroupJSONRequestBody) (*http.Request, error)
- func NewAddRuleToSecurityGroupRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddServiceToLoadBalancerRequest(server string, id string, body AddServiceToLoadBalancerJSONRequestBody) (*http.Request, error)
- func NewAddServiceToLoadBalancerRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewAttachInstanceToElasticIpRequest(server string, id string, body AttachInstanceToElasticIpJSONRequestBody) (*http.Request, error)
- func NewAttachInstanceToElasticIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCopyTemplateRequest(server string, id string, body CopyTemplateJSONRequestBody) (*http.Request, error)
- func NewCopyTemplateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateAntiAffinityGroupRequest(server string, body CreateAntiAffinityGroupJSONRequestBody) (*http.Request, error)
- func NewCreateAntiAffinityGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateElasticIpRequest(server string, body CreateElasticIpJSONRequestBody) (*http.Request, error)
- func NewCreateElasticIpRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateInstancePoolRequest(server string, body CreateInstancePoolJSONRequestBody) (*http.Request, error)
- func NewCreateInstancePoolRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateInstanceRequest(server string, body CreateInstanceJSONRequestBody) (*http.Request, error)
- func NewCreateInstanceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateLoadBalancerRequest(server string, body CreateLoadBalancerJSONRequestBody) (*http.Request, error)
- func NewCreateLoadBalancerRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePrivateNetworkRequest(server string, body CreatePrivateNetworkJSONRequestBody) (*http.Request, error)
- func NewCreatePrivateNetworkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSecurityGroupRequest(server string, body CreateSecurityGroupJSONRequestBody) (*http.Request, error)
- func NewCreateSecurityGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSksClusterRequest(server string, body CreateSksClusterJSONRequestBody) (*http.Request, error)
- func NewCreateSksClusterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSksNodepoolRequest(server string, id string, body CreateSksNodepoolJSONRequestBody) (*http.Request, error)
- func NewCreateSksNodepoolRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSnapshotRequest(server string, id string) (*http.Request, error)
- func NewDeleteAntiAffinityGroupRequest(server string, id string) (*http.Request, error)
- func NewDeleteElasticIpRequest(server string, id string) (*http.Request, error)
- func NewDeleteInstancePoolRequest(server string, id string) (*http.Request, error)
- func NewDeleteInstanceRequest(server string, id string) (*http.Request, error)
- func NewDeleteLoadBalancerRequest(server string, id string) (*http.Request, error)
- func NewDeleteLoadBalancerServiceRequest(server string, id string, serviceId string) (*http.Request, error)
- func NewDeletePrivateNetworkRequest(server string, id string) (*http.Request, error)
- func NewDeleteRuleFromSecurityGroupRequest(server string, id string, ruleId string) (*http.Request, error)
- func NewDeleteSecurityGroupRequest(server string, id string) (*http.Request, error)
- func NewDeleteSksClusterRequest(server string, id string) (*http.Request, error)
- func NewDeleteSksNodepoolRequest(server string, id string, sksNodepoolId string) (*http.Request, error)
- func NewDeleteSnapshotRequest(server string, id string) (*http.Request, error)
- func NewDeleteTemplateRequest(server string, id string) (*http.Request, error)
- func NewEvictInstancePoolMembersRequest(server string, id string, body EvictInstancePoolMembersJSONRequestBody) (*http.Request, error)
- func NewEvictInstancePoolMembersRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewEvictSksNodepoolMembersRequest(server string, id string, sksNodepoolId string, ...) (*http.Request, error)
- func NewEvictSksNodepoolMembersRequestWithBody(server string, id string, sksNodepoolId string, contentType string, ...) (*http.Request, error)
- func NewExportSnapshotRequest(server string, id string) (*http.Request, error)
- func NewGenerateSksClusterKubeconfigRequest(server string, id string, body GenerateSksClusterKubeconfigJSONRequestBody) (*http.Request, error)
- func NewGenerateSksClusterKubeconfigRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetAntiAffinityGroupRequest(server string, id string) (*http.Request, error)
- func NewGetDeployTargetRequest(server string, id string) (*http.Request, error)
- func NewGetElasticIpRequest(server string, id string) (*http.Request, error)
- func NewGetInstancePoolRequest(server string, id string) (*http.Request, error)
- func NewGetInstanceRequest(server string, id string) (*http.Request, error)
- func NewGetInstanceTypeRequest(server string, id string) (*http.Request, error)
- func NewGetLoadBalancerRequest(server string, id string) (*http.Request, error)
- func NewGetLoadBalancerServiceRequest(server string, id string, serviceId string) (*http.Request, error)
- func NewGetOperationRequest(server string, id string) (*http.Request, error)
- func NewGetPrivateNetworkRequest(server string, id string) (*http.Request, error)
- func NewGetSecurityGroupRequest(server string, id string) (*http.Request, error)
- func NewGetSksClusterAuthorityCertRequest(server string, id string, authority string) (*http.Request, error)
- func NewGetSksClusterRequest(server string, id string) (*http.Request, error)
- func NewGetSksNodepoolRequest(server string, id string, sksNodepoolId string) (*http.Request, error)
- func NewGetSnapshotRequest(server string, id string) (*http.Request, error)
- func NewGetSosPresignedUrlRequest(server string, bucket string, params *GetSosPresignedUrlParams) (*http.Request, error)
- func NewGetSshKeyRequest(server string, name string) (*http.Request, error)
- func NewGetTemplateRequest(server string, id string) (*http.Request, error)
- func NewListAntiAffinityGroupsRequest(server string) (*http.Request, error)
- func NewListDeployTargetsRequest(server string) (*http.Request, error)
- func NewListElasticIpsRequest(server string) (*http.Request, error)
- func NewListEventsRequest(server string, params *ListEventsParams) (*http.Request, error)
- func NewListInstancePoolsRequest(server string) (*http.Request, error)
- func NewListInstanceTypesRequest(server string) (*http.Request, error)
- func NewListInstancesRequest(server string) (*http.Request, error)
- func NewListLoadBalancersRequest(server string) (*http.Request, error)
- func NewListPrivateNetworksRequest(server string) (*http.Request, error)
- func NewListSecurityGroupsRequest(server string) (*http.Request, error)
- func NewListSksClusterVersionsRequest(server string) (*http.Request, error)
- func NewListSksClustersRequest(server string) (*http.Request, error)
- func NewListSnapshotsRequest(server string) (*http.Request, error)
- func NewListTemplatesRequest(server string, params *ListTemplatesParams) (*http.Request, error)
- func NewListZonesRequest(server string) (*http.Request, error)
- func NewRegisterTemplateRequest(server string, body RegisterTemplateJSONRequestBody) (*http.Request, error)
- func NewRegisterTemplateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewResetElasticIpFieldRequest(server string, id string, field string) (*http.Request, error)
- func NewResetInstancePoolFieldRequest(server string, id string, field string) (*http.Request, error)
- func NewResetSksClusterFieldRequest(server string, id string, field string) (*http.Request, error)
- func NewResetSksNodepoolFieldRequest(server string, id string, sksNodepoolId string, field string) (*http.Request, error)
- func NewRevertInstanceToSnapshotRequest(server string, instanceId string, body RevertInstanceToSnapshotJSONRequestBody) (*http.Request, error)
- func NewRevertInstanceToSnapshotRequestWithBody(server string, instanceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewRotateSksCcmCredentialsRequest(server string, id string) (*http.Request, error)
- func NewScaleInstancePoolRequest(server string, id string, body ScaleInstancePoolJSONRequestBody) (*http.Request, error)
- func NewScaleInstancePoolRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewScaleSksNodepoolRequest(server string, id string, sksNodepoolId string, ...) (*http.Request, error)
- func NewScaleSksNodepoolRequestWithBody(server string, id string, sksNodepoolId string, contentType string, ...) (*http.Request, error)
- func NewUpdateElasticIpRequest(server string, id string, body UpdateElasticIpJSONRequestBody) (*http.Request, error)
- func NewUpdateElasticIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateInstancePoolRequest(server string, id string, body UpdateInstancePoolJSONRequestBody) (*http.Request, error)
- func NewUpdateInstancePoolRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateInstanceRequest(server string, id string, body UpdateInstanceJSONRequestBody) (*http.Request, error)
- func NewUpdateInstanceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateLoadBalancerRequest(server string, id string, body UpdateLoadBalancerJSONRequestBody) (*http.Request, error)
- func NewUpdateLoadBalancerRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateLoadBalancerServiceRequest(server string, id string, serviceId string, ...) (*http.Request, error)
- func NewUpdateLoadBalancerServiceRequestWithBody(server string, id string, serviceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePrivateNetworkRequest(server string, id string, body UpdatePrivateNetworkJSONRequestBody) (*http.Request, error)
- func NewUpdatePrivateNetworkRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSksClusterRequest(server string, id string, body UpdateSksClusterJSONRequestBody) (*http.Request, error)
- func NewUpdateSksClusterRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSksNodepoolRequest(server string, id string, sksNodepoolId string, ...) (*http.Request, error)
- func NewUpdateSksNodepoolRequestWithBody(server string, id string, sksNodepoolId string, contentType string, ...) (*http.Request, error)
- func NewUpgradeSksClusterRequest(server string, id string, body UpgradeSksClusterJSONRequestBody) (*http.Request, error)
- func NewUpgradeSksClusterRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func OptionalBool(v *bool) bool
- func OptionalInt64(v *int64) int64
- func OptionalString(v *string) string
- type AddRuleToSecurityGroupJSONBody
- type AddRuleToSecurityGroupJSONRequestBody
- type AddRuleToSecurityGroupResponse
- type AddServiceToLoadBalancerJSONBody
- type AddServiceToLoadBalancerJSONRequestBody
- type AddServiceToLoadBalancerResponse
- type AntiAffinityGroup
- type AttachInstanceToElasticIpJSONBody
- type AttachInstanceToElasticIpJSONRequestBody
- type AttachInstanceToElasticIpResponse
- type Client
- func (c *Client) AddRuleToSecurityGroup(ctx context.Context, id string, body AddRuleToSecurityGroupJSONRequestBody) (*http.Response, error)
- func (c *Client) AddRuleToSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) AddServiceToLoadBalancer(ctx context.Context, id string, body AddServiceToLoadBalancerJSONRequestBody) (*http.Response, error)
- func (c *Client) AddServiceToLoadBalancerWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) AttachInstanceToElasticIp(ctx context.Context, id string, body AttachInstanceToElasticIpJSONRequestBody) (*http.Response, error)
- func (c *Client) AttachInstanceToElasticIpWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) CopyTemplate(ctx context.Context, id string, body CopyTemplateJSONRequestBody) (*http.Response, error)
- func (c *Client) CopyTemplateWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) CreateAntiAffinityGroup(ctx context.Context, body CreateAntiAffinityGroupJSONRequestBody) (*http.Response, error)
- func (c *Client) CreateAntiAffinityGroupWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) CreateElasticIp(ctx context.Context, body CreateElasticIpJSONRequestBody) (*http.Response, error)
- func (c *Client) CreateElasticIpWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) CreateInstance(ctx context.Context, body CreateInstanceJSONRequestBody) (*http.Response, error)
- func (c *Client) CreateInstancePool(ctx context.Context, body CreateInstancePoolJSONRequestBody) (*http.Response, error)
- func (c *Client) CreateInstancePoolWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) CreateInstanceWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) CreateLoadBalancer(ctx context.Context, body CreateLoadBalancerJSONRequestBody) (*http.Response, error)
- func (c *Client) CreateLoadBalancerWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) CreatePrivateNetwork(ctx context.Context, body CreatePrivateNetworkJSONRequestBody) (*http.Response, error)
- func (c *Client) CreatePrivateNetworkWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) CreateSecurityGroup(ctx context.Context, body CreateSecurityGroupJSONRequestBody) (*http.Response, error)
- func (c *Client) CreateSecurityGroupWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) CreateSksCluster(ctx context.Context, body CreateSksClusterJSONRequestBody) (*http.Response, error)
- func (c *Client) CreateSksClusterWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) CreateSksNodepool(ctx context.Context, id string, body CreateSksNodepoolJSONRequestBody) (*http.Response, error)
- func (c *Client) CreateSksNodepoolWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) CreateSnapshot(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) DeleteAntiAffinityGroup(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) DeleteElasticIp(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) DeleteInstance(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) DeleteInstancePool(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) DeleteLoadBalancer(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) DeleteLoadBalancerService(ctx context.Context, id string, serviceId string) (*http.Response, error)
- func (c *Client) DeletePrivateNetwork(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) DeleteRuleFromSecurityGroup(ctx context.Context, id string, ruleId string) (*http.Response, error)
- func (c *Client) DeleteSecurityGroup(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) DeleteSksCluster(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) DeleteSksNodepool(ctx context.Context, id string, sksNodepoolId string) (*http.Response, error)
- func (c *Client) DeleteSnapshot(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) DeleteTemplate(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) EvictInstancePoolMembers(ctx context.Context, id string, body EvictInstancePoolMembersJSONRequestBody) (*http.Response, error)
- func (c *Client) EvictInstancePoolMembersWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) EvictSksNodepoolMembers(ctx context.Context, id string, sksNodepoolId string, ...) (*http.Response, error)
- func (c *Client) EvictSksNodepoolMembersWithBody(ctx context.Context, id string, sksNodepoolId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ExportSnapshot(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) GenerateSksClusterKubeconfig(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) GenerateSksClusterKubeconfigWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) GetAntiAffinityGroup(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) GetDeployTarget(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) GetElasticIp(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) GetInstance(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) GetInstancePool(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) GetInstanceType(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) GetLoadBalancer(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) GetLoadBalancerService(ctx context.Context, id string, serviceId string) (*http.Response, error)
- func (c *Client) GetOperation(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) GetPrivateNetwork(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) GetSecurityGroup(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) GetSksCluster(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) GetSksClusterAuthorityCert(ctx context.Context, id string, authority string) (*http.Response, error)
- func (c *Client) GetSksNodepool(ctx context.Context, id string, sksNodepoolId string) (*http.Response, error)
- func (c *Client) GetSnapshot(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) GetSosPresignedUrl(ctx context.Context, bucket string, params *GetSosPresignedUrlParams) (*http.Response, error)
- func (c *Client) GetSshKey(ctx context.Context, name string) (*http.Response, error)
- func (c *Client) GetTemplate(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) ListAntiAffinityGroups(ctx context.Context) (*http.Response, error)
- func (c *Client) ListDeployTargets(ctx context.Context) (*http.Response, error)
- func (c *Client) ListElasticIps(ctx context.Context) (*http.Response, error)
- func (c *Client) ListEvents(ctx context.Context, params *ListEventsParams) (*http.Response, error)
- func (c *Client) ListInstancePools(ctx context.Context) (*http.Response, error)
- func (c *Client) ListInstanceTypes(ctx context.Context) (*http.Response, error)
- func (c *Client) ListInstances(ctx context.Context) (*http.Response, error)
- func (c *Client) ListLoadBalancers(ctx context.Context) (*http.Response, error)
- func (c *Client) ListPrivateNetworks(ctx context.Context) (*http.Response, error)
- func (c *Client) ListSecurityGroups(ctx context.Context) (*http.Response, error)
- func (c *Client) ListSksClusterVersions(ctx context.Context) (*http.Response, error)
- func (c *Client) ListSksClusters(ctx context.Context) (*http.Response, error)
- func (c *Client) ListSnapshots(ctx context.Context) (*http.Response, error)
- func (c *Client) ListTemplates(ctx context.Context, params *ListTemplatesParams) (*http.Response, error)
- func (c *Client) ListZones(ctx context.Context) (*http.Response, error)
- func (c *Client) RegisterTemplate(ctx context.Context, body RegisterTemplateJSONRequestBody) (*http.Response, error)
- func (c *Client) RegisterTemplateWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) ResetElasticIpField(ctx context.Context, id string, field string) (*http.Response, error)
- func (c *Client) ResetInstancePoolField(ctx context.Context, id string, field string) (*http.Response, error)
- func (c *Client) ResetSksClusterField(ctx context.Context, id string, field string) (*http.Response, error)
- func (c *Client) ResetSksNodepoolField(ctx context.Context, id string, sksNodepoolId string, field string) (*http.Response, error)
- func (c *Client) RevertInstanceToSnapshot(ctx context.Context, instanceId string, ...) (*http.Response, error)
- func (c *Client) RevertInstanceToSnapshotWithBody(ctx context.Context, instanceId string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) RotateSksCcmCredentials(ctx context.Context, id string) (*http.Response, error)
- func (c *Client) ScaleInstancePool(ctx context.Context, id string, body ScaleInstancePoolJSONRequestBody) (*http.Response, error)
- func (c *Client) ScaleInstancePoolWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) ScaleSksNodepool(ctx context.Context, id string, sksNodepoolId string, ...) (*http.Response, error)
- func (c *Client) ScaleSksNodepoolWithBody(ctx context.Context, id string, sksNodepoolId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateElasticIp(ctx context.Context, id string, body UpdateElasticIpJSONRequestBody) (*http.Response, error)
- func (c *Client) UpdateElasticIpWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) UpdateInstance(ctx context.Context, id string, body UpdateInstanceJSONRequestBody) (*http.Response, error)
- func (c *Client) UpdateInstancePool(ctx context.Context, id string, body UpdateInstancePoolJSONRequestBody) (*http.Response, error)
- func (c *Client) UpdateInstancePoolWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) UpdateInstanceWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) UpdateLoadBalancer(ctx context.Context, id string, body UpdateLoadBalancerJSONRequestBody) (*http.Response, error)
- func (c *Client) UpdateLoadBalancerService(ctx context.Context, id string, serviceId string, ...) (*http.Response, error)
- func (c *Client) UpdateLoadBalancerServiceWithBody(ctx context.Context, id string, serviceId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateLoadBalancerWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) UpdatePrivateNetwork(ctx context.Context, id string, body UpdatePrivateNetworkJSONRequestBody) (*http.Response, error)
- func (c *Client) UpdatePrivateNetworkWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) UpdateSksCluster(ctx context.Context, id string, body UpdateSksClusterJSONRequestBody) (*http.Response, error)
- func (c *Client) UpdateSksClusterWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error)
- func (c *Client) UpdateSksNodepool(ctx context.Context, id string, sksNodepoolId string, ...) (*http.Response, error)
- func (c *Client) UpdateSksNodepoolWithBody(ctx context.Context, id string, sksNodepoolId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpgradeSksCluster(ctx context.Context, id string, body UpgradeSksClusterJSONRequestBody) (*http.Response, error)
- func (c *Client) UpgradeSksClusterWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddRuleToSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*AddRuleToSecurityGroupResponse, error)
- func (c *ClientWithResponses) AddRuleToSecurityGroupWithResponse(ctx context.Context, id string, body AddRuleToSecurityGroupJSONRequestBody) (*AddRuleToSecurityGroupResponse, error)
- func (c *ClientWithResponses) AddServiceToLoadBalancerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*AddServiceToLoadBalancerResponse, error)
- func (c *ClientWithResponses) AddServiceToLoadBalancerWithResponse(ctx context.Context, id string, body AddServiceToLoadBalancerJSONRequestBody) (*AddServiceToLoadBalancerResponse, error)
- func (c *ClientWithResponses) AttachInstanceToElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*AttachInstanceToElasticIpResponse, error)
- func (c *ClientWithResponses) AttachInstanceToElasticIpWithResponse(ctx context.Context, id string, body AttachInstanceToElasticIpJSONRequestBody) (*AttachInstanceToElasticIpResponse, error)
- func (c *ClientWithResponses) CopyTemplateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*CopyTemplateResponse, error)
- func (c *ClientWithResponses) CopyTemplateWithResponse(ctx context.Context, id string, body CopyTemplateJSONRequestBody) (*CopyTemplateResponse, error)
- func (c *ClientWithResponses) CreateAntiAffinityGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateAntiAffinityGroupResponse, error)
- func (c *ClientWithResponses) CreateAntiAffinityGroupWithResponse(ctx context.Context, body CreateAntiAffinityGroupJSONRequestBody) (*CreateAntiAffinityGroupResponse, error)
- func (c *ClientWithResponses) CreateElasticIpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateElasticIpResponse, error)
- func (c *ClientWithResponses) CreateElasticIpWithResponse(ctx context.Context, body CreateElasticIpJSONRequestBody) (*CreateElasticIpResponse, error)
- func (c *ClientWithResponses) CreateInstancePoolWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateInstancePoolResponse, error)
- func (c *ClientWithResponses) CreateInstancePoolWithResponse(ctx context.Context, body CreateInstancePoolJSONRequestBody) (*CreateInstancePoolResponse, error)
- func (c *ClientWithResponses) CreateInstanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateInstanceResponse, error)
- func (c *ClientWithResponses) CreateInstanceWithResponse(ctx context.Context, body CreateInstanceJSONRequestBody) (*CreateInstanceResponse, error)
- func (c *ClientWithResponses) CreateLoadBalancerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateLoadBalancerResponse, error)
- func (c *ClientWithResponses) CreateLoadBalancerWithResponse(ctx context.Context, body CreateLoadBalancerJSONRequestBody) (*CreateLoadBalancerResponse, error)
- func (c *ClientWithResponses) CreatePrivateNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreatePrivateNetworkResponse, error)
- func (c *ClientWithResponses) CreatePrivateNetworkWithResponse(ctx context.Context, body CreatePrivateNetworkJSONRequestBody) (*CreatePrivateNetworkResponse, error)
- func (c *ClientWithResponses) CreateSecurityGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateSecurityGroupResponse, error)
- func (c *ClientWithResponses) CreateSecurityGroupWithResponse(ctx context.Context, body CreateSecurityGroupJSONRequestBody) (*CreateSecurityGroupResponse, error)
- func (c *ClientWithResponses) CreateSksClusterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateSksClusterResponse, error)
- func (c *ClientWithResponses) CreateSksClusterWithResponse(ctx context.Context, body CreateSksClusterJSONRequestBody) (*CreateSksClusterResponse, error)
- func (c *ClientWithResponses) CreateSksNodepoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*CreateSksNodepoolResponse, error)
- func (c *ClientWithResponses) CreateSksNodepoolWithResponse(ctx context.Context, id string, body CreateSksNodepoolJSONRequestBody) (*CreateSksNodepoolResponse, error)
- func (c *ClientWithResponses) CreateSnapshotWithResponse(ctx context.Context, id string) (*CreateSnapshotResponse, error)
- func (c *ClientWithResponses) DeleteAntiAffinityGroupWithResponse(ctx context.Context, id string) (*DeleteAntiAffinityGroupResponse, error)
- func (c *ClientWithResponses) DeleteElasticIpWithResponse(ctx context.Context, id string) (*DeleteElasticIpResponse, error)
- func (c *ClientWithResponses) DeleteInstancePoolWithResponse(ctx context.Context, id string) (*DeleteInstancePoolResponse, error)
- func (c *ClientWithResponses) DeleteInstanceWithResponse(ctx context.Context, id string) (*DeleteInstanceResponse, error)
- func (c *ClientWithResponses) DeleteLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string) (*DeleteLoadBalancerServiceResponse, error)
- func (c *ClientWithResponses) DeleteLoadBalancerWithResponse(ctx context.Context, id string) (*DeleteLoadBalancerResponse, error)
- func (c *ClientWithResponses) DeletePrivateNetworkWithResponse(ctx context.Context, id string) (*DeletePrivateNetworkResponse, error)
- func (c *ClientWithResponses) DeleteRuleFromSecurityGroupWithResponse(ctx context.Context, id string, ruleId string) (*DeleteRuleFromSecurityGroupResponse, error)
- func (c *ClientWithResponses) DeleteSecurityGroupWithResponse(ctx context.Context, id string) (*DeleteSecurityGroupResponse, error)
- func (c *ClientWithResponses) DeleteSksClusterWithResponse(ctx context.Context, id string) (*DeleteSksClusterResponse, error)
- func (c *ClientWithResponses) DeleteSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string) (*DeleteSksNodepoolResponse, error)
- func (c *ClientWithResponses) DeleteSnapshotWithResponse(ctx context.Context, id string) (*DeleteSnapshotResponse, error)
- func (c *ClientWithResponses) DeleteTemplateWithResponse(ctx context.Context, id string) (*DeleteTemplateResponse, error)
- func (c *ClientWithResponses) EvictInstancePoolMembersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*EvictInstancePoolMembersResponse, error)
- func (c *ClientWithResponses) EvictInstancePoolMembersWithResponse(ctx context.Context, id string, body EvictInstancePoolMembersJSONRequestBody) (*EvictInstancePoolMembersResponse, error)
- func (c *ClientWithResponses) EvictSksNodepoolMembersWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, ...) (*EvictSksNodepoolMembersResponse, error)
- func (c *ClientWithResponses) EvictSksNodepoolMembersWithResponse(ctx context.Context, id string, sksNodepoolId string, ...) (*EvictSksNodepoolMembersResponse, error)
- func (c *ClientWithResponses) ExportSnapshotWithResponse(ctx context.Context, id string) (*ExportSnapshotResponse, error)
- func (c *ClientWithResponses) GenerateSksClusterKubeconfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*GenerateSksClusterKubeconfigResponse, error)
- func (c *ClientWithResponses) GenerateSksClusterKubeconfigWithResponse(ctx context.Context, id string, ...) (*GenerateSksClusterKubeconfigResponse, error)
- func (c *ClientWithResponses) GetAntiAffinityGroupWithResponse(ctx context.Context, id string) (*GetAntiAffinityGroupResponse, error)
- func (c *ClientWithResponses) GetDeployTargetWithResponse(ctx context.Context, id string) (*GetDeployTargetResponse, error)
- func (c *ClientWithResponses) GetElasticIpWithResponse(ctx context.Context, id string) (*GetElasticIpResponse, error)
- func (c *ClientWithResponses) GetInstancePoolWithResponse(ctx context.Context, id string) (*GetInstancePoolResponse, error)
- func (c *ClientWithResponses) GetInstanceTypeWithResponse(ctx context.Context, id string) (*GetInstanceTypeResponse, error)
- func (c *ClientWithResponses) GetInstanceWithResponse(ctx context.Context, id string) (*GetInstanceResponse, error)
- func (c *ClientWithResponses) GetLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string) (*GetLoadBalancerServiceResponse, error)
- func (c *ClientWithResponses) GetLoadBalancerWithResponse(ctx context.Context, id string) (*GetLoadBalancerResponse, error)
- func (c *ClientWithResponses) GetOperationWithResponse(ctx context.Context, id string) (*GetOperationResponse, error)
- func (c *ClientWithResponses) GetPrivateNetworkWithResponse(ctx context.Context, id string) (*GetPrivateNetworkResponse, error)
- func (c *ClientWithResponses) GetSecurityGroupWithResponse(ctx context.Context, id string) (*GetSecurityGroupResponse, error)
- func (c *ClientWithResponses) GetSksClusterAuthorityCertWithResponse(ctx context.Context, id string, authority string) (*GetSksClusterAuthorityCertResponse, error)
- func (c *ClientWithResponses) GetSksClusterWithResponse(ctx context.Context, id string) (*GetSksClusterResponse, error)
- func (c *ClientWithResponses) GetSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string) (*GetSksNodepoolResponse, error)
- func (c *ClientWithResponses) GetSnapshotWithResponse(ctx context.Context, id string) (*GetSnapshotResponse, error)
- func (c *ClientWithResponses) GetSosPresignedUrlWithResponse(ctx context.Context, bucket string, params *GetSosPresignedUrlParams) (*GetSosPresignedUrlResponse, error)
- func (c *ClientWithResponses) GetSshKeyWithResponse(ctx context.Context, name string) (*GetSshKeyResponse, error)
- func (c *ClientWithResponses) GetTemplateWithResponse(ctx context.Context, id string) (*GetTemplateResponse, error)
- func (c *ClientWithResponses) ListAntiAffinityGroupsWithResponse(ctx context.Context) (*ListAntiAffinityGroupsResponse, error)
- func (c *ClientWithResponses) ListDeployTargetsWithResponse(ctx context.Context) (*ListDeployTargetsResponse, error)
- func (c *ClientWithResponses) ListElasticIpsWithResponse(ctx context.Context) (*ListElasticIpsResponse, error)
- func (c *ClientWithResponses) ListEventsWithResponse(ctx context.Context, params *ListEventsParams) (*ListEventsResponse, error)
- func (c *ClientWithResponses) ListInstancePoolsWithResponse(ctx context.Context) (*ListInstancePoolsResponse, error)
- func (c *ClientWithResponses) ListInstanceTypesWithResponse(ctx context.Context) (*ListInstanceTypesResponse, error)
- func (c *ClientWithResponses) ListInstancesWithResponse(ctx context.Context) (*ListInstancesResponse, error)
- func (c *ClientWithResponses) ListLoadBalancersWithResponse(ctx context.Context) (*ListLoadBalancersResponse, error)
- func (c *ClientWithResponses) ListPrivateNetworksWithResponse(ctx context.Context) (*ListPrivateNetworksResponse, error)
- func (c *ClientWithResponses) ListSecurityGroupsWithResponse(ctx context.Context) (*ListSecurityGroupsResponse, error)
- func (c *ClientWithResponses) ListSksClusterVersionsWithResponse(ctx context.Context) (*ListSksClusterVersionsResponse, error)
- func (c *ClientWithResponses) ListSksClustersWithResponse(ctx context.Context) (*ListSksClustersResponse, error)
- func (c *ClientWithResponses) ListSnapshotsWithResponse(ctx context.Context) (*ListSnapshotsResponse, error)
- func (c *ClientWithResponses) ListTemplatesWithResponse(ctx context.Context, params *ListTemplatesParams) (*ListTemplatesResponse, error)
- func (c *ClientWithResponses) ListZonesWithResponse(ctx context.Context) (*ListZonesResponse, error)
- func (c *ClientWithResponses) OperationPoller(zone string, jobID string) PollFunc
- func (c *ClientWithResponses) RegisterTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*RegisterTemplateResponse, error)
- func (c *ClientWithResponses) RegisterTemplateWithResponse(ctx context.Context, body RegisterTemplateJSONRequestBody) (*RegisterTemplateResponse, error)
- func (c *ClientWithResponses) ResetElasticIpFieldWithResponse(ctx context.Context, id string, field string) (*ResetElasticIpFieldResponse, error)
- func (c *ClientWithResponses) ResetInstancePoolFieldWithResponse(ctx context.Context, id string, field string) (*ResetInstancePoolFieldResponse, error)
- func (c *ClientWithResponses) ResetSksClusterFieldWithResponse(ctx context.Context, id string, field string) (*ResetSksClusterFieldResponse, error)
- func (c *ClientWithResponses) ResetSksNodepoolFieldWithResponse(ctx context.Context, id string, sksNodepoolId string, field string) (*ResetSksNodepoolFieldResponse, error)
- func (c *ClientWithResponses) RevertInstanceToSnapshotWithBodyWithResponse(ctx context.Context, instanceId string, contentType string, body io.Reader) (*RevertInstanceToSnapshotResponse, error)
- func (c *ClientWithResponses) RevertInstanceToSnapshotWithResponse(ctx context.Context, instanceId string, ...) (*RevertInstanceToSnapshotResponse, error)
- func (c *ClientWithResponses) RotateSksCcmCredentialsWithResponse(ctx context.Context, id string) (*RotateSksCcmCredentialsResponse, error)
- func (c *ClientWithResponses) ScaleInstancePoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*ScaleInstancePoolResponse, error)
- func (c *ClientWithResponses) ScaleInstancePoolWithResponse(ctx context.Context, id string, body ScaleInstancePoolJSONRequestBody) (*ScaleInstancePoolResponse, error)
- func (c *ClientWithResponses) ScaleSksNodepoolWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, ...) (*ScaleSksNodepoolResponse, error)
- func (c *ClientWithResponses) ScaleSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, ...) (*ScaleSksNodepoolResponse, error)
- func (c *ClientWithResponses) UpdateElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdateElasticIpResponse, error)
- func (c *ClientWithResponses) UpdateElasticIpWithResponse(ctx context.Context, id string, body UpdateElasticIpJSONRequestBody) (*UpdateElasticIpResponse, error)
- func (c *ClientWithResponses) UpdateInstancePoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdateInstancePoolResponse, error)
- func (c *ClientWithResponses) UpdateInstancePoolWithResponse(ctx context.Context, id string, body UpdateInstancePoolJSONRequestBody) (*UpdateInstancePoolResponse, error)
- func (c *ClientWithResponses) UpdateInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdateInstanceResponse, error)
- func (c *ClientWithResponses) UpdateInstanceWithResponse(ctx context.Context, id string, body UpdateInstanceJSONRequestBody) (*UpdateInstanceResponse, error)
- func (c *ClientWithResponses) UpdateLoadBalancerServiceWithBodyWithResponse(ctx context.Context, id string, serviceId string, contentType string, ...) (*UpdateLoadBalancerServiceResponse, error)
- func (c *ClientWithResponses) UpdateLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, ...) (*UpdateLoadBalancerServiceResponse, error)
- func (c *ClientWithResponses) UpdateLoadBalancerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdateLoadBalancerResponse, error)
- func (c *ClientWithResponses) UpdateLoadBalancerWithResponse(ctx context.Context, id string, body UpdateLoadBalancerJSONRequestBody) (*UpdateLoadBalancerResponse, error)
- func (c *ClientWithResponses) UpdatePrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdatePrivateNetworkResponse, error)
- func (c *ClientWithResponses) UpdatePrivateNetworkWithResponse(ctx context.Context, id string, body UpdatePrivateNetworkJSONRequestBody) (*UpdatePrivateNetworkResponse, error)
- func (c *ClientWithResponses) UpdateSksClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdateSksClusterResponse, error)
- func (c *ClientWithResponses) UpdateSksClusterWithResponse(ctx context.Context, id string, body UpdateSksClusterJSONRequestBody) (*UpdateSksClusterResponse, error)
- func (c *ClientWithResponses) UpdateSksNodepoolWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, ...) (*UpdateSksNodepoolResponse, error)
- func (c *ClientWithResponses) UpdateSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, ...) (*UpdateSksNodepoolResponse, error)
- func (c *ClientWithResponses) UpgradeSksClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpgradeSksClusterResponse, error)
- func (c *ClientWithResponses) UpgradeSksClusterWithResponse(ctx context.Context, id string, body UpgradeSksClusterJSONRequestBody) (*UpgradeSksClusterResponse, error)
- type ClientWithResponsesInterface
- type CopyTemplateJSONBody
- type CopyTemplateJSONRequestBody
- type CopyTemplateResponse
- type CreateAntiAffinityGroupJSONBody
- type CreateAntiAffinityGroupJSONRequestBody
- type CreateAntiAffinityGroupResponse
- type CreateElasticIpJSONBody
- type CreateElasticIpJSONRequestBody
- type CreateElasticIpResponse
- type CreateInstanceJSONBody
- type CreateInstanceJSONRequestBody
- type CreateInstancePoolJSONBody
- type CreateInstancePoolJSONRequestBody
- type CreateInstancePoolResponse
- type CreateInstanceResponse
- type CreateLoadBalancerJSONBody
- type CreateLoadBalancerJSONRequestBody
- type CreateLoadBalancerResponse
- type CreatePrivateNetworkJSONBody
- type CreatePrivateNetworkJSONRequestBody
- type CreatePrivateNetworkResponse
- type CreateSecurityGroupJSONBody
- type CreateSecurityGroupJSONRequestBody
- type CreateSecurityGroupResponse
- type CreateSksClusterJSONBody
- type CreateSksClusterJSONRequestBody
- type CreateSksClusterResponse
- type CreateSksNodepoolJSONBody
- type CreateSksNodepoolJSONRequestBody
- type CreateSksNodepoolResponse
- type CreateSnapshotResponse
- type DeleteAntiAffinityGroupResponse
- type DeleteElasticIpResponse
- type DeleteInstancePoolResponse
- type DeleteInstanceResponse
- type DeleteLoadBalancerResponse
- type DeleteLoadBalancerServiceResponse
- type DeletePrivateNetworkResponse
- type DeleteRuleFromSecurityGroupResponse
- type DeleteSecurityGroupResponse
- type DeleteSksClusterResponse
- type DeleteSksNodepoolResponse
- type DeleteSnapshotResponse
- type DeleteTemplateResponse
- type DeployTarget
- type ElasticIp
- type ElasticIpHealthcheck
- type Event
- type Event_Payload
- type EvictInstancePoolMembersJSONBody
- type EvictInstancePoolMembersJSONRequestBody
- type EvictInstancePoolMembersResponse
- type EvictSksNodepoolMembersJSONBody
- type EvictSksNodepoolMembersJSONRequestBody
- type EvictSksNodepoolMembersResponse
- type ExportSnapshotResponse
- type GenerateSksClusterKubeconfigJSONBody
- type GenerateSksClusterKubeconfigJSONRequestBody
- type GenerateSksClusterKubeconfigResponse
- type GetAntiAffinityGroupResponse
- type GetDeployTargetResponse
- type GetElasticIpResponse
- type GetInstancePoolResponse
- type GetInstanceResponse
- type GetInstanceTypeResponse
- type GetLoadBalancerResponse
- type GetLoadBalancerServiceResponse
- type GetOperationResponse
- type GetPrivateNetworkResponse
- type GetSecurityGroupResponse
- type GetSksClusterAuthorityCertResponse
- type GetSksClusterResponse
- type GetSksNodepoolResponse
- type GetSnapshotResponse
- type GetSosPresignedUrlParams
- type GetSosPresignedUrlResponse
- type GetSshKeyResponse
- type GetTemplateResponse
- type HttpRequestDoer
- type Instance
- type InstancePool
- type InstanceType
- type ListAntiAffinityGroupsResponse
- type ListDeployTargetsResponse
- type ListElasticIpsResponse
- type ListEventsParams
- type ListEventsResponse
- type ListInstancePoolsResponse
- type ListInstanceTypesResponse
- type ListInstancesResponse
- type ListLoadBalancersResponse
- type ListPrivateNetworksResponse
- type ListSecurityGroupsResponse
- type ListSksClusterVersionsResponse
- type ListSksClustersResponse
- type ListSnapshotsResponse
- type ListTemplatesParams
- type ListTemplatesResponse
- type ListZonesResponse
- type LoadBalancer
- type LoadBalancerServerStatus
- type LoadBalancerService
- type LoadBalancerServiceHealthcheck
- type Manager
- type MockClient
- type Operation
- type PollFunc
- type Poller
- type PrivateNetwork
- type Reference
- type RegisterTemplateJSONBody
- type RegisterTemplateJSONRequestBody
- type RegisterTemplateResponse
- type RequestEditorFn
- type ResetElasticIpFieldResponse
- type ResetInstancePoolFieldResponse
- type ResetSksClusterFieldResponse
- type ResetSksNodepoolFieldResponse
- type RevertInstanceToSnapshotJSONBody
- type RevertInstanceToSnapshotJSONRequestBody
- type RevertInstanceToSnapshotResponse
- type RotateSksCcmCredentialsResponse
- type ScaleInstancePoolJSONBody
- type ScaleInstancePoolJSONRequestBody
- type ScaleInstancePoolResponse
- type ScaleSksNodepoolJSONBody
- type ScaleSksNodepoolJSONRequestBody
- type ScaleSksNodepoolResponse
- type SecurityGroup
- type SecurityGroupResource
- type SecurityGroupRule
- type SksCluster
- type SksKubeconfigRequest
- type SksNodepool
- type Snapshot
- type SshKey
- type Template
- type UpdateElasticIpJSONBody
- type UpdateElasticIpJSONRequestBody
- type UpdateElasticIpResponse
- type UpdateInstanceJSONBody
- type UpdateInstanceJSONRequestBody
- type UpdateInstancePoolJSONBody
- type UpdateInstancePoolJSONRequestBody
- type UpdateInstancePoolResponse
- type UpdateInstanceResponse
- type UpdateLoadBalancerJSONBody
- type UpdateLoadBalancerJSONRequestBody
- type UpdateLoadBalancerResponse
- type UpdateLoadBalancerServiceJSONBody
- type UpdateLoadBalancerServiceJSONRequestBody
- type UpdateLoadBalancerServiceResponse
- type UpdatePrivateNetworkJSONBody
- type UpdatePrivateNetworkJSONRequestBody
- type UpdatePrivateNetworkResponse
- type UpdateSksClusterJSONBody
- type UpdateSksClusterJSONRequestBody
- type UpdateSksClusterResponse
- type UpdateSksNodepoolJSONBody
- type UpdateSksNodepoolJSONRequestBody
- type UpdateSksNodepoolResponse
- type UpgradeSksClusterJSONBody
- type UpgradeSksClusterJSONRequestBody
- type UpgradeSksClusterResponse
- type Zone
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddRuleToSecurityGroupRequest ¶
func NewAddRuleToSecurityGroupRequest(server string, id string, body AddRuleToSecurityGroupJSONRequestBody) (*http.Request, error)
NewAddRuleToSecurityGroupRequest calls the generic AddRuleToSecurityGroup builder with application/json body
func NewAddRuleToSecurityGroupRequestWithBody ¶
func NewAddRuleToSecurityGroupRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewAddRuleToSecurityGroupRequestWithBody generates requests for AddRuleToSecurityGroup with any type of body
func NewAddServiceToLoadBalancerRequest ¶
func NewAddServiceToLoadBalancerRequest(server string, id string, body AddServiceToLoadBalancerJSONRequestBody) (*http.Request, error)
NewAddServiceToLoadBalancerRequest calls the generic AddServiceToLoadBalancer builder with application/json body
func NewAddServiceToLoadBalancerRequestWithBody ¶
func NewAddServiceToLoadBalancerRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewAddServiceToLoadBalancerRequestWithBody generates requests for AddServiceToLoadBalancer with any type of body
func NewAttachInstanceToElasticIpRequest ¶ added in v0.48.0
func NewAttachInstanceToElasticIpRequest(server string, id string, body AttachInstanceToElasticIpJSONRequestBody) (*http.Request, error)
NewAttachInstanceToElasticIpRequest calls the generic AttachInstanceToElasticIp builder with application/json body
func NewAttachInstanceToElasticIpRequestWithBody ¶ added in v0.48.0
func NewAttachInstanceToElasticIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewAttachInstanceToElasticIpRequestWithBody generates requests for AttachInstanceToElasticIp with any type of body
func NewCopyTemplateRequest ¶
func NewCopyTemplateRequest(server string, id string, body CopyTemplateJSONRequestBody) (*http.Request, error)
NewCopyTemplateRequest calls the generic CopyTemplate builder with application/json body
func NewCopyTemplateRequestWithBody ¶
func NewCopyTemplateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCopyTemplateRequestWithBody generates requests for CopyTemplate with any type of body
func NewCreateAntiAffinityGroupRequest ¶
func NewCreateAntiAffinityGroupRequest(server string, body CreateAntiAffinityGroupJSONRequestBody) (*http.Request, error)
NewCreateAntiAffinityGroupRequest calls the generic CreateAntiAffinityGroup builder with application/json body
func NewCreateAntiAffinityGroupRequestWithBody ¶
func NewCreateAntiAffinityGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAntiAffinityGroupRequestWithBody generates requests for CreateAntiAffinityGroup with any type of body
func NewCreateElasticIpRequest ¶ added in v0.44.0
func NewCreateElasticIpRequest(server string, body CreateElasticIpJSONRequestBody) (*http.Request, error)
NewCreateElasticIpRequest calls the generic CreateElasticIp builder with application/json body
func NewCreateElasticIpRequestWithBody ¶ added in v0.44.0
func NewCreateElasticIpRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateElasticIpRequestWithBody generates requests for CreateElasticIp with any type of body
func NewCreateInstancePoolRequest ¶
func NewCreateInstancePoolRequest(server string, body CreateInstancePoolJSONRequestBody) (*http.Request, error)
NewCreateInstancePoolRequest calls the generic CreateInstancePool builder with application/json body
func NewCreateInstancePoolRequestWithBody ¶
func NewCreateInstancePoolRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateInstancePoolRequestWithBody generates requests for CreateInstancePool with any type of body
func NewCreateInstanceRequest ¶
func NewCreateInstanceRequest(server string, body CreateInstanceJSONRequestBody) (*http.Request, error)
NewCreateInstanceRequest calls the generic CreateInstance builder with application/json body
func NewCreateInstanceRequestWithBody ¶
func NewCreateInstanceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateInstanceRequestWithBody generates requests for CreateInstance with any type of body
func NewCreateLoadBalancerRequest ¶
func NewCreateLoadBalancerRequest(server string, body CreateLoadBalancerJSONRequestBody) (*http.Request, error)
NewCreateLoadBalancerRequest calls the generic CreateLoadBalancer builder with application/json body
func NewCreateLoadBalancerRequestWithBody ¶
func NewCreateLoadBalancerRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateLoadBalancerRequestWithBody generates requests for CreateLoadBalancer with any type of body
func NewCreatePrivateNetworkRequest ¶
func NewCreatePrivateNetworkRequest(server string, body CreatePrivateNetworkJSONRequestBody) (*http.Request, error)
NewCreatePrivateNetworkRequest calls the generic CreatePrivateNetwork builder with application/json body
func NewCreatePrivateNetworkRequestWithBody ¶
func NewCreatePrivateNetworkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePrivateNetworkRequestWithBody generates requests for CreatePrivateNetwork with any type of body
func NewCreateSecurityGroupRequest ¶
func NewCreateSecurityGroupRequest(server string, body CreateSecurityGroupJSONRequestBody) (*http.Request, error)
NewCreateSecurityGroupRequest calls the generic CreateSecurityGroup builder with application/json body
func NewCreateSecurityGroupRequestWithBody ¶
func NewCreateSecurityGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSecurityGroupRequestWithBody generates requests for CreateSecurityGroup with any type of body
func NewCreateSksClusterRequest ¶
func NewCreateSksClusterRequest(server string, body CreateSksClusterJSONRequestBody) (*http.Request, error)
NewCreateSksClusterRequest calls the generic CreateSksCluster builder with application/json body
func NewCreateSksClusterRequestWithBody ¶
func NewCreateSksClusterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSksClusterRequestWithBody generates requests for CreateSksCluster with any type of body
func NewCreateSksNodepoolRequest ¶
func NewCreateSksNodepoolRequest(server string, id string, body CreateSksNodepoolJSONRequestBody) (*http.Request, error)
NewCreateSksNodepoolRequest calls the generic CreateSksNodepool builder with application/json body
func NewCreateSksNodepoolRequestWithBody ¶
func NewCreateSksNodepoolRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSksNodepoolRequestWithBody generates requests for CreateSksNodepool with any type of body
func NewCreateSnapshotRequest ¶
NewCreateSnapshotRequest generates requests for CreateSnapshot
func NewDeleteAntiAffinityGroupRequest ¶
NewDeleteAntiAffinityGroupRequest generates requests for DeleteAntiAffinityGroup
func NewDeleteElasticIpRequest ¶ added in v0.44.0
NewDeleteElasticIpRequest generates requests for DeleteElasticIp
func NewDeleteInstancePoolRequest ¶
NewDeleteInstancePoolRequest generates requests for DeleteInstancePool
func NewDeleteInstanceRequest ¶ added in v0.48.0
NewDeleteInstanceRequest generates requests for DeleteInstance
func NewDeleteLoadBalancerRequest ¶
NewDeleteLoadBalancerRequest generates requests for DeleteLoadBalancer
func NewDeleteLoadBalancerServiceRequest ¶
func NewDeleteLoadBalancerServiceRequest(server string, id string, serviceId string) (*http.Request, error)
NewDeleteLoadBalancerServiceRequest generates requests for DeleteLoadBalancerService
func NewDeletePrivateNetworkRequest ¶
NewDeletePrivateNetworkRequest generates requests for DeletePrivateNetwork
func NewDeleteRuleFromSecurityGroupRequest ¶
func NewDeleteRuleFromSecurityGroupRequest(server string, id string, ruleId string) (*http.Request, error)
NewDeleteRuleFromSecurityGroupRequest generates requests for DeleteRuleFromSecurityGroup
func NewDeleteSecurityGroupRequest ¶
NewDeleteSecurityGroupRequest generates requests for DeleteSecurityGroup
func NewDeleteSksClusterRequest ¶
NewDeleteSksClusterRequest generates requests for DeleteSksCluster
func NewDeleteSksNodepoolRequest ¶
func NewDeleteSksNodepoolRequest(server string, id string, sksNodepoolId string) (*http.Request, error)
NewDeleteSksNodepoolRequest generates requests for DeleteSksNodepool
func NewDeleteSnapshotRequest ¶
NewDeleteSnapshotRequest generates requests for DeleteSnapshot
func NewDeleteTemplateRequest ¶
NewDeleteTemplateRequest generates requests for DeleteTemplate
func NewEvictInstancePoolMembersRequest ¶
func NewEvictInstancePoolMembersRequest(server string, id string, body EvictInstancePoolMembersJSONRequestBody) (*http.Request, error)
NewEvictInstancePoolMembersRequest calls the generic EvictInstancePoolMembers builder with application/json body
func NewEvictInstancePoolMembersRequestWithBody ¶
func NewEvictInstancePoolMembersRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewEvictInstancePoolMembersRequestWithBody generates requests for EvictInstancePoolMembers with any type of body
func NewEvictSksNodepoolMembersRequest ¶
func NewEvictSksNodepoolMembersRequest(server string, id string, sksNodepoolId string, body EvictSksNodepoolMembersJSONRequestBody) (*http.Request, error)
NewEvictSksNodepoolMembersRequest calls the generic EvictSksNodepoolMembers builder with application/json body
func NewEvictSksNodepoolMembersRequestWithBody ¶
func NewEvictSksNodepoolMembersRequestWithBody(server string, id string, sksNodepoolId string, contentType string, body io.Reader) (*http.Request, error)
NewEvictSksNodepoolMembersRequestWithBody generates requests for EvictSksNodepoolMembers with any type of body
func NewExportSnapshotRequest ¶
NewExportSnapshotRequest generates requests for ExportSnapshot
func NewGenerateSksClusterKubeconfigRequest ¶
func NewGenerateSksClusterKubeconfigRequest(server string, id string, body GenerateSksClusterKubeconfigJSONRequestBody) (*http.Request, error)
NewGenerateSksClusterKubeconfigRequest calls the generic GenerateSksClusterKubeconfig builder with application/json body
func NewGenerateSksClusterKubeconfigRequestWithBody ¶
func NewGenerateSksClusterKubeconfigRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewGenerateSksClusterKubeconfigRequestWithBody generates requests for GenerateSksClusterKubeconfig with any type of body
func NewGetAntiAffinityGroupRequest ¶
NewGetAntiAffinityGroupRequest generates requests for GetAntiAffinityGroup
func NewGetDeployTargetRequest ¶ added in v0.48.0
NewGetDeployTargetRequest generates requests for GetDeployTarget
func NewGetElasticIpRequest ¶
NewGetElasticIpRequest generates requests for GetElasticIp
func NewGetInstancePoolRequest ¶
NewGetInstancePoolRequest generates requests for GetInstancePool
func NewGetInstanceRequest ¶ added in v0.48.0
NewGetInstanceRequest generates requests for GetInstance
func NewGetInstanceTypeRequest ¶
NewGetInstanceTypeRequest generates requests for GetInstanceType
func NewGetLoadBalancerRequest ¶
NewGetLoadBalancerRequest generates requests for GetLoadBalancer
func NewGetLoadBalancerServiceRequest ¶
func NewGetLoadBalancerServiceRequest(server string, id string, serviceId string) (*http.Request, error)
NewGetLoadBalancerServiceRequest generates requests for GetLoadBalancerService
func NewGetOperationRequest ¶
NewGetOperationRequest generates requests for GetOperation
func NewGetPrivateNetworkRequest ¶
NewGetPrivateNetworkRequest generates requests for GetPrivateNetwork
func NewGetSecurityGroupRequest ¶
NewGetSecurityGroupRequest generates requests for GetSecurityGroup
func NewGetSksClusterAuthorityCertRequest ¶ added in v0.46.0
func NewGetSksClusterAuthorityCertRequest(server string, id string, authority string) (*http.Request, error)
NewGetSksClusterAuthorityCertRequest generates requests for GetSksClusterAuthorityCert
func NewGetSksClusterRequest ¶
NewGetSksClusterRequest generates requests for GetSksCluster
func NewGetSksNodepoolRequest ¶
func NewGetSksNodepoolRequest(server string, id string, sksNodepoolId string) (*http.Request, error)
NewGetSksNodepoolRequest generates requests for GetSksNodepool
func NewGetSnapshotRequest ¶
NewGetSnapshotRequest generates requests for GetSnapshot
func NewGetSosPresignedUrlRequest ¶
func NewGetSosPresignedUrlRequest(server string, bucket string, params *GetSosPresignedUrlParams) (*http.Request, error)
NewGetSosPresignedUrlRequest generates requests for GetSosPresignedUrl
func NewGetSshKeyRequest ¶
NewGetSshKeyRequest generates requests for GetSshKey
func NewGetTemplateRequest ¶
NewGetTemplateRequest generates requests for GetTemplate
func NewListAntiAffinityGroupsRequest ¶
NewListAntiAffinityGroupsRequest generates requests for ListAntiAffinityGroups
func NewListDeployTargetsRequest ¶ added in v0.48.0
NewListDeployTargetsRequest generates requests for ListDeployTargets
func NewListElasticIpsRequest ¶ added in v0.44.0
NewListElasticIpsRequest generates requests for ListElasticIps
func NewListEventsRequest ¶
func NewListEventsRequest(server string, params *ListEventsParams) (*http.Request, error)
NewListEventsRequest generates requests for ListEvents
func NewListInstancePoolsRequest ¶
NewListInstancePoolsRequest generates requests for ListInstancePools
func NewListInstanceTypesRequest ¶
NewListInstanceTypesRequest generates requests for ListInstanceTypes
func NewListInstancesRequest ¶ added in v0.48.0
NewListInstancesRequest generates requests for ListInstances
func NewListLoadBalancersRequest ¶
NewListLoadBalancersRequest generates requests for ListLoadBalancers
func NewListPrivateNetworksRequest ¶
NewListPrivateNetworksRequest generates requests for ListPrivateNetworks
func NewListSecurityGroupsRequest ¶
NewListSecurityGroupsRequest generates requests for ListSecurityGroups
func NewListSksClusterVersionsRequest ¶
NewListSksClusterVersionsRequest generates requests for ListSksClusterVersions
func NewListSksClustersRequest ¶
NewListSksClustersRequest generates requests for ListSksClusters
func NewListSnapshotsRequest ¶
NewListSnapshotsRequest generates requests for ListSnapshots
func NewListTemplatesRequest ¶
func NewListTemplatesRequest(server string, params *ListTemplatesParams) (*http.Request, error)
NewListTemplatesRequest generates requests for ListTemplates
func NewListZonesRequest ¶
NewListZonesRequest generates requests for ListZones
func NewRegisterTemplateRequest ¶
func NewRegisterTemplateRequest(server string, body RegisterTemplateJSONRequestBody) (*http.Request, error)
NewRegisterTemplateRequest calls the generic RegisterTemplate builder with application/json body
func NewRegisterTemplateRequestWithBody ¶
func NewRegisterTemplateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRegisterTemplateRequestWithBody generates requests for RegisterTemplate with any type of body
func NewResetElasticIpFieldRequest ¶ added in v0.44.0
NewResetElasticIpFieldRequest generates requests for ResetElasticIpField
func NewResetInstancePoolFieldRequest ¶ added in v0.44.0
func NewResetInstancePoolFieldRequest(server string, id string, field string) (*http.Request, error)
NewResetInstancePoolFieldRequest generates requests for ResetInstancePoolField
func NewResetSksClusterFieldRequest ¶ added in v0.44.0
NewResetSksClusterFieldRequest generates requests for ResetSksClusterField
func NewResetSksNodepoolFieldRequest ¶ added in v0.44.0
func NewResetSksNodepoolFieldRequest(server string, id string, sksNodepoolId string, field string) (*http.Request, error)
NewResetSksNodepoolFieldRequest generates requests for ResetSksNodepoolField
func NewRevertInstanceToSnapshotRequest ¶
func NewRevertInstanceToSnapshotRequest(server string, instanceId string, body RevertInstanceToSnapshotJSONRequestBody) (*http.Request, error)
NewRevertInstanceToSnapshotRequest calls the generic RevertInstanceToSnapshot builder with application/json body
func NewRevertInstanceToSnapshotRequestWithBody ¶
func NewRevertInstanceToSnapshotRequestWithBody(server string, instanceId string, contentType string, body io.Reader) (*http.Request, error)
NewRevertInstanceToSnapshotRequestWithBody generates requests for RevertInstanceToSnapshot with any type of body
func NewRotateSksCcmCredentialsRequest ¶ added in v0.44.0
NewRotateSksCcmCredentialsRequest generates requests for RotateSksCcmCredentials
func NewScaleInstancePoolRequest ¶
func NewScaleInstancePoolRequest(server string, id string, body ScaleInstancePoolJSONRequestBody) (*http.Request, error)
NewScaleInstancePoolRequest calls the generic ScaleInstancePool builder with application/json body
func NewScaleInstancePoolRequestWithBody ¶
func NewScaleInstancePoolRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewScaleInstancePoolRequestWithBody generates requests for ScaleInstancePool with any type of body
func NewScaleSksNodepoolRequest ¶
func NewScaleSksNodepoolRequest(server string, id string, sksNodepoolId string, body ScaleSksNodepoolJSONRequestBody) (*http.Request, error)
NewScaleSksNodepoolRequest calls the generic ScaleSksNodepool builder with application/json body
func NewScaleSksNodepoolRequestWithBody ¶
func NewScaleSksNodepoolRequestWithBody(server string, id string, sksNodepoolId string, contentType string, body io.Reader) (*http.Request, error)
NewScaleSksNodepoolRequestWithBody generates requests for ScaleSksNodepool with any type of body
func NewUpdateElasticIpRequest ¶ added in v0.44.0
func NewUpdateElasticIpRequest(server string, id string, body UpdateElasticIpJSONRequestBody) (*http.Request, error)
NewUpdateElasticIpRequest calls the generic UpdateElasticIp builder with application/json body
func NewUpdateElasticIpRequestWithBody ¶ added in v0.44.0
func NewUpdateElasticIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateElasticIpRequestWithBody generates requests for UpdateElasticIp with any type of body
func NewUpdateInstancePoolRequest ¶
func NewUpdateInstancePoolRequest(server string, id string, body UpdateInstancePoolJSONRequestBody) (*http.Request, error)
NewUpdateInstancePoolRequest calls the generic UpdateInstancePool builder with application/json body
func NewUpdateInstancePoolRequestWithBody ¶
func NewUpdateInstancePoolRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateInstancePoolRequestWithBody generates requests for UpdateInstancePool with any type of body
func NewUpdateInstanceRequest ¶ added in v0.48.0
func NewUpdateInstanceRequest(server string, id string, body UpdateInstanceJSONRequestBody) (*http.Request, error)
NewUpdateInstanceRequest calls the generic UpdateInstance builder with application/json body
func NewUpdateInstanceRequestWithBody ¶ added in v0.48.0
func NewUpdateInstanceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateInstanceRequestWithBody generates requests for UpdateInstance with any type of body
func NewUpdateLoadBalancerRequest ¶
func NewUpdateLoadBalancerRequest(server string, id string, body UpdateLoadBalancerJSONRequestBody) (*http.Request, error)
NewUpdateLoadBalancerRequest calls the generic UpdateLoadBalancer builder with application/json body
func NewUpdateLoadBalancerRequestWithBody ¶
func NewUpdateLoadBalancerRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateLoadBalancerRequestWithBody generates requests for UpdateLoadBalancer with any type of body
func NewUpdateLoadBalancerServiceRequest ¶
func NewUpdateLoadBalancerServiceRequest(server string, id string, serviceId string, body UpdateLoadBalancerServiceJSONRequestBody) (*http.Request, error)
NewUpdateLoadBalancerServiceRequest calls the generic UpdateLoadBalancerService builder with application/json body
func NewUpdateLoadBalancerServiceRequestWithBody ¶
func NewUpdateLoadBalancerServiceRequestWithBody(server string, id string, serviceId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateLoadBalancerServiceRequestWithBody generates requests for UpdateLoadBalancerService with any type of body
func NewUpdatePrivateNetworkRequest ¶
func NewUpdatePrivateNetworkRequest(server string, id string, body UpdatePrivateNetworkJSONRequestBody) (*http.Request, error)
NewUpdatePrivateNetworkRequest calls the generic UpdatePrivateNetwork builder with application/json body
func NewUpdatePrivateNetworkRequestWithBody ¶
func NewUpdatePrivateNetworkRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePrivateNetworkRequestWithBody generates requests for UpdatePrivateNetwork with any type of body
func NewUpdateSksClusterRequest ¶
func NewUpdateSksClusterRequest(server string, id string, body UpdateSksClusterJSONRequestBody) (*http.Request, error)
NewUpdateSksClusterRequest calls the generic UpdateSksCluster builder with application/json body
func NewUpdateSksClusterRequestWithBody ¶
func NewUpdateSksClusterRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSksClusterRequestWithBody generates requests for UpdateSksCluster with any type of body
func NewUpdateSksNodepoolRequest ¶
func NewUpdateSksNodepoolRequest(server string, id string, sksNodepoolId string, body UpdateSksNodepoolJSONRequestBody) (*http.Request, error)
NewUpdateSksNodepoolRequest calls the generic UpdateSksNodepool builder with application/json body
func NewUpdateSksNodepoolRequestWithBody ¶
func NewUpdateSksNodepoolRequestWithBody(server string, id string, sksNodepoolId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSksNodepoolRequestWithBody generates requests for UpdateSksNodepool with any type of body
func NewUpgradeSksClusterRequest ¶
func NewUpgradeSksClusterRequest(server string, id string, body UpgradeSksClusterJSONRequestBody) (*http.Request, error)
NewUpgradeSksClusterRequest calls the generic UpgradeSksCluster builder with application/json body
func NewUpgradeSksClusterRequestWithBody ¶
func NewUpgradeSksClusterRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpgradeSksClusterRequestWithBody generates requests for UpgradeSksCluster with any type of body
func OptionalBool ¶ added in v0.44.0
OptionalBool returns the dereferenced bool value of v if not nil, otherwise false.
func OptionalInt64 ¶
OptionalInt64 returns the dereferenced int64 value of v if not nil, otherwise 0.
func OptionalString ¶
OptionalString returns the dereferenced string value of v if not nil, otherwise an empty string.
Types ¶
type AddRuleToSecurityGroupJSONBody ¶
type AddRuleToSecurityGroupJSONBody struct { Description *string `json:"description,omitempty"` EndPort *int64 `json:"end-port,omitempty"` FlowDirection string `json:"flow-direction"` Icmp *struct { Code *int64 `json:"code,omitempty"` Type *int64 `json:"type,omitempty"` } `json:"icmp,omitempty"` Network *string `json:"network,omitempty"` Protocol string `json:"protocol"` SecurityGroup *SecurityGroupResource `json:"security-group,omitempty"` StartPort *int64 `json:"start-port,omitempty"` }
AddRuleToSecurityGroupJSONBody defines parameters for AddRuleToSecurityGroup.
type AddRuleToSecurityGroupJSONRequestBody ¶
type AddRuleToSecurityGroupJSONRequestBody AddRuleToSecurityGroupJSONBody
AddRuleToSecurityGroupRequestBody defines body for AddRuleToSecurityGroup for application/json ContentType.
type AddRuleToSecurityGroupResponse ¶
type AddRuleToSecurityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseAddRuleToSecurityGroupResponse ¶
func ParseAddRuleToSecurityGroupResponse(rsp *http.Response) (*AddRuleToSecurityGroupResponse, error)
ParseAddRuleToSecurityGroupResponse parses an HTTP response from a AddRuleToSecurityGroupWithResponse call
func (AddRuleToSecurityGroupResponse) Status ¶
func (r AddRuleToSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AddRuleToSecurityGroupResponse) StatusCode ¶
func (r AddRuleToSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddServiceToLoadBalancerJSONBody ¶
type AddServiceToLoadBalancerJSONBody struct { Description *string `json:"description,omitempty"` Healthcheck LoadBalancerServiceHealthcheck `json:"healthcheck"` InstancePool InstancePool `json:"instance-pool"` Name string `json:"name"` Port int64 `json:"port"` Protocol string `json:"protocol"` Strategy string `json:"strategy"` TargetPort int64 `json:"target-port"` }
AddServiceToLoadBalancerJSONBody defines parameters for AddServiceToLoadBalancer.
type AddServiceToLoadBalancerJSONRequestBody ¶
type AddServiceToLoadBalancerJSONRequestBody AddServiceToLoadBalancerJSONBody
AddServiceToLoadBalancerRequestBody defines body for AddServiceToLoadBalancer for application/json ContentType.
type AddServiceToLoadBalancerResponse ¶
type AddServiceToLoadBalancerResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseAddServiceToLoadBalancerResponse ¶
func ParseAddServiceToLoadBalancerResponse(rsp *http.Response) (*AddServiceToLoadBalancerResponse, error)
ParseAddServiceToLoadBalancerResponse parses an HTTP response from a AddServiceToLoadBalancerWithResponse call
func (AddServiceToLoadBalancerResponse) Status ¶
func (r AddServiceToLoadBalancerResponse) Status() string
Status returns HTTPResponse.Status
func (AddServiceToLoadBalancerResponse) StatusCode ¶
func (r AddServiceToLoadBalancerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AntiAffinityGroup ¶
type AntiAffinityGroup struct { Description *string `json:"description,omitempty"` Id *string `json:"id,omitempty"` Instances *[]Instance `json:"instances,omitempty"` Name *string `json:"name,omitempty"` }
AntiAffinityGroup defines model for anti-affinity-group.
type AttachInstanceToElasticIpJSONBody ¶ added in v0.48.0
type AttachInstanceToElasticIpJSONBody struct { Instance *struct { Id string `json:"id"` } `json:"instance,omitempty"` }
AttachInstanceToElasticIpJSONBody defines parameters for AttachInstanceToElasticIp.
type AttachInstanceToElasticIpJSONRequestBody ¶ added in v0.48.0
type AttachInstanceToElasticIpJSONRequestBody AttachInstanceToElasticIpJSONBody
AttachInstanceToElasticIpRequestBody defines body for AttachInstanceToElasticIp for application/json ContentType.
type AttachInstanceToElasticIpResponse ¶ added in v0.48.0
type AttachInstanceToElasticIpResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseAttachInstanceToElasticIpResponse ¶ added in v0.48.0
func ParseAttachInstanceToElasticIpResponse(rsp *http.Response) (*AttachInstanceToElasticIpResponse, error)
ParseAttachInstanceToElasticIpResponse parses an HTTP response from a AttachInstanceToElasticIpWithResponse call
func (AttachInstanceToElasticIpResponse) Status ¶ added in v0.48.0
func (r AttachInstanceToElasticIpResponse) Status() string
Status returns HTTPResponse.Status
func (AttachInstanceToElasticIpResponse) StatusCode ¶ added in v0.48.0
func (r AttachInstanceToElasticIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A callback for modifying requests which are generated before sending over // the network. RequestEditor RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AddRuleToSecurityGroup ¶
func (*Client) AddRuleToSecurityGroupWithBody ¶
func (*Client) AddServiceToLoadBalancer ¶
func (*Client) AddServiceToLoadBalancerWithBody ¶
func (*Client) AttachInstanceToElasticIp ¶ added in v0.48.0
func (*Client) AttachInstanceToElasticIpWithBody ¶ added in v0.48.0
func (*Client) CopyTemplate ¶
func (*Client) CopyTemplateWithBody ¶
func (*Client) CreateAntiAffinityGroup ¶
func (*Client) CreateAntiAffinityGroupWithBody ¶
func (*Client) CreateElasticIp ¶ added in v0.44.0
func (*Client) CreateElasticIpWithBody ¶ added in v0.44.0
func (*Client) CreateInstance ¶
func (*Client) CreateInstancePool ¶
func (*Client) CreateInstancePoolWithBody ¶
func (*Client) CreateInstanceWithBody ¶
func (*Client) CreateLoadBalancer ¶
func (*Client) CreateLoadBalancerWithBody ¶
func (*Client) CreatePrivateNetwork ¶
func (*Client) CreatePrivateNetworkWithBody ¶
func (*Client) CreateSecurityGroup ¶
func (*Client) CreateSecurityGroupWithBody ¶
func (*Client) CreateSksCluster ¶
func (*Client) CreateSksClusterWithBody ¶
func (*Client) CreateSksNodepool ¶
func (*Client) CreateSksNodepoolWithBody ¶
func (*Client) CreateSnapshot ¶
func (*Client) DeleteAntiAffinityGroup ¶
func (*Client) DeleteElasticIp ¶ added in v0.44.0
func (*Client) DeleteInstance ¶ added in v0.48.0
func (*Client) DeleteInstancePool ¶
func (*Client) DeleteLoadBalancer ¶
func (*Client) DeleteLoadBalancerService ¶
func (*Client) DeletePrivateNetwork ¶
func (*Client) DeleteRuleFromSecurityGroup ¶
func (*Client) DeleteSecurityGroup ¶
func (*Client) DeleteSksCluster ¶
func (*Client) DeleteSksNodepool ¶
func (*Client) DeleteSnapshot ¶
func (*Client) DeleteTemplate ¶
func (*Client) EvictInstancePoolMembers ¶
func (*Client) EvictInstancePoolMembersWithBody ¶
func (*Client) EvictSksNodepoolMembers ¶
func (*Client) EvictSksNodepoolMembersWithBody ¶
func (*Client) ExportSnapshot ¶
func (*Client) GenerateSksClusterKubeconfig ¶
func (*Client) GenerateSksClusterKubeconfigWithBody ¶
func (*Client) GetAntiAffinityGroup ¶
func (*Client) GetDeployTarget ¶ added in v0.48.0
func (*Client) GetElasticIp ¶
func (*Client) GetInstance ¶ added in v0.48.0
func (*Client) GetInstancePool ¶
func (*Client) GetInstanceType ¶
func (*Client) GetLoadBalancer ¶
func (*Client) GetLoadBalancerService ¶
func (*Client) GetOperation ¶
func (*Client) GetPrivateNetwork ¶
func (*Client) GetSecurityGroup ¶
func (*Client) GetSksCluster ¶
func (*Client) GetSksClusterAuthorityCert ¶ added in v0.46.0
func (*Client) GetSksNodepool ¶
func (*Client) GetSnapshot ¶
func (*Client) GetSosPresignedUrl ¶
func (*Client) GetTemplate ¶
func (*Client) ListAntiAffinityGroups ¶
func (*Client) ListDeployTargets ¶ added in v0.48.0
func (*Client) ListElasticIps ¶ added in v0.44.0
func (*Client) ListEvents ¶
func (*Client) ListInstancePools ¶
func (*Client) ListInstanceTypes ¶
func (*Client) ListInstances ¶ added in v0.48.0
func (*Client) ListLoadBalancers ¶
func (*Client) ListPrivateNetworks ¶
func (*Client) ListSecurityGroups ¶
func (*Client) ListSksClusterVersions ¶
func (*Client) ListSksClusters ¶
func (*Client) ListSnapshots ¶
func (*Client) ListTemplates ¶
func (*Client) RegisterTemplate ¶
func (*Client) RegisterTemplateWithBody ¶
func (*Client) ResetElasticIpField ¶ added in v0.44.0
func (*Client) ResetInstancePoolField ¶ added in v0.44.0
func (*Client) ResetSksClusterField ¶ added in v0.44.0
func (*Client) ResetSksNodepoolField ¶ added in v0.44.0
func (*Client) RevertInstanceToSnapshot ¶
func (*Client) RevertInstanceToSnapshotWithBody ¶
func (*Client) RotateSksCcmCredentials ¶ added in v0.44.0
func (*Client) ScaleInstancePool ¶
func (*Client) ScaleInstancePoolWithBody ¶
func (*Client) ScaleSksNodepool ¶
func (*Client) ScaleSksNodepoolWithBody ¶
func (*Client) UpdateElasticIp ¶ added in v0.44.0
func (*Client) UpdateElasticIpWithBody ¶ added in v0.44.0
func (*Client) UpdateInstance ¶ added in v0.48.0
func (*Client) UpdateInstancePool ¶
func (*Client) UpdateInstancePoolWithBody ¶
func (*Client) UpdateInstanceWithBody ¶ added in v0.48.0
func (*Client) UpdateLoadBalancer ¶
func (*Client) UpdateLoadBalancerService ¶
func (*Client) UpdateLoadBalancerServiceWithBody ¶
func (*Client) UpdateLoadBalancerWithBody ¶
func (*Client) UpdatePrivateNetwork ¶
func (*Client) UpdatePrivateNetworkWithBody ¶
func (*Client) UpdateSksCluster ¶
func (*Client) UpdateSksClusterWithBody ¶
func (*Client) UpdateSksNodepool ¶
func (*Client) UpdateSksNodepoolWithBody ¶
func (*Client) UpgradeSksCluster ¶
type ClientInterface ¶
type ClientInterface interface { // ListAntiAffinityGroups request ListAntiAffinityGroups(ctx context.Context) (*http.Response, error) // CreateAntiAffinityGroup request with any body CreateAntiAffinityGroupWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error) CreateAntiAffinityGroup(ctx context.Context, body CreateAntiAffinityGroupJSONRequestBody) (*http.Response, error) // DeleteAntiAffinityGroup request DeleteAntiAffinityGroup(ctx context.Context, id string) (*http.Response, error) // GetAntiAffinityGroup request GetAntiAffinityGroup(ctx context.Context, id string) (*http.Response, error) // ListDeployTargets request ListDeployTargets(ctx context.Context) (*http.Response, error) // GetDeployTarget request GetDeployTarget(ctx context.Context, id string) (*http.Response, error) // ListElasticIps request ListElasticIps(ctx context.Context) (*http.Response, error) // CreateElasticIp request with any body CreateElasticIpWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error) CreateElasticIp(ctx context.Context, body CreateElasticIpJSONRequestBody) (*http.Response, error) // DeleteElasticIp request DeleteElasticIp(ctx context.Context, id string) (*http.Response, error) // GetElasticIp request GetElasticIp(ctx context.Context, id string) (*http.Response, error) // UpdateElasticIp request with any body UpdateElasticIpWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error) UpdateElasticIp(ctx context.Context, id string, body UpdateElasticIpJSONRequestBody) (*http.Response, error) // ResetElasticIpField request ResetElasticIpField(ctx context.Context, id string, field string) (*http.Response, error) // AttachInstanceToElasticIp request with any body AttachInstanceToElasticIpWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error) AttachInstanceToElasticIp(ctx context.Context, id string, body AttachInstanceToElasticIpJSONRequestBody) (*http.Response, error) // ListEvents request ListEvents(ctx context.Context, params *ListEventsParams) (*http.Response, error) // ListInstances request ListInstances(ctx context.Context) (*http.Response, error) // CreateInstance request with any body CreateInstanceWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error) CreateInstance(ctx context.Context, body CreateInstanceJSONRequestBody) (*http.Response, error) // ListInstancePools request ListInstancePools(ctx context.Context) (*http.Response, error) // CreateInstancePool request with any body CreateInstancePoolWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error) CreateInstancePool(ctx context.Context, body CreateInstancePoolJSONRequestBody) (*http.Response, error) // DeleteInstancePool request DeleteInstancePool(ctx context.Context, id string) (*http.Response, error) // GetInstancePool request GetInstancePool(ctx context.Context, id string) (*http.Response, error) // UpdateInstancePool request with any body UpdateInstancePoolWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error) UpdateInstancePool(ctx context.Context, id string, body UpdateInstancePoolJSONRequestBody) (*http.Response, error) // ResetInstancePoolField request ResetInstancePoolField(ctx context.Context, id string, field string) (*http.Response, error) // EvictInstancePoolMembers request with any body EvictInstancePoolMembersWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error) EvictInstancePoolMembers(ctx context.Context, id string, body EvictInstancePoolMembersJSONRequestBody) (*http.Response, error) // ScaleInstancePool request with any body ScaleInstancePoolWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error) ScaleInstancePool(ctx context.Context, id string, body ScaleInstancePoolJSONRequestBody) (*http.Response, error) // ListInstanceTypes request ListInstanceTypes(ctx context.Context) (*http.Response, error) // GetInstanceType request GetInstanceType(ctx context.Context, id string) (*http.Response, error) // DeleteInstance request DeleteInstance(ctx context.Context, id string) (*http.Response, error) // GetInstance request GetInstance(ctx context.Context, id string) (*http.Response, error) // UpdateInstance request with any body UpdateInstanceWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error) UpdateInstance(ctx context.Context, id string, body UpdateInstanceJSONRequestBody) (*http.Response, error) // CreateSnapshot request CreateSnapshot(ctx context.Context, id string) (*http.Response, error) // RevertInstanceToSnapshot request with any body RevertInstanceToSnapshotWithBody(ctx context.Context, instanceId string, contentType string, body io.Reader) (*http.Response, error) RevertInstanceToSnapshot(ctx context.Context, instanceId string, body RevertInstanceToSnapshotJSONRequestBody) (*http.Response, error) // ListLoadBalancers request ListLoadBalancers(ctx context.Context) (*http.Response, error) // CreateLoadBalancer request with any body CreateLoadBalancerWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error) CreateLoadBalancer(ctx context.Context, body CreateLoadBalancerJSONRequestBody) (*http.Response, error) // DeleteLoadBalancer request DeleteLoadBalancer(ctx context.Context, id string) (*http.Response, error) // GetLoadBalancer request GetLoadBalancer(ctx context.Context, id string) (*http.Response, error) // UpdateLoadBalancer request with any body UpdateLoadBalancerWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error) UpdateLoadBalancer(ctx context.Context, id string, body UpdateLoadBalancerJSONRequestBody) (*http.Response, error) // AddServiceToLoadBalancer request with any body AddServiceToLoadBalancerWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error) AddServiceToLoadBalancer(ctx context.Context, id string, body AddServiceToLoadBalancerJSONRequestBody) (*http.Response, error) // DeleteLoadBalancerService request DeleteLoadBalancerService(ctx context.Context, id string, serviceId string) (*http.Response, error) // GetLoadBalancerService request GetLoadBalancerService(ctx context.Context, id string, serviceId string) (*http.Response, error) // UpdateLoadBalancerService request with any body UpdateLoadBalancerServiceWithBody(ctx context.Context, id string, serviceId string, contentType string, body io.Reader) (*http.Response, error) UpdateLoadBalancerService(ctx context.Context, id string, serviceId string, body UpdateLoadBalancerServiceJSONRequestBody) (*http.Response, error) // GetOperation request GetOperation(ctx context.Context, id string) (*http.Response, error) // ListPrivateNetworks request ListPrivateNetworks(ctx context.Context) (*http.Response, error) // CreatePrivateNetwork request with any body CreatePrivateNetworkWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error) CreatePrivateNetwork(ctx context.Context, body CreatePrivateNetworkJSONRequestBody) (*http.Response, error) // DeletePrivateNetwork request DeletePrivateNetwork(ctx context.Context, id string) (*http.Response, error) // GetPrivateNetwork request GetPrivateNetwork(ctx context.Context, id string) (*http.Response, error) // UpdatePrivateNetwork request with any body UpdatePrivateNetworkWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error) UpdatePrivateNetwork(ctx context.Context, id string, body UpdatePrivateNetworkJSONRequestBody) (*http.Response, error) // ListSecurityGroups request ListSecurityGroups(ctx context.Context) (*http.Response, error) // CreateSecurityGroup request with any body CreateSecurityGroupWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error) CreateSecurityGroup(ctx context.Context, body CreateSecurityGroupJSONRequestBody) (*http.Response, error) // DeleteSecurityGroup request DeleteSecurityGroup(ctx context.Context, id string) (*http.Response, error) // GetSecurityGroup request GetSecurityGroup(ctx context.Context, id string) (*http.Response, error) // AddRuleToSecurityGroup request with any body AddRuleToSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error) AddRuleToSecurityGroup(ctx context.Context, id string, body AddRuleToSecurityGroupJSONRequestBody) (*http.Response, error) // DeleteRuleFromSecurityGroup request DeleteRuleFromSecurityGroup(ctx context.Context, id string, ruleId string) (*http.Response, error) // ListSksClusters request ListSksClusters(ctx context.Context) (*http.Response, error) // CreateSksCluster request with any body CreateSksClusterWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error) CreateSksCluster(ctx context.Context, body CreateSksClusterJSONRequestBody) (*http.Response, error) // GenerateSksClusterKubeconfig request with any body GenerateSksClusterKubeconfigWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error) GenerateSksClusterKubeconfig(ctx context.Context, id string, body GenerateSksClusterKubeconfigJSONRequestBody) (*http.Response, error) // ListSksClusterVersions request ListSksClusterVersions(ctx context.Context) (*http.Response, error) // DeleteSksCluster request DeleteSksCluster(ctx context.Context, id string) (*http.Response, error) // GetSksCluster request GetSksCluster(ctx context.Context, id string) (*http.Response, error) // UpdateSksCluster request with any body UpdateSksClusterWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error) UpdateSksCluster(ctx context.Context, id string, body UpdateSksClusterJSONRequestBody) (*http.Response, error) // GetSksClusterAuthorityCert request GetSksClusterAuthorityCert(ctx context.Context, id string, authority string) (*http.Response, error) // CreateSksNodepool request with any body CreateSksNodepoolWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error) CreateSksNodepool(ctx context.Context, id string, body CreateSksNodepoolJSONRequestBody) (*http.Response, error) // DeleteSksNodepool request DeleteSksNodepool(ctx context.Context, id string, sksNodepoolId string) (*http.Response, error) // GetSksNodepool request GetSksNodepool(ctx context.Context, id string, sksNodepoolId string) (*http.Response, error) // UpdateSksNodepool request with any body UpdateSksNodepoolWithBody(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader) (*http.Response, error) UpdateSksNodepool(ctx context.Context, id string, sksNodepoolId string, body UpdateSksNodepoolJSONRequestBody) (*http.Response, error) // ResetSksNodepoolField request ResetSksNodepoolField(ctx context.Context, id string, sksNodepoolId string, field string) (*http.Response, error) // EvictSksNodepoolMembers request with any body EvictSksNodepoolMembersWithBody(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader) (*http.Response, error) EvictSksNodepoolMembers(ctx context.Context, id string, sksNodepoolId string, body EvictSksNodepoolMembersJSONRequestBody) (*http.Response, error) // ScaleSksNodepool request with any body ScaleSksNodepoolWithBody(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader) (*http.Response, error) ScaleSksNodepool(ctx context.Context, id string, sksNodepoolId string, body ScaleSksNodepoolJSONRequestBody) (*http.Response, error) // RotateSksCcmCredentials request RotateSksCcmCredentials(ctx context.Context, id string) (*http.Response, error) // UpgradeSksCluster request with any body UpgradeSksClusterWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error) UpgradeSksCluster(ctx context.Context, id string, body UpgradeSksClusterJSONRequestBody) (*http.Response, error) // ResetSksClusterField request ResetSksClusterField(ctx context.Context, id string, field string) (*http.Response, error) // ListSnapshots request ListSnapshots(ctx context.Context) (*http.Response, error) // DeleteSnapshot request DeleteSnapshot(ctx context.Context, id string) (*http.Response, error) // GetSnapshot request GetSnapshot(ctx context.Context, id string) (*http.Response, error) // ExportSnapshot request ExportSnapshot(ctx context.Context, id string) (*http.Response, error) // GetSosPresignedUrl request GetSosPresignedUrl(ctx context.Context, bucket string, params *GetSosPresignedUrlParams) (*http.Response, error) // GetSshKey request GetSshKey(ctx context.Context, name string) (*http.Response, error) // ListTemplates request ListTemplates(ctx context.Context, params *ListTemplatesParams) (*http.Response, error) // RegisterTemplate request with any body RegisterTemplateWithBody(ctx context.Context, contentType string, body io.Reader) (*http.Response, error) RegisterTemplate(ctx context.Context, body RegisterTemplateJSONRequestBody) (*http.Response, error) // DeleteTemplate request DeleteTemplate(ctx context.Context, id string) (*http.Response, error) // GetTemplate request GetTemplate(ctx context.Context, id string) (*http.Response, error) // CopyTemplate request with any body CopyTemplateWithBody(ctx context.Context, id string, contentType string, body io.Reader) (*http.Response, error) CopyTemplate(ctx context.Context, id string, body CopyTemplateJSONRequestBody) (*http.Response, error) // ListZones request ListZones(ctx context.Context) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AddRuleToSecurityGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) AddRuleToSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*AddRuleToSecurityGroupResponse, error)
AddRuleToSecurityGroupWithBodyWithResponse request with arbitrary body returning *AddRuleToSecurityGroupResponse
func (*ClientWithResponses) AddRuleToSecurityGroupWithResponse ¶
func (c *ClientWithResponses) AddRuleToSecurityGroupWithResponse(ctx context.Context, id string, body AddRuleToSecurityGroupJSONRequestBody) (*AddRuleToSecurityGroupResponse, error)
func (*ClientWithResponses) AddServiceToLoadBalancerWithBodyWithResponse ¶
func (c *ClientWithResponses) AddServiceToLoadBalancerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*AddServiceToLoadBalancerResponse, error)
AddServiceToLoadBalancerWithBodyWithResponse request with arbitrary body returning *AddServiceToLoadBalancerResponse
func (*ClientWithResponses) AddServiceToLoadBalancerWithResponse ¶
func (c *ClientWithResponses) AddServiceToLoadBalancerWithResponse(ctx context.Context, id string, body AddServiceToLoadBalancerJSONRequestBody) (*AddServiceToLoadBalancerResponse, error)
func (*ClientWithResponses) AttachInstanceToElasticIpWithBodyWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) AttachInstanceToElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*AttachInstanceToElasticIpResponse, error)
AttachInstanceToElasticIpWithBodyWithResponse request with arbitrary body returning *AttachInstanceToElasticIpResponse
func (*ClientWithResponses) AttachInstanceToElasticIpWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) AttachInstanceToElasticIpWithResponse(ctx context.Context, id string, body AttachInstanceToElasticIpJSONRequestBody) (*AttachInstanceToElasticIpResponse, error)
func (*ClientWithResponses) CopyTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) CopyTemplateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*CopyTemplateResponse, error)
CopyTemplateWithBodyWithResponse request with arbitrary body returning *CopyTemplateResponse
func (*ClientWithResponses) CopyTemplateWithResponse ¶
func (c *ClientWithResponses) CopyTemplateWithResponse(ctx context.Context, id string, body CopyTemplateJSONRequestBody) (*CopyTemplateResponse, error)
func (*ClientWithResponses) CreateAntiAffinityGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAntiAffinityGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateAntiAffinityGroupResponse, error)
CreateAntiAffinityGroupWithBodyWithResponse request with arbitrary body returning *CreateAntiAffinityGroupResponse
func (*ClientWithResponses) CreateAntiAffinityGroupWithResponse ¶
func (c *ClientWithResponses) CreateAntiAffinityGroupWithResponse(ctx context.Context, body CreateAntiAffinityGroupJSONRequestBody) (*CreateAntiAffinityGroupResponse, error)
func (*ClientWithResponses) CreateElasticIpWithBodyWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) CreateElasticIpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateElasticIpResponse, error)
CreateElasticIpWithBodyWithResponse request with arbitrary body returning *CreateElasticIpResponse
func (*ClientWithResponses) CreateElasticIpWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) CreateElasticIpWithResponse(ctx context.Context, body CreateElasticIpJSONRequestBody) (*CreateElasticIpResponse, error)
func (*ClientWithResponses) CreateInstancePoolWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateInstancePoolWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateInstancePoolResponse, error)
CreateInstancePoolWithBodyWithResponse request with arbitrary body returning *CreateInstancePoolResponse
func (*ClientWithResponses) CreateInstancePoolWithResponse ¶
func (c *ClientWithResponses) CreateInstancePoolWithResponse(ctx context.Context, body CreateInstancePoolJSONRequestBody) (*CreateInstancePoolResponse, error)
func (*ClientWithResponses) CreateInstanceWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateInstanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateInstanceResponse, error)
CreateInstanceWithBodyWithResponse request with arbitrary body returning *CreateInstanceResponse
func (*ClientWithResponses) CreateInstanceWithResponse ¶
func (c *ClientWithResponses) CreateInstanceWithResponse(ctx context.Context, body CreateInstanceJSONRequestBody) (*CreateInstanceResponse, error)
func (*ClientWithResponses) CreateLoadBalancerWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateLoadBalancerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateLoadBalancerResponse, error)
CreateLoadBalancerWithBodyWithResponse request with arbitrary body returning *CreateLoadBalancerResponse
func (*ClientWithResponses) CreateLoadBalancerWithResponse ¶
func (c *ClientWithResponses) CreateLoadBalancerWithResponse(ctx context.Context, body CreateLoadBalancerJSONRequestBody) (*CreateLoadBalancerResponse, error)
func (*ClientWithResponses) CreatePrivateNetworkWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePrivateNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreatePrivateNetworkResponse, error)
CreatePrivateNetworkWithBodyWithResponse request with arbitrary body returning *CreatePrivateNetworkResponse
func (*ClientWithResponses) CreatePrivateNetworkWithResponse ¶
func (c *ClientWithResponses) CreatePrivateNetworkWithResponse(ctx context.Context, body CreatePrivateNetworkJSONRequestBody) (*CreatePrivateNetworkResponse, error)
func (*ClientWithResponses) CreateSecurityGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSecurityGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateSecurityGroupResponse, error)
CreateSecurityGroupWithBodyWithResponse request with arbitrary body returning *CreateSecurityGroupResponse
func (*ClientWithResponses) CreateSecurityGroupWithResponse ¶
func (c *ClientWithResponses) CreateSecurityGroupWithResponse(ctx context.Context, body CreateSecurityGroupJSONRequestBody) (*CreateSecurityGroupResponse, error)
func (*ClientWithResponses) CreateSksClusterWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSksClusterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateSksClusterResponse, error)
CreateSksClusterWithBodyWithResponse request with arbitrary body returning *CreateSksClusterResponse
func (*ClientWithResponses) CreateSksClusterWithResponse ¶
func (c *ClientWithResponses) CreateSksClusterWithResponse(ctx context.Context, body CreateSksClusterJSONRequestBody) (*CreateSksClusterResponse, error)
func (*ClientWithResponses) CreateSksNodepoolWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSksNodepoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*CreateSksNodepoolResponse, error)
CreateSksNodepoolWithBodyWithResponse request with arbitrary body returning *CreateSksNodepoolResponse
func (*ClientWithResponses) CreateSksNodepoolWithResponse ¶
func (c *ClientWithResponses) CreateSksNodepoolWithResponse(ctx context.Context, id string, body CreateSksNodepoolJSONRequestBody) (*CreateSksNodepoolResponse, error)
func (*ClientWithResponses) CreateSnapshotWithResponse ¶
func (c *ClientWithResponses) CreateSnapshotWithResponse(ctx context.Context, id string) (*CreateSnapshotResponse, error)
CreateSnapshotWithResponse request returning *CreateSnapshotResponse
func (*ClientWithResponses) DeleteAntiAffinityGroupWithResponse ¶
func (c *ClientWithResponses) DeleteAntiAffinityGroupWithResponse(ctx context.Context, id string) (*DeleteAntiAffinityGroupResponse, error)
DeleteAntiAffinityGroupWithResponse request returning *DeleteAntiAffinityGroupResponse
func (*ClientWithResponses) DeleteElasticIpWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) DeleteElasticIpWithResponse(ctx context.Context, id string) (*DeleteElasticIpResponse, error)
DeleteElasticIpWithResponse request returning *DeleteElasticIpResponse
func (*ClientWithResponses) DeleteInstancePoolWithResponse ¶
func (c *ClientWithResponses) DeleteInstancePoolWithResponse(ctx context.Context, id string) (*DeleteInstancePoolResponse, error)
DeleteInstancePoolWithResponse request returning *DeleteInstancePoolResponse
func (*ClientWithResponses) DeleteInstanceWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) DeleteInstanceWithResponse(ctx context.Context, id string) (*DeleteInstanceResponse, error)
DeleteInstanceWithResponse request returning *DeleteInstanceResponse
func (*ClientWithResponses) DeleteLoadBalancerServiceWithResponse ¶
func (c *ClientWithResponses) DeleteLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string) (*DeleteLoadBalancerServiceResponse, error)
DeleteLoadBalancerServiceWithResponse request returning *DeleteLoadBalancerServiceResponse
func (*ClientWithResponses) DeleteLoadBalancerWithResponse ¶
func (c *ClientWithResponses) DeleteLoadBalancerWithResponse(ctx context.Context, id string) (*DeleteLoadBalancerResponse, error)
DeleteLoadBalancerWithResponse request returning *DeleteLoadBalancerResponse
func (*ClientWithResponses) DeletePrivateNetworkWithResponse ¶
func (c *ClientWithResponses) DeletePrivateNetworkWithResponse(ctx context.Context, id string) (*DeletePrivateNetworkResponse, error)
DeletePrivateNetworkWithResponse request returning *DeletePrivateNetworkResponse
func (*ClientWithResponses) DeleteRuleFromSecurityGroupWithResponse ¶
func (c *ClientWithResponses) DeleteRuleFromSecurityGroupWithResponse(ctx context.Context, id string, ruleId string) (*DeleteRuleFromSecurityGroupResponse, error)
DeleteRuleFromSecurityGroupWithResponse request returning *DeleteRuleFromSecurityGroupResponse
func (*ClientWithResponses) DeleteSecurityGroupWithResponse ¶
func (c *ClientWithResponses) DeleteSecurityGroupWithResponse(ctx context.Context, id string) (*DeleteSecurityGroupResponse, error)
DeleteSecurityGroupWithResponse request returning *DeleteSecurityGroupResponse
func (*ClientWithResponses) DeleteSksClusterWithResponse ¶
func (c *ClientWithResponses) DeleteSksClusterWithResponse(ctx context.Context, id string) (*DeleteSksClusterResponse, error)
DeleteSksClusterWithResponse request returning *DeleteSksClusterResponse
func (*ClientWithResponses) DeleteSksNodepoolWithResponse ¶
func (c *ClientWithResponses) DeleteSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string) (*DeleteSksNodepoolResponse, error)
DeleteSksNodepoolWithResponse request returning *DeleteSksNodepoolResponse
func (*ClientWithResponses) DeleteSnapshotWithResponse ¶
func (c *ClientWithResponses) DeleteSnapshotWithResponse(ctx context.Context, id string) (*DeleteSnapshotResponse, error)
DeleteSnapshotWithResponse request returning *DeleteSnapshotResponse
func (*ClientWithResponses) DeleteTemplateWithResponse ¶
func (c *ClientWithResponses) DeleteTemplateWithResponse(ctx context.Context, id string) (*DeleteTemplateResponse, error)
DeleteTemplateWithResponse request returning *DeleteTemplateResponse
func (*ClientWithResponses) EvictInstancePoolMembersWithBodyWithResponse ¶
func (c *ClientWithResponses) EvictInstancePoolMembersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*EvictInstancePoolMembersResponse, error)
EvictInstancePoolMembersWithBodyWithResponse request with arbitrary body returning *EvictInstancePoolMembersResponse
func (*ClientWithResponses) EvictInstancePoolMembersWithResponse ¶
func (c *ClientWithResponses) EvictInstancePoolMembersWithResponse(ctx context.Context, id string, body EvictInstancePoolMembersJSONRequestBody) (*EvictInstancePoolMembersResponse, error)
func (*ClientWithResponses) EvictSksNodepoolMembersWithBodyWithResponse ¶
func (c *ClientWithResponses) EvictSksNodepoolMembersWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader) (*EvictSksNodepoolMembersResponse, error)
EvictSksNodepoolMembersWithBodyWithResponse request with arbitrary body returning *EvictSksNodepoolMembersResponse
func (*ClientWithResponses) EvictSksNodepoolMembersWithResponse ¶
func (c *ClientWithResponses) EvictSksNodepoolMembersWithResponse(ctx context.Context, id string, sksNodepoolId string, body EvictSksNodepoolMembersJSONRequestBody) (*EvictSksNodepoolMembersResponse, error)
func (*ClientWithResponses) ExportSnapshotWithResponse ¶
func (c *ClientWithResponses) ExportSnapshotWithResponse(ctx context.Context, id string) (*ExportSnapshotResponse, error)
ExportSnapshotWithResponse request returning *ExportSnapshotResponse
func (*ClientWithResponses) GenerateSksClusterKubeconfigWithBodyWithResponse ¶
func (c *ClientWithResponses) GenerateSksClusterKubeconfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*GenerateSksClusterKubeconfigResponse, error)
GenerateSksClusterKubeconfigWithBodyWithResponse request with arbitrary body returning *GenerateSksClusterKubeconfigResponse
func (*ClientWithResponses) GenerateSksClusterKubeconfigWithResponse ¶
func (c *ClientWithResponses) GenerateSksClusterKubeconfigWithResponse(ctx context.Context, id string, body GenerateSksClusterKubeconfigJSONRequestBody) (*GenerateSksClusterKubeconfigResponse, error)
func (*ClientWithResponses) GetAntiAffinityGroupWithResponse ¶
func (c *ClientWithResponses) GetAntiAffinityGroupWithResponse(ctx context.Context, id string) (*GetAntiAffinityGroupResponse, error)
GetAntiAffinityGroupWithResponse request returning *GetAntiAffinityGroupResponse
func (*ClientWithResponses) GetDeployTargetWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) GetDeployTargetWithResponse(ctx context.Context, id string) (*GetDeployTargetResponse, error)
GetDeployTargetWithResponse request returning *GetDeployTargetResponse
func (*ClientWithResponses) GetElasticIpWithResponse ¶
func (c *ClientWithResponses) GetElasticIpWithResponse(ctx context.Context, id string) (*GetElasticIpResponse, error)
GetElasticIpWithResponse request returning *GetElasticIpResponse
func (*ClientWithResponses) GetInstancePoolWithResponse ¶
func (c *ClientWithResponses) GetInstancePoolWithResponse(ctx context.Context, id string) (*GetInstancePoolResponse, error)
GetInstancePoolWithResponse request returning *GetInstancePoolResponse
func (*ClientWithResponses) GetInstanceTypeWithResponse ¶
func (c *ClientWithResponses) GetInstanceTypeWithResponse(ctx context.Context, id string) (*GetInstanceTypeResponse, error)
GetInstanceTypeWithResponse request returning *GetInstanceTypeResponse
func (*ClientWithResponses) GetInstanceWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) GetInstanceWithResponse(ctx context.Context, id string) (*GetInstanceResponse, error)
GetInstanceWithResponse request returning *GetInstanceResponse
func (*ClientWithResponses) GetLoadBalancerServiceWithResponse ¶
func (c *ClientWithResponses) GetLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string) (*GetLoadBalancerServiceResponse, error)
GetLoadBalancerServiceWithResponse request returning *GetLoadBalancerServiceResponse
func (*ClientWithResponses) GetLoadBalancerWithResponse ¶
func (c *ClientWithResponses) GetLoadBalancerWithResponse(ctx context.Context, id string) (*GetLoadBalancerResponse, error)
GetLoadBalancerWithResponse request returning *GetLoadBalancerResponse
func (*ClientWithResponses) GetOperationWithResponse ¶
func (c *ClientWithResponses) GetOperationWithResponse(ctx context.Context, id string) (*GetOperationResponse, error)
GetOperationWithResponse request returning *GetOperationResponse
func (*ClientWithResponses) GetPrivateNetworkWithResponse ¶
func (c *ClientWithResponses) GetPrivateNetworkWithResponse(ctx context.Context, id string) (*GetPrivateNetworkResponse, error)
GetPrivateNetworkWithResponse request returning *GetPrivateNetworkResponse
func (*ClientWithResponses) GetSecurityGroupWithResponse ¶
func (c *ClientWithResponses) GetSecurityGroupWithResponse(ctx context.Context, id string) (*GetSecurityGroupResponse, error)
GetSecurityGroupWithResponse request returning *GetSecurityGroupResponse
func (*ClientWithResponses) GetSksClusterAuthorityCertWithResponse ¶ added in v0.46.0
func (c *ClientWithResponses) GetSksClusterAuthorityCertWithResponse(ctx context.Context, id string, authority string) (*GetSksClusterAuthorityCertResponse, error)
GetSksClusterAuthorityCertWithResponse request returning *GetSksClusterAuthorityCertResponse
func (*ClientWithResponses) GetSksClusterWithResponse ¶
func (c *ClientWithResponses) GetSksClusterWithResponse(ctx context.Context, id string) (*GetSksClusterResponse, error)
GetSksClusterWithResponse request returning *GetSksClusterResponse
func (*ClientWithResponses) GetSksNodepoolWithResponse ¶
func (c *ClientWithResponses) GetSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string) (*GetSksNodepoolResponse, error)
GetSksNodepoolWithResponse request returning *GetSksNodepoolResponse
func (*ClientWithResponses) GetSnapshotWithResponse ¶
func (c *ClientWithResponses) GetSnapshotWithResponse(ctx context.Context, id string) (*GetSnapshotResponse, error)
GetSnapshotWithResponse request returning *GetSnapshotResponse
func (*ClientWithResponses) GetSosPresignedUrlWithResponse ¶
func (c *ClientWithResponses) GetSosPresignedUrlWithResponse(ctx context.Context, bucket string, params *GetSosPresignedUrlParams) (*GetSosPresignedUrlResponse, error)
GetSosPresignedUrlWithResponse request returning *GetSosPresignedUrlResponse
func (*ClientWithResponses) GetSshKeyWithResponse ¶
func (c *ClientWithResponses) GetSshKeyWithResponse(ctx context.Context, name string) (*GetSshKeyResponse, error)
GetSshKeyWithResponse request returning *GetSshKeyResponse
func (*ClientWithResponses) GetTemplateWithResponse ¶
func (c *ClientWithResponses) GetTemplateWithResponse(ctx context.Context, id string) (*GetTemplateResponse, error)
GetTemplateWithResponse request returning *GetTemplateResponse
func (*ClientWithResponses) ListAntiAffinityGroupsWithResponse ¶
func (c *ClientWithResponses) ListAntiAffinityGroupsWithResponse(ctx context.Context) (*ListAntiAffinityGroupsResponse, error)
ListAntiAffinityGroupsWithResponse request returning *ListAntiAffinityGroupsResponse
func (*ClientWithResponses) ListDeployTargetsWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) ListDeployTargetsWithResponse(ctx context.Context) (*ListDeployTargetsResponse, error)
ListDeployTargetsWithResponse request returning *ListDeployTargetsResponse
func (*ClientWithResponses) ListElasticIpsWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) ListElasticIpsWithResponse(ctx context.Context) (*ListElasticIpsResponse, error)
ListElasticIpsWithResponse request returning *ListElasticIpsResponse
func (*ClientWithResponses) ListEventsWithResponse ¶
func (c *ClientWithResponses) ListEventsWithResponse(ctx context.Context, params *ListEventsParams) (*ListEventsResponse, error)
ListEventsWithResponse request returning *ListEventsResponse
func (*ClientWithResponses) ListInstancePoolsWithResponse ¶
func (c *ClientWithResponses) ListInstancePoolsWithResponse(ctx context.Context) (*ListInstancePoolsResponse, error)
ListInstancePoolsWithResponse request returning *ListInstancePoolsResponse
func (*ClientWithResponses) ListInstanceTypesWithResponse ¶
func (c *ClientWithResponses) ListInstanceTypesWithResponse(ctx context.Context) (*ListInstanceTypesResponse, error)
ListInstanceTypesWithResponse request returning *ListInstanceTypesResponse
func (*ClientWithResponses) ListInstancesWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) ListInstancesWithResponse(ctx context.Context) (*ListInstancesResponse, error)
ListInstancesWithResponse request returning *ListInstancesResponse
func (*ClientWithResponses) ListLoadBalancersWithResponse ¶
func (c *ClientWithResponses) ListLoadBalancersWithResponse(ctx context.Context) (*ListLoadBalancersResponse, error)
ListLoadBalancersWithResponse request returning *ListLoadBalancersResponse
func (*ClientWithResponses) ListPrivateNetworksWithResponse ¶
func (c *ClientWithResponses) ListPrivateNetworksWithResponse(ctx context.Context) (*ListPrivateNetworksResponse, error)
ListPrivateNetworksWithResponse request returning *ListPrivateNetworksResponse
func (*ClientWithResponses) ListSecurityGroupsWithResponse ¶
func (c *ClientWithResponses) ListSecurityGroupsWithResponse(ctx context.Context) (*ListSecurityGroupsResponse, error)
ListSecurityGroupsWithResponse request returning *ListSecurityGroupsResponse
func (*ClientWithResponses) ListSksClusterVersionsWithResponse ¶
func (c *ClientWithResponses) ListSksClusterVersionsWithResponse(ctx context.Context) (*ListSksClusterVersionsResponse, error)
ListSksClusterVersionsWithResponse request returning *ListSksClusterVersionsResponse
func (*ClientWithResponses) ListSksClustersWithResponse ¶
func (c *ClientWithResponses) ListSksClustersWithResponse(ctx context.Context) (*ListSksClustersResponse, error)
ListSksClustersWithResponse request returning *ListSksClustersResponse
func (*ClientWithResponses) ListSnapshotsWithResponse ¶
func (c *ClientWithResponses) ListSnapshotsWithResponse(ctx context.Context) (*ListSnapshotsResponse, error)
ListSnapshotsWithResponse request returning *ListSnapshotsResponse
func (*ClientWithResponses) ListTemplatesWithResponse ¶
func (c *ClientWithResponses) ListTemplatesWithResponse(ctx context.Context, params *ListTemplatesParams) (*ListTemplatesResponse, error)
ListTemplatesWithResponse request returning *ListTemplatesResponse
func (*ClientWithResponses) ListZonesWithResponse ¶
func (c *ClientWithResponses) ListZonesWithResponse(ctx context.Context) (*ListZonesResponse, error)
ListZonesWithResponse request returning *ListZonesResponse
func (*ClientWithResponses) OperationPoller ¶
func (c *ClientWithResponses) OperationPoller(zone string, jobID string) PollFunc
OperationPoller returns a PollFunc function which queries the state of the specified job. Upon successful job completion, the type of the interface{} returned by the PollFunc is a pointer to a Resource object (*Resource).
func (*ClientWithResponses) RegisterTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) RegisterTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*RegisterTemplateResponse, error)
RegisterTemplateWithBodyWithResponse request with arbitrary body returning *RegisterTemplateResponse
func (*ClientWithResponses) RegisterTemplateWithResponse ¶
func (c *ClientWithResponses) RegisterTemplateWithResponse(ctx context.Context, body RegisterTemplateJSONRequestBody) (*RegisterTemplateResponse, error)
func (*ClientWithResponses) ResetElasticIpFieldWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) ResetElasticIpFieldWithResponse(ctx context.Context, id string, field string) (*ResetElasticIpFieldResponse, error)
ResetElasticIpFieldWithResponse request returning *ResetElasticIpFieldResponse
func (*ClientWithResponses) ResetInstancePoolFieldWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) ResetInstancePoolFieldWithResponse(ctx context.Context, id string, field string) (*ResetInstancePoolFieldResponse, error)
ResetInstancePoolFieldWithResponse request returning *ResetInstancePoolFieldResponse
func (*ClientWithResponses) ResetSksClusterFieldWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) ResetSksClusterFieldWithResponse(ctx context.Context, id string, field string) (*ResetSksClusterFieldResponse, error)
ResetSksClusterFieldWithResponse request returning *ResetSksClusterFieldResponse
func (*ClientWithResponses) ResetSksNodepoolFieldWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) ResetSksNodepoolFieldWithResponse(ctx context.Context, id string, sksNodepoolId string, field string) (*ResetSksNodepoolFieldResponse, error)
ResetSksNodepoolFieldWithResponse request returning *ResetSksNodepoolFieldResponse
func (*ClientWithResponses) RevertInstanceToSnapshotWithBodyWithResponse ¶
func (c *ClientWithResponses) RevertInstanceToSnapshotWithBodyWithResponse(ctx context.Context, instanceId string, contentType string, body io.Reader) (*RevertInstanceToSnapshotResponse, error)
RevertInstanceToSnapshotWithBodyWithResponse request with arbitrary body returning *RevertInstanceToSnapshotResponse
func (*ClientWithResponses) RevertInstanceToSnapshotWithResponse ¶
func (c *ClientWithResponses) RevertInstanceToSnapshotWithResponse(ctx context.Context, instanceId string, body RevertInstanceToSnapshotJSONRequestBody) (*RevertInstanceToSnapshotResponse, error)
func (*ClientWithResponses) RotateSksCcmCredentialsWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) RotateSksCcmCredentialsWithResponse(ctx context.Context, id string) (*RotateSksCcmCredentialsResponse, error)
RotateSksCcmCredentialsWithResponse request returning *RotateSksCcmCredentialsResponse
func (*ClientWithResponses) ScaleInstancePoolWithBodyWithResponse ¶
func (c *ClientWithResponses) ScaleInstancePoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*ScaleInstancePoolResponse, error)
ScaleInstancePoolWithBodyWithResponse request with arbitrary body returning *ScaleInstancePoolResponse
func (*ClientWithResponses) ScaleInstancePoolWithResponse ¶
func (c *ClientWithResponses) ScaleInstancePoolWithResponse(ctx context.Context, id string, body ScaleInstancePoolJSONRequestBody) (*ScaleInstancePoolResponse, error)
func (*ClientWithResponses) ScaleSksNodepoolWithBodyWithResponse ¶
func (c *ClientWithResponses) ScaleSksNodepoolWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader) (*ScaleSksNodepoolResponse, error)
ScaleSksNodepoolWithBodyWithResponse request with arbitrary body returning *ScaleSksNodepoolResponse
func (*ClientWithResponses) ScaleSksNodepoolWithResponse ¶
func (c *ClientWithResponses) ScaleSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, body ScaleSksNodepoolJSONRequestBody) (*ScaleSksNodepoolResponse, error)
func (*ClientWithResponses) UpdateElasticIpWithBodyWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) UpdateElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdateElasticIpResponse, error)
UpdateElasticIpWithBodyWithResponse request with arbitrary body returning *UpdateElasticIpResponse
func (*ClientWithResponses) UpdateElasticIpWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) UpdateElasticIpWithResponse(ctx context.Context, id string, body UpdateElasticIpJSONRequestBody) (*UpdateElasticIpResponse, error)
func (*ClientWithResponses) UpdateInstancePoolWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateInstancePoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdateInstancePoolResponse, error)
UpdateInstancePoolWithBodyWithResponse request with arbitrary body returning *UpdateInstancePoolResponse
func (*ClientWithResponses) UpdateInstancePoolWithResponse ¶
func (c *ClientWithResponses) UpdateInstancePoolWithResponse(ctx context.Context, id string, body UpdateInstancePoolJSONRequestBody) (*UpdateInstancePoolResponse, error)
func (*ClientWithResponses) UpdateInstanceWithBodyWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) UpdateInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdateInstanceResponse, error)
UpdateInstanceWithBodyWithResponse request with arbitrary body returning *UpdateInstanceResponse
func (*ClientWithResponses) UpdateInstanceWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) UpdateInstanceWithResponse(ctx context.Context, id string, body UpdateInstanceJSONRequestBody) (*UpdateInstanceResponse, error)
func (*ClientWithResponses) UpdateLoadBalancerServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateLoadBalancerServiceWithBodyWithResponse(ctx context.Context, id string, serviceId string, contentType string, body io.Reader) (*UpdateLoadBalancerServiceResponse, error)
UpdateLoadBalancerServiceWithBodyWithResponse request with arbitrary body returning *UpdateLoadBalancerServiceResponse
func (*ClientWithResponses) UpdateLoadBalancerServiceWithResponse ¶
func (c *ClientWithResponses) UpdateLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, body UpdateLoadBalancerServiceJSONRequestBody) (*UpdateLoadBalancerServiceResponse, error)
func (*ClientWithResponses) UpdateLoadBalancerWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateLoadBalancerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdateLoadBalancerResponse, error)
UpdateLoadBalancerWithBodyWithResponse request with arbitrary body returning *UpdateLoadBalancerResponse
func (*ClientWithResponses) UpdateLoadBalancerWithResponse ¶
func (c *ClientWithResponses) UpdateLoadBalancerWithResponse(ctx context.Context, id string, body UpdateLoadBalancerJSONRequestBody) (*UpdateLoadBalancerResponse, error)
func (*ClientWithResponses) UpdatePrivateNetworkWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdatePrivateNetworkResponse, error)
UpdatePrivateNetworkWithBodyWithResponse request with arbitrary body returning *UpdatePrivateNetworkResponse
func (*ClientWithResponses) UpdatePrivateNetworkWithResponse ¶
func (c *ClientWithResponses) UpdatePrivateNetworkWithResponse(ctx context.Context, id string, body UpdatePrivateNetworkJSONRequestBody) (*UpdatePrivateNetworkResponse, error)
func (*ClientWithResponses) UpdateSksClusterWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSksClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdateSksClusterResponse, error)
UpdateSksClusterWithBodyWithResponse request with arbitrary body returning *UpdateSksClusterResponse
func (*ClientWithResponses) UpdateSksClusterWithResponse ¶
func (c *ClientWithResponses) UpdateSksClusterWithResponse(ctx context.Context, id string, body UpdateSksClusterJSONRequestBody) (*UpdateSksClusterResponse, error)
func (*ClientWithResponses) UpdateSksNodepoolWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSksNodepoolWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader) (*UpdateSksNodepoolResponse, error)
UpdateSksNodepoolWithBodyWithResponse request with arbitrary body returning *UpdateSksNodepoolResponse
func (*ClientWithResponses) UpdateSksNodepoolWithResponse ¶
func (c *ClientWithResponses) UpdateSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, body UpdateSksNodepoolJSONRequestBody) (*UpdateSksNodepoolResponse, error)
func (*ClientWithResponses) UpgradeSksClusterWithBodyWithResponse ¶
func (c *ClientWithResponses) UpgradeSksClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpgradeSksClusterResponse, error)
UpgradeSksClusterWithBodyWithResponse request with arbitrary body returning *UpgradeSksClusterResponse
func (*ClientWithResponses) UpgradeSksClusterWithResponse ¶
func (c *ClientWithResponses) UpgradeSksClusterWithResponse(ctx context.Context, id string, body UpgradeSksClusterJSONRequestBody) (*UpgradeSksClusterResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // ListAntiAffinityGroups request ListAntiAffinityGroupsWithResponse(ctx context.Context) (*ListAntiAffinityGroupsResponse, error) // CreateAntiAffinityGroup request with any body CreateAntiAffinityGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateAntiAffinityGroupResponse, error) CreateAntiAffinityGroupWithResponse(ctx context.Context, body CreateAntiAffinityGroupJSONRequestBody) (*CreateAntiAffinityGroupResponse, error) // DeleteAntiAffinityGroup request DeleteAntiAffinityGroupWithResponse(ctx context.Context, id string) (*DeleteAntiAffinityGroupResponse, error) // GetAntiAffinityGroup request GetAntiAffinityGroupWithResponse(ctx context.Context, id string) (*GetAntiAffinityGroupResponse, error) // ListDeployTargets request ListDeployTargetsWithResponse(ctx context.Context) (*ListDeployTargetsResponse, error) // GetDeployTarget request GetDeployTargetWithResponse(ctx context.Context, id string) (*GetDeployTargetResponse, error) // ListElasticIps request ListElasticIpsWithResponse(ctx context.Context) (*ListElasticIpsResponse, error) // CreateElasticIp request with any body CreateElasticIpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateElasticIpResponse, error) CreateElasticIpWithResponse(ctx context.Context, body CreateElasticIpJSONRequestBody) (*CreateElasticIpResponse, error) // DeleteElasticIp request DeleteElasticIpWithResponse(ctx context.Context, id string) (*DeleteElasticIpResponse, error) // GetElasticIp request GetElasticIpWithResponse(ctx context.Context, id string) (*GetElasticIpResponse, error) // UpdateElasticIp request with any body UpdateElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdateElasticIpResponse, error) UpdateElasticIpWithResponse(ctx context.Context, id string, body UpdateElasticIpJSONRequestBody) (*UpdateElasticIpResponse, error) // ResetElasticIpField request ResetElasticIpFieldWithResponse(ctx context.Context, id string, field string) (*ResetElasticIpFieldResponse, error) // AttachInstanceToElasticIp request with any body AttachInstanceToElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*AttachInstanceToElasticIpResponse, error) AttachInstanceToElasticIpWithResponse(ctx context.Context, id string, body AttachInstanceToElasticIpJSONRequestBody) (*AttachInstanceToElasticIpResponse, error) // ListEvents request ListEventsWithResponse(ctx context.Context, params *ListEventsParams) (*ListEventsResponse, error) // ListInstances request ListInstancesWithResponse(ctx context.Context) (*ListInstancesResponse, error) // CreateInstance request with any body CreateInstanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateInstanceResponse, error) CreateInstanceWithResponse(ctx context.Context, body CreateInstanceJSONRequestBody) (*CreateInstanceResponse, error) // ListInstancePools request ListInstancePoolsWithResponse(ctx context.Context) (*ListInstancePoolsResponse, error) // CreateInstancePool request with any body CreateInstancePoolWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateInstancePoolResponse, error) CreateInstancePoolWithResponse(ctx context.Context, body CreateInstancePoolJSONRequestBody) (*CreateInstancePoolResponse, error) // DeleteInstancePool request DeleteInstancePoolWithResponse(ctx context.Context, id string) (*DeleteInstancePoolResponse, error) // GetInstancePool request GetInstancePoolWithResponse(ctx context.Context, id string) (*GetInstancePoolResponse, error) // UpdateInstancePool request with any body UpdateInstancePoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdateInstancePoolResponse, error) UpdateInstancePoolWithResponse(ctx context.Context, id string, body UpdateInstancePoolJSONRequestBody) (*UpdateInstancePoolResponse, error) // ResetInstancePoolField request ResetInstancePoolFieldWithResponse(ctx context.Context, id string, field string) (*ResetInstancePoolFieldResponse, error) // EvictInstancePoolMembers request with any body EvictInstancePoolMembersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*EvictInstancePoolMembersResponse, error) EvictInstancePoolMembersWithResponse(ctx context.Context, id string, body EvictInstancePoolMembersJSONRequestBody) (*EvictInstancePoolMembersResponse, error) // ScaleInstancePool request with any body ScaleInstancePoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*ScaleInstancePoolResponse, error) ScaleInstancePoolWithResponse(ctx context.Context, id string, body ScaleInstancePoolJSONRequestBody) (*ScaleInstancePoolResponse, error) // ListInstanceTypes request ListInstanceTypesWithResponse(ctx context.Context) (*ListInstanceTypesResponse, error) // GetInstanceType request GetInstanceTypeWithResponse(ctx context.Context, id string) (*GetInstanceTypeResponse, error) // DeleteInstance request DeleteInstanceWithResponse(ctx context.Context, id string) (*DeleteInstanceResponse, error) // GetInstance request GetInstanceWithResponse(ctx context.Context, id string) (*GetInstanceResponse, error) // UpdateInstance request with any body UpdateInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdateInstanceResponse, error) UpdateInstanceWithResponse(ctx context.Context, id string, body UpdateInstanceJSONRequestBody) (*UpdateInstanceResponse, error) // CreateSnapshot request CreateSnapshotWithResponse(ctx context.Context, id string) (*CreateSnapshotResponse, error) // RevertInstanceToSnapshot request with any body RevertInstanceToSnapshotWithBodyWithResponse(ctx context.Context, instanceId string, contentType string, body io.Reader) (*RevertInstanceToSnapshotResponse, error) RevertInstanceToSnapshotWithResponse(ctx context.Context, instanceId string, body RevertInstanceToSnapshotJSONRequestBody) (*RevertInstanceToSnapshotResponse, error) // ListLoadBalancers request ListLoadBalancersWithResponse(ctx context.Context) (*ListLoadBalancersResponse, error) // CreateLoadBalancer request with any body CreateLoadBalancerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateLoadBalancerResponse, error) CreateLoadBalancerWithResponse(ctx context.Context, body CreateLoadBalancerJSONRequestBody) (*CreateLoadBalancerResponse, error) // DeleteLoadBalancer request DeleteLoadBalancerWithResponse(ctx context.Context, id string) (*DeleteLoadBalancerResponse, error) // GetLoadBalancer request GetLoadBalancerWithResponse(ctx context.Context, id string) (*GetLoadBalancerResponse, error) // UpdateLoadBalancer request with any body UpdateLoadBalancerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdateLoadBalancerResponse, error) UpdateLoadBalancerWithResponse(ctx context.Context, id string, body UpdateLoadBalancerJSONRequestBody) (*UpdateLoadBalancerResponse, error) // AddServiceToLoadBalancer request with any body AddServiceToLoadBalancerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*AddServiceToLoadBalancerResponse, error) AddServiceToLoadBalancerWithResponse(ctx context.Context, id string, body AddServiceToLoadBalancerJSONRequestBody) (*AddServiceToLoadBalancerResponse, error) // DeleteLoadBalancerService request DeleteLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string) (*DeleteLoadBalancerServiceResponse, error) // GetLoadBalancerService request GetLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string) (*GetLoadBalancerServiceResponse, error) // UpdateLoadBalancerService request with any body UpdateLoadBalancerServiceWithBodyWithResponse(ctx context.Context, id string, serviceId string, contentType string, body io.Reader) (*UpdateLoadBalancerServiceResponse, error) UpdateLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, body UpdateLoadBalancerServiceJSONRequestBody) (*UpdateLoadBalancerServiceResponse, error) // GetOperation request GetOperationWithResponse(ctx context.Context, id string) (*GetOperationResponse, error) // ListPrivateNetworks request ListPrivateNetworksWithResponse(ctx context.Context) (*ListPrivateNetworksResponse, error) // CreatePrivateNetwork request with any body CreatePrivateNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreatePrivateNetworkResponse, error) CreatePrivateNetworkWithResponse(ctx context.Context, body CreatePrivateNetworkJSONRequestBody) (*CreatePrivateNetworkResponse, error) // DeletePrivateNetwork request DeletePrivateNetworkWithResponse(ctx context.Context, id string) (*DeletePrivateNetworkResponse, error) // GetPrivateNetwork request GetPrivateNetworkWithResponse(ctx context.Context, id string) (*GetPrivateNetworkResponse, error) // UpdatePrivateNetwork request with any body UpdatePrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdatePrivateNetworkResponse, error) UpdatePrivateNetworkWithResponse(ctx context.Context, id string, body UpdatePrivateNetworkJSONRequestBody) (*UpdatePrivateNetworkResponse, error) // ListSecurityGroups request ListSecurityGroupsWithResponse(ctx context.Context) (*ListSecurityGroupsResponse, error) // CreateSecurityGroup request with any body CreateSecurityGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateSecurityGroupResponse, error) CreateSecurityGroupWithResponse(ctx context.Context, body CreateSecurityGroupJSONRequestBody) (*CreateSecurityGroupResponse, error) // DeleteSecurityGroup request DeleteSecurityGroupWithResponse(ctx context.Context, id string) (*DeleteSecurityGroupResponse, error) // GetSecurityGroup request GetSecurityGroupWithResponse(ctx context.Context, id string) (*GetSecurityGroupResponse, error) // AddRuleToSecurityGroup request with any body AddRuleToSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*AddRuleToSecurityGroupResponse, error) AddRuleToSecurityGroupWithResponse(ctx context.Context, id string, body AddRuleToSecurityGroupJSONRequestBody) (*AddRuleToSecurityGroupResponse, error) // DeleteRuleFromSecurityGroup request DeleteRuleFromSecurityGroupWithResponse(ctx context.Context, id string, ruleId string) (*DeleteRuleFromSecurityGroupResponse, error) // ListSksClusters request ListSksClustersWithResponse(ctx context.Context) (*ListSksClustersResponse, error) // CreateSksCluster request with any body CreateSksClusterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateSksClusterResponse, error) CreateSksClusterWithResponse(ctx context.Context, body CreateSksClusterJSONRequestBody) (*CreateSksClusterResponse, error) // GenerateSksClusterKubeconfig request with any body GenerateSksClusterKubeconfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*GenerateSksClusterKubeconfigResponse, error) GenerateSksClusterKubeconfigWithResponse(ctx context.Context, id string, body GenerateSksClusterKubeconfigJSONRequestBody) (*GenerateSksClusterKubeconfigResponse, error) // ListSksClusterVersions request ListSksClusterVersionsWithResponse(ctx context.Context) (*ListSksClusterVersionsResponse, error) // DeleteSksCluster request DeleteSksClusterWithResponse(ctx context.Context, id string) (*DeleteSksClusterResponse, error) // GetSksCluster request GetSksClusterWithResponse(ctx context.Context, id string) (*GetSksClusterResponse, error) // UpdateSksCluster request with any body UpdateSksClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpdateSksClusterResponse, error) UpdateSksClusterWithResponse(ctx context.Context, id string, body UpdateSksClusterJSONRequestBody) (*UpdateSksClusterResponse, error) // GetSksClusterAuthorityCert request GetSksClusterAuthorityCertWithResponse(ctx context.Context, id string, authority string) (*GetSksClusterAuthorityCertResponse, error) // CreateSksNodepool request with any body CreateSksNodepoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*CreateSksNodepoolResponse, error) CreateSksNodepoolWithResponse(ctx context.Context, id string, body CreateSksNodepoolJSONRequestBody) (*CreateSksNodepoolResponse, error) // DeleteSksNodepool request DeleteSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string) (*DeleteSksNodepoolResponse, error) // GetSksNodepool request GetSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string) (*GetSksNodepoolResponse, error) // UpdateSksNodepool request with any body UpdateSksNodepoolWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader) (*UpdateSksNodepoolResponse, error) UpdateSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, body UpdateSksNodepoolJSONRequestBody) (*UpdateSksNodepoolResponse, error) // ResetSksNodepoolField request ResetSksNodepoolFieldWithResponse(ctx context.Context, id string, sksNodepoolId string, field string) (*ResetSksNodepoolFieldResponse, error) // EvictSksNodepoolMembers request with any body EvictSksNodepoolMembersWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader) (*EvictSksNodepoolMembersResponse, error) EvictSksNodepoolMembersWithResponse(ctx context.Context, id string, sksNodepoolId string, body EvictSksNodepoolMembersJSONRequestBody) (*EvictSksNodepoolMembersResponse, error) // ScaleSksNodepool request with any body ScaleSksNodepoolWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader) (*ScaleSksNodepoolResponse, error) ScaleSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, body ScaleSksNodepoolJSONRequestBody) (*ScaleSksNodepoolResponse, error) // RotateSksCcmCredentials request RotateSksCcmCredentialsWithResponse(ctx context.Context, id string) (*RotateSksCcmCredentialsResponse, error) // UpgradeSksCluster request with any body UpgradeSksClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*UpgradeSksClusterResponse, error) UpgradeSksClusterWithResponse(ctx context.Context, id string, body UpgradeSksClusterJSONRequestBody) (*UpgradeSksClusterResponse, error) // ResetSksClusterField request ResetSksClusterFieldWithResponse(ctx context.Context, id string, field string) (*ResetSksClusterFieldResponse, error) // ListSnapshots request ListSnapshotsWithResponse(ctx context.Context) (*ListSnapshotsResponse, error) // DeleteSnapshot request DeleteSnapshotWithResponse(ctx context.Context, id string) (*DeleteSnapshotResponse, error) // GetSnapshot request GetSnapshotWithResponse(ctx context.Context, id string) (*GetSnapshotResponse, error) // ExportSnapshot request ExportSnapshotWithResponse(ctx context.Context, id string) (*ExportSnapshotResponse, error) // GetSosPresignedUrl request GetSosPresignedUrlWithResponse(ctx context.Context, bucket string, params *GetSosPresignedUrlParams) (*GetSosPresignedUrlResponse, error) // GetSshKey request GetSshKeyWithResponse(ctx context.Context, name string) (*GetSshKeyResponse, error) // ListTemplates request ListTemplatesWithResponse(ctx context.Context, params *ListTemplatesParams) (*ListTemplatesResponse, error) // RegisterTemplate request with any body RegisterTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*RegisterTemplateResponse, error) RegisterTemplateWithResponse(ctx context.Context, body RegisterTemplateJSONRequestBody) (*RegisterTemplateResponse, error) // DeleteTemplate request DeleteTemplateWithResponse(ctx context.Context, id string) (*DeleteTemplateResponse, error) // GetTemplate request GetTemplateWithResponse(ctx context.Context, id string) (*GetTemplateResponse, error) // CopyTemplate request with any body CopyTemplateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader) (*CopyTemplateResponse, error) CopyTemplateWithResponse(ctx context.Context, id string, body CopyTemplateJSONRequestBody) (*CopyTemplateResponse, error) // ListZones request ListZonesWithResponse(ctx context.Context) (*ListZonesResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CopyTemplateJSONBody ¶
type CopyTemplateJSONBody struct {
TargetZone string `json:"target-zone"`
}
CopyTemplateJSONBody defines parameters for CopyTemplate.
type CopyTemplateJSONRequestBody ¶
type CopyTemplateJSONRequestBody CopyTemplateJSONBody
CopyTemplateRequestBody defines body for CopyTemplate for application/json ContentType.
type CopyTemplateResponse ¶
func ParseCopyTemplateResponse ¶
func ParseCopyTemplateResponse(rsp *http.Response) (*CopyTemplateResponse, error)
ParseCopyTemplateResponse parses an HTTP response from a CopyTemplateWithResponse call
func (CopyTemplateResponse) Status ¶
func (r CopyTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (CopyTemplateResponse) StatusCode ¶
func (r CopyTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAntiAffinityGroupJSONBody ¶
type CreateAntiAffinityGroupJSONBody struct { Description *string `json:"description,omitempty"` Name string `json:"name"` }
CreateAntiAffinityGroupJSONBody defines parameters for CreateAntiAffinityGroup.
type CreateAntiAffinityGroupJSONRequestBody ¶
type CreateAntiAffinityGroupJSONRequestBody CreateAntiAffinityGroupJSONBody
CreateAntiAffinityGroupRequestBody defines body for CreateAntiAffinityGroup for application/json ContentType.
type CreateAntiAffinityGroupResponse ¶
type CreateAntiAffinityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseCreateAntiAffinityGroupResponse ¶
func ParseCreateAntiAffinityGroupResponse(rsp *http.Response) (*CreateAntiAffinityGroupResponse, error)
ParseCreateAntiAffinityGroupResponse parses an HTTP response from a CreateAntiAffinityGroupWithResponse call
func (CreateAntiAffinityGroupResponse) Status ¶
func (r CreateAntiAffinityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAntiAffinityGroupResponse) StatusCode ¶
func (r CreateAntiAffinityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateElasticIpJSONBody ¶ added in v0.44.0
type CreateElasticIpJSONBody struct { Description *string `json:"description,omitempty"` Healthcheck *ElasticIpHealthcheck `json:"healthcheck,omitempty"` }
CreateElasticIpJSONBody defines parameters for CreateElasticIp.
type CreateElasticIpJSONRequestBody ¶ added in v0.44.0
type CreateElasticIpJSONRequestBody CreateElasticIpJSONBody
CreateElasticIpRequestBody defines body for CreateElasticIp for application/json ContentType.
type CreateElasticIpResponse ¶ added in v0.44.0
func ParseCreateElasticIpResponse ¶ added in v0.44.0
func ParseCreateElasticIpResponse(rsp *http.Response) (*CreateElasticIpResponse, error)
ParseCreateElasticIpResponse parses an HTTP response from a CreateElasticIpWithResponse call
func (CreateElasticIpResponse) Status ¶ added in v0.44.0
func (r CreateElasticIpResponse) Status() string
Status returns HTTPResponse.Status
func (CreateElasticIpResponse) StatusCode ¶ added in v0.44.0
func (r CreateElasticIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateInstanceJSONBody ¶
type CreateInstanceJSONBody struct { AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` DeployTarget *DeployTarget `json:"deploy-target,omitempty"` DiskSize int64 `json:"disk-size"` InstanceType InstanceType `json:"instance-type"` Ipv6Enabled *bool `json:"ipv6-enabled,omitempty"` Name *string `json:"name,omitempty"` SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` SshKey *SshKey `json:"ssh-key,omitempty"` Template Template `json:"template"` UserData *string `json:"user-data,omitempty"` }
CreateInstanceJSONBody defines parameters for CreateInstance.
type CreateInstanceJSONRequestBody ¶
type CreateInstanceJSONRequestBody CreateInstanceJSONBody
CreateInstanceRequestBody defines body for CreateInstance for application/json ContentType.
type CreateInstancePoolJSONBody ¶
type CreateInstancePoolJSONBody struct { AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` DeployTarget *DeployTarget `json:"deploy-target,omitempty"` Description *string `json:"description,omitempty"` DiskSize int64 `json:"disk-size"` ElasticIps *[]ElasticIp `json:"elastic-ips,omitempty"` InstancePrefix *string `json:"instance-prefix,omitempty"` InstanceType InstanceType `json:"instance-type"` Ipv6Enabled *bool `json:"ipv6-enabled,omitempty"` Name string `json:"name"` PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"` SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` Size int64 `json:"size"` SshKey *SshKey `json:"ssh-key,omitempty"` Template Template `json:"template"` UserData *string `json:"user-data,omitempty"` }
CreateInstancePoolJSONBody defines parameters for CreateInstancePool.
type CreateInstancePoolJSONRequestBody ¶
type CreateInstancePoolJSONRequestBody CreateInstancePoolJSONBody
CreateInstancePoolRequestBody defines body for CreateInstancePool for application/json ContentType.
type CreateInstancePoolResponse ¶
type CreateInstancePoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseCreateInstancePoolResponse ¶
func ParseCreateInstancePoolResponse(rsp *http.Response) (*CreateInstancePoolResponse, error)
ParseCreateInstancePoolResponse parses an HTTP response from a CreateInstancePoolWithResponse call
func (CreateInstancePoolResponse) Status ¶
func (r CreateInstancePoolResponse) Status() string
Status returns HTTPResponse.Status
func (CreateInstancePoolResponse) StatusCode ¶
func (r CreateInstancePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateInstanceResponse ¶
func ParseCreateInstanceResponse ¶
func ParseCreateInstanceResponse(rsp *http.Response) (*CreateInstanceResponse, error)
ParseCreateInstanceResponse parses an HTTP response from a CreateInstanceWithResponse call
func (CreateInstanceResponse) Status ¶
func (r CreateInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateInstanceResponse) StatusCode ¶
func (r CreateInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateLoadBalancerJSONBody ¶
type CreateLoadBalancerJSONBody struct { Description *string `json:"description,omitempty"` Name string `json:"name"` }
CreateLoadBalancerJSONBody defines parameters for CreateLoadBalancer.
type CreateLoadBalancerJSONRequestBody ¶
type CreateLoadBalancerJSONRequestBody CreateLoadBalancerJSONBody
CreateLoadBalancerRequestBody defines body for CreateLoadBalancer for application/json ContentType.
type CreateLoadBalancerResponse ¶
type CreateLoadBalancerResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseCreateLoadBalancerResponse ¶
func ParseCreateLoadBalancerResponse(rsp *http.Response) (*CreateLoadBalancerResponse, error)
ParseCreateLoadBalancerResponse parses an HTTP response from a CreateLoadBalancerWithResponse call
func (CreateLoadBalancerResponse) Status ¶
func (r CreateLoadBalancerResponse) Status() string
Status returns HTTPResponse.Status
func (CreateLoadBalancerResponse) StatusCode ¶
func (r CreateLoadBalancerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePrivateNetworkJSONBody ¶
type CreatePrivateNetworkJSONBody struct { Description *string `json:"description,omitempty"` EndIp *string `json:"end-ip,omitempty"` Name string `json:"name"` Netmask *string `json:"netmask,omitempty"` StartIp *string `json:"start-ip,omitempty"` }
CreatePrivateNetworkJSONBody defines parameters for CreatePrivateNetwork.
type CreatePrivateNetworkJSONRequestBody ¶
type CreatePrivateNetworkJSONRequestBody CreatePrivateNetworkJSONBody
CreatePrivateNetworkRequestBody defines body for CreatePrivateNetwork for application/json ContentType.
type CreatePrivateNetworkResponse ¶
type CreatePrivateNetworkResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseCreatePrivateNetworkResponse ¶
func ParseCreatePrivateNetworkResponse(rsp *http.Response) (*CreatePrivateNetworkResponse, error)
ParseCreatePrivateNetworkResponse parses an HTTP response from a CreatePrivateNetworkWithResponse call
func (CreatePrivateNetworkResponse) Status ¶
func (r CreatePrivateNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePrivateNetworkResponse) StatusCode ¶
func (r CreatePrivateNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSecurityGroupJSONBody ¶
type CreateSecurityGroupJSONBody struct { Description *string `json:"description,omitempty"` Name string `json:"name"` }
CreateSecurityGroupJSONBody defines parameters for CreateSecurityGroup.
type CreateSecurityGroupJSONRequestBody ¶
type CreateSecurityGroupJSONRequestBody CreateSecurityGroupJSONBody
CreateSecurityGroupRequestBody defines body for CreateSecurityGroup for application/json ContentType.
type CreateSecurityGroupResponse ¶
type CreateSecurityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseCreateSecurityGroupResponse ¶
func ParseCreateSecurityGroupResponse(rsp *http.Response) (*CreateSecurityGroupResponse, error)
ParseCreateSecurityGroupResponse parses an HTTP response from a CreateSecurityGroupWithResponse call
func (CreateSecurityGroupResponse) Status ¶
func (r CreateSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSecurityGroupResponse) StatusCode ¶
func (r CreateSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSksClusterJSONBody ¶
type CreateSksClusterJSONBody struct { Addons *[]string `json:"addons,omitempty"` Cni *string `json:"cni,omitempty"` Description *string `json:"description,omitempty"` Level string `json:"level"` Name string `json:"name"` Version string `json:"version"` }
CreateSksClusterJSONBody defines parameters for CreateSksCluster.
type CreateSksClusterJSONRequestBody ¶
type CreateSksClusterJSONRequestBody CreateSksClusterJSONBody
CreateSksClusterRequestBody defines body for CreateSksCluster for application/json ContentType.
type CreateSksClusterResponse ¶
func ParseCreateSksClusterResponse ¶
func ParseCreateSksClusterResponse(rsp *http.Response) (*CreateSksClusterResponse, error)
ParseCreateSksClusterResponse parses an HTTP response from a CreateSksClusterWithResponse call
func (CreateSksClusterResponse) Status ¶
func (r CreateSksClusterResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSksClusterResponse) StatusCode ¶
func (r CreateSksClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSksNodepoolJSONBody ¶
type CreateSksNodepoolJSONBody struct { AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` Description *string `json:"description,omitempty"` DiskSize int64 `json:"disk-size"` InstanceType InstanceType `json:"instance-type"` Name string `json:"name"` SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` Size int64 `json:"size"` }
CreateSksNodepoolJSONBody defines parameters for CreateSksNodepool.
type CreateSksNodepoolJSONRequestBody ¶
type CreateSksNodepoolJSONRequestBody CreateSksNodepoolJSONBody
CreateSksNodepoolRequestBody defines body for CreateSksNodepool for application/json ContentType.
type CreateSksNodepoolResponse ¶
type CreateSksNodepoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseCreateSksNodepoolResponse ¶
func ParseCreateSksNodepoolResponse(rsp *http.Response) (*CreateSksNodepoolResponse, error)
ParseCreateSksNodepoolResponse parses an HTTP response from a CreateSksNodepoolWithResponse call
func (CreateSksNodepoolResponse) Status ¶
func (r CreateSksNodepoolResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSksNodepoolResponse) StatusCode ¶
func (r CreateSksNodepoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSnapshotResponse ¶
func ParseCreateSnapshotResponse ¶
func ParseCreateSnapshotResponse(rsp *http.Response) (*CreateSnapshotResponse, error)
ParseCreateSnapshotResponse parses an HTTP response from a CreateSnapshotWithResponse call
func (CreateSnapshotResponse) Status ¶
func (r CreateSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSnapshotResponse) StatusCode ¶
func (r CreateSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAntiAffinityGroupResponse ¶
type DeleteAntiAffinityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDeleteAntiAffinityGroupResponse ¶
func ParseDeleteAntiAffinityGroupResponse(rsp *http.Response) (*DeleteAntiAffinityGroupResponse, error)
ParseDeleteAntiAffinityGroupResponse parses an HTTP response from a DeleteAntiAffinityGroupWithResponse call
func (DeleteAntiAffinityGroupResponse) Status ¶
func (r DeleteAntiAffinityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAntiAffinityGroupResponse) StatusCode ¶
func (r DeleteAntiAffinityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteElasticIpResponse ¶ added in v0.44.0
func ParseDeleteElasticIpResponse ¶ added in v0.44.0
func ParseDeleteElasticIpResponse(rsp *http.Response) (*DeleteElasticIpResponse, error)
ParseDeleteElasticIpResponse parses an HTTP response from a DeleteElasticIpWithResponse call
func (DeleteElasticIpResponse) Status ¶ added in v0.44.0
func (r DeleteElasticIpResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteElasticIpResponse) StatusCode ¶ added in v0.44.0
func (r DeleteElasticIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteInstancePoolResponse ¶
type DeleteInstancePoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDeleteInstancePoolResponse ¶
func ParseDeleteInstancePoolResponse(rsp *http.Response) (*DeleteInstancePoolResponse, error)
ParseDeleteInstancePoolResponse parses an HTTP response from a DeleteInstancePoolWithResponse call
func (DeleteInstancePoolResponse) Status ¶
func (r DeleteInstancePoolResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteInstancePoolResponse) StatusCode ¶
func (r DeleteInstancePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteInstanceResponse ¶ added in v0.48.0
func ParseDeleteInstanceResponse ¶ added in v0.48.0
func ParseDeleteInstanceResponse(rsp *http.Response) (*DeleteInstanceResponse, error)
ParseDeleteInstanceResponse parses an HTTP response from a DeleteInstanceWithResponse call
func (DeleteInstanceResponse) Status ¶ added in v0.48.0
func (r DeleteInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteInstanceResponse) StatusCode ¶ added in v0.48.0
func (r DeleteInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteLoadBalancerResponse ¶
type DeleteLoadBalancerResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDeleteLoadBalancerResponse ¶
func ParseDeleteLoadBalancerResponse(rsp *http.Response) (*DeleteLoadBalancerResponse, error)
ParseDeleteLoadBalancerResponse parses an HTTP response from a DeleteLoadBalancerWithResponse call
func (DeleteLoadBalancerResponse) Status ¶
func (r DeleteLoadBalancerResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteLoadBalancerResponse) StatusCode ¶
func (r DeleteLoadBalancerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteLoadBalancerServiceResponse ¶
type DeleteLoadBalancerServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDeleteLoadBalancerServiceResponse ¶
func ParseDeleteLoadBalancerServiceResponse(rsp *http.Response) (*DeleteLoadBalancerServiceResponse, error)
ParseDeleteLoadBalancerServiceResponse parses an HTTP response from a DeleteLoadBalancerServiceWithResponse call
func (DeleteLoadBalancerServiceResponse) Status ¶
func (r DeleteLoadBalancerServiceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteLoadBalancerServiceResponse) StatusCode ¶
func (r DeleteLoadBalancerServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePrivateNetworkResponse ¶
type DeletePrivateNetworkResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDeletePrivateNetworkResponse ¶
func ParseDeletePrivateNetworkResponse(rsp *http.Response) (*DeletePrivateNetworkResponse, error)
ParseDeletePrivateNetworkResponse parses an HTTP response from a DeletePrivateNetworkWithResponse call
func (DeletePrivateNetworkResponse) Status ¶
func (r DeletePrivateNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePrivateNetworkResponse) StatusCode ¶
func (r DeletePrivateNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRuleFromSecurityGroupResponse ¶
type DeleteRuleFromSecurityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDeleteRuleFromSecurityGroupResponse ¶
func ParseDeleteRuleFromSecurityGroupResponse(rsp *http.Response) (*DeleteRuleFromSecurityGroupResponse, error)
ParseDeleteRuleFromSecurityGroupResponse parses an HTTP response from a DeleteRuleFromSecurityGroupWithResponse call
func (DeleteRuleFromSecurityGroupResponse) Status ¶
func (r DeleteRuleFromSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRuleFromSecurityGroupResponse) StatusCode ¶
func (r DeleteRuleFromSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSecurityGroupResponse ¶
type DeleteSecurityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDeleteSecurityGroupResponse ¶
func ParseDeleteSecurityGroupResponse(rsp *http.Response) (*DeleteSecurityGroupResponse, error)
ParseDeleteSecurityGroupResponse parses an HTTP response from a DeleteSecurityGroupWithResponse call
func (DeleteSecurityGroupResponse) Status ¶
func (r DeleteSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSecurityGroupResponse) StatusCode ¶
func (r DeleteSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSksClusterResponse ¶
func ParseDeleteSksClusterResponse ¶
func ParseDeleteSksClusterResponse(rsp *http.Response) (*DeleteSksClusterResponse, error)
ParseDeleteSksClusterResponse parses an HTTP response from a DeleteSksClusterWithResponse call
func (DeleteSksClusterResponse) Status ¶
func (r DeleteSksClusterResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSksClusterResponse) StatusCode ¶
func (r DeleteSksClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSksNodepoolResponse ¶
type DeleteSksNodepoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDeleteSksNodepoolResponse ¶
func ParseDeleteSksNodepoolResponse(rsp *http.Response) (*DeleteSksNodepoolResponse, error)
ParseDeleteSksNodepoolResponse parses an HTTP response from a DeleteSksNodepoolWithResponse call
func (DeleteSksNodepoolResponse) Status ¶
func (r DeleteSksNodepoolResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSksNodepoolResponse) StatusCode ¶
func (r DeleteSksNodepoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSnapshotResponse ¶
func ParseDeleteSnapshotResponse ¶
func ParseDeleteSnapshotResponse(rsp *http.Response) (*DeleteSnapshotResponse, error)
ParseDeleteSnapshotResponse parses an HTTP response from a DeleteSnapshotWithResponse call
func (DeleteSnapshotResponse) Status ¶
func (r DeleteSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSnapshotResponse) StatusCode ¶
func (r DeleteSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTemplateResponse ¶
func ParseDeleteTemplateResponse ¶
func ParseDeleteTemplateResponse(rsp *http.Response) (*DeleteTemplateResponse, error)
ParseDeleteTemplateResponse parses an HTTP response from a DeleteTemplateWithResponse call
func (DeleteTemplateResponse) Status ¶
func (r DeleteTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTemplateResponse) StatusCode ¶
func (r DeleteTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeployTarget ¶ added in v0.48.0
type DeployTarget struct { Description *string `json:"description,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
DeployTarget defines model for deploy-target.
type ElasticIp ¶
type ElasticIp struct { Description *string `json:"description,omitempty"` Healthcheck *ElasticIpHealthcheck `json:"healthcheck,omitempty"` Id *string `json:"id,omitempty"` Ip *string `json:"ip,omitempty"` }
ElasticIp defines model for elastic-ip.
type ElasticIpHealthcheck ¶ added in v0.44.0
type ElasticIpHealthcheck struct { Interval *int64 `json:"interval,omitempty"` Mode string `json:"mode"` Port int64 `json:"port"` StrikesFail *int64 `json:"strikes-fail,omitempty"` StrikesOk *int64 `json:"strikes-ok,omitempty"` Timeout *int64 `json:"timeout,omitempty"` TlsSkipVerify *bool `json:"tls-skip-verify,omitempty"` TlsSni *string `json:"tls-sni,omitempty"` Uri *string `json:"uri,omitempty"` }
ElasticIpHealthcheck defines model for elastic-ip-healthcheck.
type Event ¶
type Event struct { Payload *Event_Payload `json:"payload,omitempty"` Timestamp *time.Time `json:"timestamp,omitempty"` }
Event defines model for event.
type Event_Payload ¶
type Event_Payload struct {
AdditionalProperties map[string]interface{} `json:"-"`
}
Event_Payload defines model for Event.Payload.
func (Event_Payload) Get ¶
func (a Event_Payload) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for Event_Payload. Returns the specified element and whether it was found
func (Event_Payload) MarshalJSON ¶
func (a Event_Payload) MarshalJSON() ([]byte, error)
Override default JSON handling for Event_Payload to handle AdditionalProperties
func (*Event_Payload) Set ¶
func (a *Event_Payload) Set(fieldName string, value interface{})
Setter for additional properties for Event_Payload
func (*Event_Payload) UnmarshalJSON ¶
func (a *Event_Payload) UnmarshalJSON(b []byte) error
Override default JSON handling for Event_Payload to handle AdditionalProperties
type EvictInstancePoolMembersJSONBody ¶
type EvictInstancePoolMembersJSONBody struct {
Instances *[]string `json:"instances,omitempty"`
}
EvictInstancePoolMembersJSONBody defines parameters for EvictInstancePoolMembers.
type EvictInstancePoolMembersJSONRequestBody ¶
type EvictInstancePoolMembersJSONRequestBody EvictInstancePoolMembersJSONBody
EvictInstancePoolMembersRequestBody defines body for EvictInstancePoolMembers for application/json ContentType.
type EvictInstancePoolMembersResponse ¶
type EvictInstancePoolMembersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseEvictInstancePoolMembersResponse ¶
func ParseEvictInstancePoolMembersResponse(rsp *http.Response) (*EvictInstancePoolMembersResponse, error)
ParseEvictInstancePoolMembersResponse parses an HTTP response from a EvictInstancePoolMembersWithResponse call
func (EvictInstancePoolMembersResponse) Status ¶
func (r EvictInstancePoolMembersResponse) Status() string
Status returns HTTPResponse.Status
func (EvictInstancePoolMembersResponse) StatusCode ¶
func (r EvictInstancePoolMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvictSksNodepoolMembersJSONBody ¶
type EvictSksNodepoolMembersJSONBody struct {
Instances *[]string `json:"instances,omitempty"`
}
EvictSksNodepoolMembersJSONBody defines parameters for EvictSksNodepoolMembers.
type EvictSksNodepoolMembersJSONRequestBody ¶
type EvictSksNodepoolMembersJSONRequestBody EvictSksNodepoolMembersJSONBody
EvictSksNodepoolMembersRequestBody defines body for EvictSksNodepoolMembers for application/json ContentType.
type EvictSksNodepoolMembersResponse ¶
type EvictSksNodepoolMembersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseEvictSksNodepoolMembersResponse ¶
func ParseEvictSksNodepoolMembersResponse(rsp *http.Response) (*EvictSksNodepoolMembersResponse, error)
ParseEvictSksNodepoolMembersResponse parses an HTTP response from a EvictSksNodepoolMembersWithResponse call
func (EvictSksNodepoolMembersResponse) Status ¶
func (r EvictSksNodepoolMembersResponse) Status() string
Status returns HTTPResponse.Status
func (EvictSksNodepoolMembersResponse) StatusCode ¶
func (r EvictSksNodepoolMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportSnapshotResponse ¶
func ParseExportSnapshotResponse ¶
func ParseExportSnapshotResponse(rsp *http.Response) (*ExportSnapshotResponse, error)
ParseExportSnapshotResponse parses an HTTP response from a ExportSnapshotWithResponse call
func (ExportSnapshotResponse) Status ¶
func (r ExportSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (ExportSnapshotResponse) StatusCode ¶
func (r ExportSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GenerateSksClusterKubeconfigJSONBody ¶
type GenerateSksClusterKubeconfigJSONBody SksKubeconfigRequest
GenerateSksClusterKubeconfigJSONBody defines parameters for GenerateSksClusterKubeconfig.
type GenerateSksClusterKubeconfigJSONRequestBody ¶
type GenerateSksClusterKubeconfigJSONRequestBody GenerateSksClusterKubeconfigJSONBody
GenerateSksClusterKubeconfigRequestBody defines body for GenerateSksClusterKubeconfig for application/json ContentType.
type GenerateSksClusterKubeconfigResponse ¶
type GenerateSksClusterKubeconfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Kubeconfig *string `json:"kubeconfig,omitempty"` } }
func ParseGenerateSksClusterKubeconfigResponse ¶
func ParseGenerateSksClusterKubeconfigResponse(rsp *http.Response) (*GenerateSksClusterKubeconfigResponse, error)
ParseGenerateSksClusterKubeconfigResponse parses an HTTP response from a GenerateSksClusterKubeconfigWithResponse call
func (GenerateSksClusterKubeconfigResponse) Status ¶
func (r GenerateSksClusterKubeconfigResponse) Status() string
Status returns HTTPResponse.Status
func (GenerateSksClusterKubeconfigResponse) StatusCode ¶
func (r GenerateSksClusterKubeconfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAntiAffinityGroupResponse ¶
type GetAntiAffinityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AntiAffinityGroup }
func ParseGetAntiAffinityGroupResponse ¶
func ParseGetAntiAffinityGroupResponse(rsp *http.Response) (*GetAntiAffinityGroupResponse, error)
ParseGetAntiAffinityGroupResponse parses an HTTP response from a GetAntiAffinityGroupWithResponse call
func (GetAntiAffinityGroupResponse) Status ¶
func (r GetAntiAffinityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetAntiAffinityGroupResponse) StatusCode ¶
func (r GetAntiAffinityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeployTargetResponse ¶ added in v0.48.0
type GetDeployTargetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeployTarget }
func ParseGetDeployTargetResponse ¶ added in v0.48.0
func ParseGetDeployTargetResponse(rsp *http.Response) (*GetDeployTargetResponse, error)
ParseGetDeployTargetResponse parses an HTTP response from a GetDeployTargetWithResponse call
func (GetDeployTargetResponse) Status ¶ added in v0.48.0
func (r GetDeployTargetResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeployTargetResponse) StatusCode ¶ added in v0.48.0
func (r GetDeployTargetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetElasticIpResponse ¶
func ParseGetElasticIpResponse ¶
func ParseGetElasticIpResponse(rsp *http.Response) (*GetElasticIpResponse, error)
ParseGetElasticIpResponse parses an HTTP response from a GetElasticIpWithResponse call
func (GetElasticIpResponse) Status ¶
func (r GetElasticIpResponse) Status() string
Status returns HTTPResponse.Status
func (GetElasticIpResponse) StatusCode ¶
func (r GetElasticIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInstancePoolResponse ¶
type GetInstancePoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *InstancePool }
func ParseGetInstancePoolResponse ¶
func ParseGetInstancePoolResponse(rsp *http.Response) (*GetInstancePoolResponse, error)
ParseGetInstancePoolResponse parses an HTTP response from a GetInstancePoolWithResponse call
func (GetInstancePoolResponse) Status ¶
func (r GetInstancePoolResponse) Status() string
Status returns HTTPResponse.Status
func (GetInstancePoolResponse) StatusCode ¶
func (r GetInstancePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInstanceResponse ¶ added in v0.48.0
func ParseGetInstanceResponse ¶ added in v0.48.0
func ParseGetInstanceResponse(rsp *http.Response) (*GetInstanceResponse, error)
ParseGetInstanceResponse parses an HTTP response from a GetInstanceWithResponse call
func (GetInstanceResponse) Status ¶ added in v0.48.0
func (r GetInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (GetInstanceResponse) StatusCode ¶ added in v0.48.0
func (r GetInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInstanceTypeResponse ¶
type GetInstanceTypeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *InstanceType }
func ParseGetInstanceTypeResponse ¶
func ParseGetInstanceTypeResponse(rsp *http.Response) (*GetInstanceTypeResponse, error)
ParseGetInstanceTypeResponse parses an HTTP response from a GetInstanceTypeWithResponse call
func (GetInstanceTypeResponse) Status ¶
func (r GetInstanceTypeResponse) Status() string
Status returns HTTPResponse.Status
func (GetInstanceTypeResponse) StatusCode ¶
func (r GetInstanceTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLoadBalancerResponse ¶
type GetLoadBalancerResponse struct { Body []byte HTTPResponse *http.Response JSON200 *LoadBalancer }
func ParseGetLoadBalancerResponse ¶
func ParseGetLoadBalancerResponse(rsp *http.Response) (*GetLoadBalancerResponse, error)
ParseGetLoadBalancerResponse parses an HTTP response from a GetLoadBalancerWithResponse call
func (GetLoadBalancerResponse) Status ¶
func (r GetLoadBalancerResponse) Status() string
Status returns HTTPResponse.Status
func (GetLoadBalancerResponse) StatusCode ¶
func (r GetLoadBalancerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLoadBalancerServiceResponse ¶
type GetLoadBalancerServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *LoadBalancerService }
func ParseGetLoadBalancerServiceResponse ¶
func ParseGetLoadBalancerServiceResponse(rsp *http.Response) (*GetLoadBalancerServiceResponse, error)
ParseGetLoadBalancerServiceResponse parses an HTTP response from a GetLoadBalancerServiceWithResponse call
func (GetLoadBalancerServiceResponse) Status ¶
func (r GetLoadBalancerServiceResponse) Status() string
Status returns HTTPResponse.Status
func (GetLoadBalancerServiceResponse) StatusCode ¶
func (r GetLoadBalancerServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOperationResponse ¶
func ParseGetOperationResponse ¶
func ParseGetOperationResponse(rsp *http.Response) (*GetOperationResponse, error)
ParseGetOperationResponse parses an HTTP response from a GetOperationWithResponse call
func (GetOperationResponse) Status ¶
func (r GetOperationResponse) Status() string
Status returns HTTPResponse.Status
func (GetOperationResponse) StatusCode ¶
func (r GetOperationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPrivateNetworkResponse ¶
type GetPrivateNetworkResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PrivateNetwork }
func ParseGetPrivateNetworkResponse ¶
func ParseGetPrivateNetworkResponse(rsp *http.Response) (*GetPrivateNetworkResponse, error)
ParseGetPrivateNetworkResponse parses an HTTP response from a GetPrivateNetworkWithResponse call
func (GetPrivateNetworkResponse) Status ¶
func (r GetPrivateNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (GetPrivateNetworkResponse) StatusCode ¶
func (r GetPrivateNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecurityGroupResponse ¶
type GetSecurityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SecurityGroup }
func ParseGetSecurityGroupResponse ¶
func ParseGetSecurityGroupResponse(rsp *http.Response) (*GetSecurityGroupResponse, error)
ParseGetSecurityGroupResponse parses an HTTP response from a GetSecurityGroupWithResponse call
func (GetSecurityGroupResponse) Status ¶
func (r GetSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecurityGroupResponse) StatusCode ¶
func (r GetSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSksClusterAuthorityCertResponse ¶ added in v0.46.0
type GetSksClusterAuthorityCertResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Cacert *string `json:"cacert,omitempty"` } }
func ParseGetSksClusterAuthorityCertResponse ¶ added in v0.46.0
func ParseGetSksClusterAuthorityCertResponse(rsp *http.Response) (*GetSksClusterAuthorityCertResponse, error)
ParseGetSksClusterAuthorityCertResponse parses an HTTP response from a GetSksClusterAuthorityCertWithResponse call
func (GetSksClusterAuthorityCertResponse) Status ¶ added in v0.46.0
func (r GetSksClusterAuthorityCertResponse) Status() string
Status returns HTTPResponse.Status
func (GetSksClusterAuthorityCertResponse) StatusCode ¶ added in v0.46.0
func (r GetSksClusterAuthorityCertResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSksClusterResponse ¶
type GetSksClusterResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SksCluster }
func ParseGetSksClusterResponse ¶
func ParseGetSksClusterResponse(rsp *http.Response) (*GetSksClusterResponse, error)
ParseGetSksClusterResponse parses an HTTP response from a GetSksClusterWithResponse call
func (GetSksClusterResponse) Status ¶
func (r GetSksClusterResponse) Status() string
Status returns HTTPResponse.Status
func (GetSksClusterResponse) StatusCode ¶
func (r GetSksClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSksNodepoolResponse ¶
type GetSksNodepoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SksNodepool }
func ParseGetSksNodepoolResponse ¶
func ParseGetSksNodepoolResponse(rsp *http.Response) (*GetSksNodepoolResponse, error)
ParseGetSksNodepoolResponse parses an HTTP response from a GetSksNodepoolWithResponse call
func (GetSksNodepoolResponse) Status ¶
func (r GetSksNodepoolResponse) Status() string
Status returns HTTPResponse.Status
func (GetSksNodepoolResponse) StatusCode ¶
func (r GetSksNodepoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSnapshotResponse ¶
func ParseGetSnapshotResponse ¶
func ParseGetSnapshotResponse(rsp *http.Response) (*GetSnapshotResponse, error)
ParseGetSnapshotResponse parses an HTTP response from a GetSnapshotWithResponse call
func (GetSnapshotResponse) Status ¶
func (r GetSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (GetSnapshotResponse) StatusCode ¶
func (r GetSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSosPresignedUrlParams ¶
type GetSosPresignedUrlParams struct {
Key *string `json:"key,omitempty"`
}
GetSosPresignedUrlParams defines parameters for GetSosPresignedUrl.
type GetSosPresignedUrlResponse ¶
type GetSosPresignedUrlResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Url *string `json:"url,omitempty"` } }
func ParseGetSosPresignedUrlResponse ¶
func ParseGetSosPresignedUrlResponse(rsp *http.Response) (*GetSosPresignedUrlResponse, error)
ParseGetSosPresignedUrlResponse parses an HTTP response from a GetSosPresignedUrlWithResponse call
func (GetSosPresignedUrlResponse) Status ¶
func (r GetSosPresignedUrlResponse) Status() string
Status returns HTTPResponse.Status
func (GetSosPresignedUrlResponse) StatusCode ¶
func (r GetSosPresignedUrlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSshKeyResponse ¶
func ParseGetSshKeyResponse ¶
func ParseGetSshKeyResponse(rsp *http.Response) (*GetSshKeyResponse, error)
ParseGetSshKeyResponse parses an HTTP response from a GetSshKeyWithResponse call
func (GetSshKeyResponse) Status ¶
func (r GetSshKeyResponse) Status() string
Status returns HTTPResponse.Status
func (GetSshKeyResponse) StatusCode ¶
func (r GetSshKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTemplateResponse ¶
func ParseGetTemplateResponse ¶
func ParseGetTemplateResponse(rsp *http.Response) (*GetTemplateResponse, error)
ParseGetTemplateResponse parses an HTTP response from a GetTemplateWithResponse call
func (GetTemplateResponse) Status ¶
func (r GetTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (GetTemplateResponse) StatusCode ¶
func (r GetTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Instance ¶
type Instance struct { AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` CreatedAt *time.Time `json:"created-at,omitempty"` DiskSize *int64 `json:"disk-size,omitempty"` ElasticIps *[]ElasticIp `json:"elastic-ips,omitempty"` Id *string `json:"id,omitempty"` InstanceType *InstanceType `json:"instance-type,omitempty"` Ipv6Address *string `json:"ipv6-address,omitempty"` Manager *Manager `json:"manager,omitempty"` Name *string `json:"name,omitempty"` PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"` PublicIp *string `json:"public-ip,omitempty"` SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` Snapshots *[]Snapshot `json:"snapshots,omitempty"` SshKey *SshKey `json:"ssh-key,omitempty"` State *string `json:"state,omitempty"` Template *Template `json:"template,omitempty"` UserData *string `json:"user-data,omitempty"` }
Instance defines model for instance.
func (*Instance) MarshalJSON ¶ added in v0.48.0
MarshalJSON returns the JSON encoding of an Instance structure after having formatted the CreatedAt field in the original timestamp (ISO 8601), since time.MarshalJSON() only supports RFC 3339 format.
func (*Instance) UnmarshalJSON ¶ added in v0.48.0
UnmarshalJSON unmarshals an Instance structure into a temporary structure whose "CreatedAt" field of type string to be able to parse the original timestamp (ISO 8601) into a time.Time object, since json.Unmarshal() only supports RFC 3339 format.
type InstancePool ¶
type InstancePool struct { AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` DeployTarget *DeployTarget `json:"deploy-target,omitempty"` Description *string `json:"description,omitempty"` DiskSize *int64 `json:"disk-size,omitempty"` ElasticIps *[]ElasticIp `json:"elastic-ips,omitempty"` Id *string `json:"id,omitempty"` InstancePrefix *string `json:"instance-prefix,omitempty"` InstanceType *InstanceType `json:"instance-type,omitempty"` Instances *[]Instance `json:"instances,omitempty"` Ipv6Enabled *bool `json:"ipv6-enabled,omitempty"` Manager *Manager `json:"manager,omitempty"` Name *string `json:"name,omitempty"` PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"` SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` Size *int64 `json:"size,omitempty"` SshKey *SshKey `json:"ssh-key,omitempty"` State *string `json:"state,omitempty"` Template *Template `json:"template,omitempty"` UserData *string `json:"user-data,omitempty"` }
InstancePool defines model for instance-pool.
type InstanceType ¶
type InstanceType struct { Authorized *bool `json:"authorized,omitempty"` Cpus *int64 `json:"cpus,omitempty"` Family *string `json:"family,omitempty"` Gpus *int64 `json:"gpus,omitempty"` Id *string `json:"id,omitempty"` Memory *int64 `json:"memory,omitempty"` Size *string `json:"size,omitempty"` }
InstanceType defines model for instance-type.
type ListAntiAffinityGroupsResponse ¶
type ListAntiAffinityGroupsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` } }
func ParseListAntiAffinityGroupsResponse ¶
func ParseListAntiAffinityGroupsResponse(rsp *http.Response) (*ListAntiAffinityGroupsResponse, error)
ParseListAntiAffinityGroupsResponse parses an HTTP response from a ListAntiAffinityGroupsWithResponse call
func (ListAntiAffinityGroupsResponse) Status ¶
func (r ListAntiAffinityGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAntiAffinityGroupsResponse) StatusCode ¶
func (r ListAntiAffinityGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDeployTargetsResponse ¶ added in v0.48.0
type ListDeployTargetsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { DeployTargets *[]DeployTarget `json:"deploy-targets,omitempty"` } }
func ParseListDeployTargetsResponse ¶ added in v0.48.0
func ParseListDeployTargetsResponse(rsp *http.Response) (*ListDeployTargetsResponse, error)
ParseListDeployTargetsResponse parses an HTTP response from a ListDeployTargetsWithResponse call
func (ListDeployTargetsResponse) Status ¶ added in v0.48.0
func (r ListDeployTargetsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDeployTargetsResponse) StatusCode ¶ added in v0.48.0
func (r ListDeployTargetsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListElasticIpsResponse ¶ added in v0.44.0
type ListElasticIpsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { ElasticIps *[]ElasticIp `json:"elastic-ips,omitempty"` } }
func ParseListElasticIpsResponse ¶ added in v0.44.0
func ParseListElasticIpsResponse(rsp *http.Response) (*ListElasticIpsResponse, error)
ParseListElasticIpsResponse parses an HTTP response from a ListElasticIpsWithResponse call
func (ListElasticIpsResponse) Status ¶ added in v0.44.0
func (r ListElasticIpsResponse) Status() string
Status returns HTTPResponse.Status
func (ListElasticIpsResponse) StatusCode ¶ added in v0.44.0
func (r ListElasticIpsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEventsParams ¶
type ListEventsParams struct { From *time.Time `json:"from,omitempty"` To *time.Time `json:"to,omitempty"` }
ListEventsParams defines parameters for ListEvents.
type ListEventsResponse ¶
func ParseListEventsResponse ¶
func ParseListEventsResponse(rsp *http.Response) (*ListEventsResponse, error)
ParseListEventsResponse parses an HTTP response from a ListEventsWithResponse call
func (ListEventsResponse) Status ¶
func (r ListEventsResponse) Status() string
Status returns HTTPResponse.Status
func (ListEventsResponse) StatusCode ¶
func (r ListEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInstancePoolsResponse ¶
type ListInstancePoolsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { InstancePools *[]InstancePool `json:"instance-pools,omitempty"` } }
func ParseListInstancePoolsResponse ¶
func ParseListInstancePoolsResponse(rsp *http.Response) (*ListInstancePoolsResponse, error)
ParseListInstancePoolsResponse parses an HTTP response from a ListInstancePoolsWithResponse call
func (ListInstancePoolsResponse) Status ¶
func (r ListInstancePoolsResponse) Status() string
Status returns HTTPResponse.Status
func (ListInstancePoolsResponse) StatusCode ¶
func (r ListInstancePoolsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInstanceTypesResponse ¶
type ListInstanceTypesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { InstanceTypes *[]InstanceType `json:"instance-types,omitempty"` } }
func ParseListInstanceTypesResponse ¶
func ParseListInstanceTypesResponse(rsp *http.Response) (*ListInstanceTypesResponse, error)
ParseListInstanceTypesResponse parses an HTTP response from a ListInstanceTypesWithResponse call
func (ListInstanceTypesResponse) Status ¶
func (r ListInstanceTypesResponse) Status() string
Status returns HTTPResponse.Status
func (ListInstanceTypesResponse) StatusCode ¶
func (r ListInstanceTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInstancesResponse ¶ added in v0.48.0
type ListInstancesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Instances *[]Instance `json:"instances,omitempty"` } }
func ParseListInstancesResponse ¶ added in v0.48.0
func ParseListInstancesResponse(rsp *http.Response) (*ListInstancesResponse, error)
ParseListInstancesResponse parses an HTTP response from a ListInstancesWithResponse call
func (ListInstancesResponse) Status ¶ added in v0.48.0
func (r ListInstancesResponse) Status() string
Status returns HTTPResponse.Status
func (ListInstancesResponse) StatusCode ¶ added in v0.48.0
func (r ListInstancesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListLoadBalancersResponse ¶
type ListLoadBalancersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { LoadBalancers *[]LoadBalancer `json:"load-balancers,omitempty"` } }
func ParseListLoadBalancersResponse ¶
func ParseListLoadBalancersResponse(rsp *http.Response) (*ListLoadBalancersResponse, error)
ParseListLoadBalancersResponse parses an HTTP response from a ListLoadBalancersWithResponse call
func (ListLoadBalancersResponse) Status ¶
func (r ListLoadBalancersResponse) Status() string
Status returns HTTPResponse.Status
func (ListLoadBalancersResponse) StatusCode ¶
func (r ListLoadBalancersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPrivateNetworksResponse ¶
type ListPrivateNetworksResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"` } }
func ParseListPrivateNetworksResponse ¶
func ParseListPrivateNetworksResponse(rsp *http.Response) (*ListPrivateNetworksResponse, error)
ParseListPrivateNetworksResponse parses an HTTP response from a ListPrivateNetworksWithResponse call
func (ListPrivateNetworksResponse) Status ¶
func (r ListPrivateNetworksResponse) Status() string
Status returns HTTPResponse.Status
func (ListPrivateNetworksResponse) StatusCode ¶
func (r ListPrivateNetworksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSecurityGroupsResponse ¶
type ListSecurityGroupsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` } }
func ParseListSecurityGroupsResponse ¶
func ParseListSecurityGroupsResponse(rsp *http.Response) (*ListSecurityGroupsResponse, error)
ParseListSecurityGroupsResponse parses an HTTP response from a ListSecurityGroupsWithResponse call
func (ListSecurityGroupsResponse) Status ¶
func (r ListSecurityGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSecurityGroupsResponse) StatusCode ¶
func (r ListSecurityGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSksClusterVersionsResponse ¶
type ListSksClusterVersionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { SksClusterVersions *[]string `json:"sks-cluster-versions,omitempty"` } }
func ParseListSksClusterVersionsResponse ¶
func ParseListSksClusterVersionsResponse(rsp *http.Response) (*ListSksClusterVersionsResponse, error)
ParseListSksClusterVersionsResponse parses an HTTP response from a ListSksClusterVersionsWithResponse call
func (ListSksClusterVersionsResponse) Status ¶
func (r ListSksClusterVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSksClusterVersionsResponse) StatusCode ¶
func (r ListSksClusterVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSksClustersResponse ¶
type ListSksClustersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { SksClusters *[]SksCluster `json:"sks-clusters,omitempty"` } }
func ParseListSksClustersResponse ¶
func ParseListSksClustersResponse(rsp *http.Response) (*ListSksClustersResponse, error)
ParseListSksClustersResponse parses an HTTP response from a ListSksClustersWithResponse call
func (ListSksClustersResponse) Status ¶
func (r ListSksClustersResponse) Status() string
Status returns HTTPResponse.Status
func (ListSksClustersResponse) StatusCode ¶
func (r ListSksClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSnapshotsResponse ¶
type ListSnapshotsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Snapshots *[]Snapshot `json:"snapshots,omitempty"` } }
func ParseListSnapshotsResponse ¶
func ParseListSnapshotsResponse(rsp *http.Response) (*ListSnapshotsResponse, error)
ParseListSnapshotsResponse parses an HTTP response from a ListSnapshotsWithResponse call
func (ListSnapshotsResponse) Status ¶
func (r ListSnapshotsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSnapshotsResponse) StatusCode ¶
func (r ListSnapshotsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTemplatesParams ¶
type ListTemplatesParams struct { Visibility *string `json:"visibility,omitempty"` Family *string `json:"family,omitempty"` }
ListTemplatesParams defines parameters for ListTemplates.
type ListTemplatesResponse ¶
type ListTemplatesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Templates *[]Template `json:"templates,omitempty"` } }
func ParseListTemplatesResponse ¶
func ParseListTemplatesResponse(rsp *http.Response) (*ListTemplatesResponse, error)
ParseListTemplatesResponse parses an HTTP response from a ListTemplatesWithResponse call
func (ListTemplatesResponse) Status ¶
func (r ListTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (ListTemplatesResponse) StatusCode ¶
func (r ListTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListZonesResponse ¶
type ListZonesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Zones *[]Zone `json:"zones,omitempty"` } }
func ParseListZonesResponse ¶
func ParseListZonesResponse(rsp *http.Response) (*ListZonesResponse, error)
ParseListZonesResponse parses an HTTP response from a ListZonesWithResponse call
func (ListZonesResponse) Status ¶
func (r ListZonesResponse) Status() string
Status returns HTTPResponse.Status
func (ListZonesResponse) StatusCode ¶
func (r ListZonesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoadBalancer ¶
type LoadBalancer struct { CreatedAt *time.Time `json:"created-at,omitempty"` Description *string `json:"description,omitempty"` Id *string `json:"id,omitempty"` Ip *string `json:"ip,omitempty"` Name *string `json:"name,omitempty"` Services *[]LoadBalancerService `json:"services,omitempty"` State *string `json:"state,omitempty"` }
LoadBalancer defines model for load-balancer.
func (*LoadBalancer) MarshalJSON ¶
func (lb *LoadBalancer) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON encoding of a LoadBalancer structure after having formatted the CreatedAt field in the original timestamp (ISO 8601), since time.MarshalJSON() only supports RFC 3339 format.
func (*LoadBalancer) UnmarshalJSON ¶
func (lb *LoadBalancer) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals a LoadBalancer structure into a temporary structure whose "CreatedAt" field of type string to be able to parse the original timestamp (ISO 8601) into a time.Time object, since json.Unmarshal() only supports RFC 3339 format.
type LoadBalancerServerStatus ¶
type LoadBalancerServerStatus struct { PublicIp *string `json:"public-ip,omitempty"` Status *string `json:"status,omitempty"` }
LoadBalancerServerStatus defines model for load-balancer-server-status.
type LoadBalancerService ¶
type LoadBalancerService struct { Description *string `json:"description,omitempty"` Healthcheck *LoadBalancerServiceHealthcheck `json:"healthcheck,omitempty"` HealthcheckStatus *[]LoadBalancerServerStatus `json:"healthcheck-status,omitempty"` Id *string `json:"id,omitempty"` InstancePool *InstancePool `json:"instance-pool,omitempty"` Name *string `json:"name,omitempty"` Port *int64 `json:"port,omitempty"` Protocol *string `json:"protocol,omitempty"` State *string `json:"state,omitempty"` Strategy *string `json:"strategy,omitempty"` TargetPort *int64 `json:"target-port,omitempty"` }
LoadBalancerService defines model for load-balancer-service.
type LoadBalancerServiceHealthcheck ¶ added in v0.44.0
type LoadBalancerServiceHealthcheck struct { Interval *int64 `json:"interval,omitempty"` Mode string `json:"mode"` Port int64 `json:"port"` Retries *int64 `json:"retries,omitempty"` Timeout *int64 `json:"timeout,omitempty"` TlsSni *string `json:"tls-sni,omitempty"` Uri *string `json:"uri,omitempty"` }
LoadBalancerServiceHealthcheck defines model for load-balancer-service-healthcheck.
type MockClient ¶
type MockClient struct { mock.Mock *httpmock.MockTransport ClientWithResponsesInterface }
func NewMockClient ¶
func NewMockClient() *MockClient
type Operation ¶
type Operation struct { Id *string `json:"id,omitempty"` Message *string `json:"message,omitempty"` Reason *string `json:"reason,omitempty"` Reference *Reference `json:"reference,omitempty"` State *string `json:"state,omitempty"` }
Operation defines model for operation.
type PollFunc ¶
PollFunc represents a function invoked periodically in a polling loop. It returns a boolean flag true if the job is completed or false if polling must continue, and any error that occurred during the polling (which interrupts the polling regardless of the boolean flag value). Upon successful completion, an interface descring an opaque operation can be returned to the caller, which will have to perform type assertion depending on the PollFunc implementation.
type Poller ¶
type Poller struct {
// contains filtered or unexported fields
}
Poller represents a poller instance.
func (*Poller) Poll ¶
Poll starts the polling routine, executing the provided polling function at the configured polling interval. Upon successful polling, an opaque operation is returned to the caller, which actual type has to asserted depending on the PollFunc executed.
func (*Poller) WithInterval ¶
WithInterval sets the interval at which the polling function will be executed (default: 3s).
type PrivateNetwork ¶
type PrivateNetwork struct { Description *string `json:"description,omitempty"` EndIp *string `json:"end-ip,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Netmask *string `json:"netmask,omitempty"` StartIp *string `json:"start-ip,omitempty"` }
PrivateNetwork defines model for private-network.
type Reference ¶
type Reference struct { Command *string `json:"command,omitempty"` Id *string `json:"id,omitempty"` Link *string `json:"link,omitempty"` }
Reference defines model for reference.
type RegisterTemplateJSONBody ¶
type RegisterTemplateJSONBody struct { BootMode *string `json:"boot-mode,omitempty"` Checksum string `json:"checksum"` DefaultUser *string `json:"default-user,omitempty"` Description *string `json:"description,omitempty"` Name string `json:"name"` PasswordEnabled bool `json:"password-enabled"` Size *int64 `json:"size,omitempty"` SshKeyEnabled bool `json:"ssh-key-enabled"` Url string `json:"url"` }
RegisterTemplateJSONBody defines parameters for RegisterTemplate.
type RegisterTemplateJSONRequestBody ¶
type RegisterTemplateJSONRequestBody RegisterTemplateJSONBody
RegisterTemplateRequestBody defines body for RegisterTemplate for application/json ContentType.
type RegisterTemplateResponse ¶
func ParseRegisterTemplateResponse ¶
func ParseRegisterTemplateResponse(rsp *http.Response) (*RegisterTemplateResponse, error)
ParseRegisterTemplateResponse parses an HTTP response from a RegisterTemplateWithResponse call
func (RegisterTemplateResponse) Status ¶
func (r RegisterTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (RegisterTemplateResponse) StatusCode ¶
func (r RegisterTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
func MultiRequestsEditor ¶
func MultiRequestsEditor(fns ...RequestEditorFn) RequestEditorFn
MultiRequestsEditor is an oapi-codegen compatible RequestEditorFn function that executes multiple RequestEditorFn functions sequentially.
type ResetElasticIpFieldResponse ¶ added in v0.44.0
type ResetElasticIpFieldResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseResetElasticIpFieldResponse ¶ added in v0.44.0
func ParseResetElasticIpFieldResponse(rsp *http.Response) (*ResetElasticIpFieldResponse, error)
ParseResetElasticIpFieldResponse parses an HTTP response from a ResetElasticIpFieldWithResponse call
func (ResetElasticIpFieldResponse) Status ¶ added in v0.44.0
func (r ResetElasticIpFieldResponse) Status() string
Status returns HTTPResponse.Status
func (ResetElasticIpFieldResponse) StatusCode ¶ added in v0.44.0
func (r ResetElasticIpFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetInstancePoolFieldResponse ¶ added in v0.44.0
type ResetInstancePoolFieldResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseResetInstancePoolFieldResponse ¶ added in v0.44.0
func ParseResetInstancePoolFieldResponse(rsp *http.Response) (*ResetInstancePoolFieldResponse, error)
ParseResetInstancePoolFieldResponse parses an HTTP response from a ResetInstancePoolFieldWithResponse call
func (ResetInstancePoolFieldResponse) Status ¶ added in v0.44.0
func (r ResetInstancePoolFieldResponse) Status() string
Status returns HTTPResponse.Status
func (ResetInstancePoolFieldResponse) StatusCode ¶ added in v0.44.0
func (r ResetInstancePoolFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetSksClusterFieldResponse ¶ added in v0.44.0
type ResetSksClusterFieldResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseResetSksClusterFieldResponse ¶ added in v0.44.0
func ParseResetSksClusterFieldResponse(rsp *http.Response) (*ResetSksClusterFieldResponse, error)
ParseResetSksClusterFieldResponse parses an HTTP response from a ResetSksClusterFieldWithResponse call
func (ResetSksClusterFieldResponse) Status ¶ added in v0.44.0
func (r ResetSksClusterFieldResponse) Status() string
Status returns HTTPResponse.Status
func (ResetSksClusterFieldResponse) StatusCode ¶ added in v0.44.0
func (r ResetSksClusterFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetSksNodepoolFieldResponse ¶ added in v0.44.0
type ResetSksNodepoolFieldResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseResetSksNodepoolFieldResponse ¶ added in v0.44.0
func ParseResetSksNodepoolFieldResponse(rsp *http.Response) (*ResetSksNodepoolFieldResponse, error)
ParseResetSksNodepoolFieldResponse parses an HTTP response from a ResetSksNodepoolFieldWithResponse call
func (ResetSksNodepoolFieldResponse) Status ¶ added in v0.44.0
func (r ResetSksNodepoolFieldResponse) Status() string
Status returns HTTPResponse.Status
func (ResetSksNodepoolFieldResponse) StatusCode ¶ added in v0.44.0
func (r ResetSksNodepoolFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevertInstanceToSnapshotJSONBody ¶
type RevertInstanceToSnapshotJSONBody struct {
Id string `json:"id"`
}
RevertInstanceToSnapshotJSONBody defines parameters for RevertInstanceToSnapshot.
type RevertInstanceToSnapshotJSONRequestBody ¶
type RevertInstanceToSnapshotJSONRequestBody RevertInstanceToSnapshotJSONBody
RevertInstanceToSnapshotRequestBody defines body for RevertInstanceToSnapshot for application/json ContentType.
type RevertInstanceToSnapshotResponse ¶
type RevertInstanceToSnapshotResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseRevertInstanceToSnapshotResponse ¶
func ParseRevertInstanceToSnapshotResponse(rsp *http.Response) (*RevertInstanceToSnapshotResponse, error)
ParseRevertInstanceToSnapshotResponse parses an HTTP response from a RevertInstanceToSnapshotWithResponse call
func (RevertInstanceToSnapshotResponse) Status ¶
func (r RevertInstanceToSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (RevertInstanceToSnapshotResponse) StatusCode ¶
func (r RevertInstanceToSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RotateSksCcmCredentialsResponse ¶ added in v0.44.0
type RotateSksCcmCredentialsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseRotateSksCcmCredentialsResponse ¶ added in v0.44.0
func ParseRotateSksCcmCredentialsResponse(rsp *http.Response) (*RotateSksCcmCredentialsResponse, error)
ParseRotateSksCcmCredentialsResponse parses an HTTP response from a RotateSksCcmCredentialsWithResponse call
func (RotateSksCcmCredentialsResponse) Status ¶ added in v0.44.0
func (r RotateSksCcmCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (RotateSksCcmCredentialsResponse) StatusCode ¶ added in v0.44.0
func (r RotateSksCcmCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScaleInstancePoolJSONBody ¶
type ScaleInstancePoolJSONBody struct {
Size int64 `json:"size"`
}
ScaleInstancePoolJSONBody defines parameters for ScaleInstancePool.
type ScaleInstancePoolJSONRequestBody ¶
type ScaleInstancePoolJSONRequestBody ScaleInstancePoolJSONBody
ScaleInstancePoolRequestBody defines body for ScaleInstancePool for application/json ContentType.
type ScaleInstancePoolResponse ¶
type ScaleInstancePoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseScaleInstancePoolResponse ¶
func ParseScaleInstancePoolResponse(rsp *http.Response) (*ScaleInstancePoolResponse, error)
ParseScaleInstancePoolResponse parses an HTTP response from a ScaleInstancePoolWithResponse call
func (ScaleInstancePoolResponse) Status ¶
func (r ScaleInstancePoolResponse) Status() string
Status returns HTTPResponse.Status
func (ScaleInstancePoolResponse) StatusCode ¶
func (r ScaleInstancePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScaleSksNodepoolJSONBody ¶
type ScaleSksNodepoolJSONBody struct {
Size int64 `json:"size"`
}
ScaleSksNodepoolJSONBody defines parameters for ScaleSksNodepool.
type ScaleSksNodepoolJSONRequestBody ¶
type ScaleSksNodepoolJSONRequestBody ScaleSksNodepoolJSONBody
ScaleSksNodepoolRequestBody defines body for ScaleSksNodepool for application/json ContentType.
type ScaleSksNodepoolResponse ¶
func ParseScaleSksNodepoolResponse ¶
func ParseScaleSksNodepoolResponse(rsp *http.Response) (*ScaleSksNodepoolResponse, error)
ParseScaleSksNodepoolResponse parses an HTTP response from a ScaleSksNodepoolWithResponse call
func (ScaleSksNodepoolResponse) Status ¶
func (r ScaleSksNodepoolResponse) Status() string
Status returns HTTPResponse.Status
func (ScaleSksNodepoolResponse) StatusCode ¶
func (r ScaleSksNodepoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityGroup ¶
type SecurityGroup struct { Description *string `json:"description,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Rules *[]SecurityGroupRule `json:"rules,omitempty"` }
SecurityGroup defines model for security-group.
type SecurityGroupResource ¶
SecurityGroupResource defines model for security-group-resource.
type SecurityGroupRule ¶
type SecurityGroupRule struct { Description *string `json:"description,omitempty"` EndPort *int64 `json:"end-port,omitempty"` FlowDirection *string `json:"flow-direction,omitempty"` Icmp *struct { Code *int64 `json:"code,omitempty"` Type *int64 `json:"type,omitempty"` } `json:"icmp,omitempty"` Id *string `json:"id,omitempty"` Network *string `json:"network,omitempty"` Protocol *string `json:"protocol,omitempty"` SecurityGroup *SecurityGroupResource `json:"security-group,omitempty"` StartPort *int64 `json:"start-port,omitempty"` }
SecurityGroupRule defines model for security-group-rule.
type SksCluster ¶
type SksCluster struct { Addons *[]string `json:"addons,omitempty"` Cni *string `json:"cni,omitempty"` CreatedAt *time.Time `json:"created-at,omitempty"` Description *string `json:"description,omitempty"` Endpoint *string `json:"endpoint,omitempty"` Id *string `json:"id,omitempty"` Level *string `json:"level,omitempty"` Name *string `json:"name,omitempty"` Nodepools *[]SksNodepool `json:"nodepools,omitempty"` State *string `json:"state,omitempty"` Version *string `json:"version,omitempty"` }
SksCluster defines model for sks-cluster.
func (*SksCluster) MarshalJSON ¶
func (c *SksCluster) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON encoding of a SksCluster structure after having formatted the CreatedAt field in the original timestamp (ISO 8601), since time.MarshalJSON() only supports RFC 3339 format.
func (*SksCluster) UnmarshalJSON ¶
func (c *SksCluster) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals a SksCluster structure into a temporary structure whose "CreatedAt" field of type string to be able to parse the original timestamp (ISO 8601) into a time.Time object, since json.Unmarshal() only supports RFC 3339 format.
type SksKubeconfigRequest ¶
type SksKubeconfigRequest struct { Groups *[]string `json:"groups,omitempty"` Ttl *int64 `json:"ttl,omitempty"` User *string `json:"user,omitempty"` }
SksKubeconfigRequest defines model for sks-kubeconfig-request.
type SksNodepool ¶
type SksNodepool struct { AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` CreatedAt *time.Time `json:"created-at,omitempty"` Description *string `json:"description,omitempty"` DiskSize *int64 `json:"disk-size,omitempty"` Id *string `json:"id,omitempty"` InstancePool *InstancePool `json:"instance-pool,omitempty"` InstanceType *InstanceType `json:"instance-type,omitempty"` Name *string `json:"name,omitempty"` SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` Size *int64 `json:"size,omitempty"` State *string `json:"state,omitempty"` Template *Template `json:"template,omitempty"` Version *string `json:"version,omitempty"` }
SksNodepool defines model for sks-nodepool.
func (*SksNodepool) MarshalJSON ¶
func (n *SksNodepool) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON encoding of a SksNodepool structure after having formatted the CreatedAt field in the original timestamp (ISO 8601), since time.MarshalJSON() only supports RFC 3339 format.
func (*SksNodepool) UnmarshalJSON ¶
func (n *SksNodepool) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals a SksNodepool structure into a temporary structure whose "CreatedAt" field of type string to be able to parse the original timestamp (ISO 8601) into a time.Time object, since json.Unmarshal() only supports RFC 3339 format.
type Snapshot ¶
type Snapshot struct { CreatedAt *time.Time `json:"created-at,omitempty"` Description *string `json:"description,omitempty"` Export *struct { Md5sum *string `json:"md5sum,omitempty"` PresignedUrl *string `json:"presigned-url,omitempty"` } `json:"export,omitempty"` Id *string `json:"id,omitempty"` Instance *Instance `json:"instance,omitempty"` Name *string `json:"name,omitempty"` State *string `json:"state,omitempty"` }
Snapshot defines model for snapshot.
func (*Snapshot) MarshalJSON ¶ added in v0.48.0
MarshalJSON returns the JSON encoding of a Snapshot structure after having formatted the CreatedAt field in the original timestamp (ISO 8601), since time.MarshalJSON() only supports RFC 3339 format.
func (*Snapshot) UnmarshalJSON ¶ added in v0.48.0
UnmarshalJSON unmarshals a Snapshot structure into a temporary structure whose "CreatedAt" field of type string to be able to parse the original timestamp (ISO 8601) into a time.Time object, since json.Unmarshal() only supports RFC 3339 format.
type SshKey ¶
type SshKey struct { Fingerprint *string `json:"fingerprint,omitempty"` Name *string `json:"name,omitempty"` }
SshKey defines model for ssh-key.
type Template ¶
type Template struct { BootMode *string `json:"boot-mode,omitempty"` Build *string `json:"build,omitempty"` Checksum *string `json:"checksum,omitempty"` CreatedAt *time.Time `json:"created-at,omitempty"` DefaultUser *string `json:"default-user,omitempty"` Description *string `json:"description,omitempty"` Family *string `json:"family,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` PasswordEnabled *bool `json:"password-enabled,omitempty"` Size *int64 `json:"size,omitempty"` SshKeyEnabled *bool `json:"ssh-key-enabled,omitempty"` Url *string `json:"url,omitempty"` Version *string `json:"version,omitempty"` Visibility *string `json:"visibility,omitempty"` }
Template defines model for template.
func (*Template) MarshalJSON ¶
MarshalJSON returns the JSON encoding of a Template structure after having formatted the CreatedAt field in the original timestamp (ISO 8601), since time.MarshalJSON() only supports RFC 3339 format.
func (*Template) UnmarshalJSON ¶
UnmarshalJSON unmarshals a Template structure into a temporary structure whose "CreatedAt" field of type string to be able to parse the original timestamp (ISO 8601) into a time.Time object, since json.Unmarshal() only supports RFC 3339 format.
type UpdateElasticIpJSONBody ¶ added in v0.44.0
type UpdateElasticIpJSONBody struct { Description *string `json:"description,omitempty"` Healthcheck *ElasticIpHealthcheck `json:"healthcheck,omitempty"` }
UpdateElasticIpJSONBody defines parameters for UpdateElasticIp.
type UpdateElasticIpJSONRequestBody ¶ added in v0.44.0
type UpdateElasticIpJSONRequestBody UpdateElasticIpJSONBody
UpdateElasticIpRequestBody defines body for UpdateElasticIp for application/json ContentType.
type UpdateElasticIpResponse ¶ added in v0.44.0
func ParseUpdateElasticIpResponse ¶ added in v0.44.0
func ParseUpdateElasticIpResponse(rsp *http.Response) (*UpdateElasticIpResponse, error)
ParseUpdateElasticIpResponse parses an HTTP response from a UpdateElasticIpWithResponse call
func (UpdateElasticIpResponse) Status ¶ added in v0.44.0
func (r UpdateElasticIpResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateElasticIpResponse) StatusCode ¶ added in v0.44.0
func (r UpdateElasticIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateInstanceJSONBody ¶ added in v0.48.0
type UpdateInstanceJSONBody struct { Name *string `json:"name,omitempty"` UserData *string `json:"user-data,omitempty"` }
UpdateInstanceJSONBody defines parameters for UpdateInstance.
type UpdateInstanceJSONRequestBody ¶ added in v0.48.0
type UpdateInstanceJSONRequestBody UpdateInstanceJSONBody
UpdateInstanceRequestBody defines body for UpdateInstance for application/json ContentType.
type UpdateInstancePoolJSONBody ¶
type UpdateInstancePoolJSONBody struct { AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` DeployTarget *DeployTarget `json:"deploy-target,omitempty"` Description *string `json:"description,omitempty"` DiskSize *int64 `json:"disk-size,omitempty"` ElasticIps *[]ElasticIp `json:"elastic-ips,omitempty"` InstancePrefix *string `json:"instance-prefix,omitempty"` InstanceType *InstanceType `json:"instance-type,omitempty"` Ipv6Enabled *bool `json:"ipv6-enabled,omitempty"` Name *string `json:"name,omitempty"` PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"` SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` SshKey *SshKey `json:"ssh-key,omitempty"` Template *Template `json:"template,omitempty"` UserData *string `json:"user-data,omitempty"` }
UpdateInstancePoolJSONBody defines parameters for UpdateInstancePool.
type UpdateInstancePoolJSONRequestBody ¶
type UpdateInstancePoolJSONRequestBody UpdateInstancePoolJSONBody
UpdateInstancePoolRequestBody defines body for UpdateInstancePool for application/json ContentType.
type UpdateInstancePoolResponse ¶
type UpdateInstancePoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseUpdateInstancePoolResponse ¶
func ParseUpdateInstancePoolResponse(rsp *http.Response) (*UpdateInstancePoolResponse, error)
ParseUpdateInstancePoolResponse parses an HTTP response from a UpdateInstancePoolWithResponse call
func (UpdateInstancePoolResponse) Status ¶
func (r UpdateInstancePoolResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateInstancePoolResponse) StatusCode ¶
func (r UpdateInstancePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateInstanceResponse ¶ added in v0.48.0
func ParseUpdateInstanceResponse ¶ added in v0.48.0
func ParseUpdateInstanceResponse(rsp *http.Response) (*UpdateInstanceResponse, error)
ParseUpdateInstanceResponse parses an HTTP response from a UpdateInstanceWithResponse call
func (UpdateInstanceResponse) Status ¶ added in v0.48.0
func (r UpdateInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateInstanceResponse) StatusCode ¶ added in v0.48.0
func (r UpdateInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateLoadBalancerJSONBody ¶
type UpdateLoadBalancerJSONBody struct { Description *string `json:"description,omitempty"` Name *string `json:"name,omitempty"` }
UpdateLoadBalancerJSONBody defines parameters for UpdateLoadBalancer.
type UpdateLoadBalancerJSONRequestBody ¶
type UpdateLoadBalancerJSONRequestBody UpdateLoadBalancerJSONBody
UpdateLoadBalancerRequestBody defines body for UpdateLoadBalancer for application/json ContentType.
type UpdateLoadBalancerResponse ¶
type UpdateLoadBalancerResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseUpdateLoadBalancerResponse ¶
func ParseUpdateLoadBalancerResponse(rsp *http.Response) (*UpdateLoadBalancerResponse, error)
ParseUpdateLoadBalancerResponse parses an HTTP response from a UpdateLoadBalancerWithResponse call
func (UpdateLoadBalancerResponse) Status ¶
func (r UpdateLoadBalancerResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateLoadBalancerResponse) StatusCode ¶
func (r UpdateLoadBalancerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateLoadBalancerServiceJSONBody ¶
type UpdateLoadBalancerServiceJSONBody struct { Description *string `json:"description,omitempty"` Healthcheck *LoadBalancerServiceHealthcheck `json:"healthcheck,omitempty"` Name *string `json:"name,omitempty"` Port *int64 `json:"port,omitempty"` Protocol *string `json:"protocol,omitempty"` Strategy *string `json:"strategy,omitempty"` TargetPort *int64 `json:"target-port,omitempty"` }
UpdateLoadBalancerServiceJSONBody defines parameters for UpdateLoadBalancerService.
type UpdateLoadBalancerServiceJSONRequestBody ¶
type UpdateLoadBalancerServiceJSONRequestBody UpdateLoadBalancerServiceJSONBody
UpdateLoadBalancerServiceRequestBody defines body for UpdateLoadBalancerService for application/json ContentType.
type UpdateLoadBalancerServiceResponse ¶
type UpdateLoadBalancerServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseUpdateLoadBalancerServiceResponse ¶
func ParseUpdateLoadBalancerServiceResponse(rsp *http.Response) (*UpdateLoadBalancerServiceResponse, error)
ParseUpdateLoadBalancerServiceResponse parses an HTTP response from a UpdateLoadBalancerServiceWithResponse call
func (UpdateLoadBalancerServiceResponse) Status ¶
func (r UpdateLoadBalancerServiceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateLoadBalancerServiceResponse) StatusCode ¶
func (r UpdateLoadBalancerServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePrivateNetworkJSONBody ¶
type UpdatePrivateNetworkJSONBody struct { Description *string `json:"description,omitempty"` EndIp *string `json:"end-ip,omitempty"` Name *string `json:"name,omitempty"` Netmask *string `json:"netmask,omitempty"` StartIp *string `json:"start-ip,omitempty"` }
UpdatePrivateNetworkJSONBody defines parameters for UpdatePrivateNetwork.
type UpdatePrivateNetworkJSONRequestBody ¶
type UpdatePrivateNetworkJSONRequestBody UpdatePrivateNetworkJSONBody
UpdatePrivateNetworkRequestBody defines body for UpdatePrivateNetwork for application/json ContentType.
type UpdatePrivateNetworkResponse ¶
type UpdatePrivateNetworkResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseUpdatePrivateNetworkResponse ¶
func ParseUpdatePrivateNetworkResponse(rsp *http.Response) (*UpdatePrivateNetworkResponse, error)
ParseUpdatePrivateNetworkResponse parses an HTTP response from a UpdatePrivateNetworkWithResponse call
func (UpdatePrivateNetworkResponse) Status ¶
func (r UpdatePrivateNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePrivateNetworkResponse) StatusCode ¶
func (r UpdatePrivateNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSksClusterJSONBody ¶
type UpdateSksClusterJSONBody struct { Description *string `json:"description,omitempty"` Name *string `json:"name,omitempty"` }
UpdateSksClusterJSONBody defines parameters for UpdateSksCluster.
type UpdateSksClusterJSONRequestBody ¶
type UpdateSksClusterJSONRequestBody UpdateSksClusterJSONBody
UpdateSksClusterRequestBody defines body for UpdateSksCluster for application/json ContentType.
type UpdateSksClusterResponse ¶
func ParseUpdateSksClusterResponse ¶
func ParseUpdateSksClusterResponse(rsp *http.Response) (*UpdateSksClusterResponse, error)
ParseUpdateSksClusterResponse parses an HTTP response from a UpdateSksClusterWithResponse call
func (UpdateSksClusterResponse) Status ¶
func (r UpdateSksClusterResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSksClusterResponse) StatusCode ¶
func (r UpdateSksClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSksNodepoolJSONBody ¶
type UpdateSksNodepoolJSONBody struct { AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` Description *string `json:"description,omitempty"` DiskSize *int64 `json:"disk-size,omitempty"` InstanceType *InstanceType `json:"instance-type,omitempty"` Name *string `json:"name,omitempty"` SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` }
UpdateSksNodepoolJSONBody defines parameters for UpdateSksNodepool.
type UpdateSksNodepoolJSONRequestBody ¶
type UpdateSksNodepoolJSONRequestBody UpdateSksNodepoolJSONBody
UpdateSksNodepoolRequestBody defines body for UpdateSksNodepool for application/json ContentType.
type UpdateSksNodepoolResponse ¶
type UpdateSksNodepoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseUpdateSksNodepoolResponse ¶
func ParseUpdateSksNodepoolResponse(rsp *http.Response) (*UpdateSksNodepoolResponse, error)
ParseUpdateSksNodepoolResponse parses an HTTP response from a UpdateSksNodepoolWithResponse call
func (UpdateSksNodepoolResponse) Status ¶
func (r UpdateSksNodepoolResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSksNodepoolResponse) StatusCode ¶
func (r UpdateSksNodepoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpgradeSksClusterJSONBody ¶
type UpgradeSksClusterJSONBody struct {
Version string `json:"version"`
}
UpgradeSksClusterJSONBody defines parameters for UpgradeSksCluster.
type UpgradeSksClusterJSONRequestBody ¶
type UpgradeSksClusterJSONRequestBody UpgradeSksClusterJSONBody
UpgradeSksClusterRequestBody defines body for UpgradeSksCluster for application/json ContentType.
type UpgradeSksClusterResponse ¶
type UpgradeSksClusterResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseUpgradeSksClusterResponse ¶
func ParseUpgradeSksClusterResponse(rsp *http.Response) (*UpgradeSksClusterResponse, error)
ParseUpgradeSksClusterResponse parses an HTTP response from a UpgradeSksClusterWithResponse call
func (UpgradeSksClusterResponse) Status ¶
func (r UpgradeSksClusterResponse) Status() string
Status returns HTTPResponse.Status
func (UpgradeSksClusterResponse) StatusCode ¶
func (r UpgradeSksClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode