Documentation
¶
Overview ¶
Package v2 provides primitives to interact the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen DO NOT EDIT.
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 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 NewCreateInstancePoolRequest(server string, body CreateInstancePoolJSONRequestBody) (*http.Request, error)
- func NewCreateInstancePoolRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateInstanceRequest(server string, params *CreateInstanceParams, ...) (*http.Request, error)
- func NewCreateInstanceRequestWithBody(server string, params *CreateInstanceParams, contentType string, ...) (*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 NewDeleteInstancePoolRequest(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 NewGetElasticIpRequest(server string, id string) (*http.Request, error)
- func NewGetInstancePoolRequest(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 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 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 NewListEventsRequest(server string, params *ListEventsParams) (*http.Request, error)
- func NewListInstancePoolsRequest(server string) (*http.Request, error)
- func NewListInstanceTypesRequest(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 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 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 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 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)
- type AddRuleToSecurityGroupJSONBody
- type AddRuleToSecurityGroupJSONRequestBody
- type AddRuleToSecurityGroupResponse
- type AddServiceToLoadBalancerJSONBody
- type AddServiceToLoadBalancerJSONRequestBody
- type AddServiceToLoadBalancerResponse
- type AntiAffinityGroup
- 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) 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) CreateInstance(ctx context.Context, params *CreateInstanceParams, ...) (*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, params *CreateInstanceParams, contentType string, ...) (*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) 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) GetElasticIp(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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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, params *CreateInstanceParams, contentType string, ...) (*CreateInstanceResponse, error)
- func (c *ClientWithResponses) CreateInstanceWithResponse(ctx context.Context, params *CreateInstanceParams, ...) (*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) DeleteInstancePoolWithResponse(ctx context.Context, id string) (*DeleteInstancePoolResponse, 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 CopyTemplateInput
- type CopyTemplateJSONBody
- type CopyTemplateJSONRequestBody
- type CopyTemplateResponse
- type CreateAntiAffinityGroupJSONBody
- type CreateAntiAffinityGroupJSONRequestBody
- type CreateAntiAffinityGroupResponse
- type CreateInstanceJSONBody
- type CreateInstanceJSONRequestBody
- type CreateInstanceParams
- 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 DeleteInstancePoolResponse
- type DeleteLoadBalancerResponse
- type DeleteLoadBalancerServiceResponse
- type DeletePrivateNetworkResponse
- type DeleteRuleFromSecurityGroupResponse
- type DeleteSecurityGroupResponse
- type DeleteSksClusterResponse
- type DeleteSksNodepoolResponse
- type DeleteSnapshotResponse
- type DeleteTemplateResponse
- type ElasticIp
- 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 GetElasticIpResponse
- type GetInstancePoolResponse
- type GetInstanceTypeResponse
- type GetLoadBalancerResponse
- type GetLoadBalancerServiceResponse
- type GetOperationResponse
- type GetPrivateNetworkResponse
- type GetSecurityGroupResponse
- type GetSksClusterResponse
- type GetSksNodepoolResponse
- type GetSnapshotResponse
- type GetSshKeyResponse
- type GetTemplateResponse
- type Healthcheck
- type HttpRequestDoer
- type Instance
- type InstancePool
- type InstanceType
- type ListAntiAffinityGroupsResponse
- type ListEventsParams
- type ListEventsResponse
- type ListInstancePoolsResponse
- type ListInstanceTypesResponse
- 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 Manager
- type MockClient
- type Operation
- type PollFunc
- type Poller
- type PrivateNetwork
- type Reference
- type RegisterTemplateJSONBody
- type RegisterTemplateJSONRequestBody
- type RegisterTemplateResponse
- type RequestEditorFn
- type RevertInstanceToSnapshotJSONBody
- type RevertInstanceToSnapshotJSONRequestBody
- type RevertInstanceToSnapshotResponse
- 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 UpdateInstancePoolJSONBody
- type UpdateInstancePoolJSONRequestBody
- type UpdateInstancePoolResponse
- 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 NewCopyTemplateRequest ¶ added in v0.42.0
func NewCopyTemplateRequest(server string, id string, body CopyTemplateJSONRequestBody) (*http.Request, error)
NewCopyTemplateRequest calls the generic CopyTemplate builder with application/json body
func NewCopyTemplateRequestWithBody ¶ added in v0.42.0
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 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, params *CreateInstanceParams, body CreateInstanceJSONRequestBody) (*http.Request, error)
NewCreateInstanceRequest calls the generic CreateInstance builder with application/json body
func NewCreateInstanceRequestWithBody ¶
func NewCreateInstanceRequestWithBody(server string, params *CreateInstanceParams, 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 ¶ added in v0.35.0
func NewCreatePrivateNetworkRequest(server string, body CreatePrivateNetworkJSONRequestBody) (*http.Request, error)
NewCreatePrivateNetworkRequest calls the generic CreatePrivateNetwork builder with application/json body
func NewCreatePrivateNetworkRequestWithBody ¶ added in v0.35.0
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 ¶ added in v0.35.0
func NewCreateSksClusterRequest(server string, body CreateSksClusterJSONRequestBody) (*http.Request, error)
NewCreateSksClusterRequest calls the generic CreateSksCluster builder with application/json body
func NewCreateSksClusterRequestWithBody ¶ added in v0.35.0
func NewCreateSksClusterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSksClusterRequestWithBody generates requests for CreateSksCluster with any type of body
func NewCreateSksNodepoolRequest ¶ added in v0.35.0
func NewCreateSksNodepoolRequest(server string, id string, body CreateSksNodepoolJSONRequestBody) (*http.Request, error)
NewCreateSksNodepoolRequest calls the generic CreateSksNodepool builder with application/json body
func NewCreateSksNodepoolRequestWithBody ¶ added in v0.35.0
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 ¶ added in v0.26.0
NewCreateSnapshotRequest generates requests for CreateSnapshot
func NewDeleteAntiAffinityGroupRequest ¶ added in v0.38.0
NewDeleteAntiAffinityGroupRequest generates requests for DeleteAntiAffinityGroup
func NewDeleteInstancePoolRequest ¶ added in v0.42.0
NewDeleteInstancePoolRequest generates requests for DeleteInstancePool
func NewDeleteLoadBalancerRequest ¶ added in v0.26.2
NewDeleteLoadBalancerRequest generates requests for DeleteLoadBalancer
func NewDeleteLoadBalancerServiceRequest ¶ added in v0.26.0
func NewDeleteLoadBalancerServiceRequest(server string, id string, serviceId string) (*http.Request, error)
NewDeleteLoadBalancerServiceRequest generates requests for DeleteLoadBalancerService
func NewDeletePrivateNetworkRequest ¶ added in v0.35.0
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 ¶ added in v0.33.0
NewDeleteSecurityGroupRequest generates requests for DeleteSecurityGroup
func NewDeleteSksClusterRequest ¶ added in v0.35.0
NewDeleteSksClusterRequest generates requests for DeleteSksCluster
func NewDeleteSksNodepoolRequest ¶ added in v0.35.0
func NewDeleteSksNodepoolRequest(server string, id string, sksNodepoolId string) (*http.Request, error)
NewDeleteSksNodepoolRequest generates requests for DeleteSksNodepool
func NewDeleteSnapshotRequest ¶ added in v0.33.0
NewDeleteSnapshotRequest generates requests for DeleteSnapshot
func NewDeleteTemplateRequest ¶ added in v0.35.0
NewDeleteTemplateRequest generates requests for DeleteTemplate
func NewEvictInstancePoolMembersRequest ¶ added in v0.42.0
func NewEvictInstancePoolMembersRequest(server string, id string, body EvictInstancePoolMembersJSONRequestBody) (*http.Request, error)
NewEvictInstancePoolMembersRequest calls the generic EvictInstancePoolMembers builder with application/json body
func NewEvictInstancePoolMembersRequestWithBody ¶ added in v0.42.0
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 ¶ added in v0.35.0
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 ¶ added in v0.35.0
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 ¶ added in v0.26.2
NewExportSnapshotRequest generates requests for ExportSnapshot
func NewGenerateSksClusterKubeconfigRequest ¶ added in v0.35.0
func NewGenerateSksClusterKubeconfigRequest(server string, id string, body GenerateSksClusterKubeconfigJSONRequestBody) (*http.Request, error)
NewGenerateSksClusterKubeconfigRequest calls the generic GenerateSksClusterKubeconfig builder with application/json body
func NewGenerateSksClusterKubeconfigRequestWithBody ¶ added in v0.35.0
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 ¶ added in v0.38.0
NewGetAntiAffinityGroupRequest generates requests for GetAntiAffinityGroup
func NewGetElasticIpRequest ¶ added in v0.26.0
NewGetElasticIpRequest generates requests for GetElasticIp
func NewGetInstancePoolRequest ¶ added in v0.26.0
NewGetInstancePoolRequest generates requests for GetInstancePool
func NewGetInstanceTypeRequest ¶ added in v0.28.1
NewGetInstanceTypeRequest generates requests for GetInstanceType
func NewGetLoadBalancerRequest ¶ added in v0.26.0
NewGetLoadBalancerRequest generates requests for GetLoadBalancer
func NewGetLoadBalancerServiceRequest ¶ added in v0.26.0
func NewGetLoadBalancerServiceRequest(server string, id string, serviceId string) (*http.Request, error)
NewGetLoadBalancerServiceRequest generates requests for GetLoadBalancerService
func NewGetOperationRequest ¶ added in v0.26.3
NewGetOperationRequest generates requests for GetOperation
func NewGetPrivateNetworkRequest ¶ added in v0.35.0
NewGetPrivateNetworkRequest generates requests for GetPrivateNetwork
func NewGetSecurityGroupRequest ¶ added in v0.26.0
NewGetSecurityGroupRequest generates requests for GetSecurityGroup
func NewGetSksClusterRequest ¶ added in v0.35.0
NewGetSksClusterRequest generates requests for GetSksCluster
func NewGetSksNodepoolRequest ¶ added in v0.35.0
func NewGetSksNodepoolRequest(server string, id string, sksNodepoolId string) (*http.Request, error)
NewGetSksNodepoolRequest generates requests for GetSksNodepool
func NewGetSnapshotRequest ¶ added in v0.26.0
NewGetSnapshotRequest generates requests for GetSnapshot
func NewGetSshKeyRequest ¶ added in v0.40.0
NewGetSshKeyRequest generates requests for GetSshKey
func NewGetTemplateRequest ¶ added in v0.33.0
NewGetTemplateRequest generates requests for GetTemplate
func NewListAntiAffinityGroupsRequest ¶
NewListAntiAffinityGroupsRequest generates requests for ListAntiAffinityGroups
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 NewListLoadBalancersRequest ¶
NewListLoadBalancersRequest generates requests for ListLoadBalancers
func NewListPrivateNetworksRequest ¶ added in v0.35.0
NewListPrivateNetworksRequest generates requests for ListPrivateNetworks
func NewListSecurityGroupsRequest ¶
NewListSecurityGroupsRequest generates requests for ListSecurityGroups
func NewListSksClusterVersionsRequest ¶ added in v0.38.0
NewListSksClusterVersionsRequest generates requests for ListSksClusterVersions
func NewListSksClustersRequest ¶ added in v0.35.0
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 NewRevertInstanceToSnapshotRequest ¶ added in v0.35.0
func NewRevertInstanceToSnapshotRequest(server string, instanceId string, body RevertInstanceToSnapshotJSONRequestBody) (*http.Request, error)
NewRevertInstanceToSnapshotRequest calls the generic RevertInstanceToSnapshot builder with application/json body
func NewRevertInstanceToSnapshotRequestWithBody ¶ added in v0.35.0
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 NewScaleInstancePoolRequest ¶ added in v0.42.0
func NewScaleInstancePoolRequest(server string, id string, body ScaleInstancePoolJSONRequestBody) (*http.Request, error)
NewScaleInstancePoolRequest calls the generic ScaleInstancePool builder with application/json body
func NewScaleInstancePoolRequestWithBody ¶ added in v0.42.0
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 ¶ added in v0.35.0
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 ¶ added in v0.35.0
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 NewUpdateInstancePoolRequest ¶ added in v0.42.0
func NewUpdateInstancePoolRequest(server string, id string, body UpdateInstancePoolJSONRequestBody) (*http.Request, error)
NewUpdateInstancePoolRequest calls the generic UpdateInstancePool builder with application/json body
func NewUpdateInstancePoolRequestWithBody ¶ added in v0.42.0
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 NewUpdateLoadBalancerRequest ¶ added in v0.26.0
func NewUpdateLoadBalancerRequest(server string, id string, body UpdateLoadBalancerJSONRequestBody) (*http.Request, error)
NewUpdateLoadBalancerRequest calls the generic UpdateLoadBalancer builder with application/json body
func NewUpdateLoadBalancerRequestWithBody ¶ added in v0.26.0
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 ¶ added in v0.26.0
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 ¶ added in v0.26.0
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 ¶ added in v0.35.0
func NewUpdatePrivateNetworkRequest(server string, id string, body UpdatePrivateNetworkJSONRequestBody) (*http.Request, error)
NewUpdatePrivateNetworkRequest calls the generic UpdatePrivateNetwork builder with application/json body
func NewUpdatePrivateNetworkRequestWithBody ¶ added in v0.35.0
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 ¶ added in v0.35.0
func NewUpdateSksClusterRequest(server string, id string, body UpdateSksClusterJSONRequestBody) (*http.Request, error)
NewUpdateSksClusterRequest calls the generic UpdateSksCluster builder with application/json body
func NewUpdateSksClusterRequestWithBody ¶ added in v0.35.0
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 ¶ added in v0.35.0
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 ¶ added in v0.35.0
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 ¶ added in v0.40.0
func NewUpgradeSksClusterRequest(server string, id string, body UpgradeSksClusterJSONRequestBody) (*http.Request, error)
NewUpgradeSksClusterRequest calls the generic UpgradeSksCluster builder with application/json body
Types ¶
type AddRuleToSecurityGroupJSONBody ¶
type AddRuleToSecurityGroupJSONBody SecurityGroupRule
AddRuleToSecurityGroupJSONBody defines parameters for AddRuleToSecurityGroup.
type AddRuleToSecurityGroupJSONRequestBody ¶
type AddRuleToSecurityGroupJSONRequestBody AddRuleToSecurityGroupJSONBody
AddRuleToSecurityGroupRequestBody defines body for AddRuleToSecurityGroup for application/json ContentType.
type AddRuleToSecurityGroupResponse ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (r AddRuleToSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AddRuleToSecurityGroupResponse) StatusCode ¶ added in v0.26.0
func (r AddRuleToSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddServiceToLoadBalancerJSONBody ¶
type AddServiceToLoadBalancerJSONBody LoadBalancerService
AddServiceToLoadBalancerJSONBody defines parameters for AddServiceToLoadBalancer.
type AddServiceToLoadBalancerJSONRequestBody ¶
type AddServiceToLoadBalancerJSONRequestBody AddServiceToLoadBalancerJSONBody
AddServiceToLoadBalancerRequestBody defines body for AddServiceToLoadBalancer for application/json ContentType.
type AddServiceToLoadBalancerResponse ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (r AddServiceToLoadBalancerResponse) Status() string
Status returns HTTPResponse.Status
func (AddServiceToLoadBalancerResponse) StatusCode ¶ added in v0.26.0
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 Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example.
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) CopyTemplate ¶ added in v0.42.0
func (*Client) CopyTemplateWithBody ¶ added in v0.42.0
func (*Client) CreateAntiAffinityGroup ¶
func (*Client) CreateAntiAffinityGroupWithBody ¶
func (*Client) CreateInstance ¶
func (c *Client) CreateInstance(ctx context.Context, params *CreateInstanceParams, body CreateInstanceJSONRequestBody) (*http.Response, error)
func (*Client) CreateInstancePool ¶
func (*Client) CreateInstancePoolWithBody ¶
func (*Client) CreateInstanceWithBody ¶
func (*Client) CreateLoadBalancer ¶
func (*Client) CreateLoadBalancerWithBody ¶
func (*Client) CreatePrivateNetwork ¶ added in v0.35.0
func (*Client) CreatePrivateNetworkWithBody ¶ added in v0.35.0
func (*Client) CreateSecurityGroup ¶
func (*Client) CreateSecurityGroupWithBody ¶
func (*Client) CreateSksCluster ¶ added in v0.35.0
func (*Client) CreateSksClusterWithBody ¶ added in v0.35.0
func (*Client) CreateSksNodepool ¶ added in v0.35.0
func (*Client) CreateSksNodepoolWithBody ¶ added in v0.35.0
func (*Client) CreateSnapshot ¶ added in v0.26.0
func (*Client) DeleteAntiAffinityGroup ¶ added in v0.38.0
func (*Client) DeleteInstancePool ¶ added in v0.42.0
func (*Client) DeleteLoadBalancer ¶ added in v0.26.2
func (*Client) DeleteLoadBalancerService ¶ added in v0.26.0
func (*Client) DeletePrivateNetwork ¶ added in v0.35.0
func (*Client) DeleteRuleFromSecurityGroup ¶
func (*Client) DeleteSecurityGroup ¶ added in v0.33.0
func (*Client) DeleteSksCluster ¶ added in v0.35.0
func (*Client) DeleteSksNodepool ¶ added in v0.35.0
func (*Client) DeleteSnapshot ¶ added in v0.33.0
func (*Client) DeleteTemplate ¶ added in v0.35.0
func (*Client) EvictInstancePoolMembers ¶ added in v0.42.0
func (*Client) EvictInstancePoolMembersWithBody ¶ added in v0.42.0
func (*Client) EvictSksNodepoolMembers ¶ added in v0.35.0
func (*Client) EvictSksNodepoolMembersWithBody ¶ added in v0.35.0
func (*Client) ExportSnapshot ¶ added in v0.26.2
func (*Client) GenerateSksClusterKubeconfig ¶ added in v0.35.0
func (*Client) GenerateSksClusterKubeconfigWithBody ¶ added in v0.35.0
func (*Client) GetAntiAffinityGroup ¶ added in v0.38.0
func (*Client) GetElasticIp ¶ added in v0.26.0
func (*Client) GetInstancePool ¶ added in v0.26.0
func (*Client) GetInstanceType ¶ added in v0.28.1
func (*Client) GetLoadBalancer ¶ added in v0.26.0
func (*Client) GetLoadBalancerService ¶ added in v0.26.0
func (*Client) GetOperation ¶ added in v0.26.3
func (*Client) GetPrivateNetwork ¶ added in v0.35.0
func (*Client) GetSecurityGroup ¶ added in v0.26.0
func (*Client) GetSksCluster ¶ added in v0.35.0
func (*Client) GetSksNodepool ¶ added in v0.35.0
func (*Client) GetSnapshot ¶ added in v0.26.0
func (*Client) GetTemplate ¶ added in v0.33.0
func (*Client) ListAntiAffinityGroups ¶
func (*Client) ListEvents ¶
func (*Client) ListInstancePools ¶
func (*Client) ListInstanceTypes ¶
func (*Client) ListLoadBalancers ¶
func (*Client) ListPrivateNetworks ¶ added in v0.35.0
func (*Client) ListSecurityGroups ¶
func (*Client) ListSksClusterVersions ¶ added in v0.38.0
func (*Client) ListSksClusters ¶ added in v0.35.0
func (*Client) ListSnapshots ¶
func (*Client) ListTemplates ¶
func (*Client) RegisterTemplate ¶
func (*Client) RegisterTemplateWithBody ¶
func (*Client) RevertInstanceToSnapshot ¶ added in v0.35.0
func (*Client) RevertInstanceToSnapshotWithBody ¶ added in v0.35.0
func (*Client) ScaleInstancePool ¶ added in v0.42.0
func (*Client) ScaleInstancePoolWithBody ¶ added in v0.42.0
func (*Client) ScaleSksNodepool ¶ added in v0.35.0
func (*Client) ScaleSksNodepoolWithBody ¶ added in v0.35.0
func (*Client) UpdateInstancePool ¶ added in v0.42.0
func (*Client) UpdateInstancePoolWithBody ¶ added in v0.42.0
func (*Client) UpdateLoadBalancer ¶ added in v0.26.0
func (*Client) UpdateLoadBalancerService ¶ added in v0.26.0
func (*Client) UpdateLoadBalancerServiceWithBody ¶ added in v0.26.0
func (*Client) UpdateLoadBalancerWithBody ¶ added in v0.26.0
func (*Client) UpdatePrivateNetwork ¶ added in v0.35.0
func (*Client) UpdatePrivateNetworkWithBody ¶ added in v0.35.0
func (*Client) UpdateSksCluster ¶ added in v0.35.0
func (*Client) UpdateSksClusterWithBody ¶ added in v0.35.0
func (*Client) UpdateSksNodepool ¶ added in v0.35.0
func (*Client) UpdateSksNodepoolWithBody ¶ added in v0.35.0
func (*Client) UpgradeSksCluster ¶ added in v0.40.0
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)
// GetElasticIp request
GetElasticIp(ctx context.Context, id string) (*http.Response, error)
// ListEvents request
ListEvents(ctx context.Context, params *ListEventsParams) (*http.Response, error)
// CreateInstance request with any body
CreateInstanceWithBody(ctx context.Context, params *CreateInstanceParams, contentType string, body io.Reader) (*http.Response, error)
CreateInstance(ctx context.Context, params *CreateInstanceParams, 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)
// 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)
// 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)
// 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)
// 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)
// 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)
// 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)
// 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) CopyTemplateWithBodyWithResponse ¶ added in v0.42.0
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 ¶ added in v0.42.0
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) 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, params *CreateInstanceParams, contentType string, body io.Reader) (*CreateInstanceResponse, error)
CreateInstanceWithBodyWithResponse request with arbitrary body returning *CreateInstanceResponse
func (*ClientWithResponses) CreateInstanceWithResponse ¶
func (c *ClientWithResponses) CreateInstanceWithResponse(ctx context.Context, params *CreateInstanceParams, 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 ¶ added in v0.35.0
func (c *ClientWithResponses) CreatePrivateNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreatePrivateNetworkResponse, error)
CreatePrivateNetworkWithBodyWithResponse request with arbitrary body returning *CreatePrivateNetworkResponse
func (*ClientWithResponses) CreatePrivateNetworkWithResponse ¶ added in v0.35.0
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 ¶ added in v0.35.0
func (c *ClientWithResponses) CreateSksClusterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateSksClusterResponse, error)
CreateSksClusterWithBodyWithResponse request with arbitrary body returning *CreateSksClusterResponse
func (*ClientWithResponses) CreateSksClusterWithResponse ¶ added in v0.35.0
func (c *ClientWithResponses) CreateSksClusterWithResponse(ctx context.Context, body CreateSksClusterJSONRequestBody) (*CreateSksClusterResponse, error)
func (*ClientWithResponses) CreateSksNodepoolWithBodyWithResponse ¶ added in v0.35.0
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 ¶ added in v0.35.0
func (c *ClientWithResponses) CreateSksNodepoolWithResponse(ctx context.Context, id string, body CreateSksNodepoolJSONRequestBody) (*CreateSksNodepoolResponse, error)
func (*ClientWithResponses) CreateSnapshotWithResponse ¶ added in v0.26.0
func (c *ClientWithResponses) CreateSnapshotWithResponse(ctx context.Context, id string) (*CreateSnapshotResponse, error)
CreateSnapshotWithResponse request returning *CreateSnapshotResponse
func (*ClientWithResponses) DeleteAntiAffinityGroupWithResponse ¶ added in v0.38.0
func (c *ClientWithResponses) DeleteAntiAffinityGroupWithResponse(ctx context.Context, id string) (*DeleteAntiAffinityGroupResponse, error)
DeleteAntiAffinityGroupWithResponse request returning *DeleteAntiAffinityGroupResponse
func (*ClientWithResponses) DeleteInstancePoolWithResponse ¶ added in v0.42.0
func (c *ClientWithResponses) DeleteInstancePoolWithResponse(ctx context.Context, id string) (*DeleteInstancePoolResponse, error)
DeleteInstancePoolWithResponse request returning *DeleteInstancePoolResponse
func (*ClientWithResponses) DeleteLoadBalancerServiceWithResponse ¶ added in v0.26.0
func (c *ClientWithResponses) DeleteLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string) (*DeleteLoadBalancerServiceResponse, error)
DeleteLoadBalancerServiceWithResponse request returning *DeleteLoadBalancerServiceResponse
func (*ClientWithResponses) DeleteLoadBalancerWithResponse ¶ added in v0.26.2
func (c *ClientWithResponses) DeleteLoadBalancerWithResponse(ctx context.Context, id string) (*DeleteLoadBalancerResponse, error)
DeleteLoadBalancerWithResponse request returning *DeleteLoadBalancerResponse
func (*ClientWithResponses) DeletePrivateNetworkWithResponse ¶ added in v0.35.0
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 ¶ added in v0.33.0
func (c *ClientWithResponses) DeleteSecurityGroupWithResponse(ctx context.Context, id string) (*DeleteSecurityGroupResponse, error)
DeleteSecurityGroupWithResponse request returning *DeleteSecurityGroupResponse
func (*ClientWithResponses) DeleteSksClusterWithResponse ¶ added in v0.35.0
func (c *ClientWithResponses) DeleteSksClusterWithResponse(ctx context.Context, id string) (*DeleteSksClusterResponse, error)
DeleteSksClusterWithResponse request returning *DeleteSksClusterResponse
func (*ClientWithResponses) DeleteSksNodepoolWithResponse ¶ added in v0.35.0
func (c *ClientWithResponses) DeleteSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string) (*DeleteSksNodepoolResponse, error)
DeleteSksNodepoolWithResponse request returning *DeleteSksNodepoolResponse
func (*ClientWithResponses) DeleteSnapshotWithResponse ¶ added in v0.33.0
func (c *ClientWithResponses) DeleteSnapshotWithResponse(ctx context.Context, id string) (*DeleteSnapshotResponse, error)
DeleteSnapshotWithResponse request returning *DeleteSnapshotResponse
func (*ClientWithResponses) DeleteTemplateWithResponse ¶ added in v0.35.0
func (c *ClientWithResponses) DeleteTemplateWithResponse(ctx context.Context, id string) (*DeleteTemplateResponse, error)
DeleteTemplateWithResponse request returning *DeleteTemplateResponse
func (*ClientWithResponses) EvictInstancePoolMembersWithBodyWithResponse ¶ added in v0.42.0
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 ¶ added in v0.42.0
func (c *ClientWithResponses) EvictInstancePoolMembersWithResponse(ctx context.Context, id string, body EvictInstancePoolMembersJSONRequestBody) (*EvictInstancePoolMembersResponse, error)
func (*ClientWithResponses) EvictSksNodepoolMembersWithBodyWithResponse ¶ added in v0.35.0
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 ¶ added in v0.35.0
func (c *ClientWithResponses) EvictSksNodepoolMembersWithResponse(ctx context.Context, id string, sksNodepoolId string, body EvictSksNodepoolMembersJSONRequestBody) (*EvictSksNodepoolMembersResponse, error)
func (*ClientWithResponses) ExportSnapshotWithResponse ¶ added in v0.26.2
func (c *ClientWithResponses) ExportSnapshotWithResponse(ctx context.Context, id string) (*ExportSnapshotResponse, error)
ExportSnapshotWithResponse request returning *ExportSnapshotResponse
func (*ClientWithResponses) GenerateSksClusterKubeconfigWithBodyWithResponse ¶ added in v0.35.0
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 ¶ added in v0.35.0
func (c *ClientWithResponses) GenerateSksClusterKubeconfigWithResponse(ctx context.Context, id string, body GenerateSksClusterKubeconfigJSONRequestBody) (*GenerateSksClusterKubeconfigResponse, error)
func (*ClientWithResponses) GetAntiAffinityGroupWithResponse ¶ added in v0.38.0
func (c *ClientWithResponses) GetAntiAffinityGroupWithResponse(ctx context.Context, id string) (*GetAntiAffinityGroupResponse, error)
GetAntiAffinityGroupWithResponse request returning *GetAntiAffinityGroupResponse
func (*ClientWithResponses) GetElasticIpWithResponse ¶ added in v0.26.0
func (c *ClientWithResponses) GetElasticIpWithResponse(ctx context.Context, id string) (*GetElasticIpResponse, error)
GetElasticIpWithResponse request returning *GetElasticIpResponse
func (*ClientWithResponses) GetInstancePoolWithResponse ¶ added in v0.26.0
func (c *ClientWithResponses) GetInstancePoolWithResponse(ctx context.Context, id string) (*GetInstancePoolResponse, error)
GetInstancePoolWithResponse request returning *GetInstancePoolResponse
func (*ClientWithResponses) GetInstanceTypeWithResponse ¶ added in v0.28.1
func (c *ClientWithResponses) GetInstanceTypeWithResponse(ctx context.Context, id string) (*GetInstanceTypeResponse, error)
GetInstanceTypeWithResponse request returning *GetInstanceTypeResponse
func (*ClientWithResponses) GetLoadBalancerServiceWithResponse ¶ added in v0.26.0
func (c *ClientWithResponses) GetLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string) (*GetLoadBalancerServiceResponse, error)
GetLoadBalancerServiceWithResponse request returning *GetLoadBalancerServiceResponse
func (*ClientWithResponses) GetLoadBalancerWithResponse ¶ added in v0.26.0
func (c *ClientWithResponses) GetLoadBalancerWithResponse(ctx context.Context, id string) (*GetLoadBalancerResponse, error)
GetLoadBalancerWithResponse request returning *GetLoadBalancerResponse
func (*ClientWithResponses) GetOperationWithResponse ¶ added in v0.26.3
func (c *ClientWithResponses) GetOperationWithResponse(ctx context.Context, id string) (*GetOperationResponse, error)
GetOperationWithResponse request returning *GetOperationResponse
func (*ClientWithResponses) GetPrivateNetworkWithResponse ¶ added in v0.35.0
func (c *ClientWithResponses) GetPrivateNetworkWithResponse(ctx context.Context, id string) (*GetPrivateNetworkResponse, error)
GetPrivateNetworkWithResponse request returning *GetPrivateNetworkResponse
func (*ClientWithResponses) GetSecurityGroupWithResponse ¶ added in v0.26.0
func (c *ClientWithResponses) GetSecurityGroupWithResponse(ctx context.Context, id string) (*GetSecurityGroupResponse, error)
GetSecurityGroupWithResponse request returning *GetSecurityGroupResponse
func (*ClientWithResponses) GetSksClusterWithResponse ¶ added in v0.35.0
func (c *ClientWithResponses) GetSksClusterWithResponse(ctx context.Context, id string) (*GetSksClusterResponse, error)
GetSksClusterWithResponse request returning *GetSksClusterResponse
func (*ClientWithResponses) GetSksNodepoolWithResponse ¶ added in v0.35.0
func (c *ClientWithResponses) GetSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string) (*GetSksNodepoolResponse, error)
GetSksNodepoolWithResponse request returning *GetSksNodepoolResponse
func (*ClientWithResponses) GetSnapshotWithResponse ¶ added in v0.26.0
func (c *ClientWithResponses) GetSnapshotWithResponse(ctx context.Context, id string) (*GetSnapshotResponse, error)
GetSnapshotWithResponse request returning *GetSnapshotResponse
func (*ClientWithResponses) GetSshKeyWithResponse ¶ added in v0.40.0
func (c *ClientWithResponses) GetSshKeyWithResponse(ctx context.Context, name string) (*GetSshKeyResponse, error)
GetSshKeyWithResponse request returning *GetSshKeyResponse
func (*ClientWithResponses) GetTemplateWithResponse ¶ added in v0.33.0
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) 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) ListLoadBalancersWithResponse ¶
func (c *ClientWithResponses) ListLoadBalancersWithResponse(ctx context.Context) (*ListLoadBalancersResponse, error)
ListLoadBalancersWithResponse request returning *ListLoadBalancersResponse
func (*ClientWithResponses) ListPrivateNetworksWithResponse ¶ added in v0.35.0
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 ¶ added in v0.38.0
func (c *ClientWithResponses) ListSksClusterVersionsWithResponse(ctx context.Context) (*ListSksClusterVersionsResponse, error)
ListSksClusterVersionsWithResponse request returning *ListSksClusterVersionsResponse
func (*ClientWithResponses) ListSksClustersWithResponse ¶ added in v0.35.0
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 ¶ added in v0.26.3
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) RevertInstanceToSnapshotWithBodyWithResponse ¶ added in v0.35.0
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 ¶ added in v0.35.0
func (c *ClientWithResponses) RevertInstanceToSnapshotWithResponse(ctx context.Context, instanceId string, body RevertInstanceToSnapshotJSONRequestBody) (*RevertInstanceToSnapshotResponse, error)
func (*ClientWithResponses) ScaleInstancePoolWithBodyWithResponse ¶ added in v0.42.0
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 ¶ added in v0.42.0
func (c *ClientWithResponses) ScaleInstancePoolWithResponse(ctx context.Context, id string, body ScaleInstancePoolJSONRequestBody) (*ScaleInstancePoolResponse, error)
func (*ClientWithResponses) ScaleSksNodepoolWithBodyWithResponse ¶ added in v0.35.0
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 ¶ added in v0.35.0
func (c *ClientWithResponses) ScaleSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, body ScaleSksNodepoolJSONRequestBody) (*ScaleSksNodepoolResponse, error)
func (*ClientWithResponses) UpdateInstancePoolWithBodyWithResponse ¶ added in v0.42.0
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 ¶ added in v0.42.0
func (c *ClientWithResponses) UpdateInstancePoolWithResponse(ctx context.Context, id string, body UpdateInstancePoolJSONRequestBody) (*UpdateInstancePoolResponse, error)
func (*ClientWithResponses) UpdateLoadBalancerServiceWithBodyWithResponse ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (c *ClientWithResponses) UpdateLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, body UpdateLoadBalancerServiceJSONRequestBody) (*UpdateLoadBalancerServiceResponse, error)
func (*ClientWithResponses) UpdateLoadBalancerWithBodyWithResponse ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (c *ClientWithResponses) UpdateLoadBalancerWithResponse(ctx context.Context, id string, body UpdateLoadBalancerJSONRequestBody) (*UpdateLoadBalancerResponse, error)
func (*ClientWithResponses) UpdatePrivateNetworkWithBodyWithResponse ¶ added in v0.35.0
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 ¶ added in v0.35.0
func (c *ClientWithResponses) UpdatePrivateNetworkWithResponse(ctx context.Context, id string, body UpdatePrivateNetworkJSONRequestBody) (*UpdatePrivateNetworkResponse, error)
func (*ClientWithResponses) UpdateSksClusterWithBodyWithResponse ¶ added in v0.35.0
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 ¶ added in v0.35.0
func (c *ClientWithResponses) UpdateSksClusterWithResponse(ctx context.Context, id string, body UpdateSksClusterJSONRequestBody) (*UpdateSksClusterResponse, error)
func (*ClientWithResponses) UpdateSksNodepoolWithBodyWithResponse ¶ added in v0.35.0
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 ¶ added in v0.35.0
func (c *ClientWithResponses) UpdateSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, body UpdateSksNodepoolJSONRequestBody) (*UpdateSksNodepoolResponse, error)
func (*ClientWithResponses) UpgradeSksClusterWithBodyWithResponse ¶ added in v0.40.0
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 ¶ added in v0.40.0
func (c *ClientWithResponses) UpgradeSksClusterWithResponse(ctx context.Context, id string, body UpgradeSksClusterJSONRequestBody) (*UpgradeSksClusterResponse, error)
type ClientWithResponsesInterface ¶ added in v0.26.0
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)
// GetElasticIp request
GetElasticIpWithResponse(ctx context.Context, id string) (*GetElasticIpResponse, error)
// ListEvents request
ListEventsWithResponse(ctx context.Context, params *ListEventsParams) (*ListEventsResponse, error)
// CreateInstance request with any body
CreateInstanceWithBodyWithResponse(ctx context.Context, params *CreateInstanceParams, contentType string, body io.Reader) (*CreateInstanceResponse, error)
CreateInstanceWithResponse(ctx context.Context, params *CreateInstanceParams, 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)
// 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)
// 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)
// 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)
// 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)
// 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)
// 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)
// 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 CopyTemplateInput ¶ added in v0.42.0
type CopyTemplateInput struct {
TargetZone *string `json:"target-zone,omitempty"`
}
CopyTemplateInput defines model for copy-template-input.
type CopyTemplateJSONBody ¶ added in v0.42.0
type CopyTemplateJSONBody CopyTemplateInput
CopyTemplateJSONBody defines parameters for CopyTemplate.
type CopyTemplateJSONRequestBody ¶ added in v0.42.0
type CopyTemplateJSONRequestBody CopyTemplateJSONBody
CopyTemplateRequestBody defines body for CopyTemplate for application/json ContentType.
type CopyTemplateResponse ¶ added in v0.42.0
func ParseCopyTemplateResponse ¶ added in v0.42.0
func ParseCopyTemplateResponse(rsp *http.Response) (*CopyTemplateResponse, error)
ParseCopyTemplateResponse parses an HTTP response from a CopyTemplateWithResponse call
func (CopyTemplateResponse) Status ¶ added in v0.42.0
func (r CopyTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (CopyTemplateResponse) StatusCode ¶ added in v0.42.0
func (r CopyTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAntiAffinityGroupJSONBody ¶
type CreateAntiAffinityGroupJSONBody AntiAffinityGroup
CreateAntiAffinityGroupJSONBody defines parameters for CreateAntiAffinityGroup.
type CreateAntiAffinityGroupJSONRequestBody ¶
type CreateAntiAffinityGroupJSONRequestBody CreateAntiAffinityGroupJSONBody
CreateAntiAffinityGroupRequestBody defines body for CreateAntiAffinityGroup for application/json ContentType.
type CreateAntiAffinityGroupResponse ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (r CreateAntiAffinityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAntiAffinityGroupResponse) StatusCode ¶ added in v0.26.0
func (r CreateAntiAffinityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateInstanceJSONBody ¶
type CreateInstanceJSONBody Instance
CreateInstanceJSONBody defines parameters for CreateInstance.
type CreateInstanceJSONRequestBody ¶
type CreateInstanceJSONRequestBody CreateInstanceJSONBody
CreateInstanceRequestBody defines body for CreateInstance for application/json ContentType.
type CreateInstanceParams ¶
type CreateInstanceParams struct {
Start *bool `json:"start,omitempty"`
}
CreateInstanceParams defines parameters for CreateInstance.
type CreateInstancePoolJSONBody ¶
type CreateInstancePoolJSONBody InstancePool
CreateInstancePoolJSONBody defines parameters for CreateInstancePool.
type CreateInstancePoolJSONRequestBody ¶
type CreateInstancePoolJSONRequestBody CreateInstancePoolJSONBody
CreateInstancePoolRequestBody defines body for CreateInstancePool for application/json ContentType.
type CreateInstancePoolResponse ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (r CreateInstancePoolResponse) Status() string
Status returns HTTPResponse.Status
func (CreateInstancePoolResponse) StatusCode ¶ added in v0.26.0
func (r CreateInstancePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateInstanceResponse ¶ added in v0.26.0
func ParseCreateInstanceResponse ¶
func ParseCreateInstanceResponse(rsp *http.Response) (*CreateInstanceResponse, error)
ParseCreateInstanceResponse parses an HTTP response from a CreateInstanceWithResponse call
func (CreateInstanceResponse) Status ¶ added in v0.26.0
func (r CreateInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateInstanceResponse) StatusCode ¶ added in v0.26.0
func (r CreateInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateLoadBalancerJSONBody ¶
type CreateLoadBalancerJSONBody LoadBalancer
CreateLoadBalancerJSONBody defines parameters for CreateLoadBalancer.
type CreateLoadBalancerJSONRequestBody ¶
type CreateLoadBalancerJSONRequestBody CreateLoadBalancerJSONBody
CreateLoadBalancerRequestBody defines body for CreateLoadBalancer for application/json ContentType.
type CreateLoadBalancerResponse ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (r CreateLoadBalancerResponse) Status() string
Status returns HTTPResponse.Status
func (CreateLoadBalancerResponse) StatusCode ¶ added in v0.26.0
func (r CreateLoadBalancerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePrivateNetworkJSONBody ¶ added in v0.35.0
type CreatePrivateNetworkJSONBody PrivateNetwork
CreatePrivateNetworkJSONBody defines parameters for CreatePrivateNetwork.
type CreatePrivateNetworkJSONRequestBody ¶ added in v0.35.0
type CreatePrivateNetworkJSONRequestBody CreatePrivateNetworkJSONBody
CreatePrivateNetworkRequestBody defines body for CreatePrivateNetwork for application/json ContentType.
type CreatePrivateNetworkResponse ¶ added in v0.35.0
type CreatePrivateNetworkResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseCreatePrivateNetworkResponse ¶ added in v0.35.0
func ParseCreatePrivateNetworkResponse(rsp *http.Response) (*CreatePrivateNetworkResponse, error)
ParseCreatePrivateNetworkResponse parses an HTTP response from a CreatePrivateNetworkWithResponse call
func (CreatePrivateNetworkResponse) Status ¶ added in v0.35.0
func (r CreatePrivateNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePrivateNetworkResponse) StatusCode ¶ added in v0.35.0
func (r CreatePrivateNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSecurityGroupJSONBody ¶
type CreateSecurityGroupJSONBody SecurityGroup
CreateSecurityGroupJSONBody defines parameters for CreateSecurityGroup.
type CreateSecurityGroupJSONRequestBody ¶
type CreateSecurityGroupJSONRequestBody CreateSecurityGroupJSONBody
CreateSecurityGroupRequestBody defines body for CreateSecurityGroup for application/json ContentType.
type CreateSecurityGroupResponse ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (r CreateSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSecurityGroupResponse) StatusCode ¶ added in v0.26.0
func (r CreateSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSksClusterJSONBody ¶ added in v0.35.0
type CreateSksClusterJSONBody SksCluster
CreateSksClusterJSONBody defines parameters for CreateSksCluster.
type CreateSksClusterJSONRequestBody ¶ added in v0.35.0
type CreateSksClusterJSONRequestBody CreateSksClusterJSONBody
CreateSksClusterRequestBody defines body for CreateSksCluster for application/json ContentType.
type CreateSksClusterResponse ¶ added in v0.35.0
func ParseCreateSksClusterResponse ¶ added in v0.35.0
func ParseCreateSksClusterResponse(rsp *http.Response) (*CreateSksClusterResponse, error)
ParseCreateSksClusterResponse parses an HTTP response from a CreateSksClusterWithResponse call
func (CreateSksClusterResponse) Status ¶ added in v0.35.0
func (r CreateSksClusterResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSksClusterResponse) StatusCode ¶ added in v0.35.0
func (r CreateSksClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSksNodepoolJSONBody ¶ added in v0.35.0
type CreateSksNodepoolJSONBody SksNodepool
CreateSksNodepoolJSONBody defines parameters for CreateSksNodepool.
type CreateSksNodepoolJSONRequestBody ¶ added in v0.35.0
type CreateSksNodepoolJSONRequestBody CreateSksNodepoolJSONBody
CreateSksNodepoolRequestBody defines body for CreateSksNodepool for application/json ContentType.
type CreateSksNodepoolResponse ¶ added in v0.35.0
type CreateSksNodepoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseCreateSksNodepoolResponse ¶ added in v0.35.0
func ParseCreateSksNodepoolResponse(rsp *http.Response) (*CreateSksNodepoolResponse, error)
ParseCreateSksNodepoolResponse parses an HTTP response from a CreateSksNodepoolWithResponse call
func (CreateSksNodepoolResponse) Status ¶ added in v0.35.0
func (r CreateSksNodepoolResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSksNodepoolResponse) StatusCode ¶ added in v0.35.0
func (r CreateSksNodepoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSnapshotResponse ¶ added in v0.26.0
func ParseCreateSnapshotResponse ¶ added in v0.26.0
func ParseCreateSnapshotResponse(rsp *http.Response) (*CreateSnapshotResponse, error)
ParseCreateSnapshotResponse parses an HTTP response from a CreateSnapshotWithResponse call
func (CreateSnapshotResponse) Status ¶ added in v0.26.0
func (r CreateSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSnapshotResponse) StatusCode ¶ added in v0.26.0
func (r CreateSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAntiAffinityGroupResponse ¶ added in v0.38.0
type DeleteAntiAffinityGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseDeleteAntiAffinityGroupResponse ¶ added in v0.38.0
func ParseDeleteAntiAffinityGroupResponse(rsp *http.Response) (*DeleteAntiAffinityGroupResponse, error)
ParseDeleteAntiAffinityGroupResponse parses an HTTP response from a DeleteAntiAffinityGroupWithResponse call
func (DeleteAntiAffinityGroupResponse) Status ¶ added in v0.38.0
func (r DeleteAntiAffinityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAntiAffinityGroupResponse) StatusCode ¶ added in v0.38.0
func (r DeleteAntiAffinityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteInstancePoolResponse ¶ added in v0.42.0
type DeleteInstancePoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseDeleteInstancePoolResponse ¶ added in v0.42.0
func ParseDeleteInstancePoolResponse(rsp *http.Response) (*DeleteInstancePoolResponse, error)
ParseDeleteInstancePoolResponse parses an HTTP response from a DeleteInstancePoolWithResponse call
func (DeleteInstancePoolResponse) Status ¶ added in v0.42.0
func (r DeleteInstancePoolResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteInstancePoolResponse) StatusCode ¶ added in v0.42.0
func (r DeleteInstancePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteLoadBalancerResponse ¶ added in v0.26.2
type DeleteLoadBalancerResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseDeleteLoadBalancerResponse ¶ added in v0.26.2
func ParseDeleteLoadBalancerResponse(rsp *http.Response) (*DeleteLoadBalancerResponse, error)
ParseDeleteLoadBalancerResponse parses an HTTP response from a DeleteLoadBalancerWithResponse call
func (DeleteLoadBalancerResponse) Status ¶ added in v0.26.2
func (r DeleteLoadBalancerResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteLoadBalancerResponse) StatusCode ¶ added in v0.26.2
func (r DeleteLoadBalancerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteLoadBalancerServiceResponse ¶ added in v0.26.0
type DeleteLoadBalancerServiceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseDeleteLoadBalancerServiceResponse ¶ added in v0.26.0
func ParseDeleteLoadBalancerServiceResponse(rsp *http.Response) (*DeleteLoadBalancerServiceResponse, error)
ParseDeleteLoadBalancerServiceResponse parses an HTTP response from a DeleteLoadBalancerServiceWithResponse call
func (DeleteLoadBalancerServiceResponse) Status ¶ added in v0.26.0
func (r DeleteLoadBalancerServiceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteLoadBalancerServiceResponse) StatusCode ¶ added in v0.26.0
func (r DeleteLoadBalancerServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePrivateNetworkResponse ¶ added in v0.35.0
type DeletePrivateNetworkResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseDeletePrivateNetworkResponse ¶ added in v0.35.0
func ParseDeletePrivateNetworkResponse(rsp *http.Response) (*DeletePrivateNetworkResponse, error)
ParseDeletePrivateNetworkResponse parses an HTTP response from a DeletePrivateNetworkWithResponse call
func (DeletePrivateNetworkResponse) Status ¶ added in v0.35.0
func (r DeletePrivateNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePrivateNetworkResponse) StatusCode ¶ added in v0.35.0
func (r DeletePrivateNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRuleFromSecurityGroupResponse ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (r DeleteRuleFromSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRuleFromSecurityGroupResponse) StatusCode ¶ added in v0.26.0
func (r DeleteRuleFromSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSecurityGroupResponse ¶ added in v0.33.0
type DeleteSecurityGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseDeleteSecurityGroupResponse ¶ added in v0.33.0
func ParseDeleteSecurityGroupResponse(rsp *http.Response) (*DeleteSecurityGroupResponse, error)
ParseDeleteSecurityGroupResponse parses an HTTP response from a DeleteSecurityGroupWithResponse call
func (DeleteSecurityGroupResponse) Status ¶ added in v0.33.0
func (r DeleteSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSecurityGroupResponse) StatusCode ¶ added in v0.33.0
func (r DeleteSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSksClusterResponse ¶ added in v0.35.0
func ParseDeleteSksClusterResponse ¶ added in v0.35.0
func ParseDeleteSksClusterResponse(rsp *http.Response) (*DeleteSksClusterResponse, error)
ParseDeleteSksClusterResponse parses an HTTP response from a DeleteSksClusterWithResponse call
func (DeleteSksClusterResponse) Status ¶ added in v0.35.0
func (r DeleteSksClusterResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSksClusterResponse) StatusCode ¶ added in v0.35.0
func (r DeleteSksClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSksNodepoolResponse ¶ added in v0.35.0
type DeleteSksNodepoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseDeleteSksNodepoolResponse ¶ added in v0.35.0
func ParseDeleteSksNodepoolResponse(rsp *http.Response) (*DeleteSksNodepoolResponse, error)
ParseDeleteSksNodepoolResponse parses an HTTP response from a DeleteSksNodepoolWithResponse call
func (DeleteSksNodepoolResponse) Status ¶ added in v0.35.0
func (r DeleteSksNodepoolResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSksNodepoolResponse) StatusCode ¶ added in v0.35.0
func (r DeleteSksNodepoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSnapshotResponse ¶ added in v0.33.0
func ParseDeleteSnapshotResponse ¶ added in v0.33.0
func ParseDeleteSnapshotResponse(rsp *http.Response) (*DeleteSnapshotResponse, error)
ParseDeleteSnapshotResponse parses an HTTP response from a DeleteSnapshotWithResponse call
func (DeleteSnapshotResponse) Status ¶ added in v0.33.0
func (r DeleteSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSnapshotResponse) StatusCode ¶ added in v0.33.0
func (r DeleteSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTemplateResponse ¶ added in v0.35.0
func ParseDeleteTemplateResponse ¶ added in v0.35.0
func ParseDeleteTemplateResponse(rsp *http.Response) (*DeleteTemplateResponse, error)
ParseDeleteTemplateResponse parses an HTTP response from a DeleteTemplateWithResponse call
func (DeleteTemplateResponse) Status ¶ added in v0.35.0
func (r DeleteTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTemplateResponse) StatusCode ¶ added in v0.35.0
func (r DeleteTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 ¶ added in v0.42.0
type EvictInstancePoolMembersJSONBody struct {
Instances *[]string `json:"instances,omitempty"`
}
EvictInstancePoolMembersJSONBody defines parameters for EvictInstancePoolMembers.
type EvictInstancePoolMembersJSONRequestBody ¶ added in v0.42.0
type EvictInstancePoolMembersJSONRequestBody EvictInstancePoolMembersJSONBody
EvictInstancePoolMembersRequestBody defines body for EvictInstancePoolMembers for application/json ContentType.
type EvictInstancePoolMembersResponse ¶ added in v0.42.0
type EvictInstancePoolMembersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseEvictInstancePoolMembersResponse ¶ added in v0.42.0
func ParseEvictInstancePoolMembersResponse(rsp *http.Response) (*EvictInstancePoolMembersResponse, error)
ParseEvictInstancePoolMembersResponse parses an HTTP response from a EvictInstancePoolMembersWithResponse call
func (EvictInstancePoolMembersResponse) Status ¶ added in v0.42.0
func (r EvictInstancePoolMembersResponse) Status() string
Status returns HTTPResponse.Status
func (EvictInstancePoolMembersResponse) StatusCode ¶ added in v0.42.0
func (r EvictInstancePoolMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvictSksNodepoolMembersJSONBody ¶ added in v0.35.0
type EvictSksNodepoolMembersJSONBody struct {
Instances *[]string `json:"instances,omitempty"`
}
EvictSksNodepoolMembersJSONBody defines parameters for EvictSksNodepoolMembers.
type EvictSksNodepoolMembersJSONRequestBody ¶ added in v0.35.0
type EvictSksNodepoolMembersJSONRequestBody EvictSksNodepoolMembersJSONBody
EvictSksNodepoolMembersRequestBody defines body for EvictSksNodepoolMembers for application/json ContentType.
type EvictSksNodepoolMembersResponse ¶ added in v0.35.0
type EvictSksNodepoolMembersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseEvictSksNodepoolMembersResponse ¶ added in v0.35.0
func ParseEvictSksNodepoolMembersResponse(rsp *http.Response) (*EvictSksNodepoolMembersResponse, error)
ParseEvictSksNodepoolMembersResponse parses an HTTP response from a EvictSksNodepoolMembersWithResponse call
func (EvictSksNodepoolMembersResponse) Status ¶ added in v0.35.0
func (r EvictSksNodepoolMembersResponse) Status() string
Status returns HTTPResponse.Status
func (EvictSksNodepoolMembersResponse) StatusCode ¶ added in v0.35.0
func (r EvictSksNodepoolMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportSnapshotResponse ¶ added in v0.26.2
func ParseExportSnapshotResponse ¶ added in v0.26.2
func ParseExportSnapshotResponse(rsp *http.Response) (*ExportSnapshotResponse, error)
ParseExportSnapshotResponse parses an HTTP response from a ExportSnapshotWithResponse call
func (ExportSnapshotResponse) Status ¶ added in v0.26.2
func (r ExportSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (ExportSnapshotResponse) StatusCode ¶ added in v0.26.2
func (r ExportSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GenerateSksClusterKubeconfigJSONBody ¶ added in v0.35.0
type GenerateSksClusterKubeconfigJSONBody SksKubeconfigRequest
GenerateSksClusterKubeconfigJSONBody defines parameters for GenerateSksClusterKubeconfig.
type GenerateSksClusterKubeconfigJSONRequestBody ¶ added in v0.35.0
type GenerateSksClusterKubeconfigJSONRequestBody GenerateSksClusterKubeconfigJSONBody
GenerateSksClusterKubeconfigRequestBody defines body for GenerateSksClusterKubeconfig for application/json ContentType.
type GenerateSksClusterKubeconfigResponse ¶ added in v0.35.0
type GenerateSksClusterKubeconfigResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Kubeconfig *string `json:"kubeconfig,omitempty"`
}
}
func ParseGenerateSksClusterKubeconfigResponse ¶ added in v0.35.0
func ParseGenerateSksClusterKubeconfigResponse(rsp *http.Response) (*GenerateSksClusterKubeconfigResponse, error)
ParseGenerateSksClusterKubeconfigResponse parses an HTTP response from a GenerateSksClusterKubeconfigWithResponse call
func (GenerateSksClusterKubeconfigResponse) Status ¶ added in v0.35.0
func (r GenerateSksClusterKubeconfigResponse) Status() string
Status returns HTTPResponse.Status
func (GenerateSksClusterKubeconfigResponse) StatusCode ¶ added in v0.35.0
func (r GenerateSksClusterKubeconfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAntiAffinityGroupResponse ¶ added in v0.38.0
type GetAntiAffinityGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AntiAffinityGroup
}
func ParseGetAntiAffinityGroupResponse ¶ added in v0.38.0
func ParseGetAntiAffinityGroupResponse(rsp *http.Response) (*GetAntiAffinityGroupResponse, error)
ParseGetAntiAffinityGroupResponse parses an HTTP response from a GetAntiAffinityGroupWithResponse call
func (GetAntiAffinityGroupResponse) Status ¶ added in v0.38.0
func (r GetAntiAffinityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetAntiAffinityGroupResponse) StatusCode ¶ added in v0.38.0
func (r GetAntiAffinityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetElasticIpResponse ¶ added in v0.26.0
func ParseGetElasticIpResponse ¶ added in v0.26.0
func ParseGetElasticIpResponse(rsp *http.Response) (*GetElasticIpResponse, error)
ParseGetElasticIpResponse parses an HTTP response from a GetElasticIpWithResponse call
func (GetElasticIpResponse) Status ¶ added in v0.26.0
func (r GetElasticIpResponse) Status() string
Status returns HTTPResponse.Status
func (GetElasticIpResponse) StatusCode ¶ added in v0.26.0
func (r GetElasticIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInstancePoolResponse ¶ added in v0.26.0
type GetInstancePoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InstancePool
}
func ParseGetInstancePoolResponse ¶ added in v0.26.0
func ParseGetInstancePoolResponse(rsp *http.Response) (*GetInstancePoolResponse, error)
ParseGetInstancePoolResponse parses an HTTP response from a GetInstancePoolWithResponse call
func (GetInstancePoolResponse) Status ¶ added in v0.26.0
func (r GetInstancePoolResponse) Status() string
Status returns HTTPResponse.Status
func (GetInstancePoolResponse) StatusCode ¶ added in v0.26.0
func (r GetInstancePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInstanceTypeResponse ¶ added in v0.28.1
type GetInstanceTypeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InstanceType
}
func ParseGetInstanceTypeResponse ¶ added in v0.28.1
func ParseGetInstanceTypeResponse(rsp *http.Response) (*GetInstanceTypeResponse, error)
ParseGetInstanceTypeResponse parses an HTTP response from a GetInstanceTypeWithResponse call
func (GetInstanceTypeResponse) Status ¶ added in v0.28.1
func (r GetInstanceTypeResponse) Status() string
Status returns HTTPResponse.Status
func (GetInstanceTypeResponse) StatusCode ¶ added in v0.28.1
func (r GetInstanceTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLoadBalancerResponse ¶ added in v0.26.0
type GetLoadBalancerResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LoadBalancer
}
func ParseGetLoadBalancerResponse ¶ added in v0.26.0
func ParseGetLoadBalancerResponse(rsp *http.Response) (*GetLoadBalancerResponse, error)
ParseGetLoadBalancerResponse parses an HTTP response from a GetLoadBalancerWithResponse call
func (GetLoadBalancerResponse) Status ¶ added in v0.26.0
func (r GetLoadBalancerResponse) Status() string
Status returns HTTPResponse.Status
func (GetLoadBalancerResponse) StatusCode ¶ added in v0.26.0
func (r GetLoadBalancerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLoadBalancerServiceResponse ¶ added in v0.26.0
type GetLoadBalancerServiceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LoadBalancerService
}
func ParseGetLoadBalancerServiceResponse ¶ added in v0.26.0
func ParseGetLoadBalancerServiceResponse(rsp *http.Response) (*GetLoadBalancerServiceResponse, error)
ParseGetLoadBalancerServiceResponse parses an HTTP response from a GetLoadBalancerServiceWithResponse call
func (GetLoadBalancerServiceResponse) Status ¶ added in v0.26.0
func (r GetLoadBalancerServiceResponse) Status() string
Status returns HTTPResponse.Status
func (GetLoadBalancerServiceResponse) StatusCode ¶ added in v0.26.0
func (r GetLoadBalancerServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOperationResponse ¶ added in v0.26.3
func ParseGetOperationResponse ¶ added in v0.26.3
func ParseGetOperationResponse(rsp *http.Response) (*GetOperationResponse, error)
ParseGetOperationResponse parses an HTTP response from a GetOperationWithResponse call
func (GetOperationResponse) Status ¶ added in v0.26.3
func (r GetOperationResponse) Status() string
Status returns HTTPResponse.Status
func (GetOperationResponse) StatusCode ¶ added in v0.26.3
func (r GetOperationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPrivateNetworkResponse ¶ added in v0.35.0
type GetPrivateNetworkResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PrivateNetwork
}
func ParseGetPrivateNetworkResponse ¶ added in v0.35.0
func ParseGetPrivateNetworkResponse(rsp *http.Response) (*GetPrivateNetworkResponse, error)
ParseGetPrivateNetworkResponse parses an HTTP response from a GetPrivateNetworkWithResponse call
func (GetPrivateNetworkResponse) Status ¶ added in v0.35.0
func (r GetPrivateNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (GetPrivateNetworkResponse) StatusCode ¶ added in v0.35.0
func (r GetPrivateNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecurityGroupResponse ¶ added in v0.26.0
type GetSecurityGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SecurityGroup
}
func ParseGetSecurityGroupResponse ¶ added in v0.26.0
func ParseGetSecurityGroupResponse(rsp *http.Response) (*GetSecurityGroupResponse, error)
ParseGetSecurityGroupResponse parses an HTTP response from a GetSecurityGroupWithResponse call
func (GetSecurityGroupResponse) Status ¶ added in v0.26.0
func (r GetSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecurityGroupResponse) StatusCode ¶ added in v0.26.0
func (r GetSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSksClusterResponse ¶ added in v0.35.0
type GetSksClusterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SksCluster
}
func ParseGetSksClusterResponse ¶ added in v0.35.0
func ParseGetSksClusterResponse(rsp *http.Response) (*GetSksClusterResponse, error)
ParseGetSksClusterResponse parses an HTTP response from a GetSksClusterWithResponse call
func (GetSksClusterResponse) Status ¶ added in v0.35.0
func (r GetSksClusterResponse) Status() string
Status returns HTTPResponse.Status
func (GetSksClusterResponse) StatusCode ¶ added in v0.35.0
func (r GetSksClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSksNodepoolResponse ¶ added in v0.35.0
type GetSksNodepoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SksNodepool
}
func ParseGetSksNodepoolResponse ¶ added in v0.35.0
func ParseGetSksNodepoolResponse(rsp *http.Response) (*GetSksNodepoolResponse, error)
ParseGetSksNodepoolResponse parses an HTTP response from a GetSksNodepoolWithResponse call
func (GetSksNodepoolResponse) Status ¶ added in v0.35.0
func (r GetSksNodepoolResponse) Status() string
Status returns HTTPResponse.Status
func (GetSksNodepoolResponse) StatusCode ¶ added in v0.35.0
func (r GetSksNodepoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSnapshotResponse ¶ added in v0.26.0
func ParseGetSnapshotResponse ¶ added in v0.26.0
func ParseGetSnapshotResponse(rsp *http.Response) (*GetSnapshotResponse, error)
ParseGetSnapshotResponse parses an HTTP response from a GetSnapshotWithResponse call
func (GetSnapshotResponse) Status ¶ added in v0.26.0
func (r GetSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (GetSnapshotResponse) StatusCode ¶ added in v0.26.0
func (r GetSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSshKeyResponse ¶ added in v0.40.0
func ParseGetSshKeyResponse ¶ added in v0.40.0
func ParseGetSshKeyResponse(rsp *http.Response) (*GetSshKeyResponse, error)
ParseGetSshKeyResponse parses an HTTP response from a GetSshKeyWithResponse call
func (GetSshKeyResponse) Status ¶ added in v0.40.0
func (r GetSshKeyResponse) Status() string
Status returns HTTPResponse.Status
func (GetSshKeyResponse) StatusCode ¶ added in v0.40.0
func (r GetSshKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTemplateResponse ¶ added in v0.33.0
func ParseGetTemplateResponse ¶ added in v0.33.0
func ParseGetTemplateResponse(rsp *http.Response) (*GetTemplateResponse, error)
ParseGetTemplateResponse parses an HTTP response from a GetTemplateWithResponse call
func (GetTemplateResponse) Status ¶ added in v0.33.0
func (r GetTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (GetTemplateResponse) StatusCode ¶ added in v0.33.0
func (r GetTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Healthcheck ¶
type Healthcheck 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"`
}
Healthcheck defines model for healthcheck.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InstancePool ¶
type InstancePool struct {
AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"`
Description *string `json:"description,omitempty"`
DiskSize *int64 `json:"disk-size,omitempty"`
ElasticIps *[]ElasticIp `json:"elastic-ips,omitempty"`
Id *string `json:"id,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 ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (r ListAntiAffinityGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAntiAffinityGroupsResponse) StatusCode ¶ added in v0.26.0
func (r ListAntiAffinityGroupsResponse) 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 ¶ added in v0.26.0
func ParseListEventsResponse ¶
func ParseListEventsResponse(rsp *http.Response) (*ListEventsResponse, error)
ParseListEventsResponse parses an HTTP response from a ListEventsWithResponse call
func (ListEventsResponse) Status ¶ added in v0.26.0
func (r ListEventsResponse) Status() string
Status returns HTTPResponse.Status
func (ListEventsResponse) StatusCode ¶ added in v0.26.0
func (r ListEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInstancePoolsResponse ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (r ListInstancePoolsResponse) Status() string
Status returns HTTPResponse.Status
func (ListInstancePoolsResponse) StatusCode ¶ added in v0.26.0
func (r ListInstancePoolsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInstanceTypesResponse ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (r ListInstanceTypesResponse) Status() string
Status returns HTTPResponse.Status
func (ListInstanceTypesResponse) StatusCode ¶ added in v0.26.0
func (r ListInstanceTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListLoadBalancersResponse ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (r ListLoadBalancersResponse) Status() string
Status returns HTTPResponse.Status
func (ListLoadBalancersResponse) StatusCode ¶ added in v0.26.0
func (r ListLoadBalancersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPrivateNetworksResponse ¶ added in v0.35.0
type ListPrivateNetworksResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"`
}
}
func ParseListPrivateNetworksResponse ¶ added in v0.35.0
func ParseListPrivateNetworksResponse(rsp *http.Response) (*ListPrivateNetworksResponse, error)
ParseListPrivateNetworksResponse parses an HTTP response from a ListPrivateNetworksWithResponse call
func (ListPrivateNetworksResponse) Status ¶ added in v0.35.0
func (r ListPrivateNetworksResponse) Status() string
Status returns HTTPResponse.Status
func (ListPrivateNetworksResponse) StatusCode ¶ added in v0.35.0
func (r ListPrivateNetworksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSecurityGroupsResponse ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (r ListSecurityGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSecurityGroupsResponse) StatusCode ¶ added in v0.26.0
func (r ListSecurityGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSksClusterVersionsResponse ¶ added in v0.38.0
type ListSksClusterVersionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
SksClusterVersions *[]string `json:"sks-cluster-versions,omitempty"`
}
}
func ParseListSksClusterVersionsResponse ¶ added in v0.38.0
func ParseListSksClusterVersionsResponse(rsp *http.Response) (*ListSksClusterVersionsResponse, error)
ParseListSksClusterVersionsResponse parses an HTTP response from a ListSksClusterVersionsWithResponse call
func (ListSksClusterVersionsResponse) Status ¶ added in v0.38.0
func (r ListSksClusterVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSksClusterVersionsResponse) StatusCode ¶ added in v0.38.0
func (r ListSksClusterVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSksClustersResponse ¶ added in v0.35.0
type ListSksClustersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
SksClusters *[]SksCluster `json:"sks-clusters,omitempty"`
}
}
func ParseListSksClustersResponse ¶ added in v0.35.0
func ParseListSksClustersResponse(rsp *http.Response) (*ListSksClustersResponse, error)
ParseListSksClustersResponse parses an HTTP response from a ListSksClustersWithResponse call
func (ListSksClustersResponse) Status ¶ added in v0.35.0
func (r ListSksClustersResponse) Status() string
Status returns HTTPResponse.Status
func (ListSksClustersResponse) StatusCode ¶ added in v0.35.0
func (r ListSksClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSnapshotsResponse ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (r ListSnapshotsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSnapshotsResponse) StatusCode ¶ added in v0.26.0
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 ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (r ListTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (ListTemplatesResponse) StatusCode ¶ added in v0.26.0
func (r ListTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListZonesResponse ¶ added in v0.26.0
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 ¶ added in v0.26.0
func (r ListZonesResponse) Status() string
Status returns HTTPResponse.Status
func (ListZonesResponse) StatusCode ¶ added in v0.26.0
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"`
Services *[]LoadBalancerService `json:"services,omitempty"`
State *string `json:"state,omitempty"`
}
LoadBalancer defines model for load-balancer.
func (*LoadBalancer) MarshalJSON ¶ added in v0.29.0
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 ¶ added in v0.26.0
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 Healthcheck `json:"healthcheck"`
HealthcheckStatus *[]LoadBalancerServerStatus `json:"healthcheck-status,omitempty"`
Id *string `json:"id,omitempty"`
InstancePool InstancePool `json:"instance-pool"`
Name string `json:"name"`
Port int64 `json:"port"`
Protocol string `json:"protocol"`
State *string `json:"state,omitempty"`
Strategy string `json:"strategy"`
TargetPort int64 `json:"target-port"`
}
LoadBalancerService defines model for load-balancer-service.
type MockClient ¶ added in v0.29.0
type MockClient struct {
mock.Mock
*httpmock.MockTransport
ClientWithResponsesInterface
}
func NewMockClient ¶ added in v0.29.0
func NewMockClient() *MockClient
type Operation ¶ added in v0.26.3
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 ¶ added in v0.26.0
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 ¶ added in v0.26.0
type Poller struct {
// contains filtered or unexported fields
}
Poller represents a poller instance.
func (*Poller) Poll ¶ added in v0.26.0
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 ¶ added in v0.26.0
WithInterval sets the interval at which the polling function will be executed (default: 3s).
type PrivateNetwork ¶ added in v0.35.0
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 ¶ added in v0.33.0
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 Template
RegisterTemplateJSONBody defines parameters for RegisterTemplate.
type RegisterTemplateJSONRequestBody ¶
type RegisterTemplateJSONRequestBody RegisterTemplateJSONBody
RegisterTemplateRequestBody defines body for RegisterTemplate for application/json ContentType.
type RegisterTemplateResponse ¶ added in v0.26.0
func ParseRegisterTemplateResponse ¶
func ParseRegisterTemplateResponse(rsp *http.Response) (*RegisterTemplateResponse, error)
ParseRegisterTemplateResponse parses an HTTP response from a RegisterTemplateWithResponse call
func (RegisterTemplateResponse) Status ¶ added in v0.26.0
func (r RegisterTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (RegisterTemplateResponse) StatusCode ¶ added in v0.26.0
func (r RegisterTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
func MultiRequestsEditor ¶ added in v0.26.0
func MultiRequestsEditor(fns ...RequestEditorFn) RequestEditorFn
MultiRequestsEditor is an oapi-codegen compatible RequestEditorFn function that executes multiple RequestEditorFn functions sequentially.
type RevertInstanceToSnapshotJSONBody ¶ added in v0.35.0
type RevertInstanceToSnapshotJSONBody Snapshot
RevertInstanceToSnapshotJSONBody defines parameters for RevertInstanceToSnapshot.
type RevertInstanceToSnapshotJSONRequestBody ¶ added in v0.35.0
type RevertInstanceToSnapshotJSONRequestBody RevertInstanceToSnapshotJSONBody
RevertInstanceToSnapshotRequestBody defines body for RevertInstanceToSnapshot for application/json ContentType.
type RevertInstanceToSnapshotResponse ¶ added in v0.35.0
type RevertInstanceToSnapshotResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseRevertInstanceToSnapshotResponse ¶ added in v0.35.0
func ParseRevertInstanceToSnapshotResponse(rsp *http.Response) (*RevertInstanceToSnapshotResponse, error)
ParseRevertInstanceToSnapshotResponse parses an HTTP response from a RevertInstanceToSnapshotWithResponse call
func (RevertInstanceToSnapshotResponse) Status ¶ added in v0.35.0
func (r RevertInstanceToSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (RevertInstanceToSnapshotResponse) StatusCode ¶ added in v0.35.0
func (r RevertInstanceToSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScaleInstancePoolJSONBody ¶ added in v0.42.0
type ScaleInstancePoolJSONBody InstancePool
ScaleInstancePoolJSONBody defines parameters for ScaleInstancePool.
type ScaleInstancePoolJSONRequestBody ¶ added in v0.42.0
type ScaleInstancePoolJSONRequestBody ScaleInstancePoolJSONBody
ScaleInstancePoolRequestBody defines body for ScaleInstancePool for application/json ContentType.
type ScaleInstancePoolResponse ¶ added in v0.42.0
type ScaleInstancePoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseScaleInstancePoolResponse ¶ added in v0.42.0
func ParseScaleInstancePoolResponse(rsp *http.Response) (*ScaleInstancePoolResponse, error)
ParseScaleInstancePoolResponse parses an HTTP response from a ScaleInstancePoolWithResponse call
func (ScaleInstancePoolResponse) Status ¶ added in v0.42.0
func (r ScaleInstancePoolResponse) Status() string
Status returns HTTPResponse.Status
func (ScaleInstancePoolResponse) StatusCode ¶ added in v0.42.0
func (r ScaleInstancePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScaleSksNodepoolJSONBody ¶ added in v0.35.0
type ScaleSksNodepoolJSONBody SksNodepool
ScaleSksNodepoolJSONBody defines parameters for ScaleSksNodepool.
type ScaleSksNodepoolJSONRequestBody ¶ added in v0.35.0
type ScaleSksNodepoolJSONRequestBody ScaleSksNodepoolJSONBody
ScaleSksNodepoolRequestBody defines body for ScaleSksNodepool for application/json ContentType.
type ScaleSksNodepoolResponse ¶ added in v0.35.0
func ParseScaleSksNodepoolResponse ¶ added in v0.35.0
func ParseScaleSksNodepoolResponse(rsp *http.Response) (*ScaleSksNodepoolResponse, error)
ParseScaleSksNodepoolResponse parses an HTTP response from a ScaleSksNodepoolWithResponse call
func (ScaleSksNodepoolResponse) Status ¶ added in v0.35.0
func (r ScaleSksNodepoolResponse) Status() string
Status returns HTTPResponse.Status
func (ScaleSksNodepoolResponse) StatusCode ¶ added in v0.35.0
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 ¶ added in v0.33.0
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 ¶ added in v0.35.0
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 ¶ added in v0.35.0
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 ¶ added in v0.35.0
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 ¶ added in v0.35.0
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 ¶ added in v0.35.0
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 ¶ added in v0.35.0
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 ¶ added in v0.35.0
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.
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 ¶ added in v0.35.0
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 ¶ added in v0.35.0
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 UpdateInstancePoolJSONBody ¶ added in v0.42.0
type UpdateInstancePoolJSONBody InstancePool
UpdateInstancePoolJSONBody defines parameters for UpdateInstancePool.
type UpdateInstancePoolJSONRequestBody ¶ added in v0.42.0
type UpdateInstancePoolJSONRequestBody UpdateInstancePoolJSONBody
UpdateInstancePoolRequestBody defines body for UpdateInstancePool for application/json ContentType.
type UpdateInstancePoolResponse ¶ added in v0.42.0
type UpdateInstancePoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseUpdateInstancePoolResponse ¶ added in v0.42.0
func ParseUpdateInstancePoolResponse(rsp *http.Response) (*UpdateInstancePoolResponse, error)
ParseUpdateInstancePoolResponse parses an HTTP response from a UpdateInstancePoolWithResponse call
func (UpdateInstancePoolResponse) Status ¶ added in v0.42.0
func (r UpdateInstancePoolResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateInstancePoolResponse) StatusCode ¶ added in v0.42.0
func (r UpdateInstancePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateLoadBalancerJSONBody ¶ added in v0.26.0
type UpdateLoadBalancerJSONBody struct {
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
}
UpdateLoadBalancerJSONBody defines parameters for UpdateLoadBalancer.
type UpdateLoadBalancerJSONRequestBody ¶ added in v0.26.0
type UpdateLoadBalancerJSONRequestBody UpdateLoadBalancerJSONBody
UpdateLoadBalancerRequestBody defines body for UpdateLoadBalancer for application/json ContentType.
type UpdateLoadBalancerResponse ¶ added in v0.26.0
type UpdateLoadBalancerResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseUpdateLoadBalancerResponse ¶ added in v0.26.0
func ParseUpdateLoadBalancerResponse(rsp *http.Response) (*UpdateLoadBalancerResponse, error)
ParseUpdateLoadBalancerResponse parses an HTTP response from a UpdateLoadBalancerWithResponse call
func (UpdateLoadBalancerResponse) Status ¶ added in v0.26.0
func (r UpdateLoadBalancerResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateLoadBalancerResponse) StatusCode ¶ added in v0.26.0
func (r UpdateLoadBalancerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateLoadBalancerServiceJSONBody ¶ added in v0.26.0
type UpdateLoadBalancerServiceJSONBody struct {
Description *string `json:"description,omitempty"`
Healthcheck *Healthcheck `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 ¶ added in v0.26.0
type UpdateLoadBalancerServiceJSONRequestBody UpdateLoadBalancerServiceJSONBody
UpdateLoadBalancerServiceRequestBody defines body for UpdateLoadBalancerService for application/json ContentType.
type UpdateLoadBalancerServiceResponse ¶ added in v0.26.0
type UpdateLoadBalancerServiceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseUpdateLoadBalancerServiceResponse ¶ added in v0.26.0
func ParseUpdateLoadBalancerServiceResponse(rsp *http.Response) (*UpdateLoadBalancerServiceResponse, error)
ParseUpdateLoadBalancerServiceResponse parses an HTTP response from a UpdateLoadBalancerServiceWithResponse call
func (UpdateLoadBalancerServiceResponse) Status ¶ added in v0.26.0
func (r UpdateLoadBalancerServiceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateLoadBalancerServiceResponse) StatusCode ¶ added in v0.26.0
func (r UpdateLoadBalancerServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePrivateNetworkJSONBody ¶ added in v0.35.0
type UpdatePrivateNetworkJSONBody PrivateNetwork
UpdatePrivateNetworkJSONBody defines parameters for UpdatePrivateNetwork.
type UpdatePrivateNetworkJSONRequestBody ¶ added in v0.35.0
type UpdatePrivateNetworkJSONRequestBody UpdatePrivateNetworkJSONBody
UpdatePrivateNetworkRequestBody defines body for UpdatePrivateNetwork for application/json ContentType.
type UpdatePrivateNetworkResponse ¶ added in v0.35.0
type UpdatePrivateNetworkResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseUpdatePrivateNetworkResponse ¶ added in v0.35.0
func ParseUpdatePrivateNetworkResponse(rsp *http.Response) (*UpdatePrivateNetworkResponse, error)
ParseUpdatePrivateNetworkResponse parses an HTTP response from a UpdatePrivateNetworkWithResponse call
func (UpdatePrivateNetworkResponse) Status ¶ added in v0.35.0
func (r UpdatePrivateNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePrivateNetworkResponse) StatusCode ¶ added in v0.35.0
func (r UpdatePrivateNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSksClusterJSONBody ¶ added in v0.35.0
type UpdateSksClusterJSONBody SksCluster
UpdateSksClusterJSONBody defines parameters for UpdateSksCluster.
type UpdateSksClusterJSONRequestBody ¶ added in v0.35.0
type UpdateSksClusterJSONRequestBody UpdateSksClusterJSONBody
UpdateSksClusterRequestBody defines body for UpdateSksCluster for application/json ContentType.
type UpdateSksClusterResponse ¶ added in v0.35.0
func ParseUpdateSksClusterResponse ¶ added in v0.35.0
func ParseUpdateSksClusterResponse(rsp *http.Response) (*UpdateSksClusterResponse, error)
ParseUpdateSksClusterResponse parses an HTTP response from a UpdateSksClusterWithResponse call
func (UpdateSksClusterResponse) Status ¶ added in v0.35.0
func (r UpdateSksClusterResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSksClusterResponse) StatusCode ¶ added in v0.35.0
func (r UpdateSksClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSksNodepoolJSONBody ¶ added in v0.35.0
type UpdateSksNodepoolJSONBody SksNodepool
UpdateSksNodepoolJSONBody defines parameters for UpdateSksNodepool.
type UpdateSksNodepoolJSONRequestBody ¶ added in v0.35.0
type UpdateSksNodepoolJSONRequestBody UpdateSksNodepoolJSONBody
UpdateSksNodepoolRequestBody defines body for UpdateSksNodepool for application/json ContentType.
type UpdateSksNodepoolResponse ¶ added in v0.35.0
type UpdateSksNodepoolResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseUpdateSksNodepoolResponse ¶ added in v0.35.0
func ParseUpdateSksNodepoolResponse(rsp *http.Response) (*UpdateSksNodepoolResponse, error)
ParseUpdateSksNodepoolResponse parses an HTTP response from a UpdateSksNodepoolWithResponse call
func (UpdateSksNodepoolResponse) Status ¶ added in v0.35.0
func (r UpdateSksNodepoolResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSksNodepoolResponse) StatusCode ¶ added in v0.35.0
func (r UpdateSksNodepoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpgradeSksClusterJSONBody ¶ added in v0.40.0
type UpgradeSksClusterJSONBody SksCluster
UpgradeSksClusterJSONBody defines parameters for UpgradeSksCluster.
type UpgradeSksClusterJSONRequestBody ¶ added in v0.40.0
type UpgradeSksClusterJSONRequestBody UpgradeSksClusterJSONBody
UpgradeSksClusterRequestBody defines body for UpgradeSksCluster for application/json ContentType.
type UpgradeSksClusterResponse ¶ added in v0.40.0
type UpgradeSksClusterResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
}
func ParseUpgradeSksClusterResponse ¶ added in v0.40.0
func ParseUpgradeSksClusterResponse(rsp *http.Response) (*UpgradeSksClusterResponse, error)
ParseUpgradeSksClusterResponse parses an HTTP response from a UpgradeSksClusterWithResponse call
func (UpgradeSksClusterResponse) Status ¶ added in v0.40.0
func (r UpgradeSksClusterResponse) Status() string
Status returns HTTPResponse.Status
func (UpgradeSksClusterResponse) StatusCode ¶ added in v0.40.0
func (r UpgradeSksClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode