Documentation
¶
Overview ¶
Package publicapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.7.1 DO NOT EDIT.
Package publicapi is an internal package containing code generated from the Exoscale API OpenAPI specs, as well as helpers and transition types exposed in the public-facing package.
Index ¶
- Constants
- func NewAddRuleToSecurityGroupRequest(server string, id string, body AddRuleToSecurityGroupJSONRequestBody) (*http.Request, error)
- func NewAddRuleToSecurityGroupRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddServiceToLoadBalancerRequest(server string, id string, body AddServiceToLoadBalancerJSONRequestBody) (*http.Request, error)
- func NewAddServiceToLoadBalancerRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewAttachInstanceToElasticIpRequest(server string, id string, body AttachInstanceToElasticIpJSONRequestBody) (*http.Request, error)
- func NewAttachInstanceToElasticIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewAttachInstanceToPrivateNetworkRequest(server string, id string, body AttachInstanceToPrivateNetworkJSONRequestBody) (*http.Request, error)
- func NewAttachInstanceToPrivateNetworkRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewAttachInstanceToSecurityGroupRequest(server string, id string, body AttachInstanceToSecurityGroupJSONRequestBody) (*http.Request, error)
- func NewAttachInstanceToSecurityGroupRequestWithBody(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 NewCreateDbaasServiceRequest(server string, body CreateDbaasServiceJSONRequestBody) (*http.Request, error)
- func NewCreateDbaasServiceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateElasticIpRequest(server string, body CreateElasticIpJSONRequestBody) (*http.Request, error)
- func NewCreateElasticIpRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateInstancePoolRequest(server string, body CreateInstancePoolJSONRequestBody) (*http.Request, error)
- func NewCreateInstancePoolRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateInstanceRequest(server string, body CreateInstanceJSONRequestBody) (*http.Request, error)
- func NewCreateInstanceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateLoadBalancerRequest(server string, body CreateLoadBalancerJSONRequestBody) (*http.Request, error)
- func NewCreateLoadBalancerRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePrivateNetworkRequest(server string, body CreatePrivateNetworkJSONRequestBody) (*http.Request, error)
- func NewCreatePrivateNetworkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSecurityGroupRequest(server string, body CreateSecurityGroupJSONRequestBody) (*http.Request, error)
- func NewCreateSecurityGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSksClusterRequest(server string, body CreateSksClusterJSONRequestBody) (*http.Request, error)
- func NewCreateSksClusterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSksNodepoolRequest(server string, id string, body CreateSksNodepoolJSONRequestBody) (*http.Request, error)
- func NewCreateSksNodepoolRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSnapshotRequest(server string, id string) (*http.Request, error)
- func NewDeleteAntiAffinityGroupRequest(server string, id string) (*http.Request, error)
- func NewDeleteElasticIpRequest(server string, id string) (*http.Request, error)
- func NewDeleteInstancePoolRequest(server string, id string) (*http.Request, error)
- func NewDeleteInstanceRequest(server string, id string) (*http.Request, error)
- func NewDeleteLoadBalancerRequest(server string, id string) (*http.Request, error)
- func NewDeleteLoadBalancerServiceRequest(server string, id string, serviceId string) (*http.Request, error)
- func NewDeletePrivateNetworkRequest(server string, id string) (*http.Request, error)
- func NewDeleteRuleFromSecurityGroupRequest(server string, id string, ruleId string) (*http.Request, error)
- func NewDeleteSecurityGroupRequest(server string, id string) (*http.Request, error)
- func NewDeleteSksClusterRequest(server string, id string) (*http.Request, error)
- func NewDeleteSksNodepoolRequest(server string, id string, sksNodepoolId string) (*http.Request, error)
- func NewDeleteSnapshotRequest(server string, id string) (*http.Request, error)
- func NewDeleteSshKeyRequest(server string, name string) (*http.Request, error)
- func NewDeleteTemplateRequest(server string, id string) (*http.Request, error)
- func NewDetachInstanceFromElasticIpRequest(server string, id string, body DetachInstanceFromElasticIpJSONRequestBody) (*http.Request, error)
- func NewDetachInstanceFromElasticIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDetachInstanceFromPrivateNetworkRequest(server string, id string, body DetachInstanceFromPrivateNetworkJSONRequestBody) (*http.Request, error)
- func NewDetachInstanceFromPrivateNetworkRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDetachInstanceFromSecurityGroupRequest(server string, id string, body DetachInstanceFromSecurityGroupJSONRequestBody) (*http.Request, error)
- func NewDetachInstanceFromSecurityGroupRequestWithBody(server string, id string, contentType string, body io.Reader) (*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 NewGetDbaasCaCertificateRequest(server string) (*http.Request, error)
- func NewGetDbaasServiceRequest(server string, name string) (*http.Request, error)
- func NewGetDbaasServiceTypeRequest(server string, serviceTypeName string) (*http.Request, error)
- func NewGetDeployTargetRequest(server string, id string) (*http.Request, error)
- func NewGetElasticIpRequest(server string, id string) (*http.Request, error)
- func NewGetInstancePoolRequest(server string, id string) (*http.Request, error)
- func NewGetInstanceRequest(server string, id string) (*http.Request, error)
- func NewGetInstanceTypeRequest(server string, id string) (*http.Request, error)
- func NewGetLoadBalancerRequest(server string, id string) (*http.Request, error)
- func NewGetLoadBalancerServiceRequest(server string, id string, serviceId string) (*http.Request, error)
- func NewGetOperationRequest(server string, id string) (*http.Request, error)
- func NewGetPrivateNetworkRequest(server string, id string) (*http.Request, error)
- func NewGetQuotaRequest(server string, entity string) (*http.Request, error)
- func NewGetSecurityGroupRequest(server string, id string) (*http.Request, error)
- func NewGetSksClusterAuthorityCertRequest(server string, id string, authority GetSksClusterAuthorityCertParamsAuthority) (*http.Request, error)
- func NewGetSksClusterRequest(server string, id string) (*http.Request, error)
- func NewGetSksNodepoolRequest(server string, id string, sksNodepoolId string) (*http.Request, error)
- func NewGetSnapshotRequest(server string, id string) (*http.Request, error)
- func NewGetSosPresignedUrlRequest(server string, bucket string, params *GetSosPresignedUrlParams) (*http.Request, error)
- func NewGetSshKeyRequest(server string, name string) (*http.Request, error)
- func NewGetTemplateRequest(server string, id string) (*http.Request, error)
- func NewListAntiAffinityGroupsRequest(server string) (*http.Request, error)
- func NewListDbaasServiceTypesRequest(server string) (*http.Request, error)
- func NewListDbaasServicesRequest(server string) (*http.Request, error)
- func NewListDeployTargetsRequest(server string) (*http.Request, error)
- func NewListElasticIpsRequest(server string) (*http.Request, error)
- func NewListEventsRequest(server string, params *ListEventsParams) (*http.Request, error)
- func NewListInstancePoolsRequest(server string) (*http.Request, error)
- func NewListInstanceTypesRequest(server string) (*http.Request, error)
- func NewListInstancesRequest(server string, params *ListInstancesParams) (*http.Request, error)
- func NewListLoadBalancersRequest(server string) (*http.Request, error)
- func NewListPrivateNetworksRequest(server string) (*http.Request, error)
- func NewListQuotasRequest(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 NewListSshKeysRequest(server string) (*http.Request, error)
- func NewListTemplatesRequest(server string, params *ListTemplatesParams) (*http.Request, error)
- func NewListZonesRequest(server string) (*http.Request, error)
- func NewRebootInstanceRequest(server string, id string) (*http.Request, error)
- func NewRegisterSshKeyRequest(server string, body RegisterSshKeyJSONRequestBody) (*http.Request, error)
- func NewRegisterSshKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRegisterTemplateRequest(server string, body RegisterTemplateJSONRequestBody) (*http.Request, error)
- func NewRegisterTemplateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewResetElasticIpFieldRequest(server string, id string, field ResetElasticIpFieldParamsField) (*http.Request, error)
- func NewResetInstanceFieldRequest(server string, id string, field ResetInstanceFieldParamsField) (*http.Request, error)
- func NewResetInstancePoolFieldRequest(server string, id string, field ResetInstancePoolFieldParamsField) (*http.Request, error)
- func NewResetInstanceRequest(server string, id string, body ResetInstanceJSONRequestBody) (*http.Request, error)
- func NewResetInstanceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewResetLoadBalancerFieldRequest(server string, id string, field ResetLoadBalancerFieldParamsField) (*http.Request, error)
- func NewResetLoadBalancerServiceFieldRequest(server string, id string, serviceId string, ...) (*http.Request, error)
- func NewResetPrivateNetworkFieldRequest(server string, id string, field ResetPrivateNetworkFieldParamsField) (*http.Request, error)
- func NewResetSksClusterFieldRequest(server string, id string, field ResetSksClusterFieldParamsField) (*http.Request, error)
- func NewResetSksNodepoolFieldRequest(server string, id string, sksNodepoolId string, ...) (*http.Request, error)
- func NewResizeInstanceDiskRequest(server string, id string, body ResizeInstanceDiskJSONRequestBody) (*http.Request, error)
- func NewResizeInstanceDiskRequestWithBody(server string, id 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 NewRotateSksCcmCredentialsRequest(server string, id string) (*http.Request, error)
- func NewScaleInstancePoolRequest(server string, id string, body ScaleInstancePoolJSONRequestBody) (*http.Request, error)
- func NewScaleInstancePoolRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewScaleInstanceRequest(server string, id string, body ScaleInstanceJSONRequestBody) (*http.Request, error)
- func NewScaleInstanceRequestWithBody(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 NewStartInstanceRequest(server string, id string) (*http.Request, error)
- func NewStopInstanceRequest(server string, id string) (*http.Request, error)
- func NewTerminateDbaasServiceRequest(server string, name string) (*http.Request, error)
- func NewUpdateDbaasServiceRequest(server string, name string, body UpdateDbaasServiceJSONRequestBody) (*http.Request, error)
- func NewUpdateDbaasServiceRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateElasticIpRequest(server string, id string, body UpdateElasticIpJSONRequestBody) (*http.Request, error)
- func NewUpdateElasticIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateInstancePoolRequest(server string, id string, body UpdateInstancePoolJSONRequestBody) (*http.Request, error)
- func NewUpdateInstancePoolRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateInstanceRequest(server string, id string, body UpdateInstanceJSONRequestBody) (*http.Request, error)
- func NewUpdateInstanceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateLoadBalancerRequest(server string, id string, body UpdateLoadBalancerJSONRequestBody) (*http.Request, error)
- func NewUpdateLoadBalancerRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateLoadBalancerServiceRequest(server string, id string, serviceId string, ...) (*http.Request, error)
- func NewUpdateLoadBalancerServiceRequestWithBody(server string, id string, serviceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePrivateNetworkInstanceIpRequest(server string, id string, body UpdatePrivateNetworkInstanceIpJSONRequestBody) (*http.Request, error)
- func NewUpdatePrivateNetworkInstanceIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePrivateNetworkRequest(server string, id string, body UpdatePrivateNetworkJSONRequestBody) (*http.Request, error)
- func NewUpdatePrivateNetworkRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSksClusterRequest(server string, id string, body UpdateSksClusterJSONRequestBody) (*http.Request, error)
- func NewUpdateSksClusterRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSksNodepoolRequest(server string, id string, sksNodepoolId string, ...) (*http.Request, error)
- func NewUpdateSksNodepoolRequestWithBody(server string, id string, sksNodepoolId string, contentType string, ...) (*http.Request, error)
- func NewUpgradeSksClusterRequest(server string, id string, body UpgradeSksClusterJSONRequestBody) (*http.Request, error)
- func NewUpgradeSksClusterRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpgradeSksClusterServiceLevelRequest(server string, id string) (*http.Request, error)
- func OptionalBool(v *bool) bool
- func OptionalInt64(v *int64) int64
- func OptionalString(v *string) string
- type AddRuleToSecurityGroupJSONBody
- type AddRuleToSecurityGroupJSONBodyFlowDirection
- type AddRuleToSecurityGroupJSONBodyProtocol
- type AddRuleToSecurityGroupJSONRequestBody
- type AddRuleToSecurityGroupResponse
- type AddServiceToLoadBalancerJSONBody
- type AddServiceToLoadBalancerJSONBodyProtocol
- type AddServiceToLoadBalancerJSONBodyStrategy
- type AddServiceToLoadBalancerJSONRequestBody
- type AddServiceToLoadBalancerResponse
- type AntiAffinityGroup
- type AttachInstanceToElasticIpJSONBody
- type AttachInstanceToElasticIpJSONRequestBody
- type AttachInstanceToElasticIpResponse
- type AttachInstanceToPrivateNetworkJSONBody
- type AttachInstanceToPrivateNetworkJSONRequestBody
- type AttachInstanceToPrivateNetworkResponse
- type AttachInstanceToSecurityGroupJSONBody
- type AttachInstanceToSecurityGroupJSONRequestBody
- type AttachInstanceToSecurityGroupResponse
- type Client
- func (c *Client) AddRuleToSecurityGroup(ctx context.Context, id string, body AddRuleToSecurityGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddRuleToSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddServiceToLoadBalancer(ctx context.Context, id string, body AddServiceToLoadBalancerJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddServiceToLoadBalancerWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AttachInstanceToElasticIp(ctx context.Context, id string, body AttachInstanceToElasticIpJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AttachInstanceToElasticIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AttachInstanceToPrivateNetwork(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) AttachInstanceToPrivateNetworkWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AttachInstanceToSecurityGroup(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) AttachInstanceToSecurityGroupWithBody(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) CreateDbaasService(ctx context.Context, body CreateDbaasServiceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateDbaasServiceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateElasticIp(ctx context.Context, body CreateElasticIpJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateElasticIpWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateInstance(ctx context.Context, body CreateInstanceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateInstancePool(ctx context.Context, body CreateInstancePoolJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateInstancePoolWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateInstanceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateLoadBalancer(ctx context.Context, body CreateLoadBalancerJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateLoadBalancerWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreatePrivateNetwork(ctx context.Context, body CreatePrivateNetworkJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreatePrivateNetworkWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSecurityGroup(ctx context.Context, body CreateSecurityGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSecurityGroupWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSksCluster(ctx context.Context, body CreateSksClusterJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSksClusterWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSksNodepool(ctx context.Context, id string, body CreateSksNodepoolJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSksNodepoolWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSnapshot(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteAntiAffinityGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteElasticIp(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteInstancePool(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteLoadBalancer(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*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, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteRuleFromSecurityGroup(ctx context.Context, id string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSecurityGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSksCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*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, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSshKey(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DetachInstanceFromElasticIp(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) DetachInstanceFromElasticIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DetachInstanceFromPrivateNetwork(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) DetachInstanceFromPrivateNetworkWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DetachInstanceFromSecurityGroup(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) DetachInstanceFromSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*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, reqEditors ...RequestEditorFn) (*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, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDbaasCaCertificate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDbaasService(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDbaasServiceType(ctx context.Context, serviceTypeName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDeployTarget(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetElasticIp(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetInstancePool(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetInstanceType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLoadBalancer(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*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, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPrivateNetwork(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetQuota(ctx context.Context, entity string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSecurityGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSksCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSksClusterAuthorityCert(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, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSosPresignedUrl(ctx context.Context, bucket string, params *GetSosPresignedUrlParams, ...) (*http.Response, error)
- func (c *Client) GetSshKey(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAntiAffinityGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDbaasServiceTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDbaasServices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDeployTargets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListElasticIps(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListEvents(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListInstancePools(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListInstanceTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListInstances(ctx context.Context, params *ListInstancesParams, ...) (*http.Response, error)
- func (c *Client) ListLoadBalancers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPrivateNetworks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListQuotas(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSecurityGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSksClusterVersions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSksClusters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSnapshots(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSshKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListTemplates(ctx context.Context, params *ListTemplatesParams, ...) (*http.Response, error)
- func (c *Client) ListZones(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RebootInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RegisterSshKey(ctx context.Context, body RegisterSshKeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RegisterSshKeyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RegisterTemplate(ctx context.Context, body RegisterTemplateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RegisterTemplateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ResetElasticIpField(ctx context.Context, id string, field ResetElasticIpFieldParamsField, ...) (*http.Response, error)
- func (c *Client) ResetInstance(ctx context.Context, id string, body ResetInstanceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ResetInstanceField(ctx context.Context, id string, field ResetInstanceFieldParamsField, ...) (*http.Response, error)
- func (c *Client) ResetInstancePoolField(ctx context.Context, id string, field ResetInstancePoolFieldParamsField, ...) (*http.Response, error)
- func (c *Client) ResetInstanceWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ResetLoadBalancerField(ctx context.Context, id string, field ResetLoadBalancerFieldParamsField, ...) (*http.Response, error)
- func (c *Client) ResetLoadBalancerServiceField(ctx context.Context, id string, serviceId string, ...) (*http.Response, error)
- func (c *Client) ResetPrivateNetworkField(ctx context.Context, id string, field ResetPrivateNetworkFieldParamsField, ...) (*http.Response, error)
- func (c *Client) ResetSksClusterField(ctx context.Context, id string, field ResetSksClusterFieldParamsField, ...) (*http.Response, error)
- func (c *Client) ResetSksNodepoolField(ctx context.Context, id string, sksNodepoolId string, ...) (*http.Response, error)
- func (c *Client) ResizeInstanceDisk(ctx context.Context, id string, body ResizeInstanceDiskJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ResizeInstanceDiskWithBody(ctx context.Context, id string, 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) RotateSksCcmCredentials(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ScaleInstance(ctx context.Context, id string, body ScaleInstanceJSONRequestBody, ...) (*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) ScaleInstanceWithBody(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) StartInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) StopInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TerminateDbaasService(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateDbaasService(ctx context.Context, name string, body UpdateDbaasServiceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateDbaasServiceWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateElasticIp(ctx context.Context, id string, body UpdateElasticIpJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateElasticIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateInstance(ctx context.Context, id string, body UpdateInstanceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateInstancePool(ctx context.Context, id string, body UpdateInstancePoolJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateInstancePoolWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateInstanceWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateLoadBalancer(ctx context.Context, id string, body UpdateLoadBalancerJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateLoadBalancerService(ctx context.Context, id string, serviceId string, ...) (*http.Response, error)
- func (c *Client) UpdateLoadBalancerServiceWithBody(ctx context.Context, id string, serviceId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateLoadBalancerWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdatePrivateNetwork(ctx context.Context, id string, body UpdatePrivateNetworkJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdatePrivateNetworkInstanceIp(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) UpdatePrivateNetworkInstanceIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*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) UpgradeSksClusterServiceLevel(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpgradeSksClusterWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AddRuleToSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*AddRuleToSecurityGroupResponse, error)
- func (c *ClientWithResponses) AddRuleToSecurityGroupWithResponse(ctx context.Context, id string, body AddRuleToSecurityGroupJSONRequestBody, ...) (*AddRuleToSecurityGroupResponse, error)
- func (c *ClientWithResponses) AddServiceToLoadBalancerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*AddServiceToLoadBalancerResponse, error)
- func (c *ClientWithResponses) AddServiceToLoadBalancerWithResponse(ctx context.Context, id string, body AddServiceToLoadBalancerJSONRequestBody, ...) (*AddServiceToLoadBalancerResponse, error)
- func (c *ClientWithResponses) AttachInstanceToElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*AttachInstanceToElasticIpResponse, error)
- func (c *ClientWithResponses) AttachInstanceToElasticIpWithResponse(ctx context.Context, id string, body AttachInstanceToElasticIpJSONRequestBody, ...) (*AttachInstanceToElasticIpResponse, error)
- func (c *ClientWithResponses) AttachInstanceToPrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*AttachInstanceToPrivateNetworkResponse, error)
- func (c *ClientWithResponses) AttachInstanceToPrivateNetworkWithResponse(ctx context.Context, id string, ...) (*AttachInstanceToPrivateNetworkResponse, error)
- func (c *ClientWithResponses) AttachInstanceToSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*AttachInstanceToSecurityGroupResponse, error)
- func (c *ClientWithResponses) AttachInstanceToSecurityGroupWithResponse(ctx context.Context, id string, ...) (*AttachInstanceToSecurityGroupResponse, 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) CreateDbaasServiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateDbaasServiceResponse, error)
- func (c *ClientWithResponses) CreateDbaasServiceWithResponse(ctx context.Context, body CreateDbaasServiceJSONRequestBody, ...) (*CreateDbaasServiceResponse, error)
- func (c *ClientWithResponses) CreateElasticIpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateElasticIpResponse, error)
- func (c *ClientWithResponses) CreateElasticIpWithResponse(ctx context.Context, body CreateElasticIpJSONRequestBody, ...) (*CreateElasticIpResponse, error)
- func (c *ClientWithResponses) CreateInstancePoolWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateInstancePoolResponse, error)
- func (c *ClientWithResponses) CreateInstancePoolWithResponse(ctx context.Context, body CreateInstancePoolJSONRequestBody, ...) (*CreateInstancePoolResponse, error)
- func (c *ClientWithResponses) CreateInstanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateInstanceResponse, error)
- func (c *ClientWithResponses) CreateInstanceWithResponse(ctx context.Context, body CreateInstanceJSONRequestBody, ...) (*CreateInstanceResponse, error)
- func (c *ClientWithResponses) CreateLoadBalancerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateLoadBalancerResponse, error)
- func (c *ClientWithResponses) CreateLoadBalancerWithResponse(ctx context.Context, body CreateLoadBalancerJSONRequestBody, ...) (*CreateLoadBalancerResponse, error)
- func (c *ClientWithResponses) CreatePrivateNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreatePrivateNetworkResponse, error)
- func (c *ClientWithResponses) CreatePrivateNetworkWithResponse(ctx context.Context, body CreatePrivateNetworkJSONRequestBody, ...) (*CreatePrivateNetworkResponse, error)
- func (c *ClientWithResponses) CreateSecurityGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSecurityGroupResponse, error)
- func (c *ClientWithResponses) CreateSecurityGroupWithResponse(ctx context.Context, body CreateSecurityGroupJSONRequestBody, ...) (*CreateSecurityGroupResponse, error)
- func (c *ClientWithResponses) CreateSksClusterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSksClusterResponse, error)
- func (c *ClientWithResponses) CreateSksClusterWithResponse(ctx context.Context, body CreateSksClusterJSONRequestBody, ...) (*CreateSksClusterResponse, error)
- func (c *ClientWithResponses) CreateSksNodepoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateSksNodepoolResponse, error)
- func (c *ClientWithResponses) CreateSksNodepoolWithResponse(ctx context.Context, id string, body CreateSksNodepoolJSONRequestBody, ...) (*CreateSksNodepoolResponse, error)
- func (c *ClientWithResponses) CreateSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CreateSnapshotResponse, error)
- func (c *ClientWithResponses) DeleteAntiAffinityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAntiAffinityGroupResponse, error)
- func (c *ClientWithResponses) DeleteElasticIpWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteElasticIpResponse, error)
- func (c *ClientWithResponses) DeleteInstancePoolWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteInstancePoolResponse, error)
- func (c *ClientWithResponses) DeleteInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteInstanceResponse, error)
- func (c *ClientWithResponses) DeleteLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, ...) (*DeleteLoadBalancerServiceResponse, error)
- func (c *ClientWithResponses) DeleteLoadBalancerWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteLoadBalancerResponse, error)
- func (c *ClientWithResponses) DeletePrivateNetworkWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePrivateNetworkResponse, error)
- func (c *ClientWithResponses) DeleteRuleFromSecurityGroupWithResponse(ctx context.Context, id string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteRuleFromSecurityGroupResponse, error)
- func (c *ClientWithResponses) DeleteSecurityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSecurityGroupResponse, error)
- func (c *ClientWithResponses) DeleteSksClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSksClusterResponse, error)
- func (c *ClientWithResponses) DeleteSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, ...) (*DeleteSksNodepoolResponse, error)
- func (c *ClientWithResponses) DeleteSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSnapshotResponse, error)
- func (c *ClientWithResponses) DeleteSshKeyWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteSshKeyResponse, error)
- func (c *ClientWithResponses) DeleteTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteTemplateResponse, error)
- func (c *ClientWithResponses) DetachInstanceFromElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DetachInstanceFromElasticIpResponse, error)
- func (c *ClientWithResponses) DetachInstanceFromElasticIpWithResponse(ctx context.Context, id string, ...) (*DetachInstanceFromElasticIpResponse, error)
- func (c *ClientWithResponses) DetachInstanceFromPrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DetachInstanceFromPrivateNetworkResponse, error)
- func (c *ClientWithResponses) DetachInstanceFromPrivateNetworkWithResponse(ctx context.Context, id string, ...) (*DetachInstanceFromPrivateNetworkResponse, error)
- func (c *ClientWithResponses) DetachInstanceFromSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DetachInstanceFromSecurityGroupResponse, error)
- func (c *ClientWithResponses) DetachInstanceFromSecurityGroupWithResponse(ctx context.Context, id string, ...) (*DetachInstanceFromSecurityGroupResponse, 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, reqEditors ...RequestEditorFn) (*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, reqEditors ...RequestEditorFn) (*GetAntiAffinityGroupResponse, error)
- func (c *ClientWithResponses) GetDbaasCaCertificateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDbaasCaCertificateResponse, error)
- func (c *ClientWithResponses) GetDbaasServiceTypeWithResponse(ctx context.Context, serviceTypeName string, reqEditors ...RequestEditorFn) (*GetDbaasServiceTypeResponse, error)
- func (c *ClientWithResponses) GetDbaasServiceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDbaasServiceResponse, error)
- func (c *ClientWithResponses) GetDeployTargetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetDeployTargetResponse, error)
- func (c *ClientWithResponses) GetElasticIpWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetElasticIpResponse, error)
- func (c *ClientWithResponses) GetInstancePoolWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetInstancePoolResponse, error)
- func (c *ClientWithResponses) GetInstanceTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetInstanceTypeResponse, error)
- func (c *ClientWithResponses) GetInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetInstanceResponse, error)
- func (c *ClientWithResponses) GetLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, ...) (*GetLoadBalancerServiceResponse, error)
- func (c *ClientWithResponses) GetLoadBalancerWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetLoadBalancerResponse, error)
- func (c *ClientWithResponses) GetOperationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOperationResponse, error)
- func (c *ClientWithResponses) GetPrivateNetworkWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPrivateNetworkResponse, error)
- func (c *ClientWithResponses) GetQuotaWithResponse(ctx context.Context, entity string, reqEditors ...RequestEditorFn) (*GetQuotaResponse, error)
- func (c *ClientWithResponses) GetSecurityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSecurityGroupResponse, error)
- func (c *ClientWithResponses) GetSksClusterAuthorityCertWithResponse(ctx context.Context, id string, ...) (*GetSksClusterAuthorityCertResponse, error)
- func (c *ClientWithResponses) GetSksClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSksClusterResponse, error)
- func (c *ClientWithResponses) GetSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, ...) (*GetSksNodepoolResponse, error)
- func (c *ClientWithResponses) GetSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSnapshotResponse, error)
- func (c *ClientWithResponses) GetSosPresignedUrlWithResponse(ctx context.Context, bucket string, params *GetSosPresignedUrlParams, ...) (*GetSosPresignedUrlResponse, error)
- func (c *ClientWithResponses) GetSshKeyWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetSshKeyResponse, error)
- func (c *ClientWithResponses) GetTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetTemplateResponse, error)
- func (c *ClientWithResponses) ListAntiAffinityGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAntiAffinityGroupsResponse, error)
- func (c *ClientWithResponses) ListDbaasServiceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDbaasServiceTypesResponse, error)
- func (c *ClientWithResponses) ListDbaasServicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDbaasServicesResponse, error)
- func (c *ClientWithResponses) ListDeployTargetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDeployTargetsResponse, error)
- func (c *ClientWithResponses) ListElasticIpsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListElasticIpsResponse, error)
- func (c *ClientWithResponses) ListEventsWithResponse(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*ListEventsResponse, error)
- func (c *ClientWithResponses) ListInstancePoolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInstancePoolsResponse, error)
- func (c *ClientWithResponses) ListInstanceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInstanceTypesResponse, error)
- func (c *ClientWithResponses) ListInstancesWithResponse(ctx context.Context, params *ListInstancesParams, ...) (*ListInstancesResponse, error)
- func (c *ClientWithResponses) ListLoadBalancersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLoadBalancersResponse, error)
- func (c *ClientWithResponses) ListPrivateNetworksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPrivateNetworksResponse, error)
- func (c *ClientWithResponses) ListQuotasWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListQuotasResponse, error)
- func (c *ClientWithResponses) ListSecurityGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSecurityGroupsResponse, error)
- func (c *ClientWithResponses) ListSksClusterVersionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSksClusterVersionsResponse, error)
- func (c *ClientWithResponses) ListSksClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSksClustersResponse, error)
- func (c *ClientWithResponses) ListSnapshotsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSnapshotsResponse, error)
- func (c *ClientWithResponses) ListSshKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSshKeysResponse, error)
- func (c *ClientWithResponses) ListTemplatesWithResponse(ctx context.Context, params *ListTemplatesParams, ...) (*ListTemplatesResponse, error)
- func (c *ClientWithResponses) ListZonesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListZonesResponse, error)
- func (c *ClientWithResponses) OperationPoller(zone string, jobID string) PollFunc
- func (c *ClientWithResponses) RebootInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RebootInstanceResponse, error)
- func (c *ClientWithResponses) RegisterSshKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RegisterSshKeyResponse, error)
- func (c *ClientWithResponses) RegisterSshKeyWithResponse(ctx context.Context, body RegisterSshKeyJSONRequestBody, ...) (*RegisterSshKeyResponse, error)
- func (c *ClientWithResponses) RegisterTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RegisterTemplateResponse, error)
- func (c *ClientWithResponses) RegisterTemplateWithResponse(ctx context.Context, body RegisterTemplateJSONRequestBody, ...) (*RegisterTemplateResponse, error)
- func (c *ClientWithResponses) ResetElasticIpFieldWithResponse(ctx context.Context, id string, field ResetElasticIpFieldParamsField, ...) (*ResetElasticIpFieldResponse, error)
- func (c *ClientWithResponses) ResetInstanceFieldWithResponse(ctx context.Context, id string, field ResetInstanceFieldParamsField, ...) (*ResetInstanceFieldResponse, error)
- func (c *ClientWithResponses) ResetInstancePoolFieldWithResponse(ctx context.Context, id string, field ResetInstancePoolFieldParamsField, ...) (*ResetInstancePoolFieldResponse, error)
- func (c *ClientWithResponses) ResetInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ResetInstanceResponse, error)
- func (c *ClientWithResponses) ResetInstanceWithResponse(ctx context.Context, id string, body ResetInstanceJSONRequestBody, ...) (*ResetInstanceResponse, error)
- func (c *ClientWithResponses) ResetLoadBalancerFieldWithResponse(ctx context.Context, id string, field ResetLoadBalancerFieldParamsField, ...) (*ResetLoadBalancerFieldResponse, error)
- func (c *ClientWithResponses) ResetLoadBalancerServiceFieldWithResponse(ctx context.Context, id string, serviceId string, ...) (*ResetLoadBalancerServiceFieldResponse, error)
- func (c *ClientWithResponses) ResetPrivateNetworkFieldWithResponse(ctx context.Context, id string, field ResetPrivateNetworkFieldParamsField, ...) (*ResetPrivateNetworkFieldResponse, error)
- func (c *ClientWithResponses) ResetSksClusterFieldWithResponse(ctx context.Context, id string, field ResetSksClusterFieldParamsField, ...) (*ResetSksClusterFieldResponse, error)
- func (c *ClientWithResponses) ResetSksNodepoolFieldWithResponse(ctx context.Context, id string, sksNodepoolId string, ...) (*ResetSksNodepoolFieldResponse, error)
- func (c *ClientWithResponses) ResizeInstanceDiskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ResizeInstanceDiskResponse, error)
- func (c *ClientWithResponses) ResizeInstanceDiskWithResponse(ctx context.Context, id string, body ResizeInstanceDiskJSONRequestBody, ...) (*ResizeInstanceDiskResponse, error)
- func (c *ClientWithResponses) RevertInstanceToSnapshotWithBodyWithResponse(ctx context.Context, instanceId string, contentType string, body io.Reader, ...) (*RevertInstanceToSnapshotResponse, error)
- func (c *ClientWithResponses) RevertInstanceToSnapshotWithResponse(ctx context.Context, instanceId string, ...) (*RevertInstanceToSnapshotResponse, error)
- func (c *ClientWithResponses) RotateSksCcmCredentialsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RotateSksCcmCredentialsResponse, error)
- func (c *ClientWithResponses) ScaleInstancePoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ScaleInstancePoolResponse, error)
- func (c *ClientWithResponses) ScaleInstancePoolWithResponse(ctx context.Context, id string, body ScaleInstancePoolJSONRequestBody, ...) (*ScaleInstancePoolResponse, error)
- func (c *ClientWithResponses) ScaleInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ScaleInstanceResponse, error)
- func (c *ClientWithResponses) ScaleInstanceWithResponse(ctx context.Context, id string, body ScaleInstanceJSONRequestBody, ...) (*ScaleInstanceResponse, 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) StartInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StartInstanceResponse, error)
- func (c *ClientWithResponses) StopInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StopInstanceResponse, error)
- func (c *ClientWithResponses) TerminateDbaasServiceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*TerminateDbaasServiceResponse, error)
- func (c *ClientWithResponses) UpdateDbaasServiceWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*UpdateDbaasServiceResponse, error)
- func (c *ClientWithResponses) UpdateDbaasServiceWithResponse(ctx context.Context, name string, body UpdateDbaasServiceJSONRequestBody, ...) (*UpdateDbaasServiceResponse, error)
- func (c *ClientWithResponses) UpdateElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateElasticIpResponse, error)
- func (c *ClientWithResponses) UpdateElasticIpWithResponse(ctx context.Context, id string, body UpdateElasticIpJSONRequestBody, ...) (*UpdateElasticIpResponse, error)
- func (c *ClientWithResponses) UpdateInstancePoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateInstancePoolResponse, error)
- func (c *ClientWithResponses) UpdateInstancePoolWithResponse(ctx context.Context, id string, body UpdateInstancePoolJSONRequestBody, ...) (*UpdateInstancePoolResponse, error)
- func (c *ClientWithResponses) UpdateInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateInstanceResponse, error)
- func (c *ClientWithResponses) UpdateInstanceWithResponse(ctx context.Context, id string, body UpdateInstanceJSONRequestBody, ...) (*UpdateInstanceResponse, error)
- func (c *ClientWithResponses) UpdateLoadBalancerServiceWithBodyWithResponse(ctx context.Context, id string, serviceId string, contentType string, ...) (*UpdateLoadBalancerServiceResponse, error)
- func (c *ClientWithResponses) UpdateLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, ...) (*UpdateLoadBalancerServiceResponse, error)
- func (c *ClientWithResponses) UpdateLoadBalancerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateLoadBalancerResponse, error)
- func (c *ClientWithResponses) UpdateLoadBalancerWithResponse(ctx context.Context, id string, body UpdateLoadBalancerJSONRequestBody, ...) (*UpdateLoadBalancerResponse, error)
- func (c *ClientWithResponses) UpdatePrivateNetworkInstanceIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdatePrivateNetworkInstanceIpResponse, error)
- func (c *ClientWithResponses) UpdatePrivateNetworkInstanceIpWithResponse(ctx context.Context, id string, ...) (*UpdatePrivateNetworkInstanceIpResponse, 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) UpgradeSksClusterServiceLevelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UpgradeSksClusterServiceLevelResponse, error)
- func (c *ClientWithResponses) UpgradeSksClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpgradeSksClusterResponse, error)
- func (c *ClientWithResponses) UpgradeSksClusterWithResponse(ctx context.Context, id string, body UpgradeSksClusterJSONRequestBody, ...) (*UpgradeSksClusterResponse, error)
- type ClientWithResponsesInterface
- type CopyTemplateJSONBody
- type CopyTemplateJSONRequestBody
- type CopyTemplateResponse
- type CreateAntiAffinityGroupJSONBody
- type CreateAntiAffinityGroupJSONRequestBody
- type CreateAntiAffinityGroupResponse
- type CreateDbaasServiceJSONBody
- type CreateDbaasServiceJSONBodyMaintenanceDow
- type CreateDbaasServiceJSONBody_UserConfig
- func (a CreateDbaasServiceJSONBody_UserConfig) Get(fieldName string) (value interface{}, found bool)
- func (a CreateDbaasServiceJSONBody_UserConfig) MarshalJSON() ([]byte, error)
- func (a *CreateDbaasServiceJSONBody_UserConfig) Set(fieldName string, value interface{})
- func (a *CreateDbaasServiceJSONBody_UserConfig) UnmarshalJSON(b []byte) error
- type CreateDbaasServiceJSONRequestBody
- type CreateDbaasServiceResponse
- type CreateElasticIpJSONBody
- type CreateElasticIpJSONRequestBody
- type CreateElasticIpResponse
- type CreateInstanceJSONBody
- type CreateInstanceJSONRequestBody
- type CreateInstancePoolJSONBody
- type CreateInstancePoolJSONRequestBody
- type CreateInstancePoolResponse
- type CreateInstanceResponse
- type CreateLoadBalancerJSONBody
- type CreateLoadBalancerJSONRequestBody
- type CreateLoadBalancerResponse
- type CreatePrivateNetworkJSONBody
- type CreatePrivateNetworkJSONRequestBody
- type CreatePrivateNetworkResponse
- type CreateSecurityGroupJSONBody
- type CreateSecurityGroupJSONRequestBody
- type CreateSecurityGroupResponse
- type CreateSksClusterJSONBody
- type CreateSksClusterJSONBodyAddons
- type CreateSksClusterJSONBodyCni
- type CreateSksClusterJSONBodyLevel
- type CreateSksClusterJSONRequestBody
- type CreateSksClusterResponse
- type CreateSksNodepoolJSONBody
- type CreateSksNodepoolJSONBodyAddons
- type CreateSksNodepoolJSONRequestBody
- type CreateSksNodepoolResponse
- type CreateSnapshotResponse
- type DbaasBackupConfig
- type DbaasNodeState
- type DbaasNodeStateProgressUpdate
- type DbaasNodeStateProgressUpdatePhase
- type DbaasNodeStateRole
- type DbaasNodeStateState
- type DbaasPlan
- type DbaasService
- type DbaasServiceAcl
- type DbaasServiceAclPermission
- type DbaasServiceBackup
- type DbaasServiceComponents
- type DbaasServiceComponentsKafkaAuthenticationMethod
- type DbaasServiceComponentsRoute
- type DbaasServiceComponentsUsage
- type DbaasServiceConnectionPools
- type DbaasServiceConnectionPoolsPoolMode
- type DbaasServiceIntegration
- type DbaasServiceIntegration_IntegrationStatus
- func (a DbaasServiceIntegration_IntegrationStatus) Get(fieldName string) (value interface{}, found bool)
- func (a DbaasServiceIntegration_IntegrationStatus) MarshalJSON() ([]byte, error)
- func (a *DbaasServiceIntegration_IntegrationStatus) Set(fieldName string, value interface{})
- func (a *DbaasServiceIntegration_IntegrationStatus) UnmarshalJSON(b []byte) error
- type DbaasServiceIntegration_UserConfig
- func (a DbaasServiceIntegration_UserConfig) Get(fieldName string) (value interface{}, found bool)
- func (a DbaasServiceIntegration_UserConfig) MarshalJSON() ([]byte, error)
- func (a *DbaasServiceIntegration_UserConfig) Set(fieldName string, value interface{})
- func (a *DbaasServiceIntegration_UserConfig) UnmarshalJSON(b []byte) error
- type DbaasServiceMaintenance
- type DbaasServiceMaintenanceDow
- type DbaasServiceName
- type DbaasServiceNotification
- type DbaasServiceNotificationLevel
- type DbaasServiceNotificationMetadata
- type DbaasServiceNotificationType
- type DbaasServiceState
- type DbaasServiceType
- type DbaasServiceTypeName
- type DbaasServiceType_UserConfigSchema
- func (a DbaasServiceType_UserConfigSchema) Get(fieldName string) (value interface{}, found bool)
- func (a DbaasServiceType_UserConfigSchema) MarshalJSON() ([]byte, error)
- func (a *DbaasServiceType_UserConfigSchema) Set(fieldName string, value interface{})
- func (a *DbaasServiceType_UserConfigSchema) UnmarshalJSON(b []byte) error
- type DbaasServiceUpdate
- type DbaasServiceUser
- type DbaasServiceUserAccessControl
- type DbaasServiceUserAuthentication
- type DbaasService_ConnectionInfo
- func (a DbaasService_ConnectionInfo) Get(fieldName string) (value interface{}, found bool)
- func (a DbaasService_ConnectionInfo) MarshalJSON() ([]byte, error)
- func (a *DbaasService_ConnectionInfo) Set(fieldName string, value interface{})
- func (a *DbaasService_ConnectionInfo) UnmarshalJSON(b []byte) error
- type DbaasService_Features
- type DbaasService_Metadata
- type DbaasService_UriParams
- type DbaasService_UserConfig
- type DeleteAntiAffinityGroupResponse
- type DeleteElasticIpResponse
- type DeleteInstancePoolResponse
- type DeleteInstanceResponse
- type DeleteLoadBalancerResponse
- type DeleteLoadBalancerServiceResponse
- type DeletePrivateNetworkResponse
- type DeleteRuleFromSecurityGroupResponse
- type DeleteSecurityGroupResponse
- type DeleteSksClusterResponse
- type DeleteSksNodepoolResponse
- type DeleteSnapshotResponse
- type DeleteSshKeyResponse
- type DeleteTemplateResponse
- type DeployTarget
- type DeployTargetType
- type DetachInstanceFromElasticIpJSONBody
- type DetachInstanceFromElasticIpJSONRequestBody
- type DetachInstanceFromElasticIpResponse
- type DetachInstanceFromPrivateNetworkJSONBody
- type DetachInstanceFromPrivateNetworkJSONRequestBody
- type DetachInstanceFromPrivateNetworkResponse
- type DetachInstanceFromSecurityGroupJSONBody
- type DetachInstanceFromSecurityGroupJSONRequestBody
- type DetachInstanceFromSecurityGroupResponse
- type ElasticIp
- type ElasticIpHealthcheck
- type ElasticIpHealthcheckMode
- 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 GetDbaasCaCertificateResponse
- type GetDbaasServiceResponse
- type GetDbaasServiceTypeResponse
- type GetDeployTargetResponse
- type GetElasticIpResponse
- type GetInstancePoolResponse
- type GetInstanceResponse
- type GetInstanceTypeResponse
- type GetLoadBalancerResponse
- type GetLoadBalancerServiceResponse
- type GetOperationResponse
- type GetPrivateNetworkResponse
- type GetQuotaResponse
- type GetSecurityGroupResponse
- type GetSksClusterAuthorityCertParamsAuthority
- type GetSksClusterAuthorityCertResponse
- type GetSksClusterResponse
- type GetSksNodepoolResponse
- type GetSnapshotResponse
- type GetSosPresignedUrlParams
- type GetSosPresignedUrlResponse
- type GetSshKeyResponse
- type GetTemplateResponse
- type HttpRequestDoer
- type Instance
- type InstancePool
- type InstancePoolState
- type InstanceState
- type InstanceType
- type InstanceTypeFamily
- type InstanceTypeSize
- type Labels
- type ListAntiAffinityGroupsResponse
- type ListDbaasServiceTypesResponse
- type ListDbaasServicesResponse
- type ListDeployTargetsResponse
- type ListElasticIpsResponse
- type ListEventsParams
- type ListEventsResponse
- type ListInstancePoolsResponse
- type ListInstanceTypesResponse
- type ListInstancesParams
- type ListInstancesResponse
- type ListLoadBalancersResponse
- type ListPrivateNetworksResponse
- type ListQuotasResponse
- type ListSecurityGroupsResponse
- type ListSksClusterVersionsResponse
- type ListSksClustersResponse
- type ListSnapshotsResponse
- type ListSshKeysResponse
- type ListTemplatesParams
- type ListTemplatesParamsVisibility
- type ListTemplatesResponse
- type ListZonesResponse
- type LoadBalancer
- type LoadBalancerServerStatus
- type LoadBalancerServerStatusStatus
- type LoadBalancerService
- type LoadBalancerServiceHealthcheck
- type LoadBalancerServiceHealthcheckMode
- type LoadBalancerServiceProtocol
- type LoadBalancerServiceState
- type LoadBalancerServiceStrategy
- type LoadBalancerState
- type Manager
- type ManagerType
- type MockClient
- type Operation
- type OperationReason
- type OperationState
- type PollFunc
- type Poller
- type PrivateNetwork
- type PrivateNetworkLease
- type Quota
- type RebootInstanceResponse
- type Reference
- type RegisterSshKeyJSONBody
- type RegisterSshKeyJSONRequestBody
- type RegisterSshKeyResponse
- type RegisterTemplateJSONBody
- type RegisterTemplateJSONBodyBootMode
- type RegisterTemplateJSONRequestBody
- type RegisterTemplateResponse
- type RequestEditorFn
- type ResetElasticIpFieldParamsField
- type ResetElasticIpFieldResponse
- type ResetInstanceFieldParamsField
- type ResetInstanceFieldResponse
- type ResetInstanceJSONBody
- type ResetInstanceJSONRequestBody
- type ResetInstancePoolFieldParamsField
- type ResetInstancePoolFieldResponse
- type ResetInstanceResponse
- type ResetLoadBalancerFieldParamsField
- type ResetLoadBalancerFieldResponse
- type ResetLoadBalancerServiceFieldParamsField
- type ResetLoadBalancerServiceFieldResponse
- type ResetPrivateNetworkFieldParamsField
- type ResetPrivateNetworkFieldResponse
- type ResetSksClusterFieldParamsField
- type ResetSksClusterFieldResponse
- type ResetSksNodepoolFieldParamsField
- type ResetSksNodepoolFieldResponse
- type ResizeInstanceDiskJSONBody
- type ResizeInstanceDiskJSONRequestBody
- type ResizeInstanceDiskResponse
- type RevertInstanceToSnapshotJSONBody
- type RevertInstanceToSnapshotJSONRequestBody
- type RevertInstanceToSnapshotResponse
- type RotateSksCcmCredentialsResponse
- type ScaleInstanceJSONBody
- type ScaleInstanceJSONRequestBody
- type ScaleInstancePoolJSONBody
- type ScaleInstancePoolJSONRequestBody
- type ScaleInstancePoolResponse
- type ScaleInstanceResponse
- type ScaleSksNodepoolJSONBody
- type ScaleSksNodepoolJSONRequestBody
- type ScaleSksNodepoolResponse
- type SecurityGroup
- type SecurityGroupResource
- type SecurityGroupRule
- type SecurityGroupRuleFlowDirection
- type SecurityGroupRuleProtocol
- type SksCluster
- type SksClusterAddons
- type SksClusterCni
- type SksClusterLevel
- type SksClusterState
- type SksKubeconfigRequest
- type SksNodepool
- type SksNodepoolAddons
- type SksNodepoolState
- type Snapshot
- type SnapshotState
- type SshKey
- type StartInstanceResponse
- type StopInstanceResponse
- type Template
- type TemplateBootMode
- type TemplateVisibility
- type TerminateDbaasServiceResponse
- type UpdateDbaasServiceJSONBody
- type UpdateDbaasServiceJSONBodyMaintenanceDow
- type UpdateDbaasServiceJSONBody_UserConfig
- func (a UpdateDbaasServiceJSONBody_UserConfig) Get(fieldName string) (value interface{}, found bool)
- func (a UpdateDbaasServiceJSONBody_UserConfig) MarshalJSON() ([]byte, error)
- func (a *UpdateDbaasServiceJSONBody_UserConfig) Set(fieldName string, value interface{})
- func (a *UpdateDbaasServiceJSONBody_UserConfig) UnmarshalJSON(b []byte) error
- type UpdateDbaasServiceJSONRequestBody
- type UpdateDbaasServiceResponse
- type UpdateElasticIpJSONBody
- type UpdateElasticIpJSONRequestBody
- type UpdateElasticIpResponse
- type UpdateInstanceJSONBody
- type UpdateInstanceJSONRequestBody
- type UpdateInstancePoolJSONBody
- type UpdateInstancePoolJSONRequestBody
- type UpdateInstancePoolResponse
- type UpdateInstanceResponse
- type UpdateLoadBalancerJSONBody
- type UpdateLoadBalancerJSONRequestBody
- type UpdateLoadBalancerResponse
- type UpdateLoadBalancerServiceJSONBody
- type UpdateLoadBalancerServiceJSONBodyProtocol
- type UpdateLoadBalancerServiceJSONBodyStrategy
- type UpdateLoadBalancerServiceJSONRequestBody
- type UpdateLoadBalancerServiceResponse
- type UpdatePrivateNetworkInstanceIpJSONBody
- type UpdatePrivateNetworkInstanceIpJSONRequestBody
- type UpdatePrivateNetworkInstanceIpResponse
- 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 UpgradeSksClusterServiceLevelResponse
- type Zone
- type ZoneName
Constants ¶
const ( // DefaultPollingInterval represents the default polling interval used in Poller. DefaultPollingInterval = 3 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func NewAddRuleToSecurityGroupRequest ¶
func NewAddRuleToSecurityGroupRequest(server string, id string, body AddRuleToSecurityGroupJSONRequestBody) (*http.Request, error)
NewAddRuleToSecurityGroupRequest calls the generic AddRuleToSecurityGroup builder with application/json body
func NewAddRuleToSecurityGroupRequestWithBody ¶
func NewAddRuleToSecurityGroupRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewAddRuleToSecurityGroupRequestWithBody generates requests for AddRuleToSecurityGroup with any type of body
func NewAddServiceToLoadBalancerRequest ¶
func NewAddServiceToLoadBalancerRequest(server string, id string, body AddServiceToLoadBalancerJSONRequestBody) (*http.Request, error)
NewAddServiceToLoadBalancerRequest calls the generic AddServiceToLoadBalancer builder with application/json body
func NewAddServiceToLoadBalancerRequestWithBody ¶
func NewAddServiceToLoadBalancerRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewAddServiceToLoadBalancerRequestWithBody generates requests for AddServiceToLoadBalancer with any type of body
func NewAttachInstanceToElasticIpRequest ¶ added in v0.48.0
func NewAttachInstanceToElasticIpRequest(server string, id string, body AttachInstanceToElasticIpJSONRequestBody) (*http.Request, error)
NewAttachInstanceToElasticIpRequest calls the generic AttachInstanceToElasticIp builder with application/json body
func NewAttachInstanceToElasticIpRequestWithBody ¶ added in v0.48.0
func NewAttachInstanceToElasticIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewAttachInstanceToElasticIpRequestWithBody generates requests for AttachInstanceToElasticIp with any type of body
func NewAttachInstanceToPrivateNetworkRequest ¶ added in v0.49.0
func NewAttachInstanceToPrivateNetworkRequest(server string, id string, body AttachInstanceToPrivateNetworkJSONRequestBody) (*http.Request, error)
NewAttachInstanceToPrivateNetworkRequest calls the generic AttachInstanceToPrivateNetwork builder with application/json body
func NewAttachInstanceToPrivateNetworkRequestWithBody ¶ added in v0.49.0
func NewAttachInstanceToPrivateNetworkRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewAttachInstanceToPrivateNetworkRequestWithBody generates requests for AttachInstanceToPrivateNetwork with any type of body
func NewAttachInstanceToSecurityGroupRequest ¶ added in v0.49.0
func NewAttachInstanceToSecurityGroupRequest(server string, id string, body AttachInstanceToSecurityGroupJSONRequestBody) (*http.Request, error)
NewAttachInstanceToSecurityGroupRequest calls the generic AttachInstanceToSecurityGroup builder with application/json body
func NewAttachInstanceToSecurityGroupRequestWithBody ¶ added in v0.49.0
func NewAttachInstanceToSecurityGroupRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewAttachInstanceToSecurityGroupRequestWithBody generates requests for AttachInstanceToSecurityGroup with any type of body
func NewCopyTemplateRequest ¶
func NewCopyTemplateRequest(server string, id string, body CopyTemplateJSONRequestBody) (*http.Request, error)
NewCopyTemplateRequest calls the generic CopyTemplate builder with application/json body
func NewCopyTemplateRequestWithBody ¶
func NewCopyTemplateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCopyTemplateRequestWithBody generates requests for CopyTemplate with any type of body
func NewCreateAntiAffinityGroupRequest ¶
func NewCreateAntiAffinityGroupRequest(server string, body CreateAntiAffinityGroupJSONRequestBody) (*http.Request, error)
NewCreateAntiAffinityGroupRequest calls the generic CreateAntiAffinityGroup builder with application/json body
func NewCreateAntiAffinityGroupRequestWithBody ¶
func NewCreateAntiAffinityGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAntiAffinityGroupRequestWithBody generates requests for CreateAntiAffinityGroup with any type of body
func NewCreateDbaasServiceRequest ¶ added in v0.57.0
func NewCreateDbaasServiceRequest(server string, body CreateDbaasServiceJSONRequestBody) (*http.Request, error)
NewCreateDbaasServiceRequest calls the generic CreateDbaasService builder with application/json body
func NewCreateDbaasServiceRequestWithBody ¶ added in v0.57.0
func NewCreateDbaasServiceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateDbaasServiceRequestWithBody generates requests for CreateDbaasService with any type of body
func NewCreateElasticIpRequest ¶ added in v0.44.0
func NewCreateElasticIpRequest(server string, body CreateElasticIpJSONRequestBody) (*http.Request, error)
NewCreateElasticIpRequest calls the generic CreateElasticIp builder with application/json body
func NewCreateElasticIpRequestWithBody ¶ added in v0.44.0
func NewCreateElasticIpRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateElasticIpRequestWithBody generates requests for CreateElasticIp with any type of body
func NewCreateInstancePoolRequest ¶
func NewCreateInstancePoolRequest(server string, body CreateInstancePoolJSONRequestBody) (*http.Request, error)
NewCreateInstancePoolRequest calls the generic CreateInstancePool builder with application/json body
func NewCreateInstancePoolRequestWithBody ¶
func NewCreateInstancePoolRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateInstancePoolRequestWithBody generates requests for CreateInstancePool with any type of body
func NewCreateInstanceRequest ¶
func NewCreateInstanceRequest(server string, body CreateInstanceJSONRequestBody) (*http.Request, error)
NewCreateInstanceRequest calls the generic CreateInstance builder with application/json body
func NewCreateInstanceRequestWithBody ¶
func NewCreateInstanceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateInstanceRequestWithBody generates requests for CreateInstance with any type of body
func NewCreateLoadBalancerRequest ¶
func NewCreateLoadBalancerRequest(server string, body CreateLoadBalancerJSONRequestBody) (*http.Request, error)
NewCreateLoadBalancerRequest calls the generic CreateLoadBalancer builder with application/json body
func NewCreateLoadBalancerRequestWithBody ¶
func NewCreateLoadBalancerRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateLoadBalancerRequestWithBody generates requests for CreateLoadBalancer with any type of body
func NewCreatePrivateNetworkRequest ¶
func NewCreatePrivateNetworkRequest(server string, body CreatePrivateNetworkJSONRequestBody) (*http.Request, error)
NewCreatePrivateNetworkRequest calls the generic CreatePrivateNetwork builder with application/json body
func NewCreatePrivateNetworkRequestWithBody ¶
func NewCreatePrivateNetworkRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePrivateNetworkRequestWithBody generates requests for CreatePrivateNetwork with any type of body
func NewCreateSecurityGroupRequest ¶
func NewCreateSecurityGroupRequest(server string, body CreateSecurityGroupJSONRequestBody) (*http.Request, error)
NewCreateSecurityGroupRequest calls the generic CreateSecurityGroup builder with application/json body
func NewCreateSecurityGroupRequestWithBody ¶
func NewCreateSecurityGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSecurityGroupRequestWithBody generates requests for CreateSecurityGroup with any type of body
func NewCreateSksClusterRequest ¶
func NewCreateSksClusterRequest(server string, body CreateSksClusterJSONRequestBody) (*http.Request, error)
NewCreateSksClusterRequest calls the generic CreateSksCluster builder with application/json body
func NewCreateSksClusterRequestWithBody ¶
func NewCreateSksClusterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSksClusterRequestWithBody generates requests for CreateSksCluster with any type of body
func NewCreateSksNodepoolRequest ¶
func NewCreateSksNodepoolRequest(server string, id string, body CreateSksNodepoolJSONRequestBody) (*http.Request, error)
NewCreateSksNodepoolRequest calls the generic CreateSksNodepool builder with application/json body
func NewCreateSksNodepoolRequestWithBody ¶
func NewCreateSksNodepoolRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSksNodepoolRequestWithBody generates requests for CreateSksNodepool with any type of body
func NewCreateSnapshotRequest ¶
NewCreateSnapshotRequest generates requests for CreateSnapshot
func NewDeleteAntiAffinityGroupRequest ¶
NewDeleteAntiAffinityGroupRequest generates requests for DeleteAntiAffinityGroup
func NewDeleteElasticIpRequest ¶ added in v0.44.0
NewDeleteElasticIpRequest generates requests for DeleteElasticIp
func NewDeleteInstancePoolRequest ¶
NewDeleteInstancePoolRequest generates requests for DeleteInstancePool
func NewDeleteInstanceRequest ¶ added in v0.48.0
NewDeleteInstanceRequest generates requests for DeleteInstance
func NewDeleteLoadBalancerRequest ¶
NewDeleteLoadBalancerRequest generates requests for DeleteLoadBalancer
func NewDeleteLoadBalancerServiceRequest ¶
func NewDeleteLoadBalancerServiceRequest(server string, id string, serviceId string) (*http.Request, error)
NewDeleteLoadBalancerServiceRequest generates requests for DeleteLoadBalancerService
func NewDeletePrivateNetworkRequest ¶
NewDeletePrivateNetworkRequest generates requests for DeletePrivateNetwork
func NewDeleteRuleFromSecurityGroupRequest ¶
func NewDeleteRuleFromSecurityGroupRequest(server string, id string, ruleId string) (*http.Request, error)
NewDeleteRuleFromSecurityGroupRequest generates requests for DeleteRuleFromSecurityGroup
func NewDeleteSecurityGroupRequest ¶
NewDeleteSecurityGroupRequest generates requests for DeleteSecurityGroup
func NewDeleteSksClusterRequest ¶
NewDeleteSksClusterRequest generates requests for DeleteSksCluster
func NewDeleteSksNodepoolRequest ¶
func NewDeleteSksNodepoolRequest(server string, id string, sksNodepoolId string) (*http.Request, error)
NewDeleteSksNodepoolRequest generates requests for DeleteSksNodepool
func NewDeleteSnapshotRequest ¶
NewDeleteSnapshotRequest generates requests for DeleteSnapshot
func NewDeleteSshKeyRequest ¶ added in v0.61.0
NewDeleteSshKeyRequest generates requests for DeleteSshKey
func NewDeleteTemplateRequest ¶
NewDeleteTemplateRequest generates requests for DeleteTemplate
func NewDetachInstanceFromElasticIpRequest ¶ added in v0.49.0
func NewDetachInstanceFromElasticIpRequest(server string, id string, body DetachInstanceFromElasticIpJSONRequestBody) (*http.Request, error)
NewDetachInstanceFromElasticIpRequest calls the generic DetachInstanceFromElasticIp builder with application/json body
func NewDetachInstanceFromElasticIpRequestWithBody ¶ added in v0.49.0
func NewDetachInstanceFromElasticIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDetachInstanceFromElasticIpRequestWithBody generates requests for DetachInstanceFromElasticIp with any type of body
func NewDetachInstanceFromPrivateNetworkRequest ¶ added in v0.49.0
func NewDetachInstanceFromPrivateNetworkRequest(server string, id string, body DetachInstanceFromPrivateNetworkJSONRequestBody) (*http.Request, error)
NewDetachInstanceFromPrivateNetworkRequest calls the generic DetachInstanceFromPrivateNetwork builder with application/json body
func NewDetachInstanceFromPrivateNetworkRequestWithBody ¶ added in v0.49.0
func NewDetachInstanceFromPrivateNetworkRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDetachInstanceFromPrivateNetworkRequestWithBody generates requests for DetachInstanceFromPrivateNetwork with any type of body
func NewDetachInstanceFromSecurityGroupRequest ¶ added in v0.49.0
func NewDetachInstanceFromSecurityGroupRequest(server string, id string, body DetachInstanceFromSecurityGroupJSONRequestBody) (*http.Request, error)
NewDetachInstanceFromSecurityGroupRequest calls the generic DetachInstanceFromSecurityGroup builder with application/json body
func NewDetachInstanceFromSecurityGroupRequestWithBody ¶ added in v0.49.0
func NewDetachInstanceFromSecurityGroupRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDetachInstanceFromSecurityGroupRequestWithBody generates requests for DetachInstanceFromSecurityGroup with any type of body
func NewEvictInstancePoolMembersRequest ¶
func NewEvictInstancePoolMembersRequest(server string, id string, body EvictInstancePoolMembersJSONRequestBody) (*http.Request, error)
NewEvictInstancePoolMembersRequest calls the generic EvictInstancePoolMembers builder with application/json body
func NewEvictInstancePoolMembersRequestWithBody ¶
func NewEvictInstancePoolMembersRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewEvictInstancePoolMembersRequestWithBody generates requests for EvictInstancePoolMembers with any type of body
func NewEvictSksNodepoolMembersRequest ¶
func NewEvictSksNodepoolMembersRequest(server string, id string, sksNodepoolId string, body EvictSksNodepoolMembersJSONRequestBody) (*http.Request, error)
NewEvictSksNodepoolMembersRequest calls the generic EvictSksNodepoolMembers builder with application/json body
func NewEvictSksNodepoolMembersRequestWithBody ¶
func NewEvictSksNodepoolMembersRequestWithBody(server string, id string, sksNodepoolId string, contentType string, body io.Reader) (*http.Request, error)
NewEvictSksNodepoolMembersRequestWithBody generates requests for EvictSksNodepoolMembers with any type of body
func NewExportSnapshotRequest ¶
NewExportSnapshotRequest generates requests for ExportSnapshot
func NewGenerateSksClusterKubeconfigRequest ¶
func NewGenerateSksClusterKubeconfigRequest(server string, id string, body GenerateSksClusterKubeconfigJSONRequestBody) (*http.Request, error)
NewGenerateSksClusterKubeconfigRequest calls the generic GenerateSksClusterKubeconfig builder with application/json body
func NewGenerateSksClusterKubeconfigRequestWithBody ¶
func NewGenerateSksClusterKubeconfigRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewGenerateSksClusterKubeconfigRequestWithBody generates requests for GenerateSksClusterKubeconfig with any type of body
func NewGetAntiAffinityGroupRequest ¶
NewGetAntiAffinityGroupRequest generates requests for GetAntiAffinityGroup
func NewGetDbaasCaCertificateRequest ¶ added in v0.57.0
NewGetDbaasCaCertificateRequest generates requests for GetDbaasCaCertificate
func NewGetDbaasServiceRequest ¶ added in v0.57.0
NewGetDbaasServiceRequest generates requests for GetDbaasService
func NewGetDbaasServiceTypeRequest ¶ added in v0.57.0
NewGetDbaasServiceTypeRequest generates requests for GetDbaasServiceType
func NewGetDeployTargetRequest ¶ added in v0.48.0
NewGetDeployTargetRequest generates requests for GetDeployTarget
func NewGetElasticIpRequest ¶
NewGetElasticIpRequest generates requests for GetElasticIp
func NewGetInstancePoolRequest ¶
NewGetInstancePoolRequest generates requests for GetInstancePool
func NewGetInstanceRequest ¶ added in v0.48.0
NewGetInstanceRequest generates requests for GetInstance
func NewGetInstanceTypeRequest ¶
NewGetInstanceTypeRequest generates requests for GetInstanceType
func NewGetLoadBalancerRequest ¶
NewGetLoadBalancerRequest generates requests for GetLoadBalancer
func NewGetLoadBalancerServiceRequest ¶
func NewGetLoadBalancerServiceRequest(server string, id string, serviceId string) (*http.Request, error)
NewGetLoadBalancerServiceRequest generates requests for GetLoadBalancerService
func NewGetOperationRequest ¶
NewGetOperationRequest generates requests for GetOperation
func NewGetPrivateNetworkRequest ¶
NewGetPrivateNetworkRequest generates requests for GetPrivateNetwork
func NewGetQuotaRequest ¶ added in v0.69.0
NewGetQuotaRequest generates requests for GetQuota
func NewGetSecurityGroupRequest ¶
NewGetSecurityGroupRequest generates requests for GetSecurityGroup
func NewGetSksClusterAuthorityCertRequest ¶ added in v0.46.0
func NewGetSksClusterAuthorityCertRequest(server string, id string, authority GetSksClusterAuthorityCertParamsAuthority) (*http.Request, error)
NewGetSksClusterAuthorityCertRequest generates requests for GetSksClusterAuthorityCert
func NewGetSksClusterRequest ¶
NewGetSksClusterRequest generates requests for GetSksCluster
func NewGetSksNodepoolRequest ¶
func NewGetSksNodepoolRequest(server string, id string, sksNodepoolId string) (*http.Request, error)
NewGetSksNodepoolRequest generates requests for GetSksNodepool
func NewGetSnapshotRequest ¶
NewGetSnapshotRequest generates requests for GetSnapshot
func NewGetSosPresignedUrlRequest ¶
func NewGetSosPresignedUrlRequest(server string, bucket string, params *GetSosPresignedUrlParams) (*http.Request, error)
NewGetSosPresignedUrlRequest generates requests for GetSosPresignedUrl
func NewGetSshKeyRequest ¶
NewGetSshKeyRequest generates requests for GetSshKey
func NewGetTemplateRequest ¶
NewGetTemplateRequest generates requests for GetTemplate
func NewListAntiAffinityGroupsRequest ¶
NewListAntiAffinityGroupsRequest generates requests for ListAntiAffinityGroups
func NewListDbaasServiceTypesRequest ¶ added in v0.57.0
NewListDbaasServiceTypesRequest generates requests for ListDbaasServiceTypes
func NewListDbaasServicesRequest ¶ added in v0.57.0
NewListDbaasServicesRequest generates requests for ListDbaasServices
func NewListDeployTargetsRequest ¶ added in v0.48.0
NewListDeployTargetsRequest generates requests for ListDeployTargets
func NewListElasticIpsRequest ¶ added in v0.44.0
NewListElasticIpsRequest generates requests for ListElasticIps
func NewListEventsRequest ¶
func NewListEventsRequest(server string, params *ListEventsParams) (*http.Request, error)
NewListEventsRequest generates requests for ListEvents
func NewListInstancePoolsRequest ¶
NewListInstancePoolsRequest generates requests for ListInstancePools
func NewListInstanceTypesRequest ¶
NewListInstanceTypesRequest generates requests for ListInstanceTypes
func NewListInstancesRequest ¶ added in v0.48.0
func NewListInstancesRequest(server string, params *ListInstancesParams) (*http.Request, error)
NewListInstancesRequest generates requests for ListInstances
func NewListLoadBalancersRequest ¶
NewListLoadBalancersRequest generates requests for ListLoadBalancers
func NewListPrivateNetworksRequest ¶
NewListPrivateNetworksRequest generates requests for ListPrivateNetworks
func NewListQuotasRequest ¶ added in v0.69.0
NewListQuotasRequest generates requests for ListQuotas
func NewListSecurityGroupsRequest ¶
NewListSecurityGroupsRequest generates requests for ListSecurityGroups
func NewListSksClusterVersionsRequest ¶
NewListSksClusterVersionsRequest generates requests for ListSksClusterVersions
func NewListSksClustersRequest ¶
NewListSksClustersRequest generates requests for ListSksClusters
func NewListSnapshotsRequest ¶
NewListSnapshotsRequest generates requests for ListSnapshots
func NewListSshKeysRequest ¶ added in v0.57.0
NewListSshKeysRequest generates requests for ListSshKeys
func NewListTemplatesRequest ¶
func NewListTemplatesRequest(server string, params *ListTemplatesParams) (*http.Request, error)
NewListTemplatesRequest generates requests for ListTemplates
func NewListZonesRequest ¶
NewListZonesRequest generates requests for ListZones
func NewRebootInstanceRequest ¶ added in v0.61.0
NewRebootInstanceRequest generates requests for RebootInstance
func NewRegisterSshKeyRequest ¶ added in v0.58.0
func NewRegisterSshKeyRequest(server string, body RegisterSshKeyJSONRequestBody) (*http.Request, error)
NewRegisterSshKeyRequest calls the generic RegisterSshKey builder with application/json body
func NewRegisterSshKeyRequestWithBody ¶ added in v0.60.0
func NewRegisterSshKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRegisterSshKeyRequestWithBody generates requests for RegisterSshKey with any type of body
func NewRegisterTemplateRequest ¶
func NewRegisterTemplateRequest(server string, body RegisterTemplateJSONRequestBody) (*http.Request, error)
NewRegisterTemplateRequest calls the generic RegisterTemplate builder with application/json body
func NewRegisterTemplateRequestWithBody ¶
func NewRegisterTemplateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRegisterTemplateRequestWithBody generates requests for RegisterTemplate with any type of body
func NewResetElasticIpFieldRequest ¶ added in v0.44.0
func NewResetElasticIpFieldRequest(server string, id string, field ResetElasticIpFieldParamsField) (*http.Request, error)
NewResetElasticIpFieldRequest generates requests for ResetElasticIpField
func NewResetInstanceFieldRequest ¶ added in v0.57.0
func NewResetInstanceFieldRequest(server string, id string, field ResetInstanceFieldParamsField) (*http.Request, error)
NewResetInstanceFieldRequest generates requests for ResetInstanceField
func NewResetInstancePoolFieldRequest ¶ added in v0.44.0
func NewResetInstancePoolFieldRequest(server string, id string, field ResetInstancePoolFieldParamsField) (*http.Request, error)
NewResetInstancePoolFieldRequest generates requests for ResetInstancePoolField
func NewResetInstanceRequest ¶ added in v0.69.0
func NewResetInstanceRequest(server string, id string, body ResetInstanceJSONRequestBody) (*http.Request, error)
NewResetInstanceRequest calls the generic ResetInstance builder with application/json body
func NewResetInstanceRequestWithBody ¶ added in v0.69.0
func NewResetInstanceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewResetInstanceRequestWithBody generates requests for ResetInstance with any type of body
func NewResetLoadBalancerFieldRequest ¶ added in v0.52.0
func NewResetLoadBalancerFieldRequest(server string, id string, field ResetLoadBalancerFieldParamsField) (*http.Request, error)
NewResetLoadBalancerFieldRequest generates requests for ResetLoadBalancerField
func NewResetLoadBalancerServiceFieldRequest ¶ added in v0.57.0
func NewResetLoadBalancerServiceFieldRequest(server string, id string, serviceId string, field ResetLoadBalancerServiceFieldParamsField) (*http.Request, error)
NewResetLoadBalancerServiceFieldRequest generates requests for ResetLoadBalancerServiceField
func NewResetPrivateNetworkFieldRequest ¶ added in v0.61.0
func NewResetPrivateNetworkFieldRequest(server string, id string, field ResetPrivateNetworkFieldParamsField) (*http.Request, error)
NewResetPrivateNetworkFieldRequest generates requests for ResetPrivateNetworkField
func NewResetSksClusterFieldRequest ¶ added in v0.44.0
func NewResetSksClusterFieldRequest(server string, id string, field ResetSksClusterFieldParamsField) (*http.Request, error)
NewResetSksClusterFieldRequest generates requests for ResetSksClusterField
func NewResetSksNodepoolFieldRequest ¶ added in v0.44.0
func NewResetSksNodepoolFieldRequest(server string, id string, sksNodepoolId string, field ResetSksNodepoolFieldParamsField) (*http.Request, error)
NewResetSksNodepoolFieldRequest generates requests for ResetSksNodepoolField
func NewResizeInstanceDiskRequest ¶ added in v0.69.0
func NewResizeInstanceDiskRequest(server string, id string, body ResizeInstanceDiskJSONRequestBody) (*http.Request, error)
NewResizeInstanceDiskRequest calls the generic ResizeInstanceDisk builder with application/json body
func NewResizeInstanceDiskRequestWithBody ¶ added in v0.69.0
func NewResizeInstanceDiskRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewResizeInstanceDiskRequestWithBody generates requests for ResizeInstanceDisk with any type of body
func NewRevertInstanceToSnapshotRequest ¶
func NewRevertInstanceToSnapshotRequest(server string, instanceId string, body RevertInstanceToSnapshotJSONRequestBody) (*http.Request, error)
NewRevertInstanceToSnapshotRequest calls the generic RevertInstanceToSnapshot builder with application/json body
func NewRevertInstanceToSnapshotRequestWithBody ¶
func NewRevertInstanceToSnapshotRequestWithBody(server string, instanceId string, contentType string, body io.Reader) (*http.Request, error)
NewRevertInstanceToSnapshotRequestWithBody generates requests for RevertInstanceToSnapshot with any type of body
func NewRotateSksCcmCredentialsRequest ¶ added in v0.44.0
NewRotateSksCcmCredentialsRequest generates requests for RotateSksCcmCredentials
func NewScaleInstancePoolRequest ¶
func NewScaleInstancePoolRequest(server string, id string, body ScaleInstancePoolJSONRequestBody) (*http.Request, error)
NewScaleInstancePoolRequest calls the generic ScaleInstancePool builder with application/json body
func NewScaleInstancePoolRequestWithBody ¶
func NewScaleInstancePoolRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewScaleInstancePoolRequestWithBody generates requests for ScaleInstancePool with any type of body
func NewScaleInstanceRequest ¶ added in v0.69.0
func NewScaleInstanceRequest(server string, id string, body ScaleInstanceJSONRequestBody) (*http.Request, error)
NewScaleInstanceRequest calls the generic ScaleInstance builder with application/json body
func NewScaleInstanceRequestWithBody ¶ added in v0.69.0
func NewScaleInstanceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewScaleInstanceRequestWithBody generates requests for ScaleInstance with any type of body
func NewScaleSksNodepoolRequest ¶
func NewScaleSksNodepoolRequest(server string, id string, sksNodepoolId string, body ScaleSksNodepoolJSONRequestBody) (*http.Request, error)
NewScaleSksNodepoolRequest calls the generic ScaleSksNodepool builder with application/json body
func NewScaleSksNodepoolRequestWithBody ¶
func NewScaleSksNodepoolRequestWithBody(server string, id string, sksNodepoolId string, contentType string, body io.Reader) (*http.Request, error)
NewScaleSksNodepoolRequestWithBody generates requests for ScaleSksNodepool with any type of body
func NewStartInstanceRequest ¶ added in v0.52.0
NewStartInstanceRequest generates requests for StartInstance
func NewStopInstanceRequest ¶ added in v0.52.0
NewStopInstanceRequest generates requests for StopInstance
func NewTerminateDbaasServiceRequest ¶ added in v0.57.0
NewTerminateDbaasServiceRequest generates requests for TerminateDbaasService
func NewUpdateDbaasServiceRequest ¶ added in v0.57.0
func NewUpdateDbaasServiceRequest(server string, name string, body UpdateDbaasServiceJSONRequestBody) (*http.Request, error)
NewUpdateDbaasServiceRequest calls the generic UpdateDbaasService builder with application/json body
func NewUpdateDbaasServiceRequestWithBody ¶ added in v0.57.0
func NewUpdateDbaasServiceRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDbaasServiceRequestWithBody generates requests for UpdateDbaasService with any type of body
func NewUpdateElasticIpRequest ¶ added in v0.44.0
func NewUpdateElasticIpRequest(server string, id string, body UpdateElasticIpJSONRequestBody) (*http.Request, error)
NewUpdateElasticIpRequest calls the generic UpdateElasticIp builder with application/json body
func NewUpdateElasticIpRequestWithBody ¶ added in v0.44.0
func NewUpdateElasticIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateElasticIpRequestWithBody generates requests for UpdateElasticIp with any type of body
func NewUpdateInstancePoolRequest ¶
func NewUpdateInstancePoolRequest(server string, id string, body UpdateInstancePoolJSONRequestBody) (*http.Request, error)
NewUpdateInstancePoolRequest calls the generic UpdateInstancePool builder with application/json body
func NewUpdateInstancePoolRequestWithBody ¶
func NewUpdateInstancePoolRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateInstancePoolRequestWithBody generates requests for UpdateInstancePool with any type of body
func NewUpdateInstanceRequest ¶ added in v0.48.0
func NewUpdateInstanceRequest(server string, id string, body UpdateInstanceJSONRequestBody) (*http.Request, error)
NewUpdateInstanceRequest calls the generic UpdateInstance builder with application/json body
func NewUpdateInstanceRequestWithBody ¶ added in v0.48.0
func NewUpdateInstanceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateInstanceRequestWithBody generates requests for UpdateInstance with any type of body
func NewUpdateLoadBalancerRequest ¶
func NewUpdateLoadBalancerRequest(server string, id string, body UpdateLoadBalancerJSONRequestBody) (*http.Request, error)
NewUpdateLoadBalancerRequest calls the generic UpdateLoadBalancer builder with application/json body
func NewUpdateLoadBalancerRequestWithBody ¶
func NewUpdateLoadBalancerRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateLoadBalancerRequestWithBody generates requests for UpdateLoadBalancer with any type of body
func NewUpdateLoadBalancerServiceRequest ¶
func NewUpdateLoadBalancerServiceRequest(server string, id string, serviceId string, body UpdateLoadBalancerServiceJSONRequestBody) (*http.Request, error)
NewUpdateLoadBalancerServiceRequest calls the generic UpdateLoadBalancerService builder with application/json body
func NewUpdateLoadBalancerServiceRequestWithBody ¶
func NewUpdateLoadBalancerServiceRequestWithBody(server string, id string, serviceId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateLoadBalancerServiceRequestWithBody generates requests for UpdateLoadBalancerService with any type of body
func NewUpdatePrivateNetworkInstanceIpRequest ¶ added in v0.61.0
func NewUpdatePrivateNetworkInstanceIpRequest(server string, id string, body UpdatePrivateNetworkInstanceIpJSONRequestBody) (*http.Request, error)
NewUpdatePrivateNetworkInstanceIpRequest calls the generic UpdatePrivateNetworkInstanceIp builder with application/json body
func NewUpdatePrivateNetworkInstanceIpRequestWithBody ¶ added in v0.61.0
func NewUpdatePrivateNetworkInstanceIpRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePrivateNetworkInstanceIpRequestWithBody generates requests for UpdatePrivateNetworkInstanceIp with any type of body
func NewUpdatePrivateNetworkRequest ¶
func NewUpdatePrivateNetworkRequest(server string, id string, body UpdatePrivateNetworkJSONRequestBody) (*http.Request, error)
NewUpdatePrivateNetworkRequest calls the generic UpdatePrivateNetwork builder with application/json body
func NewUpdatePrivateNetworkRequestWithBody ¶
func NewUpdatePrivateNetworkRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePrivateNetworkRequestWithBody generates requests for UpdatePrivateNetwork with any type of body
func NewUpdateSksClusterRequest ¶
func NewUpdateSksClusterRequest(server string, id string, body UpdateSksClusterJSONRequestBody) (*http.Request, error)
NewUpdateSksClusterRequest calls the generic UpdateSksCluster builder with application/json body
func NewUpdateSksClusterRequestWithBody ¶
func NewUpdateSksClusterRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSksClusterRequestWithBody generates requests for UpdateSksCluster with any type of body
func NewUpdateSksNodepoolRequest ¶
func NewUpdateSksNodepoolRequest(server string, id string, sksNodepoolId string, body UpdateSksNodepoolJSONRequestBody) (*http.Request, error)
NewUpdateSksNodepoolRequest calls the generic UpdateSksNodepool builder with application/json body
func NewUpdateSksNodepoolRequestWithBody ¶
func NewUpdateSksNodepoolRequestWithBody(server string, id string, sksNodepoolId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSksNodepoolRequestWithBody generates requests for UpdateSksNodepool with any type of body
func NewUpgradeSksClusterRequest ¶
func NewUpgradeSksClusterRequest(server string, id string, body UpgradeSksClusterJSONRequestBody) (*http.Request, error)
NewUpgradeSksClusterRequest calls the generic UpgradeSksCluster builder with application/json body
func NewUpgradeSksClusterRequestWithBody ¶
func NewUpgradeSksClusterRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpgradeSksClusterRequestWithBody generates requests for UpgradeSksCluster with any type of body
func NewUpgradeSksClusterServiceLevelRequest ¶ added in v0.69.0
NewUpgradeSksClusterServiceLevelRequest generates requests for UpgradeSksClusterServiceLevel
func OptionalBool ¶ added in v0.44.0
OptionalBool returns the dereferenced bool value of v if not nil, otherwise false.
func OptionalInt64 ¶
OptionalInt64 returns the dereferenced int64 value of v if not nil, otherwise 0.
func OptionalString ¶
OptionalString returns the dereferenced string value of v if not nil, otherwise an empty string.
Types ¶
type AddRuleToSecurityGroupJSONBody ¶
type AddRuleToSecurityGroupJSONBody struct { // Security Group rule description Description *string `json:"description,omitempty"` // End port of the range EndPort *int64 `json:"end-port,omitempty"` // Network flow direction to match FlowDirection AddRuleToSecurityGroupJSONBodyFlowDirection `json:"flow-direction"` // ICMP details Icmp *struct { Code *int64 `json:"code,omitempty"` Type *int64 `json:"type,omitempty"` } `json:"icmp,omitempty"` // CIDR-formatted network allowed Network *string `json:"network,omitempty"` // Network protocol Protocol AddRuleToSecurityGroupJSONBodyProtocol `json:"protocol"` // Security Group SecurityGroup *SecurityGroupResource `json:"security-group,omitempty"` // Start port of the range StartPort *int64 `json:"start-port,omitempty"` }
AddRuleToSecurityGroupJSONBody defines parameters for AddRuleToSecurityGroup.
type AddRuleToSecurityGroupJSONBodyFlowDirection ¶ added in v0.52.0
type AddRuleToSecurityGroupJSONBodyFlowDirection string
AddRuleToSecurityGroupJSONBodyFlowDirection defines parameters for AddRuleToSecurityGroup.
type AddRuleToSecurityGroupJSONBodyProtocol ¶ added in v0.52.0
type AddRuleToSecurityGroupJSONBodyProtocol string
AddRuleToSecurityGroupJSONBodyProtocol defines parameters for AddRuleToSecurityGroup.
type AddRuleToSecurityGroupJSONRequestBody ¶
type AddRuleToSecurityGroupJSONRequestBody AddRuleToSecurityGroupJSONBody
AddRuleToSecurityGroupJSONRequestBody defines body for AddRuleToSecurityGroup for application/json ContentType.
type AddRuleToSecurityGroupResponse ¶
type AddRuleToSecurityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseAddRuleToSecurityGroupResponse ¶
func ParseAddRuleToSecurityGroupResponse(rsp *http.Response) (*AddRuleToSecurityGroupResponse, error)
ParseAddRuleToSecurityGroupResponse parses an HTTP response from a AddRuleToSecurityGroupWithResponse call
func (AddRuleToSecurityGroupResponse) Status ¶
func (r AddRuleToSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AddRuleToSecurityGroupResponse) StatusCode ¶
func (r AddRuleToSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddServiceToLoadBalancerJSONBody ¶
type AddServiceToLoadBalancerJSONBody struct { // Load Balancer Service description Description *string `json:"description,omitempty"` // Load Balancer Service healthcheck Healthcheck LoadBalancerServiceHealthcheck `json:"healthcheck"` // Instance Pool InstancePool InstancePool `json:"instance-pool"` // Load Balancer Service name Name string `json:"name"` // Port exposed on the Load Balancer's public IP Port int64 `json:"port"` // Network traffic protocol Protocol AddServiceToLoadBalancerJSONBodyProtocol `json:"protocol"` // Load balancing strategy Strategy AddServiceToLoadBalancerJSONBodyStrategy `json:"strategy"` // Port on which the network traffic will be forwarded to on the receiving instance TargetPort int64 `json:"target-port"` }
AddServiceToLoadBalancerJSONBody defines parameters for AddServiceToLoadBalancer.
type AddServiceToLoadBalancerJSONBodyProtocol ¶ added in v0.52.0
type AddServiceToLoadBalancerJSONBodyProtocol string
AddServiceToLoadBalancerJSONBodyProtocol defines parameters for AddServiceToLoadBalancer.
type AddServiceToLoadBalancerJSONBodyStrategy ¶ added in v0.52.0
type AddServiceToLoadBalancerJSONBodyStrategy string
AddServiceToLoadBalancerJSONBodyStrategy defines parameters for AddServiceToLoadBalancer.
type AddServiceToLoadBalancerJSONRequestBody ¶
type AddServiceToLoadBalancerJSONRequestBody AddServiceToLoadBalancerJSONBody
AddServiceToLoadBalancerJSONRequestBody defines body for AddServiceToLoadBalancer for application/json ContentType.
type AddServiceToLoadBalancerResponse ¶
type AddServiceToLoadBalancerResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseAddServiceToLoadBalancerResponse ¶
func ParseAddServiceToLoadBalancerResponse(rsp *http.Response) (*AddServiceToLoadBalancerResponse, error)
ParseAddServiceToLoadBalancerResponse parses an HTTP response from a AddServiceToLoadBalancerWithResponse call
func (AddServiceToLoadBalancerResponse) Status ¶
func (r AddServiceToLoadBalancerResponse) Status() string
Status returns HTTPResponse.Status
func (AddServiceToLoadBalancerResponse) StatusCode ¶
func (r AddServiceToLoadBalancerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AntiAffinityGroup ¶
type AntiAffinityGroup struct { // Anti-affinity Group description Description *string `json:"description,omitempty"` // Anti-affinity Group ID Id *string `json:"id,omitempty"` // Anti-affinity Group instances Instances *[]Instance `json:"instances,omitempty"` // Anti-affinity Group name Name *string `json:"name,omitempty"` }
Anti-affinity Group
type AttachInstanceToElasticIpJSONBody ¶ added in v0.48.0
type AttachInstanceToElasticIpJSONBody struct { // Instance Instance Instance `json:"instance"` }
AttachInstanceToElasticIpJSONBody defines parameters for AttachInstanceToElasticIp.
type AttachInstanceToElasticIpJSONRequestBody ¶ added in v0.48.0
type AttachInstanceToElasticIpJSONRequestBody AttachInstanceToElasticIpJSONBody
AttachInstanceToElasticIpJSONRequestBody defines body for AttachInstanceToElasticIp for application/json ContentType.
type AttachInstanceToElasticIpResponse ¶ added in v0.48.0
type AttachInstanceToElasticIpResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseAttachInstanceToElasticIpResponse ¶ added in v0.48.0
func ParseAttachInstanceToElasticIpResponse(rsp *http.Response) (*AttachInstanceToElasticIpResponse, error)
ParseAttachInstanceToElasticIpResponse parses an HTTP response from a AttachInstanceToElasticIpWithResponse call
func (AttachInstanceToElasticIpResponse) Status ¶ added in v0.48.0
func (r AttachInstanceToElasticIpResponse) Status() string
Status returns HTTPResponse.Status
func (AttachInstanceToElasticIpResponse) StatusCode ¶ added in v0.48.0
func (r AttachInstanceToElasticIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AttachInstanceToPrivateNetworkJSONBody ¶ added in v0.49.0
type AttachInstanceToPrivateNetworkJSONBody struct { // Instance Instance Instance `json:"instance"` // Static IP address lease for the corresponding network interface Ip *string `json:"ip,omitempty"` }
AttachInstanceToPrivateNetworkJSONBody defines parameters for AttachInstanceToPrivateNetwork.
type AttachInstanceToPrivateNetworkJSONRequestBody ¶ added in v0.49.0
type AttachInstanceToPrivateNetworkJSONRequestBody AttachInstanceToPrivateNetworkJSONBody
AttachInstanceToPrivateNetworkJSONRequestBody defines body for AttachInstanceToPrivateNetwork for application/json ContentType.
type AttachInstanceToPrivateNetworkResponse ¶ added in v0.49.0
type AttachInstanceToPrivateNetworkResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseAttachInstanceToPrivateNetworkResponse ¶ added in v0.49.0
func ParseAttachInstanceToPrivateNetworkResponse(rsp *http.Response) (*AttachInstanceToPrivateNetworkResponse, error)
ParseAttachInstanceToPrivateNetworkResponse parses an HTTP response from a AttachInstanceToPrivateNetworkWithResponse call
func (AttachInstanceToPrivateNetworkResponse) Status ¶ added in v0.49.0
func (r AttachInstanceToPrivateNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (AttachInstanceToPrivateNetworkResponse) StatusCode ¶ added in v0.49.0
func (r AttachInstanceToPrivateNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AttachInstanceToSecurityGroupJSONBody ¶ added in v0.49.0
type AttachInstanceToSecurityGroupJSONBody struct { // Instance Instance Instance `json:"instance"` }
AttachInstanceToSecurityGroupJSONBody defines parameters for AttachInstanceToSecurityGroup.
type AttachInstanceToSecurityGroupJSONRequestBody ¶ added in v0.49.0
type AttachInstanceToSecurityGroupJSONRequestBody AttachInstanceToSecurityGroupJSONBody
AttachInstanceToSecurityGroupJSONRequestBody defines body for AttachInstanceToSecurityGroup for application/json ContentType.
type AttachInstanceToSecurityGroupResponse ¶ added in v0.49.0
type AttachInstanceToSecurityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseAttachInstanceToSecurityGroupResponse ¶ added in v0.49.0
func ParseAttachInstanceToSecurityGroupResponse(rsp *http.Response) (*AttachInstanceToSecurityGroupResponse, error)
ParseAttachInstanceToSecurityGroupResponse parses an HTTP response from a AttachInstanceToSecurityGroupWithResponse call
func (AttachInstanceToSecurityGroupResponse) Status ¶ added in v0.49.0
func (r AttachInstanceToSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (AttachInstanceToSecurityGroupResponse) StatusCode ¶ added in v0.49.0
func (r AttachInstanceToSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []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 (c *Client) AddRuleToSecurityGroup(ctx context.Context, id string, body AddRuleToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddRuleToSecurityGroupWithBody ¶
func (*Client) AddServiceToLoadBalancer ¶
func (c *Client) AddServiceToLoadBalancer(ctx context.Context, id string, body AddServiceToLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddServiceToLoadBalancerWithBody ¶
func (*Client) AttachInstanceToElasticIp ¶ added in v0.48.0
func (c *Client) AttachInstanceToElasticIp(ctx context.Context, id string, body AttachInstanceToElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AttachInstanceToElasticIpWithBody ¶ added in v0.48.0
func (*Client) AttachInstanceToPrivateNetwork ¶ added in v0.49.0
func (c *Client) AttachInstanceToPrivateNetwork(ctx context.Context, id string, body AttachInstanceToPrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AttachInstanceToPrivateNetworkWithBody ¶ added in v0.49.0
func (*Client) AttachInstanceToSecurityGroup ¶ added in v0.49.0
func (c *Client) AttachInstanceToSecurityGroup(ctx context.Context, id string, body AttachInstanceToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AttachInstanceToSecurityGroupWithBody ¶ added in v0.49.0
func (*Client) CopyTemplate ¶
func (c *Client) CopyTemplate(ctx context.Context, id string, body CopyTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CopyTemplateWithBody ¶
func (*Client) CreateAntiAffinityGroup ¶
func (c *Client) CreateAntiAffinityGroup(ctx context.Context, body CreateAntiAffinityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateAntiAffinityGroupWithBody ¶
func (*Client) CreateDbaasService ¶ added in v0.57.0
func (c *Client) CreateDbaasService(ctx context.Context, body CreateDbaasServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateDbaasServiceWithBody ¶ added in v0.57.0
func (*Client) CreateElasticIp ¶ added in v0.44.0
func (c *Client) CreateElasticIp(ctx context.Context, body CreateElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateElasticIpWithBody ¶ added in v0.44.0
func (*Client) CreateInstance ¶
func (c *Client) CreateInstance(ctx context.Context, body CreateInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateInstancePool ¶
func (c *Client) CreateInstancePool(ctx context.Context, body CreateInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateInstancePoolWithBody ¶
func (*Client) CreateInstanceWithBody ¶
func (*Client) CreateLoadBalancer ¶
func (c *Client) CreateLoadBalancer(ctx context.Context, body CreateLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateLoadBalancerWithBody ¶
func (*Client) CreatePrivateNetwork ¶
func (c *Client) CreatePrivateNetwork(ctx context.Context, body CreatePrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePrivateNetworkWithBody ¶
func (*Client) CreateSecurityGroup ¶
func (c *Client) CreateSecurityGroup(ctx context.Context, body CreateSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSecurityGroupWithBody ¶
func (*Client) CreateSksCluster ¶
func (c *Client) CreateSksCluster(ctx context.Context, body CreateSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSksClusterWithBody ¶
func (*Client) CreateSksNodepool ¶
func (c *Client) CreateSksNodepool(ctx context.Context, id string, body CreateSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSksNodepoolWithBody ¶
func (*Client) CreateSnapshot ¶
func (*Client) DeleteAntiAffinityGroup ¶
func (*Client) DeleteElasticIp ¶ added in v0.44.0
func (*Client) DeleteInstance ¶ added in v0.48.0
func (*Client) DeleteInstancePool ¶
func (*Client) DeleteLoadBalancer ¶
func (*Client) DeleteLoadBalancerService ¶
func (*Client) DeletePrivateNetwork ¶
func (*Client) DeleteRuleFromSecurityGroup ¶
func (*Client) DeleteSecurityGroup ¶
func (*Client) DeleteSksCluster ¶
func (*Client) DeleteSksNodepool ¶
func (*Client) DeleteSnapshot ¶
func (*Client) DeleteSshKey ¶ added in v0.61.0
func (*Client) DeleteTemplate ¶
func (*Client) DetachInstanceFromElasticIp ¶ added in v0.49.0
func (c *Client) DetachInstanceFromElasticIp(ctx context.Context, id string, body DetachInstanceFromElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DetachInstanceFromElasticIpWithBody ¶ added in v0.49.0
func (*Client) DetachInstanceFromPrivateNetwork ¶ added in v0.49.0
func (c *Client) DetachInstanceFromPrivateNetwork(ctx context.Context, id string, body DetachInstanceFromPrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DetachInstanceFromPrivateNetworkWithBody ¶ added in v0.49.0
func (*Client) DetachInstanceFromSecurityGroup ¶ added in v0.49.0
func (c *Client) DetachInstanceFromSecurityGroup(ctx context.Context, id string, body DetachInstanceFromSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DetachInstanceFromSecurityGroupWithBody ¶ added in v0.49.0
func (*Client) EvictInstancePoolMembers ¶
func (c *Client) EvictInstancePoolMembers(ctx context.Context, id string, body EvictInstancePoolMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EvictInstancePoolMembersWithBody ¶
func (*Client) EvictSksNodepoolMembers ¶
func (c *Client) EvictSksNodepoolMembers(ctx context.Context, id string, sksNodepoolId string, body EvictSksNodepoolMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EvictSksNodepoolMembersWithBody ¶
func (*Client) ExportSnapshot ¶
func (*Client) GenerateSksClusterKubeconfig ¶
func (c *Client) GenerateSksClusterKubeconfig(ctx context.Context, id string, body GenerateSksClusterKubeconfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GenerateSksClusterKubeconfigWithBody ¶
func (*Client) GetAntiAffinityGroup ¶
func (*Client) GetDbaasCaCertificate ¶ added in v0.57.0
func (*Client) GetDbaasService ¶ added in v0.57.0
func (*Client) GetDbaasServiceType ¶ added in v0.57.0
func (*Client) GetDeployTarget ¶ added in v0.48.0
func (*Client) GetElasticIp ¶
func (*Client) GetInstance ¶ added in v0.48.0
func (*Client) GetInstancePool ¶
func (*Client) GetInstanceType ¶
func (*Client) GetLoadBalancer ¶
func (*Client) GetLoadBalancerService ¶
func (*Client) GetOperation ¶
func (*Client) GetPrivateNetwork ¶
func (*Client) GetSecurityGroup ¶
func (*Client) GetSksCluster ¶
func (*Client) GetSksClusterAuthorityCert ¶ added in v0.46.0
func (c *Client) GetSksClusterAuthorityCert(ctx context.Context, id string, authority GetSksClusterAuthorityCertParamsAuthority, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSksNodepool ¶
func (*Client) GetSnapshot ¶
func (*Client) GetSosPresignedUrl ¶
func (c *Client) GetSosPresignedUrl(ctx context.Context, bucket string, params *GetSosPresignedUrlParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTemplate ¶
func (*Client) ListAntiAffinityGroups ¶
func (*Client) ListDbaasServiceTypes ¶ added in v0.57.0
func (*Client) ListDbaasServices ¶ added in v0.57.0
func (*Client) ListDeployTargets ¶ added in v0.48.0
func (*Client) ListElasticIps ¶ added in v0.44.0
func (*Client) ListEvents ¶
func (c *Client) ListEvents(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListInstancePools ¶
func (*Client) ListInstanceTypes ¶
func (*Client) ListInstances ¶ added in v0.48.0
func (c *Client) ListInstances(ctx context.Context, params *ListInstancesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListLoadBalancers ¶
func (*Client) ListPrivateNetworks ¶
func (*Client) ListQuotas ¶ added in v0.69.0
func (*Client) ListSecurityGroups ¶
func (*Client) ListSksClusterVersions ¶
func (*Client) ListSksClusters ¶
func (*Client) ListSnapshots ¶
func (*Client) ListSshKeys ¶ added in v0.57.0
func (*Client) ListTemplates ¶
func (c *Client) ListTemplates(ctx context.Context, params *ListTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RebootInstance ¶ added in v0.61.0
func (*Client) RegisterSshKey ¶ added in v0.58.0
func (c *Client) RegisterSshKey(ctx context.Context, body RegisterSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RegisterSshKeyWithBody ¶ added in v0.60.0
func (*Client) RegisterTemplate ¶
func (c *Client) RegisterTemplate(ctx context.Context, body RegisterTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RegisterTemplateWithBody ¶
func (*Client) ResetElasticIpField ¶ added in v0.44.0
func (c *Client) ResetElasticIpField(ctx context.Context, id string, field ResetElasticIpFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResetInstance ¶ added in v0.69.0
func (c *Client) ResetInstance(ctx context.Context, id string, body ResetInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResetInstanceField ¶ added in v0.57.0
func (c *Client) ResetInstanceField(ctx context.Context, id string, field ResetInstanceFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResetInstancePoolField ¶ added in v0.44.0
func (c *Client) ResetInstancePoolField(ctx context.Context, id string, field ResetInstancePoolFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResetInstanceWithBody ¶ added in v0.69.0
func (*Client) ResetLoadBalancerField ¶ added in v0.52.0
func (c *Client) ResetLoadBalancerField(ctx context.Context, id string, field ResetLoadBalancerFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResetLoadBalancerServiceField ¶ added in v0.57.0
func (c *Client) ResetLoadBalancerServiceField(ctx context.Context, id string, serviceId string, field ResetLoadBalancerServiceFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResetPrivateNetworkField ¶ added in v0.61.0
func (c *Client) ResetPrivateNetworkField(ctx context.Context, id string, field ResetPrivateNetworkFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResetSksClusterField ¶ added in v0.44.0
func (c *Client) ResetSksClusterField(ctx context.Context, id string, field ResetSksClusterFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResetSksNodepoolField ¶ added in v0.44.0
func (c *Client) ResetSksNodepoolField(ctx context.Context, id string, sksNodepoolId string, field ResetSksNodepoolFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResizeInstanceDisk ¶ added in v0.69.0
func (c *Client) ResizeInstanceDisk(ctx context.Context, id string, body ResizeInstanceDiskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResizeInstanceDiskWithBody ¶ added in v0.69.0
func (*Client) RevertInstanceToSnapshot ¶
func (c *Client) RevertInstanceToSnapshot(ctx context.Context, instanceId string, body RevertInstanceToSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RevertInstanceToSnapshotWithBody ¶
func (*Client) RotateSksCcmCredentials ¶ added in v0.44.0
func (*Client) ScaleInstance ¶ added in v0.69.0
func (c *Client) ScaleInstance(ctx context.Context, id string, body ScaleInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ScaleInstancePool ¶
func (c *Client) ScaleInstancePool(ctx context.Context, id string, body ScaleInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ScaleInstancePoolWithBody ¶
func (*Client) ScaleInstanceWithBody ¶ added in v0.69.0
func (*Client) ScaleSksNodepool ¶
func (c *Client) ScaleSksNodepool(ctx context.Context, id string, sksNodepoolId string, body ScaleSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ScaleSksNodepoolWithBody ¶
func (*Client) StartInstance ¶ added in v0.52.0
func (*Client) StopInstance ¶ added in v0.52.0
func (*Client) TerminateDbaasService ¶ added in v0.57.0
func (*Client) UpdateDbaasService ¶ added in v0.57.0
func (c *Client) UpdateDbaasService(ctx context.Context, name string, body UpdateDbaasServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateDbaasServiceWithBody ¶ added in v0.57.0
func (*Client) UpdateElasticIp ¶ added in v0.44.0
func (c *Client) UpdateElasticIp(ctx context.Context, id string, body UpdateElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateElasticIpWithBody ¶ added in v0.44.0
func (*Client) UpdateInstance ¶ added in v0.48.0
func (c *Client) UpdateInstance(ctx context.Context, id string, body UpdateInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateInstancePool ¶
func (c *Client) UpdateInstancePool(ctx context.Context, id string, body UpdateInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateInstancePoolWithBody ¶
func (*Client) UpdateInstanceWithBody ¶ added in v0.48.0
func (*Client) UpdateLoadBalancer ¶
func (c *Client) UpdateLoadBalancer(ctx context.Context, id string, body UpdateLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateLoadBalancerService ¶
func (c *Client) UpdateLoadBalancerService(ctx context.Context, id string, serviceId string, body UpdateLoadBalancerServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateLoadBalancerServiceWithBody ¶
func (*Client) UpdateLoadBalancerWithBody ¶
func (*Client) UpdatePrivateNetwork ¶
func (c *Client) UpdatePrivateNetwork(ctx context.Context, id string, body UpdatePrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePrivateNetworkInstanceIp ¶ added in v0.61.0
func (c *Client) UpdatePrivateNetworkInstanceIp(ctx context.Context, id string, body UpdatePrivateNetworkInstanceIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePrivateNetworkInstanceIpWithBody ¶ added in v0.61.0
func (*Client) UpdatePrivateNetworkWithBody ¶
func (*Client) UpdateSksCluster ¶
func (c *Client) UpdateSksCluster(ctx context.Context, id string, body UpdateSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSksClusterWithBody ¶
func (*Client) UpdateSksNodepool ¶
func (c *Client) UpdateSksNodepool(ctx context.Context, id string, sksNodepoolId string, body UpdateSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSksNodepoolWithBody ¶
func (*Client) UpgradeSksCluster ¶
func (c *Client) UpgradeSksCluster(ctx context.Context, id string, body UpgradeSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpgradeSksClusterServiceLevel ¶ added in v0.69.0
type ClientInterface ¶
type ClientInterface interface { // ListAntiAffinityGroups request ListAntiAffinityGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateAntiAffinityGroup request with any body CreateAntiAffinityGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateAntiAffinityGroup(ctx context.Context, body CreateAntiAffinityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteAntiAffinityGroup request DeleteAntiAffinityGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAntiAffinityGroup request GetAntiAffinityGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDbaasCaCertificate request GetDbaasCaCertificate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // ListDbaasServices request ListDbaasServices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateDbaasService request with any body CreateDbaasServiceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateDbaasService(ctx context.Context, body CreateDbaasServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListDbaasServiceTypes request ListDbaasServiceTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDbaasServiceType request GetDbaasServiceType(ctx context.Context, serviceTypeName string, reqEditors ...RequestEditorFn) (*http.Response, error) // TerminateDbaasService request TerminateDbaasService(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDbaasService request GetDbaasService(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateDbaasService request with any body UpdateDbaasServiceWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateDbaasService(ctx context.Context, name string, body UpdateDbaasServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListDeployTargets request ListDeployTargets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDeployTarget request GetDeployTarget(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // ListElasticIps request ListElasticIps(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateElasticIp request with any body CreateElasticIpWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateElasticIp(ctx context.Context, body CreateElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteElasticIp request DeleteElasticIp(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetElasticIp request GetElasticIp(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateElasticIp request with any body UpdateElasticIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateElasticIp(ctx context.Context, id string, body UpdateElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ResetElasticIpField request ResetElasticIpField(ctx context.Context, id string, field ResetElasticIpFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error) // AttachInstanceToElasticIp request with any body AttachInstanceToElasticIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) AttachInstanceToElasticIp(ctx context.Context, id string, body AttachInstanceToElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DetachInstanceFromElasticIp request with any body DetachInstanceFromElasticIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) DetachInstanceFromElasticIp(ctx context.Context, id string, body DetachInstanceFromElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListEvents request ListEvents(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ListInstances request ListInstances(ctx context.Context, params *ListInstancesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateInstance request with any body CreateInstanceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateInstance(ctx context.Context, body CreateInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListInstancePools request ListInstancePools(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateInstancePool request with any body CreateInstancePoolWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateInstancePool(ctx context.Context, body CreateInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteInstancePool request DeleteInstancePool(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetInstancePool request GetInstancePool(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateInstancePool request with any body UpdateInstancePoolWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateInstancePool(ctx context.Context, id string, body UpdateInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ResetInstancePoolField request ResetInstancePoolField(ctx context.Context, id string, field ResetInstancePoolFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error) // EvictInstancePoolMembers request with any body EvictInstancePoolMembersWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) EvictInstancePoolMembers(ctx context.Context, id string, body EvictInstancePoolMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ScaleInstancePool request with any body ScaleInstancePoolWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ScaleInstancePool(ctx context.Context, id string, body ScaleInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListInstanceTypes request ListInstanceTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetInstanceType request GetInstanceType(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteInstance request DeleteInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetInstance request GetInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateInstance request with any body UpdateInstanceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateInstance(ctx context.Context, id string, body UpdateInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ResetInstanceField request ResetInstanceField(ctx context.Context, id string, field ResetInstanceFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateSnapshot request CreateSnapshot(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // RebootInstance request RebootInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // ResetInstance request with any body ResetInstanceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ResetInstance(ctx context.Context, id string, body ResetInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ResizeInstanceDisk request with any body ResizeInstanceDiskWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ResizeInstanceDisk(ctx context.Context, id string, body ResizeInstanceDiskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ScaleInstance request with any body ScaleInstanceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ScaleInstance(ctx context.Context, id string, body ScaleInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // StartInstance request StartInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // StopInstance request StopInstance(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // RevertInstanceToSnapshot request with any body RevertInstanceToSnapshotWithBody(ctx context.Context, instanceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RevertInstanceToSnapshot(ctx context.Context, instanceId string, body RevertInstanceToSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListLoadBalancers request ListLoadBalancers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateLoadBalancer request with any body CreateLoadBalancerWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateLoadBalancer(ctx context.Context, body CreateLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteLoadBalancer request DeleteLoadBalancer(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetLoadBalancer request GetLoadBalancer(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateLoadBalancer request with any body UpdateLoadBalancerWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateLoadBalancer(ctx context.Context, id string, body UpdateLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // AddServiceToLoadBalancer request with any body AddServiceToLoadBalancerWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) AddServiceToLoadBalancer(ctx context.Context, id string, body AddServiceToLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteLoadBalancerService request DeleteLoadBalancerService(ctx context.Context, id string, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetLoadBalancerService request GetLoadBalancerService(ctx context.Context, id string, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateLoadBalancerService request with any body UpdateLoadBalancerServiceWithBody(ctx context.Context, id string, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateLoadBalancerService(ctx context.Context, id string, serviceId string, body UpdateLoadBalancerServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ResetLoadBalancerServiceField request ResetLoadBalancerServiceField(ctx context.Context, id string, serviceId string, field ResetLoadBalancerServiceFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error) // ResetLoadBalancerField request ResetLoadBalancerField(ctx context.Context, id string, field ResetLoadBalancerFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error) // GetOperation request GetOperation(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // ListPrivateNetworks request ListPrivateNetworks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreatePrivateNetwork request with any body CreatePrivateNetworkWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreatePrivateNetwork(ctx context.Context, body CreatePrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeletePrivateNetwork request DeletePrivateNetwork(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPrivateNetwork request GetPrivateNetwork(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdatePrivateNetwork request with any body UpdatePrivateNetworkWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdatePrivateNetwork(ctx context.Context, id string, body UpdatePrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ResetPrivateNetworkField request ResetPrivateNetworkField(ctx context.Context, id string, field ResetPrivateNetworkFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error) // AttachInstanceToPrivateNetwork request with any body AttachInstanceToPrivateNetworkWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) AttachInstanceToPrivateNetwork(ctx context.Context, id string, body AttachInstanceToPrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DetachInstanceFromPrivateNetwork request with any body DetachInstanceFromPrivateNetworkWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) DetachInstanceFromPrivateNetwork(ctx context.Context, id string, body DetachInstanceFromPrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdatePrivateNetworkInstanceIp request with any body UpdatePrivateNetworkInstanceIpWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdatePrivateNetworkInstanceIp(ctx context.Context, id string, body UpdatePrivateNetworkInstanceIpJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListQuotas request ListQuotas(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetQuota request GetQuota(ctx context.Context, entity string, reqEditors ...RequestEditorFn) (*http.Response, error) // ListSecurityGroups request ListSecurityGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateSecurityGroup request with any body CreateSecurityGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateSecurityGroup(ctx context.Context, body CreateSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSecurityGroup request DeleteSecurityGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSecurityGroup request GetSecurityGroup(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // AddRuleToSecurityGroup request with any body AddRuleToSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) AddRuleToSecurityGroup(ctx context.Context, id string, body AddRuleToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteRuleFromSecurityGroup request DeleteRuleFromSecurityGroup(ctx context.Context, id string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error) // AttachInstanceToSecurityGroup request with any body AttachInstanceToSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) AttachInstanceToSecurityGroup(ctx context.Context, id string, body AttachInstanceToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DetachInstanceFromSecurityGroup request with any body DetachInstanceFromSecurityGroupWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) DetachInstanceFromSecurityGroup(ctx context.Context, id string, body DetachInstanceFromSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListSksClusters request ListSksClusters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateSksCluster request with any body CreateSksClusterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateSksCluster(ctx context.Context, body CreateSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GenerateSksClusterKubeconfig request with any body GenerateSksClusterKubeconfigWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) GenerateSksClusterKubeconfig(ctx context.Context, id string, body GenerateSksClusterKubeconfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListSksClusterVersions request ListSksClusterVersions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSksCluster request DeleteSksCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSksCluster request GetSksCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateSksCluster request with any body UpdateSksClusterWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateSksCluster(ctx context.Context, id string, body UpdateSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSksClusterAuthorityCert request GetSksClusterAuthorityCert(ctx context.Context, id string, authority GetSksClusterAuthorityCertParamsAuthority, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateSksNodepool request with any body CreateSksNodepoolWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateSksNodepool(ctx context.Context, id string, body CreateSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSksNodepool request DeleteSksNodepool(ctx context.Context, id string, sksNodepoolId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSksNodepool request GetSksNodepool(ctx context.Context, id string, sksNodepoolId string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateSksNodepool request with any body UpdateSksNodepoolWithBody(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateSksNodepool(ctx context.Context, id string, sksNodepoolId string, body UpdateSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ResetSksNodepoolField request ResetSksNodepoolField(ctx context.Context, id string, sksNodepoolId string, field ResetSksNodepoolFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error) // EvictSksNodepoolMembers request with any body EvictSksNodepoolMembersWithBody(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) EvictSksNodepoolMembers(ctx context.Context, id string, sksNodepoolId string, body EvictSksNodepoolMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ScaleSksNodepool request with any body ScaleSksNodepoolWithBody(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) ScaleSksNodepool(ctx context.Context, id string, sksNodepoolId string, body ScaleSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // RotateSksCcmCredentials request RotateSksCcmCredentials(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpgradeSksCluster request with any body UpgradeSksClusterWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpgradeSksCluster(ctx context.Context, id string, body UpgradeSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UpgradeSksClusterServiceLevel request UpgradeSksClusterServiceLevel(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // ResetSksClusterField request ResetSksClusterField(ctx context.Context, id string, field ResetSksClusterFieldParamsField, reqEditors ...RequestEditorFn) (*http.Response, error) // ListSnapshots request ListSnapshots(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSnapshot request DeleteSnapshot(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSnapshot request GetSnapshot(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // ExportSnapshot request ExportSnapshot(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSosPresignedUrl request GetSosPresignedUrl(ctx context.Context, bucket string, params *GetSosPresignedUrlParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ListSshKeys request ListSshKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // RegisterSshKey request with any body RegisterSshKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RegisterSshKey(ctx context.Context, body RegisterSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSshKey request DeleteSshKey(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSshKey request GetSshKey(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // ListTemplates request ListTemplates(ctx context.Context, params *ListTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // RegisterTemplate request with any body RegisterTemplateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) RegisterTemplate(ctx context.Context, body RegisterTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteTemplate request DeleteTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetTemplate request GetTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // CopyTemplate request with any body CopyTemplateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CopyTemplate(ctx context.Context, id string, body CopyTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListZones request ListZones(ctx context.Context, reqEditors ...RequestEditorFn) (*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, reqEditors ...RequestEditorFn) (*AddRuleToSecurityGroupResponse, error)
AddRuleToSecurityGroupWithBodyWithResponse request with arbitrary body returning *AddRuleToSecurityGroupResponse
func (*ClientWithResponses) AddRuleToSecurityGroupWithResponse ¶
func (c *ClientWithResponses) AddRuleToSecurityGroupWithResponse(ctx context.Context, id string, body AddRuleToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AddRuleToSecurityGroupResponse, error)
func (*ClientWithResponses) AddServiceToLoadBalancerWithBodyWithResponse ¶
func (c *ClientWithResponses) AddServiceToLoadBalancerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddServiceToLoadBalancerResponse, error)
AddServiceToLoadBalancerWithBodyWithResponse request with arbitrary body returning *AddServiceToLoadBalancerResponse
func (*ClientWithResponses) AddServiceToLoadBalancerWithResponse ¶
func (c *ClientWithResponses) AddServiceToLoadBalancerWithResponse(ctx context.Context, id string, body AddServiceToLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*AddServiceToLoadBalancerResponse, error)
func (*ClientWithResponses) AttachInstanceToElasticIpWithBodyWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) AttachInstanceToElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachInstanceToElasticIpResponse, error)
AttachInstanceToElasticIpWithBodyWithResponse request with arbitrary body returning *AttachInstanceToElasticIpResponse
func (*ClientWithResponses) AttachInstanceToElasticIpWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) AttachInstanceToElasticIpWithResponse(ctx context.Context, id string, body AttachInstanceToElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachInstanceToElasticIpResponse, error)
func (*ClientWithResponses) AttachInstanceToPrivateNetworkWithBodyWithResponse ¶ added in v0.49.0
func (c *ClientWithResponses) AttachInstanceToPrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachInstanceToPrivateNetworkResponse, error)
AttachInstanceToPrivateNetworkWithBodyWithResponse request with arbitrary body returning *AttachInstanceToPrivateNetworkResponse
func (*ClientWithResponses) AttachInstanceToPrivateNetworkWithResponse ¶ added in v0.49.0
func (c *ClientWithResponses) AttachInstanceToPrivateNetworkWithResponse(ctx context.Context, id string, body AttachInstanceToPrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachInstanceToPrivateNetworkResponse, error)
func (*ClientWithResponses) AttachInstanceToSecurityGroupWithBodyWithResponse ¶ added in v0.49.0
func (c *ClientWithResponses) AttachInstanceToSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachInstanceToSecurityGroupResponse, error)
AttachInstanceToSecurityGroupWithBodyWithResponse request with arbitrary body returning *AttachInstanceToSecurityGroupResponse
func (*ClientWithResponses) AttachInstanceToSecurityGroupWithResponse ¶ added in v0.49.0
func (c *ClientWithResponses) AttachInstanceToSecurityGroupWithResponse(ctx context.Context, id string, body AttachInstanceToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachInstanceToSecurityGroupResponse, error)
func (*ClientWithResponses) CopyTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) CopyTemplateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CopyTemplateResponse, error)
CopyTemplateWithBodyWithResponse request with arbitrary body returning *CopyTemplateResponse
func (*ClientWithResponses) CopyTemplateWithResponse ¶
func (c *ClientWithResponses) CopyTemplateWithResponse(ctx context.Context, id string, body CopyTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CopyTemplateResponse, error)
func (*ClientWithResponses) CreateAntiAffinityGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAntiAffinityGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAntiAffinityGroupResponse, error)
CreateAntiAffinityGroupWithBodyWithResponse request with arbitrary body returning *CreateAntiAffinityGroupResponse
func (*ClientWithResponses) CreateAntiAffinityGroupWithResponse ¶
func (c *ClientWithResponses) CreateAntiAffinityGroupWithResponse(ctx context.Context, body CreateAntiAffinityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAntiAffinityGroupResponse, error)
func (*ClientWithResponses) CreateDbaasServiceWithBodyWithResponse ¶ added in v0.57.0
func (c *ClientWithResponses) CreateDbaasServiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDbaasServiceResponse, error)
CreateDbaasServiceWithBodyWithResponse request with arbitrary body returning *CreateDbaasServiceResponse
func (*ClientWithResponses) CreateDbaasServiceWithResponse ¶ added in v0.57.0
func (c *ClientWithResponses) CreateDbaasServiceWithResponse(ctx context.Context, body CreateDbaasServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDbaasServiceResponse, error)
func (*ClientWithResponses) CreateElasticIpWithBodyWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) CreateElasticIpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateElasticIpResponse, error)
CreateElasticIpWithBodyWithResponse request with arbitrary body returning *CreateElasticIpResponse
func (*ClientWithResponses) CreateElasticIpWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) CreateElasticIpWithResponse(ctx context.Context, body CreateElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateElasticIpResponse, error)
func (*ClientWithResponses) CreateInstancePoolWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateInstancePoolWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInstancePoolResponse, error)
CreateInstancePoolWithBodyWithResponse request with arbitrary body returning *CreateInstancePoolResponse
func (*ClientWithResponses) CreateInstancePoolWithResponse ¶
func (c *ClientWithResponses) CreateInstancePoolWithResponse(ctx context.Context, body CreateInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInstancePoolResponse, error)
func (*ClientWithResponses) CreateInstanceWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateInstanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInstanceResponse, error)
CreateInstanceWithBodyWithResponse request with arbitrary body returning *CreateInstanceResponse
func (*ClientWithResponses) CreateInstanceWithResponse ¶
func (c *ClientWithResponses) CreateInstanceWithResponse(ctx context.Context, body CreateInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInstanceResponse, error)
func (*ClientWithResponses) CreateLoadBalancerWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateLoadBalancerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLoadBalancerResponse, error)
CreateLoadBalancerWithBodyWithResponse request with arbitrary body returning *CreateLoadBalancerResponse
func (*ClientWithResponses) CreateLoadBalancerWithResponse ¶
func (c *ClientWithResponses) CreateLoadBalancerWithResponse(ctx context.Context, body CreateLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLoadBalancerResponse, error)
func (*ClientWithResponses) CreatePrivateNetworkWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePrivateNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePrivateNetworkResponse, error)
CreatePrivateNetworkWithBodyWithResponse request with arbitrary body returning *CreatePrivateNetworkResponse
func (*ClientWithResponses) CreatePrivateNetworkWithResponse ¶
func (c *ClientWithResponses) CreatePrivateNetworkWithResponse(ctx context.Context, body CreatePrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePrivateNetworkResponse, error)
func (*ClientWithResponses) CreateSecurityGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSecurityGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecurityGroupResponse, error)
CreateSecurityGroupWithBodyWithResponse request with arbitrary body returning *CreateSecurityGroupResponse
func (*ClientWithResponses) CreateSecurityGroupWithResponse ¶
func (c *ClientWithResponses) CreateSecurityGroupWithResponse(ctx context.Context, body CreateSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecurityGroupResponse, error)
func (*ClientWithResponses) CreateSksClusterWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSksClusterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSksClusterResponse, error)
CreateSksClusterWithBodyWithResponse request with arbitrary body returning *CreateSksClusterResponse
func (*ClientWithResponses) CreateSksClusterWithResponse ¶
func (c *ClientWithResponses) CreateSksClusterWithResponse(ctx context.Context, body CreateSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSksClusterResponse, error)
func (*ClientWithResponses) CreateSksNodepoolWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSksNodepoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSksNodepoolResponse, error)
CreateSksNodepoolWithBodyWithResponse request with arbitrary body returning *CreateSksNodepoolResponse
func (*ClientWithResponses) CreateSksNodepoolWithResponse ¶
func (c *ClientWithResponses) CreateSksNodepoolWithResponse(ctx context.Context, id string, body CreateSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSksNodepoolResponse, error)
func (*ClientWithResponses) CreateSnapshotWithResponse ¶
func (c *ClientWithResponses) CreateSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CreateSnapshotResponse, error)
CreateSnapshotWithResponse request returning *CreateSnapshotResponse
func (*ClientWithResponses) DeleteAntiAffinityGroupWithResponse ¶
func (c *ClientWithResponses) DeleteAntiAffinityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAntiAffinityGroupResponse, error)
DeleteAntiAffinityGroupWithResponse request returning *DeleteAntiAffinityGroupResponse
func (*ClientWithResponses) DeleteElasticIpWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) DeleteElasticIpWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteElasticIpResponse, error)
DeleteElasticIpWithResponse request returning *DeleteElasticIpResponse
func (*ClientWithResponses) DeleteInstancePoolWithResponse ¶
func (c *ClientWithResponses) DeleteInstancePoolWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteInstancePoolResponse, error)
DeleteInstancePoolWithResponse request returning *DeleteInstancePoolResponse
func (*ClientWithResponses) DeleteInstanceWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) DeleteInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteInstanceResponse, error)
DeleteInstanceWithResponse request returning *DeleteInstanceResponse
func (*ClientWithResponses) DeleteLoadBalancerServiceWithResponse ¶
func (c *ClientWithResponses) DeleteLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, reqEditors ...RequestEditorFn) (*DeleteLoadBalancerServiceResponse, error)
DeleteLoadBalancerServiceWithResponse request returning *DeleteLoadBalancerServiceResponse
func (*ClientWithResponses) DeleteLoadBalancerWithResponse ¶
func (c *ClientWithResponses) DeleteLoadBalancerWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteLoadBalancerResponse, error)
DeleteLoadBalancerWithResponse request returning *DeleteLoadBalancerResponse
func (*ClientWithResponses) DeletePrivateNetworkWithResponse ¶
func (c *ClientWithResponses) DeletePrivateNetworkWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePrivateNetworkResponse, error)
DeletePrivateNetworkWithResponse request returning *DeletePrivateNetworkResponse
func (*ClientWithResponses) DeleteRuleFromSecurityGroupWithResponse ¶
func (c *ClientWithResponses) DeleteRuleFromSecurityGroupWithResponse(ctx context.Context, id string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteRuleFromSecurityGroupResponse, error)
DeleteRuleFromSecurityGroupWithResponse request returning *DeleteRuleFromSecurityGroupResponse
func (*ClientWithResponses) DeleteSecurityGroupWithResponse ¶
func (c *ClientWithResponses) DeleteSecurityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSecurityGroupResponse, error)
DeleteSecurityGroupWithResponse request returning *DeleteSecurityGroupResponse
func (*ClientWithResponses) DeleteSksClusterWithResponse ¶
func (c *ClientWithResponses) DeleteSksClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSksClusterResponse, error)
DeleteSksClusterWithResponse request returning *DeleteSksClusterResponse
func (*ClientWithResponses) DeleteSksNodepoolWithResponse ¶
func (c *ClientWithResponses) DeleteSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, reqEditors ...RequestEditorFn) (*DeleteSksNodepoolResponse, error)
DeleteSksNodepoolWithResponse request returning *DeleteSksNodepoolResponse
func (*ClientWithResponses) DeleteSnapshotWithResponse ¶
func (c *ClientWithResponses) DeleteSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSnapshotResponse, error)
DeleteSnapshotWithResponse request returning *DeleteSnapshotResponse
func (*ClientWithResponses) DeleteSshKeyWithResponse ¶ added in v0.61.0
func (c *ClientWithResponses) DeleteSshKeyWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteSshKeyResponse, error)
DeleteSshKeyWithResponse request returning *DeleteSshKeyResponse
func (*ClientWithResponses) DeleteTemplateWithResponse ¶
func (c *ClientWithResponses) DeleteTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteTemplateResponse, error)
DeleteTemplateWithResponse request returning *DeleteTemplateResponse
func (*ClientWithResponses) DetachInstanceFromElasticIpWithBodyWithResponse ¶ added in v0.49.0
func (c *ClientWithResponses) DetachInstanceFromElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DetachInstanceFromElasticIpResponse, error)
DetachInstanceFromElasticIpWithBodyWithResponse request with arbitrary body returning *DetachInstanceFromElasticIpResponse
func (*ClientWithResponses) DetachInstanceFromElasticIpWithResponse ¶ added in v0.49.0
func (c *ClientWithResponses) DetachInstanceFromElasticIpWithResponse(ctx context.Context, id string, body DetachInstanceFromElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*DetachInstanceFromElasticIpResponse, error)
func (*ClientWithResponses) DetachInstanceFromPrivateNetworkWithBodyWithResponse ¶ added in v0.49.0
func (c *ClientWithResponses) DetachInstanceFromPrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DetachInstanceFromPrivateNetworkResponse, error)
DetachInstanceFromPrivateNetworkWithBodyWithResponse request with arbitrary body returning *DetachInstanceFromPrivateNetworkResponse
func (*ClientWithResponses) DetachInstanceFromPrivateNetworkWithResponse ¶ added in v0.49.0
func (c *ClientWithResponses) DetachInstanceFromPrivateNetworkWithResponse(ctx context.Context, id string, body DetachInstanceFromPrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*DetachInstanceFromPrivateNetworkResponse, error)
func (*ClientWithResponses) DetachInstanceFromSecurityGroupWithBodyWithResponse ¶ added in v0.49.0
func (c *ClientWithResponses) DetachInstanceFromSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DetachInstanceFromSecurityGroupResponse, error)
DetachInstanceFromSecurityGroupWithBodyWithResponse request with arbitrary body returning *DetachInstanceFromSecurityGroupResponse
func (*ClientWithResponses) DetachInstanceFromSecurityGroupWithResponse ¶ added in v0.49.0
func (c *ClientWithResponses) DetachInstanceFromSecurityGroupWithResponse(ctx context.Context, id string, body DetachInstanceFromSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*DetachInstanceFromSecurityGroupResponse, error)
func (*ClientWithResponses) EvictInstancePoolMembersWithBodyWithResponse ¶
func (c *ClientWithResponses) EvictInstancePoolMembersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvictInstancePoolMembersResponse, error)
EvictInstancePoolMembersWithBodyWithResponse request with arbitrary body returning *EvictInstancePoolMembersResponse
func (*ClientWithResponses) EvictInstancePoolMembersWithResponse ¶
func (c *ClientWithResponses) EvictInstancePoolMembersWithResponse(ctx context.Context, id string, body EvictInstancePoolMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*EvictInstancePoolMembersResponse, error)
func (*ClientWithResponses) EvictSksNodepoolMembersWithBodyWithResponse ¶
func (c *ClientWithResponses) EvictSksNodepoolMembersWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvictSksNodepoolMembersResponse, error)
EvictSksNodepoolMembersWithBodyWithResponse request with arbitrary body returning *EvictSksNodepoolMembersResponse
func (*ClientWithResponses) EvictSksNodepoolMembersWithResponse ¶
func (c *ClientWithResponses) EvictSksNodepoolMembersWithResponse(ctx context.Context, id string, sksNodepoolId string, body EvictSksNodepoolMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*EvictSksNodepoolMembersResponse, error)
func (*ClientWithResponses) ExportSnapshotWithResponse ¶
func (c *ClientWithResponses) ExportSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ExportSnapshotResponse, error)
ExportSnapshotWithResponse request returning *ExportSnapshotResponse
func (*ClientWithResponses) GenerateSksClusterKubeconfigWithBodyWithResponse ¶
func (c *ClientWithResponses) GenerateSksClusterKubeconfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenerateSksClusterKubeconfigResponse, error)
GenerateSksClusterKubeconfigWithBodyWithResponse request with arbitrary body returning *GenerateSksClusterKubeconfigResponse
func (*ClientWithResponses) GenerateSksClusterKubeconfigWithResponse ¶
func (c *ClientWithResponses) GenerateSksClusterKubeconfigWithResponse(ctx context.Context, id string, body GenerateSksClusterKubeconfigJSONRequestBody, reqEditors ...RequestEditorFn) (*GenerateSksClusterKubeconfigResponse, error)
func (*ClientWithResponses) GetAntiAffinityGroupWithResponse ¶
func (c *ClientWithResponses) GetAntiAffinityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAntiAffinityGroupResponse, error)
GetAntiAffinityGroupWithResponse request returning *GetAntiAffinityGroupResponse
func (*ClientWithResponses) GetDbaasCaCertificateWithResponse ¶ added in v0.57.0
func (c *ClientWithResponses) GetDbaasCaCertificateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDbaasCaCertificateResponse, error)
GetDbaasCaCertificateWithResponse request returning *GetDbaasCaCertificateResponse
func (*ClientWithResponses) GetDbaasServiceTypeWithResponse ¶ added in v0.57.0
func (c *ClientWithResponses) GetDbaasServiceTypeWithResponse(ctx context.Context, serviceTypeName string, reqEditors ...RequestEditorFn) (*GetDbaasServiceTypeResponse, error)
GetDbaasServiceTypeWithResponse request returning *GetDbaasServiceTypeResponse
func (*ClientWithResponses) GetDbaasServiceWithResponse ¶ added in v0.57.0
func (c *ClientWithResponses) GetDbaasServiceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDbaasServiceResponse, error)
GetDbaasServiceWithResponse request returning *GetDbaasServiceResponse
func (*ClientWithResponses) GetDeployTargetWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) GetDeployTargetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetDeployTargetResponse, error)
GetDeployTargetWithResponse request returning *GetDeployTargetResponse
func (*ClientWithResponses) GetElasticIpWithResponse ¶
func (c *ClientWithResponses) GetElasticIpWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetElasticIpResponse, error)
GetElasticIpWithResponse request returning *GetElasticIpResponse
func (*ClientWithResponses) GetInstancePoolWithResponse ¶
func (c *ClientWithResponses) GetInstancePoolWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetInstancePoolResponse, error)
GetInstancePoolWithResponse request returning *GetInstancePoolResponse
func (*ClientWithResponses) GetInstanceTypeWithResponse ¶
func (c *ClientWithResponses) GetInstanceTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetInstanceTypeResponse, error)
GetInstanceTypeWithResponse request returning *GetInstanceTypeResponse
func (*ClientWithResponses) GetInstanceWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) GetInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetInstanceResponse, error)
GetInstanceWithResponse request returning *GetInstanceResponse
func (*ClientWithResponses) GetLoadBalancerServiceWithResponse ¶
func (c *ClientWithResponses) GetLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, reqEditors ...RequestEditorFn) (*GetLoadBalancerServiceResponse, error)
GetLoadBalancerServiceWithResponse request returning *GetLoadBalancerServiceResponse
func (*ClientWithResponses) GetLoadBalancerWithResponse ¶
func (c *ClientWithResponses) GetLoadBalancerWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetLoadBalancerResponse, error)
GetLoadBalancerWithResponse request returning *GetLoadBalancerResponse
func (*ClientWithResponses) GetOperationWithResponse ¶
func (c *ClientWithResponses) GetOperationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOperationResponse, error)
GetOperationWithResponse request returning *GetOperationResponse
func (*ClientWithResponses) GetPrivateNetworkWithResponse ¶
func (c *ClientWithResponses) GetPrivateNetworkWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPrivateNetworkResponse, error)
GetPrivateNetworkWithResponse request returning *GetPrivateNetworkResponse
func (*ClientWithResponses) GetQuotaWithResponse ¶ added in v0.69.0
func (c *ClientWithResponses) GetQuotaWithResponse(ctx context.Context, entity string, reqEditors ...RequestEditorFn) (*GetQuotaResponse, error)
GetQuotaWithResponse request returning *GetQuotaResponse
func (*ClientWithResponses) GetSecurityGroupWithResponse ¶
func (c *ClientWithResponses) GetSecurityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSecurityGroupResponse, error)
GetSecurityGroupWithResponse request returning *GetSecurityGroupResponse
func (*ClientWithResponses) GetSksClusterAuthorityCertWithResponse ¶ added in v0.46.0
func (c *ClientWithResponses) GetSksClusterAuthorityCertWithResponse(ctx context.Context, id string, authority GetSksClusterAuthorityCertParamsAuthority, reqEditors ...RequestEditorFn) (*GetSksClusterAuthorityCertResponse, error)
GetSksClusterAuthorityCertWithResponse request returning *GetSksClusterAuthorityCertResponse
func (*ClientWithResponses) GetSksClusterWithResponse ¶
func (c *ClientWithResponses) GetSksClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSksClusterResponse, error)
GetSksClusterWithResponse request returning *GetSksClusterResponse
func (*ClientWithResponses) GetSksNodepoolWithResponse ¶
func (c *ClientWithResponses) GetSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, reqEditors ...RequestEditorFn) (*GetSksNodepoolResponse, error)
GetSksNodepoolWithResponse request returning *GetSksNodepoolResponse
func (*ClientWithResponses) GetSnapshotWithResponse ¶
func (c *ClientWithResponses) GetSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSnapshotResponse, error)
GetSnapshotWithResponse request returning *GetSnapshotResponse
func (*ClientWithResponses) GetSosPresignedUrlWithResponse ¶
func (c *ClientWithResponses) GetSosPresignedUrlWithResponse(ctx context.Context, bucket string, params *GetSosPresignedUrlParams, reqEditors ...RequestEditorFn) (*GetSosPresignedUrlResponse, error)
GetSosPresignedUrlWithResponse request returning *GetSosPresignedUrlResponse
func (*ClientWithResponses) GetSshKeyWithResponse ¶
func (c *ClientWithResponses) GetSshKeyWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetSshKeyResponse, error)
GetSshKeyWithResponse request returning *GetSshKeyResponse
func (*ClientWithResponses) GetTemplateWithResponse ¶
func (c *ClientWithResponses) GetTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetTemplateResponse, error)
GetTemplateWithResponse request returning *GetTemplateResponse
func (*ClientWithResponses) ListAntiAffinityGroupsWithResponse ¶
func (c *ClientWithResponses) ListAntiAffinityGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAntiAffinityGroupsResponse, error)
ListAntiAffinityGroupsWithResponse request returning *ListAntiAffinityGroupsResponse
func (*ClientWithResponses) ListDbaasServiceTypesWithResponse ¶ added in v0.57.0
func (c *ClientWithResponses) ListDbaasServiceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDbaasServiceTypesResponse, error)
ListDbaasServiceTypesWithResponse request returning *ListDbaasServiceTypesResponse
func (*ClientWithResponses) ListDbaasServicesWithResponse ¶ added in v0.57.0
func (c *ClientWithResponses) ListDbaasServicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDbaasServicesResponse, error)
ListDbaasServicesWithResponse request returning *ListDbaasServicesResponse
func (*ClientWithResponses) ListDeployTargetsWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) ListDeployTargetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDeployTargetsResponse, error)
ListDeployTargetsWithResponse request returning *ListDeployTargetsResponse
func (*ClientWithResponses) ListElasticIpsWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) ListElasticIpsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListElasticIpsResponse, error)
ListElasticIpsWithResponse request returning *ListElasticIpsResponse
func (*ClientWithResponses) ListEventsWithResponse ¶
func (c *ClientWithResponses) ListEventsWithResponse(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*ListEventsResponse, error)
ListEventsWithResponse request returning *ListEventsResponse
func (*ClientWithResponses) ListInstancePoolsWithResponse ¶
func (c *ClientWithResponses) ListInstancePoolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInstancePoolsResponse, error)
ListInstancePoolsWithResponse request returning *ListInstancePoolsResponse
func (*ClientWithResponses) ListInstanceTypesWithResponse ¶
func (c *ClientWithResponses) ListInstanceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInstanceTypesResponse, error)
ListInstanceTypesWithResponse request returning *ListInstanceTypesResponse
func (*ClientWithResponses) ListInstancesWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) ListInstancesWithResponse(ctx context.Context, params *ListInstancesParams, reqEditors ...RequestEditorFn) (*ListInstancesResponse, error)
ListInstancesWithResponse request returning *ListInstancesResponse
func (*ClientWithResponses) ListLoadBalancersWithResponse ¶
func (c *ClientWithResponses) ListLoadBalancersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLoadBalancersResponse, error)
ListLoadBalancersWithResponse request returning *ListLoadBalancersResponse
func (*ClientWithResponses) ListPrivateNetworksWithResponse ¶
func (c *ClientWithResponses) ListPrivateNetworksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPrivateNetworksResponse, error)
ListPrivateNetworksWithResponse request returning *ListPrivateNetworksResponse
func (*ClientWithResponses) ListQuotasWithResponse ¶ added in v0.69.0
func (c *ClientWithResponses) ListQuotasWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListQuotasResponse, error)
ListQuotasWithResponse request returning *ListQuotasResponse
func (*ClientWithResponses) ListSecurityGroupsWithResponse ¶
func (c *ClientWithResponses) ListSecurityGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSecurityGroupsResponse, error)
ListSecurityGroupsWithResponse request returning *ListSecurityGroupsResponse
func (*ClientWithResponses) ListSksClusterVersionsWithResponse ¶
func (c *ClientWithResponses) ListSksClusterVersionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSksClusterVersionsResponse, error)
ListSksClusterVersionsWithResponse request returning *ListSksClusterVersionsResponse
func (*ClientWithResponses) ListSksClustersWithResponse ¶
func (c *ClientWithResponses) ListSksClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSksClustersResponse, error)
ListSksClustersWithResponse request returning *ListSksClustersResponse
func (*ClientWithResponses) ListSnapshotsWithResponse ¶
func (c *ClientWithResponses) ListSnapshotsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSnapshotsResponse, error)
ListSnapshotsWithResponse request returning *ListSnapshotsResponse
func (*ClientWithResponses) ListSshKeysWithResponse ¶ added in v0.57.0
func (c *ClientWithResponses) ListSshKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSshKeysResponse, error)
ListSshKeysWithResponse request returning *ListSshKeysResponse
func (*ClientWithResponses) ListTemplatesWithResponse ¶
func (c *ClientWithResponses) ListTemplatesWithResponse(ctx context.Context, params *ListTemplatesParams, reqEditors ...RequestEditorFn) (*ListTemplatesResponse, error)
ListTemplatesWithResponse request returning *ListTemplatesResponse
func (*ClientWithResponses) ListZonesWithResponse ¶
func (c *ClientWithResponses) ListZonesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListZonesResponse, error)
ListZonesWithResponse request returning *ListZonesResponse
func (*ClientWithResponses) OperationPoller ¶
func (c *ClientWithResponses) OperationPoller(zone string, jobID string) PollFunc
OperationPoller returns a PollFunc function which queries the state of the specified job. Upon successful job completion, the type of the interface{} returned by the PollFunc is a pointer to a Resource object (*Resource).
func (*ClientWithResponses) RebootInstanceWithResponse ¶ added in v0.61.0
func (c *ClientWithResponses) RebootInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RebootInstanceResponse, error)
RebootInstanceWithResponse request returning *RebootInstanceResponse
func (*ClientWithResponses) RegisterSshKeyWithBodyWithResponse ¶ added in v0.60.0
func (c *ClientWithResponses) RegisterSshKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterSshKeyResponse, error)
RegisterSshKeyWithBodyWithResponse request with arbitrary body returning *RegisterSshKeyResponse
func (*ClientWithResponses) RegisterSshKeyWithResponse ¶ added in v0.58.0
func (c *ClientWithResponses) RegisterSshKeyWithResponse(ctx context.Context, body RegisterSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterSshKeyResponse, error)
func (*ClientWithResponses) RegisterTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) RegisterTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterTemplateResponse, error)
RegisterTemplateWithBodyWithResponse request with arbitrary body returning *RegisterTemplateResponse
func (*ClientWithResponses) RegisterTemplateWithResponse ¶
func (c *ClientWithResponses) RegisterTemplateWithResponse(ctx context.Context, body RegisterTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterTemplateResponse, error)
func (*ClientWithResponses) ResetElasticIpFieldWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) ResetElasticIpFieldWithResponse(ctx context.Context, id string, field ResetElasticIpFieldParamsField, reqEditors ...RequestEditorFn) (*ResetElasticIpFieldResponse, error)
ResetElasticIpFieldWithResponse request returning *ResetElasticIpFieldResponse
func (*ClientWithResponses) ResetInstanceFieldWithResponse ¶ added in v0.57.0
func (c *ClientWithResponses) ResetInstanceFieldWithResponse(ctx context.Context, id string, field ResetInstanceFieldParamsField, reqEditors ...RequestEditorFn) (*ResetInstanceFieldResponse, error)
ResetInstanceFieldWithResponse request returning *ResetInstanceFieldResponse
func (*ClientWithResponses) ResetInstancePoolFieldWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) ResetInstancePoolFieldWithResponse(ctx context.Context, id string, field ResetInstancePoolFieldParamsField, reqEditors ...RequestEditorFn) (*ResetInstancePoolFieldResponse, error)
ResetInstancePoolFieldWithResponse request returning *ResetInstancePoolFieldResponse
func (*ClientWithResponses) ResetInstanceWithBodyWithResponse ¶ added in v0.69.0
func (c *ClientWithResponses) ResetInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResetInstanceResponse, error)
ResetInstanceWithBodyWithResponse request with arbitrary body returning *ResetInstanceResponse
func (*ClientWithResponses) ResetInstanceWithResponse ¶ added in v0.69.0
func (c *ClientWithResponses) ResetInstanceWithResponse(ctx context.Context, id string, body ResetInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetInstanceResponse, error)
func (*ClientWithResponses) ResetLoadBalancerFieldWithResponse ¶ added in v0.52.0
func (c *ClientWithResponses) ResetLoadBalancerFieldWithResponse(ctx context.Context, id string, field ResetLoadBalancerFieldParamsField, reqEditors ...RequestEditorFn) (*ResetLoadBalancerFieldResponse, error)
ResetLoadBalancerFieldWithResponse request returning *ResetLoadBalancerFieldResponse
func (*ClientWithResponses) ResetLoadBalancerServiceFieldWithResponse ¶ added in v0.57.0
func (c *ClientWithResponses) ResetLoadBalancerServiceFieldWithResponse(ctx context.Context, id string, serviceId string, field ResetLoadBalancerServiceFieldParamsField, reqEditors ...RequestEditorFn) (*ResetLoadBalancerServiceFieldResponse, error)
ResetLoadBalancerServiceFieldWithResponse request returning *ResetLoadBalancerServiceFieldResponse
func (*ClientWithResponses) ResetPrivateNetworkFieldWithResponse ¶ added in v0.61.0
func (c *ClientWithResponses) ResetPrivateNetworkFieldWithResponse(ctx context.Context, id string, field ResetPrivateNetworkFieldParamsField, reqEditors ...RequestEditorFn) (*ResetPrivateNetworkFieldResponse, error)
ResetPrivateNetworkFieldWithResponse request returning *ResetPrivateNetworkFieldResponse
func (*ClientWithResponses) ResetSksClusterFieldWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) ResetSksClusterFieldWithResponse(ctx context.Context, id string, field ResetSksClusterFieldParamsField, reqEditors ...RequestEditorFn) (*ResetSksClusterFieldResponse, error)
ResetSksClusterFieldWithResponse request returning *ResetSksClusterFieldResponse
func (*ClientWithResponses) ResetSksNodepoolFieldWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) ResetSksNodepoolFieldWithResponse(ctx context.Context, id string, sksNodepoolId string, field ResetSksNodepoolFieldParamsField, reqEditors ...RequestEditorFn) (*ResetSksNodepoolFieldResponse, error)
ResetSksNodepoolFieldWithResponse request returning *ResetSksNodepoolFieldResponse
func (*ClientWithResponses) ResizeInstanceDiskWithBodyWithResponse ¶ added in v0.69.0
func (c *ClientWithResponses) ResizeInstanceDiskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeInstanceDiskResponse, error)
ResizeInstanceDiskWithBodyWithResponse request with arbitrary body returning *ResizeInstanceDiskResponse
func (*ClientWithResponses) ResizeInstanceDiskWithResponse ¶ added in v0.69.0
func (c *ClientWithResponses) ResizeInstanceDiskWithResponse(ctx context.Context, id string, body ResizeInstanceDiskJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeInstanceDiskResponse, error)
func (*ClientWithResponses) RevertInstanceToSnapshotWithBodyWithResponse ¶
func (c *ClientWithResponses) RevertInstanceToSnapshotWithBodyWithResponse(ctx context.Context, instanceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RevertInstanceToSnapshotResponse, error)
RevertInstanceToSnapshotWithBodyWithResponse request with arbitrary body returning *RevertInstanceToSnapshotResponse
func (*ClientWithResponses) RevertInstanceToSnapshotWithResponse ¶
func (c *ClientWithResponses) RevertInstanceToSnapshotWithResponse(ctx context.Context, instanceId string, body RevertInstanceToSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*RevertInstanceToSnapshotResponse, error)
func (*ClientWithResponses) RotateSksCcmCredentialsWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) RotateSksCcmCredentialsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RotateSksCcmCredentialsResponse, error)
RotateSksCcmCredentialsWithResponse request returning *RotateSksCcmCredentialsResponse
func (*ClientWithResponses) ScaleInstancePoolWithBodyWithResponse ¶
func (c *ClientWithResponses) ScaleInstancePoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleInstancePoolResponse, error)
ScaleInstancePoolWithBodyWithResponse request with arbitrary body returning *ScaleInstancePoolResponse
func (*ClientWithResponses) ScaleInstancePoolWithResponse ¶
func (c *ClientWithResponses) ScaleInstancePoolWithResponse(ctx context.Context, id string, body ScaleInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleInstancePoolResponse, error)
func (*ClientWithResponses) ScaleInstanceWithBodyWithResponse ¶ added in v0.69.0
func (c *ClientWithResponses) ScaleInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleInstanceResponse, error)
ScaleInstanceWithBodyWithResponse request with arbitrary body returning *ScaleInstanceResponse
func (*ClientWithResponses) ScaleInstanceWithResponse ¶ added in v0.69.0
func (c *ClientWithResponses) ScaleInstanceWithResponse(ctx context.Context, id string, body ScaleInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleInstanceResponse, error)
func (*ClientWithResponses) ScaleSksNodepoolWithBodyWithResponse ¶
func (c *ClientWithResponses) ScaleSksNodepoolWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleSksNodepoolResponse, error)
ScaleSksNodepoolWithBodyWithResponse request with arbitrary body returning *ScaleSksNodepoolResponse
func (*ClientWithResponses) ScaleSksNodepoolWithResponse ¶
func (c *ClientWithResponses) ScaleSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, body ScaleSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleSksNodepoolResponse, error)
func (*ClientWithResponses) StartInstanceWithResponse ¶ added in v0.52.0
func (c *ClientWithResponses) StartInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StartInstanceResponse, error)
StartInstanceWithResponse request returning *StartInstanceResponse
func (*ClientWithResponses) StopInstanceWithResponse ¶ added in v0.52.0
func (c *ClientWithResponses) StopInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StopInstanceResponse, error)
StopInstanceWithResponse request returning *StopInstanceResponse
func (*ClientWithResponses) TerminateDbaasServiceWithResponse ¶ added in v0.57.0
func (c *ClientWithResponses) TerminateDbaasServiceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*TerminateDbaasServiceResponse, error)
TerminateDbaasServiceWithResponse request returning *TerminateDbaasServiceResponse
func (*ClientWithResponses) UpdateDbaasServiceWithBodyWithResponse ¶ added in v0.57.0
func (c *ClientWithResponses) UpdateDbaasServiceWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDbaasServiceResponse, error)
UpdateDbaasServiceWithBodyWithResponse request with arbitrary body returning *UpdateDbaasServiceResponse
func (*ClientWithResponses) UpdateDbaasServiceWithResponse ¶ added in v0.57.0
func (c *ClientWithResponses) UpdateDbaasServiceWithResponse(ctx context.Context, name string, body UpdateDbaasServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDbaasServiceResponse, error)
func (*ClientWithResponses) UpdateElasticIpWithBodyWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) UpdateElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateElasticIpResponse, error)
UpdateElasticIpWithBodyWithResponse request with arbitrary body returning *UpdateElasticIpResponse
func (*ClientWithResponses) UpdateElasticIpWithResponse ¶ added in v0.44.0
func (c *ClientWithResponses) UpdateElasticIpWithResponse(ctx context.Context, id string, body UpdateElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateElasticIpResponse, error)
func (*ClientWithResponses) UpdateInstancePoolWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateInstancePoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInstancePoolResponse, error)
UpdateInstancePoolWithBodyWithResponse request with arbitrary body returning *UpdateInstancePoolResponse
func (*ClientWithResponses) UpdateInstancePoolWithResponse ¶
func (c *ClientWithResponses) UpdateInstancePoolWithResponse(ctx context.Context, id string, body UpdateInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInstancePoolResponse, error)
func (*ClientWithResponses) UpdateInstanceWithBodyWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) UpdateInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInstanceResponse, error)
UpdateInstanceWithBodyWithResponse request with arbitrary body returning *UpdateInstanceResponse
func (*ClientWithResponses) UpdateInstanceWithResponse ¶ added in v0.48.0
func (c *ClientWithResponses) UpdateInstanceWithResponse(ctx context.Context, id string, body UpdateInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInstanceResponse, error)
func (*ClientWithResponses) UpdateLoadBalancerServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateLoadBalancerServiceWithBodyWithResponse(ctx context.Context, id string, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerServiceResponse, error)
UpdateLoadBalancerServiceWithBodyWithResponse request with arbitrary body returning *UpdateLoadBalancerServiceResponse
func (*ClientWithResponses) UpdateLoadBalancerServiceWithResponse ¶
func (c *ClientWithResponses) UpdateLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, body UpdateLoadBalancerServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerServiceResponse, error)
func (*ClientWithResponses) UpdateLoadBalancerWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateLoadBalancerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerResponse, error)
UpdateLoadBalancerWithBodyWithResponse request with arbitrary body returning *UpdateLoadBalancerResponse
func (*ClientWithResponses) UpdateLoadBalancerWithResponse ¶
func (c *ClientWithResponses) UpdateLoadBalancerWithResponse(ctx context.Context, id string, body UpdateLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerResponse, error)
func (*ClientWithResponses) UpdatePrivateNetworkInstanceIpWithBodyWithResponse ¶ added in v0.61.0
func (c *ClientWithResponses) UpdatePrivateNetworkInstanceIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePrivateNetworkInstanceIpResponse, error)
UpdatePrivateNetworkInstanceIpWithBodyWithResponse request with arbitrary body returning *UpdatePrivateNetworkInstanceIpResponse
func (*ClientWithResponses) UpdatePrivateNetworkInstanceIpWithResponse ¶ added in v0.61.0
func (c *ClientWithResponses) UpdatePrivateNetworkInstanceIpWithResponse(ctx context.Context, id string, body UpdatePrivateNetworkInstanceIpJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePrivateNetworkInstanceIpResponse, error)
func (*ClientWithResponses) UpdatePrivateNetworkWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePrivateNetworkResponse, error)
UpdatePrivateNetworkWithBodyWithResponse request with arbitrary body returning *UpdatePrivateNetworkResponse
func (*ClientWithResponses) UpdatePrivateNetworkWithResponse ¶
func (c *ClientWithResponses) UpdatePrivateNetworkWithResponse(ctx context.Context, id string, body UpdatePrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePrivateNetworkResponse, error)
func (*ClientWithResponses) UpdateSksClusterWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSksClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSksClusterResponse, error)
UpdateSksClusterWithBodyWithResponse request with arbitrary body returning *UpdateSksClusterResponse
func (*ClientWithResponses) UpdateSksClusterWithResponse ¶
func (c *ClientWithResponses) UpdateSksClusterWithResponse(ctx context.Context, id string, body UpdateSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSksClusterResponse, error)
func (*ClientWithResponses) UpdateSksNodepoolWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSksNodepoolWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSksNodepoolResponse, error)
UpdateSksNodepoolWithBodyWithResponse request with arbitrary body returning *UpdateSksNodepoolResponse
func (*ClientWithResponses) UpdateSksNodepoolWithResponse ¶
func (c *ClientWithResponses) UpdateSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, body UpdateSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSksNodepoolResponse, error)
func (*ClientWithResponses) UpgradeSksClusterServiceLevelWithResponse ¶ added in v0.69.0
func (c *ClientWithResponses) UpgradeSksClusterServiceLevelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UpgradeSksClusterServiceLevelResponse, error)
UpgradeSksClusterServiceLevelWithResponse request returning *UpgradeSksClusterServiceLevelResponse
func (*ClientWithResponses) UpgradeSksClusterWithBodyWithResponse ¶
func (c *ClientWithResponses) UpgradeSksClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpgradeSksClusterResponse, error)
UpgradeSksClusterWithBodyWithResponse request with arbitrary body returning *UpgradeSksClusterResponse
func (*ClientWithResponses) UpgradeSksClusterWithResponse ¶
func (c *ClientWithResponses) UpgradeSksClusterWithResponse(ctx context.Context, id string, body UpgradeSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpgradeSksClusterResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // ListAntiAffinityGroups request ListAntiAffinityGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAntiAffinityGroupsResponse, error) // CreateAntiAffinityGroup request with any body CreateAntiAffinityGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAntiAffinityGroupResponse, error) CreateAntiAffinityGroupWithResponse(ctx context.Context, body CreateAntiAffinityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAntiAffinityGroupResponse, error) // DeleteAntiAffinityGroup request DeleteAntiAffinityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteAntiAffinityGroupResponse, error) // GetAntiAffinityGroup request GetAntiAffinityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAntiAffinityGroupResponse, error) // GetDbaasCaCertificate request GetDbaasCaCertificateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDbaasCaCertificateResponse, error) // ListDbaasServices request ListDbaasServicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDbaasServicesResponse, error) // CreateDbaasService request with any body CreateDbaasServiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDbaasServiceResponse, error) CreateDbaasServiceWithResponse(ctx context.Context, body CreateDbaasServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDbaasServiceResponse, error) // ListDbaasServiceTypes request ListDbaasServiceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDbaasServiceTypesResponse, error) // GetDbaasServiceType request GetDbaasServiceTypeWithResponse(ctx context.Context, serviceTypeName string, reqEditors ...RequestEditorFn) (*GetDbaasServiceTypeResponse, error) // TerminateDbaasService request TerminateDbaasServiceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*TerminateDbaasServiceResponse, error) // GetDbaasService request GetDbaasServiceWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDbaasServiceResponse, error) // UpdateDbaasService request with any body UpdateDbaasServiceWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDbaasServiceResponse, error) UpdateDbaasServiceWithResponse(ctx context.Context, name string, body UpdateDbaasServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDbaasServiceResponse, error) // ListDeployTargets request ListDeployTargetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDeployTargetsResponse, error) // GetDeployTarget request GetDeployTargetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetDeployTargetResponse, error) // ListElasticIps request ListElasticIpsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListElasticIpsResponse, error) // CreateElasticIp request with any body CreateElasticIpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateElasticIpResponse, error) CreateElasticIpWithResponse(ctx context.Context, body CreateElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateElasticIpResponse, error) // DeleteElasticIp request DeleteElasticIpWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteElasticIpResponse, error) // GetElasticIp request GetElasticIpWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetElasticIpResponse, error) // UpdateElasticIp request with any body UpdateElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateElasticIpResponse, error) UpdateElasticIpWithResponse(ctx context.Context, id string, body UpdateElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateElasticIpResponse, error) // ResetElasticIpField request ResetElasticIpFieldWithResponse(ctx context.Context, id string, field ResetElasticIpFieldParamsField, reqEditors ...RequestEditorFn) (*ResetElasticIpFieldResponse, error) // AttachInstanceToElasticIp request with any body AttachInstanceToElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachInstanceToElasticIpResponse, error) AttachInstanceToElasticIpWithResponse(ctx context.Context, id string, body AttachInstanceToElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachInstanceToElasticIpResponse, error) // DetachInstanceFromElasticIp request with any body DetachInstanceFromElasticIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DetachInstanceFromElasticIpResponse, error) DetachInstanceFromElasticIpWithResponse(ctx context.Context, id string, body DetachInstanceFromElasticIpJSONRequestBody, reqEditors ...RequestEditorFn) (*DetachInstanceFromElasticIpResponse, error) // ListEvents request ListEventsWithResponse(ctx context.Context, params *ListEventsParams, reqEditors ...RequestEditorFn) (*ListEventsResponse, error) // ListInstances request ListInstancesWithResponse(ctx context.Context, params *ListInstancesParams, reqEditors ...RequestEditorFn) (*ListInstancesResponse, error) // CreateInstance request with any body CreateInstanceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInstanceResponse, error) CreateInstanceWithResponse(ctx context.Context, body CreateInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInstanceResponse, error) // ListInstancePools request ListInstancePoolsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInstancePoolsResponse, error) // CreateInstancePool request with any body CreateInstancePoolWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInstancePoolResponse, error) CreateInstancePoolWithResponse(ctx context.Context, body CreateInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInstancePoolResponse, error) // DeleteInstancePool request DeleteInstancePoolWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteInstancePoolResponse, error) // GetInstancePool request GetInstancePoolWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetInstancePoolResponse, error) // UpdateInstancePool request with any body UpdateInstancePoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInstancePoolResponse, error) UpdateInstancePoolWithResponse(ctx context.Context, id string, body UpdateInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInstancePoolResponse, error) // ResetInstancePoolField request ResetInstancePoolFieldWithResponse(ctx context.Context, id string, field ResetInstancePoolFieldParamsField, reqEditors ...RequestEditorFn) (*ResetInstancePoolFieldResponse, error) // EvictInstancePoolMembers request with any body EvictInstancePoolMembersWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvictInstancePoolMembersResponse, error) EvictInstancePoolMembersWithResponse(ctx context.Context, id string, body EvictInstancePoolMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*EvictInstancePoolMembersResponse, error) // ScaleInstancePool request with any body ScaleInstancePoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleInstancePoolResponse, error) ScaleInstancePoolWithResponse(ctx context.Context, id string, body ScaleInstancePoolJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleInstancePoolResponse, error) // ListInstanceTypes request ListInstanceTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListInstanceTypesResponse, error) // GetInstanceType request GetInstanceTypeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetInstanceTypeResponse, error) // DeleteInstance request DeleteInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteInstanceResponse, error) // GetInstance request GetInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetInstanceResponse, error) // UpdateInstance request with any body UpdateInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInstanceResponse, error) UpdateInstanceWithResponse(ctx context.Context, id string, body UpdateInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInstanceResponse, error) // ResetInstanceField request ResetInstanceFieldWithResponse(ctx context.Context, id string, field ResetInstanceFieldParamsField, reqEditors ...RequestEditorFn) (*ResetInstanceFieldResponse, error) // CreateSnapshot request CreateSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*CreateSnapshotResponse, error) // RebootInstance request RebootInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RebootInstanceResponse, error) // ResetInstance request with any body ResetInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResetInstanceResponse, error) ResetInstanceWithResponse(ctx context.Context, id string, body ResetInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetInstanceResponse, error) // ResizeInstanceDisk request with any body ResizeInstanceDiskWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResizeInstanceDiskResponse, error) ResizeInstanceDiskWithResponse(ctx context.Context, id string, body ResizeInstanceDiskJSONRequestBody, reqEditors ...RequestEditorFn) (*ResizeInstanceDiskResponse, error) // ScaleInstance request with any body ScaleInstanceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleInstanceResponse, error) ScaleInstanceWithResponse(ctx context.Context, id string, body ScaleInstanceJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleInstanceResponse, error) // StartInstance request StartInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StartInstanceResponse, error) // StopInstance request StopInstanceWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StopInstanceResponse, error) // RevertInstanceToSnapshot request with any body RevertInstanceToSnapshotWithBodyWithResponse(ctx context.Context, instanceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RevertInstanceToSnapshotResponse, error) RevertInstanceToSnapshotWithResponse(ctx context.Context, instanceId string, body RevertInstanceToSnapshotJSONRequestBody, reqEditors ...RequestEditorFn) (*RevertInstanceToSnapshotResponse, error) // ListLoadBalancers request ListLoadBalancersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLoadBalancersResponse, error) // CreateLoadBalancer request with any body CreateLoadBalancerWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLoadBalancerResponse, error) CreateLoadBalancerWithResponse(ctx context.Context, body CreateLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLoadBalancerResponse, error) // DeleteLoadBalancer request DeleteLoadBalancerWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteLoadBalancerResponse, error) // GetLoadBalancer request GetLoadBalancerWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetLoadBalancerResponse, error) // UpdateLoadBalancer request with any body UpdateLoadBalancerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerResponse, error) UpdateLoadBalancerWithResponse(ctx context.Context, id string, body UpdateLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerResponse, error) // AddServiceToLoadBalancer request with any body AddServiceToLoadBalancerWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddServiceToLoadBalancerResponse, error) AddServiceToLoadBalancerWithResponse(ctx context.Context, id string, body AddServiceToLoadBalancerJSONRequestBody, reqEditors ...RequestEditorFn) (*AddServiceToLoadBalancerResponse, error) // DeleteLoadBalancerService request DeleteLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, reqEditors ...RequestEditorFn) (*DeleteLoadBalancerServiceResponse, error) // GetLoadBalancerService request GetLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, reqEditors ...RequestEditorFn) (*GetLoadBalancerServiceResponse, error) // UpdateLoadBalancerService request with any body UpdateLoadBalancerServiceWithBodyWithResponse(ctx context.Context, id string, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerServiceResponse, error) UpdateLoadBalancerServiceWithResponse(ctx context.Context, id string, serviceId string, body UpdateLoadBalancerServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLoadBalancerServiceResponse, error) // ResetLoadBalancerServiceField request ResetLoadBalancerServiceFieldWithResponse(ctx context.Context, id string, serviceId string, field ResetLoadBalancerServiceFieldParamsField, reqEditors ...RequestEditorFn) (*ResetLoadBalancerServiceFieldResponse, error) // ResetLoadBalancerField request ResetLoadBalancerFieldWithResponse(ctx context.Context, id string, field ResetLoadBalancerFieldParamsField, reqEditors ...RequestEditorFn) (*ResetLoadBalancerFieldResponse, error) // GetOperation request GetOperationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOperationResponse, error) // ListPrivateNetworks request ListPrivateNetworksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPrivateNetworksResponse, error) // CreatePrivateNetwork request with any body CreatePrivateNetworkWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePrivateNetworkResponse, error) CreatePrivateNetworkWithResponse(ctx context.Context, body CreatePrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePrivateNetworkResponse, error) // DeletePrivateNetwork request DeletePrivateNetworkWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeletePrivateNetworkResponse, error) // GetPrivateNetwork request GetPrivateNetworkWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPrivateNetworkResponse, error) // UpdatePrivateNetwork request with any body UpdatePrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePrivateNetworkResponse, error) UpdatePrivateNetworkWithResponse(ctx context.Context, id string, body UpdatePrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePrivateNetworkResponse, error) // ResetPrivateNetworkField request ResetPrivateNetworkFieldWithResponse(ctx context.Context, id string, field ResetPrivateNetworkFieldParamsField, reqEditors ...RequestEditorFn) (*ResetPrivateNetworkFieldResponse, error) // AttachInstanceToPrivateNetwork request with any body AttachInstanceToPrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachInstanceToPrivateNetworkResponse, error) AttachInstanceToPrivateNetworkWithResponse(ctx context.Context, id string, body AttachInstanceToPrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachInstanceToPrivateNetworkResponse, error) // DetachInstanceFromPrivateNetwork request with any body DetachInstanceFromPrivateNetworkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DetachInstanceFromPrivateNetworkResponse, error) DetachInstanceFromPrivateNetworkWithResponse(ctx context.Context, id string, body DetachInstanceFromPrivateNetworkJSONRequestBody, reqEditors ...RequestEditorFn) (*DetachInstanceFromPrivateNetworkResponse, error) // UpdatePrivateNetworkInstanceIp request with any body UpdatePrivateNetworkInstanceIpWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePrivateNetworkInstanceIpResponse, error) UpdatePrivateNetworkInstanceIpWithResponse(ctx context.Context, id string, body UpdatePrivateNetworkInstanceIpJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePrivateNetworkInstanceIpResponse, error) // ListQuotas request ListQuotasWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListQuotasResponse, error) // GetQuota request GetQuotaWithResponse(ctx context.Context, entity string, reqEditors ...RequestEditorFn) (*GetQuotaResponse, error) // ListSecurityGroups request ListSecurityGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSecurityGroupsResponse, error) // CreateSecurityGroup request with any body CreateSecurityGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecurityGroupResponse, error) CreateSecurityGroupWithResponse(ctx context.Context, body CreateSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecurityGroupResponse, error) // DeleteSecurityGroup request DeleteSecurityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSecurityGroupResponse, error) // GetSecurityGroup request GetSecurityGroupWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSecurityGroupResponse, error) // AddRuleToSecurityGroup request with any body AddRuleToSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddRuleToSecurityGroupResponse, error) AddRuleToSecurityGroupWithResponse(ctx context.Context, id string, body AddRuleToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AddRuleToSecurityGroupResponse, error) // DeleteRuleFromSecurityGroup request DeleteRuleFromSecurityGroupWithResponse(ctx context.Context, id string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteRuleFromSecurityGroupResponse, error) // AttachInstanceToSecurityGroup request with any body AttachInstanceToSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachInstanceToSecurityGroupResponse, error) AttachInstanceToSecurityGroupWithResponse(ctx context.Context, id string, body AttachInstanceToSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachInstanceToSecurityGroupResponse, error) // DetachInstanceFromSecurityGroup request with any body DetachInstanceFromSecurityGroupWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DetachInstanceFromSecurityGroupResponse, error) DetachInstanceFromSecurityGroupWithResponse(ctx context.Context, id string, body DetachInstanceFromSecurityGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*DetachInstanceFromSecurityGroupResponse, error) // ListSksClusters request ListSksClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSksClustersResponse, error) // CreateSksCluster request with any body CreateSksClusterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSksClusterResponse, error) CreateSksClusterWithResponse(ctx context.Context, body CreateSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSksClusterResponse, error) // GenerateSksClusterKubeconfig request with any body GenerateSksClusterKubeconfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenerateSksClusterKubeconfigResponse, error) GenerateSksClusterKubeconfigWithResponse(ctx context.Context, id string, body GenerateSksClusterKubeconfigJSONRequestBody, reqEditors ...RequestEditorFn) (*GenerateSksClusterKubeconfigResponse, error) // ListSksClusterVersions request ListSksClusterVersionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSksClusterVersionsResponse, error) // DeleteSksCluster request DeleteSksClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSksClusterResponse, error) // GetSksCluster request GetSksClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSksClusterResponse, error) // UpdateSksCluster request with any body UpdateSksClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSksClusterResponse, error) UpdateSksClusterWithResponse(ctx context.Context, id string, body UpdateSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSksClusterResponse, error) // GetSksClusterAuthorityCert request GetSksClusterAuthorityCertWithResponse(ctx context.Context, id string, authority GetSksClusterAuthorityCertParamsAuthority, reqEditors ...RequestEditorFn) (*GetSksClusterAuthorityCertResponse, error) // CreateSksNodepool request with any body CreateSksNodepoolWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSksNodepoolResponse, error) CreateSksNodepoolWithResponse(ctx context.Context, id string, body CreateSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSksNodepoolResponse, error) // DeleteSksNodepool request DeleteSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, reqEditors ...RequestEditorFn) (*DeleteSksNodepoolResponse, error) // GetSksNodepool request GetSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, reqEditors ...RequestEditorFn) (*GetSksNodepoolResponse, error) // UpdateSksNodepool request with any body UpdateSksNodepoolWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSksNodepoolResponse, error) UpdateSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, body UpdateSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSksNodepoolResponse, error) // ResetSksNodepoolField request ResetSksNodepoolFieldWithResponse(ctx context.Context, id string, sksNodepoolId string, field ResetSksNodepoolFieldParamsField, reqEditors ...RequestEditorFn) (*ResetSksNodepoolFieldResponse, error) // EvictSksNodepoolMembers request with any body EvictSksNodepoolMembersWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvictSksNodepoolMembersResponse, error) EvictSksNodepoolMembersWithResponse(ctx context.Context, id string, sksNodepoolId string, body EvictSksNodepoolMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*EvictSksNodepoolMembersResponse, error) // ScaleSksNodepool request with any body ScaleSksNodepoolWithBodyWithResponse(ctx context.Context, id string, sksNodepoolId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScaleSksNodepoolResponse, error) ScaleSksNodepoolWithResponse(ctx context.Context, id string, sksNodepoolId string, body ScaleSksNodepoolJSONRequestBody, reqEditors ...RequestEditorFn) (*ScaleSksNodepoolResponse, error) // RotateSksCcmCredentials request RotateSksCcmCredentialsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RotateSksCcmCredentialsResponse, error) // UpgradeSksCluster request with any body UpgradeSksClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpgradeSksClusterResponse, error) UpgradeSksClusterWithResponse(ctx context.Context, id string, body UpgradeSksClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpgradeSksClusterResponse, error) // UpgradeSksClusterServiceLevel request UpgradeSksClusterServiceLevelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*UpgradeSksClusterServiceLevelResponse, error) // ResetSksClusterField request ResetSksClusterFieldWithResponse(ctx context.Context, id string, field ResetSksClusterFieldParamsField, reqEditors ...RequestEditorFn) (*ResetSksClusterFieldResponse, error) // ListSnapshots request ListSnapshotsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSnapshotsResponse, error) // DeleteSnapshot request DeleteSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSnapshotResponse, error) // GetSnapshot request GetSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSnapshotResponse, error) // ExportSnapshot request ExportSnapshotWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ExportSnapshotResponse, error) // GetSosPresignedUrl request GetSosPresignedUrlWithResponse(ctx context.Context, bucket string, params *GetSosPresignedUrlParams, reqEditors ...RequestEditorFn) (*GetSosPresignedUrlResponse, error) // ListSshKeys request ListSshKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSshKeysResponse, error) // RegisterSshKey request with any body RegisterSshKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterSshKeyResponse, error) RegisterSshKeyWithResponse(ctx context.Context, body RegisterSshKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterSshKeyResponse, error) // DeleteSshKey request DeleteSshKeyWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteSshKeyResponse, error) // GetSshKey request GetSshKeyWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetSshKeyResponse, error) // ListTemplates request ListTemplatesWithResponse(ctx context.Context, params *ListTemplatesParams, reqEditors ...RequestEditorFn) (*ListTemplatesResponse, error) // RegisterTemplate request with any body RegisterTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterTemplateResponse, error) RegisterTemplateWithResponse(ctx context.Context, body RegisterTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterTemplateResponse, error) // DeleteTemplate request DeleteTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteTemplateResponse, error) // GetTemplate request GetTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetTemplateResponse, error) // CopyTemplate request with any body CopyTemplateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CopyTemplateResponse, error) CopyTemplateWithResponse(ctx context.Context, id string, body CopyTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CopyTemplateResponse, error) // ListZones request ListZonesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListZonesResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CopyTemplateJSONBody ¶
type CopyTemplateJSONBody struct { // Zone TargetZone Zone `json:"target-zone"` }
CopyTemplateJSONBody defines parameters for CopyTemplate.
type CopyTemplateJSONRequestBody ¶
type CopyTemplateJSONRequestBody CopyTemplateJSONBody
CopyTemplateJSONRequestBody defines body for CopyTemplate for application/json ContentType.
type CopyTemplateResponse ¶
func ParseCopyTemplateResponse ¶
func ParseCopyTemplateResponse(rsp *http.Response) (*CopyTemplateResponse, error)
ParseCopyTemplateResponse parses an HTTP response from a CopyTemplateWithResponse call
func (CopyTemplateResponse) Status ¶
func (r CopyTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (CopyTemplateResponse) StatusCode ¶
func (r CopyTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAntiAffinityGroupJSONBody ¶
type CreateAntiAffinityGroupJSONBody struct { // Anti-affinity Group description Description *string `json:"description,omitempty"` // Anti-affinity Group name Name string `json:"name"` }
CreateAntiAffinityGroupJSONBody defines parameters for CreateAntiAffinityGroup.
type CreateAntiAffinityGroupJSONRequestBody ¶
type CreateAntiAffinityGroupJSONRequestBody CreateAntiAffinityGroupJSONBody
CreateAntiAffinityGroupJSONRequestBody defines body for CreateAntiAffinityGroup for application/json ContentType.
type CreateAntiAffinityGroupResponse ¶
type CreateAntiAffinityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseCreateAntiAffinityGroupResponse ¶
func ParseCreateAntiAffinityGroupResponse(rsp *http.Response) (*CreateAntiAffinityGroupResponse, error)
ParseCreateAntiAffinityGroupResponse parses an HTTP response from a CreateAntiAffinityGroupWithResponse call
func (CreateAntiAffinityGroupResponse) Status ¶
func (r CreateAntiAffinityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAntiAffinityGroupResponse) StatusCode ¶
func (r CreateAntiAffinityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDbaasServiceJSONBody ¶ added in v0.57.0
type CreateDbaasServiceJSONBody struct { // Integrations with other services Integrations *[]DbaasServiceIntegration `json:"integrations,omitempty"` // Automatic maintenance settings Maintenance *struct { // Day of week for installing updates Dow CreateDbaasServiceJSONBodyMaintenanceDow `json:"dow"` // Time for installing updates, UTC Time string `json:"time"` } `json:"maintenance,omitempty"` Name DbaasServiceName `json:"name"` // Subscription plan Plan string `json:"plan"` // Service is protected against termination and powering off TerminationProtection *bool `json:"termination-protection,omitempty"` Type DbaasServiceTypeName `json:"type"` // Service type-specific settings UserConfig *CreateDbaasServiceJSONBody_UserConfig `json:"user-config,omitempty"` }
CreateDbaasServiceJSONBody defines parameters for CreateDbaasService.
type CreateDbaasServiceJSONBodyMaintenanceDow ¶ added in v0.57.0
type CreateDbaasServiceJSONBodyMaintenanceDow string
CreateDbaasServiceJSONBodyMaintenanceDow defines parameters for CreateDbaasService.
type CreateDbaasServiceJSONBody_UserConfig ¶ added in v0.57.0
type CreateDbaasServiceJSONBody_UserConfig struct {
AdditionalProperties map[string]interface{} `json:"-"`
}
CreateDbaasServiceJSONBody_UserConfig defines parameters for CreateDbaasService.
func (CreateDbaasServiceJSONBody_UserConfig) Get ¶ added in v0.57.0
func (a CreateDbaasServiceJSONBody_UserConfig) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for CreateDbaasServiceJSONBody_UserConfig. Returns the specified element and whether it was found
func (CreateDbaasServiceJSONBody_UserConfig) MarshalJSON ¶ added in v0.57.0
func (a CreateDbaasServiceJSONBody_UserConfig) MarshalJSON() ([]byte, error)
Override default JSON handling for CreateDbaasServiceJSONBody_UserConfig to handle AdditionalProperties
func (*CreateDbaasServiceJSONBody_UserConfig) Set ¶ added in v0.57.0
func (a *CreateDbaasServiceJSONBody_UserConfig) Set(fieldName string, value interface{})
Setter for additional properties for CreateDbaasServiceJSONBody_UserConfig
func (*CreateDbaasServiceJSONBody_UserConfig) UnmarshalJSON ¶ added in v0.57.0
func (a *CreateDbaasServiceJSONBody_UserConfig) UnmarshalJSON(b []byte) error
Override default JSON handling for CreateDbaasServiceJSONBody_UserConfig to handle AdditionalProperties
type CreateDbaasServiceJSONRequestBody ¶ added in v0.57.0
type CreateDbaasServiceJSONRequestBody CreateDbaasServiceJSONBody
CreateDbaasServiceJSONRequestBody defines body for CreateDbaasService for application/json ContentType.
type CreateDbaasServiceResponse ¶ added in v0.57.0
type CreateDbaasServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DbaasService }
func ParseCreateDbaasServiceResponse ¶ added in v0.57.0
func ParseCreateDbaasServiceResponse(rsp *http.Response) (*CreateDbaasServiceResponse, error)
ParseCreateDbaasServiceResponse parses an HTTP response from a CreateDbaasServiceWithResponse call
func (CreateDbaasServiceResponse) Status ¶ added in v0.57.0
func (r CreateDbaasServiceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDbaasServiceResponse) StatusCode ¶ added in v0.57.0
func (r CreateDbaasServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateElasticIpJSONBody ¶ added in v0.44.0
type CreateElasticIpJSONBody struct { // Elastic IP description Description *string `json:"description,omitempty"` // Elastic IP address healthcheck Healthcheck *ElasticIpHealthcheck `json:"healthcheck,omitempty"` }
CreateElasticIpJSONBody defines parameters for CreateElasticIp.
type CreateElasticIpJSONRequestBody ¶ added in v0.44.0
type CreateElasticIpJSONRequestBody CreateElasticIpJSONBody
CreateElasticIpJSONRequestBody defines body for CreateElasticIp for application/json ContentType.
type CreateElasticIpResponse ¶ added in v0.44.0
func ParseCreateElasticIpResponse ¶ added in v0.44.0
func ParseCreateElasticIpResponse(rsp *http.Response) (*CreateElasticIpResponse, error)
ParseCreateElasticIpResponse parses an HTTP response from a CreateElasticIpWithResponse call
func (CreateElasticIpResponse) Status ¶ added in v0.44.0
func (r CreateElasticIpResponse) Status() string
Status returns HTTPResponse.Status
func (CreateElasticIpResponse) StatusCode ¶ added in v0.44.0
func (r CreateElasticIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateInstanceJSONBody ¶
type CreateInstanceJSONBody struct { // Instance Anti-affinity Groups AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` // Deploy target DeployTarget *DeployTarget `json:"deploy-target,omitempty"` // Instance disk size in GB DiskSize int64 `json:"disk-size"` // Compute instance type InstanceType InstanceType `json:"instance-type"` // Enable IPv6 Ipv6Enabled *bool `json:"ipv6-enabled,omitempty"` Labels *Labels `json:"labels,omitempty"` // Instance name Name *string `json:"name,omitempty"` // Instance Security Groups SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` // SSH key SshKey *SshKey `json:"ssh-key,omitempty"` // Instance template Template Template `json:"template"` // Instance Cloud-init user-data UserData *string `json:"user-data,omitempty"` }
CreateInstanceJSONBody defines parameters for CreateInstance.
type CreateInstanceJSONRequestBody ¶
type CreateInstanceJSONRequestBody CreateInstanceJSONBody
CreateInstanceJSONRequestBody defines body for CreateInstance for application/json ContentType.
type CreateInstancePoolJSONBody ¶
type CreateInstancePoolJSONBody struct { // Instance Pool Anti-affinity Groups AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` // Deploy target DeployTarget *DeployTarget `json:"deploy-target,omitempty"` // Instance Pool description Description *string `json:"description,omitempty"` // Instances disk size in GB DiskSize int64 `json:"disk-size"` // Instances Elastic IPs ElasticIps *[]ElasticIp `json:"elastic-ips,omitempty"` // Prefix to apply to instances names (default: pool) InstancePrefix *string `json:"instance-prefix,omitempty"` // Compute instance type InstanceType InstanceType `json:"instance-type"` // Enable IPv6 for instances Ipv6Enabled *bool `json:"ipv6-enabled,omitempty"` Labels *Labels `json:"labels,omitempty"` // Instance Pool name Name string `json:"name"` // Instance Pool Private Networks PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"` // Instance Pool Security Groups SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` // Number of instances Size int64 `json:"size"` // SSH key SshKey *SshKey `json:"ssh-key,omitempty"` // Instance template Template Template `json:"template"` // Instances Cloud-init user-data UserData *string `json:"user-data,omitempty"` }
CreateInstancePoolJSONBody defines parameters for CreateInstancePool.
type CreateInstancePoolJSONRequestBody ¶
type CreateInstancePoolJSONRequestBody CreateInstancePoolJSONBody
CreateInstancePoolJSONRequestBody defines body for CreateInstancePool for application/json ContentType.
type CreateInstancePoolResponse ¶
type CreateInstancePoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseCreateInstancePoolResponse ¶
func ParseCreateInstancePoolResponse(rsp *http.Response) (*CreateInstancePoolResponse, error)
ParseCreateInstancePoolResponse parses an HTTP response from a CreateInstancePoolWithResponse call
func (CreateInstancePoolResponse) Status ¶
func (r CreateInstancePoolResponse) Status() string
Status returns HTTPResponse.Status
func (CreateInstancePoolResponse) StatusCode ¶
func (r CreateInstancePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateInstanceResponse ¶
func ParseCreateInstanceResponse ¶
func ParseCreateInstanceResponse(rsp *http.Response) (*CreateInstanceResponse, error)
ParseCreateInstanceResponse parses an HTTP response from a CreateInstanceWithResponse call
func (CreateInstanceResponse) Status ¶
func (r CreateInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateInstanceResponse) StatusCode ¶
func (r CreateInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateLoadBalancerJSONBody ¶
type CreateLoadBalancerJSONBody struct { // Load Balancer description Description *string `json:"description,omitempty"` Labels *Labels `json:"labels,omitempty"` // Load Balancer name Name string `json:"name"` }
CreateLoadBalancerJSONBody defines parameters for CreateLoadBalancer.
type CreateLoadBalancerJSONRequestBody ¶
type CreateLoadBalancerJSONRequestBody CreateLoadBalancerJSONBody
CreateLoadBalancerJSONRequestBody defines body for CreateLoadBalancer for application/json ContentType.
type CreateLoadBalancerResponse ¶
type CreateLoadBalancerResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseCreateLoadBalancerResponse ¶
func ParseCreateLoadBalancerResponse(rsp *http.Response) (*CreateLoadBalancerResponse, error)
ParseCreateLoadBalancerResponse parses an HTTP response from a CreateLoadBalancerWithResponse call
func (CreateLoadBalancerResponse) Status ¶
func (r CreateLoadBalancerResponse) Status() string
Status returns HTTPResponse.Status
func (CreateLoadBalancerResponse) StatusCode ¶
func (r CreateLoadBalancerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePrivateNetworkJSONBody ¶
type CreatePrivateNetworkJSONBody struct { // Private Network description Description *string `json:"description,omitempty"` // Private Network end IP address EndIp *string `json:"end-ip,omitempty"` Labels *Labels `json:"labels,omitempty"` // Private Network name Name string `json:"name"` // Private Network netmask Netmask *string `json:"netmask,omitempty"` // Private Network start IP address StartIp *string `json:"start-ip,omitempty"` }
CreatePrivateNetworkJSONBody defines parameters for CreatePrivateNetwork.
type CreatePrivateNetworkJSONRequestBody ¶
type CreatePrivateNetworkJSONRequestBody CreatePrivateNetworkJSONBody
CreatePrivateNetworkJSONRequestBody defines body for CreatePrivateNetwork for application/json ContentType.
type CreatePrivateNetworkResponse ¶
type CreatePrivateNetworkResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseCreatePrivateNetworkResponse ¶
func ParseCreatePrivateNetworkResponse(rsp *http.Response) (*CreatePrivateNetworkResponse, error)
ParseCreatePrivateNetworkResponse parses an HTTP response from a CreatePrivateNetworkWithResponse call
func (CreatePrivateNetworkResponse) Status ¶
func (r CreatePrivateNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePrivateNetworkResponse) StatusCode ¶
func (r CreatePrivateNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSecurityGroupJSONBody ¶
type CreateSecurityGroupJSONBody struct { // Security Group description Description *string `json:"description,omitempty"` // Security Group name Name string `json:"name"` }
CreateSecurityGroupJSONBody defines parameters for CreateSecurityGroup.
type CreateSecurityGroupJSONRequestBody ¶
type CreateSecurityGroupJSONRequestBody CreateSecurityGroupJSONBody
CreateSecurityGroupJSONRequestBody defines body for CreateSecurityGroup for application/json ContentType.
type CreateSecurityGroupResponse ¶
type CreateSecurityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseCreateSecurityGroupResponse ¶
func ParseCreateSecurityGroupResponse(rsp *http.Response) (*CreateSecurityGroupResponse, error)
ParseCreateSecurityGroupResponse parses an HTTP response from a CreateSecurityGroupWithResponse call
func (CreateSecurityGroupResponse) Status ¶
func (r CreateSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSecurityGroupResponse) StatusCode ¶
func (r CreateSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSksClusterJSONBody ¶
type CreateSksClusterJSONBody struct { // Cluster addons Addons *[]CreateSksClusterJSONBodyAddons `json:"addons,omitempty"` // Enable auto upgrade of the control plane to the latest patch version available AutoUpgrade *bool `json:"auto-upgrade,omitempty"` // Cluster CNI Cni *CreateSksClusterJSONBodyCni `json:"cni,omitempty"` // Cluster description Description *string `json:"description,omitempty"` Labels *Labels `json:"labels,omitempty"` // Cluster service level Level CreateSksClusterJSONBodyLevel `json:"level"` // Cluster name Name string `json:"name"` // Control plane Kubernetes version Version string `json:"version"` }
CreateSksClusterJSONBody defines parameters for CreateSksCluster.
type CreateSksClusterJSONBodyAddons ¶ added in v0.52.0
type CreateSksClusterJSONBodyAddons string
CreateSksClusterJSONBodyAddons defines parameters for CreateSksCluster.
type CreateSksClusterJSONBodyCni ¶ added in v0.52.0
type CreateSksClusterJSONBodyCni string
CreateSksClusterJSONBodyCni defines parameters for CreateSksCluster.
type CreateSksClusterJSONBodyLevel ¶ added in v0.52.0
type CreateSksClusterJSONBodyLevel string
CreateSksClusterJSONBodyLevel defines parameters for CreateSksCluster.
type CreateSksClusterJSONRequestBody ¶
type CreateSksClusterJSONRequestBody CreateSksClusterJSONBody
CreateSksClusterJSONRequestBody defines body for CreateSksCluster for application/json ContentType.
type CreateSksClusterResponse ¶
func ParseCreateSksClusterResponse ¶
func ParseCreateSksClusterResponse(rsp *http.Response) (*CreateSksClusterResponse, error)
ParseCreateSksClusterResponse parses an HTTP response from a CreateSksClusterWithResponse call
func (CreateSksClusterResponse) Status ¶
func (r CreateSksClusterResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSksClusterResponse) StatusCode ¶
func (r CreateSksClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSksNodepoolJSONBody ¶
type CreateSksNodepoolJSONBody struct { // Nodepool addons Addons *[]CreateSksNodepoolJSONBodyAddons `json:"addons,omitempty"` // Nodepool Anti-affinity Groups AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` // Deploy target DeployTarget *DeployTarget `json:"deploy-target,omitempty"` // Nodepool description Description *string `json:"description,omitempty"` // Nodepool instances disk size in GB DiskSize int64 `json:"disk-size"` // Prefix to apply to instances names (default: pool) InstancePrefix *string `json:"instance-prefix,omitempty"` // Compute instance type InstanceType InstanceType `json:"instance-type"` Labels *Labels `json:"labels,omitempty"` // Nodepool name Name string `json:"name"` // Nodepool Private Networks PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"` // Nodepool Security Groups SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` // Number of instances Size int64 `json:"size"` }
CreateSksNodepoolJSONBody defines parameters for CreateSksNodepool.
type CreateSksNodepoolJSONBodyAddons ¶ added in v0.69.0
type CreateSksNodepoolJSONBodyAddons string
CreateSksNodepoolJSONBodyAddons defines parameters for CreateSksNodepool.
type CreateSksNodepoolJSONRequestBody ¶
type CreateSksNodepoolJSONRequestBody CreateSksNodepoolJSONBody
CreateSksNodepoolJSONRequestBody defines body for CreateSksNodepool for application/json ContentType.
type CreateSksNodepoolResponse ¶
type CreateSksNodepoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseCreateSksNodepoolResponse ¶
func ParseCreateSksNodepoolResponse(rsp *http.Response) (*CreateSksNodepoolResponse, error)
ParseCreateSksNodepoolResponse parses an HTTP response from a CreateSksNodepoolWithResponse call
func (CreateSksNodepoolResponse) Status ¶
func (r CreateSksNodepoolResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSksNodepoolResponse) StatusCode ¶
func (r CreateSksNodepoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSnapshotResponse ¶
func ParseCreateSnapshotResponse ¶
func ParseCreateSnapshotResponse(rsp *http.Response) (*CreateSnapshotResponse, error)
ParseCreateSnapshotResponse parses an HTTP response from a CreateSnapshotWithResponse call
func (CreateSnapshotResponse) Status ¶
func (r CreateSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSnapshotResponse) StatusCode ¶
func (r CreateSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DbaasBackupConfig ¶ added in v0.49.0
type DbaasBackupConfig struct { // Interval of taking a frequent backup in service types supporting different backup schedules FrequentIntervalMinutes *int64 `json:"frequent-interval-minutes,omitempty"` // Maximum age of the oldest frequent backup in service types supporting different backup schedules FrequentOldestAgeMinutes *int64 `json:"frequent-oldest-age-minutes,omitempty"` // Interval of taking a frequent backup in service types supporting different backup schedules InfrequentIntervalMinutes *int64 `json:"infrequent-interval-minutes,omitempty"` // Maximum age of the oldest infrequent backup in service types supporting different backup schedules InfrequentOldestAgeMinutes *int64 `json:"infrequent-oldest-age-minutes,omitempty"` // The interval, in hours, at which backups are generated. // For some services, like PostgreSQL, this is the interval // at which full snapshots are taken and continuous incremental // backup stream is maintained in addition to that. Interval *int64 `json:"interval,omitempty"` // Maximum number of backups to keep. Zero when no backups are created. MaxCount *int64 `json:"max-count,omitempty"` // Mechanism how backups can be restored. 'regular' // means a backup is restored as is so that the system // is restored to the state it was when the backup was generated. // 'pitr' means point-in-time-recovery, which allows restoring // the system to any state since the first available full snapshot. RecoveryMode *string `json:"recovery-mode,omitempty"` }
DBaaS plan backup config
type DbaasNodeState ¶ added in v0.49.0
type DbaasNodeState struct { // Name of the service node Name string `json:"name"` // Extra information regarding the progress for current state ProgressUpdates *[]DbaasNodeStateProgressUpdate `json:"progress-updates,omitempty"` // Role of this node. Only returned for a subset of service types Role *DbaasNodeStateRole `json:"role,omitempty"` // Current state of the service node State DbaasNodeStateState `json:"state"` }
Automatic maintenance settings
type DbaasNodeStateProgressUpdate ¶ added in v0.49.0
type DbaasNodeStateProgressUpdate struct { // Indicates whether this phase has been completed or not Completed bool `json:"completed"` // Current progress for this phase. May be missing or null. Current *int64 `json:"current,omitempty"` // Maximum progress value for this phase. May be missing or null. May change. Max *int64 `json:"max,omitempty"` // Minimum progress value for this phase. May be missing or null. Min *int64 `json:"min,omitempty"` // Key identifying this phase Phase DbaasNodeStateProgressUpdatePhase `json:"phase"` // Unit for current/min/max values. New units may be added. // If null should be treated as generic unit Unit *string `json:"unit,omitempty"` }
Extra information regarding the progress for current state
type DbaasNodeStateProgressUpdatePhase ¶ added in v0.52.0
type DbaasNodeStateProgressUpdatePhase string
Key identifying this phase
const ( DbaasNodeStateProgressUpdatePhaseBasebackup DbaasNodeStateProgressUpdatePhase = "basebackup" DbaasNodeStateProgressUpdatePhaseFinalize DbaasNodeStateProgressUpdatePhase = "finalize" DbaasNodeStateProgressUpdatePhasePrepare DbaasNodeStateProgressUpdatePhase = "prepare" DbaasNodeStateProgressUpdatePhaseStream DbaasNodeStateProgressUpdatePhase = "stream" )
Defines values for DbaasNodeStateProgressUpdatePhase.
type DbaasNodeStateRole ¶ added in v0.52.0
type DbaasNodeStateRole string
Role of this node. Only returned for a subset of service types
const ( DbaasNodeStateRoleMaster DbaasNodeStateRole = "master" DbaasNodeStateRoleReadReplica DbaasNodeStateRole = "read-replica" DbaasNodeStateRoleStandby DbaasNodeStateRole = "standby" )
Defines values for DbaasNodeStateRole.
type DbaasNodeStateState ¶ added in v0.52.0
type DbaasNodeStateState string
Current state of the service node
const ( DbaasNodeStateStateLeaving DbaasNodeStateState = "leaving" DbaasNodeStateStateRunning DbaasNodeStateState = "running" DbaasNodeStateStateSettingUpVm DbaasNodeStateState = "setting_up_vm" DbaasNodeStateStateSyncingData DbaasNodeStateState = "syncing_data" DbaasNodeStateStateUnknown DbaasNodeStateState = "unknown" )
Defines values for DbaasNodeStateState.
type DbaasPlan ¶ added in v0.49.0
type DbaasPlan struct { // DBaaS plan backup config BackupConfig *DbaasBackupConfig `json:"backup-config,omitempty"` // DBaaS plan disk space DiskSpace *int64 `json:"disk-space,omitempty"` // DBaaS plan max memory allocated percentage MaxMemoryPercent *int64 `json:"max-memory-percent,omitempty"` // DBaaS plan name Name *string `json:"name,omitempty"` // DBaaS plan node count NodeCount *int64 `json:"node-count,omitempty"` // DBaaS plan CPU count per node NodeCpuCount *int64 `json:"node-cpu-count,omitempty"` // DBaaS plan memory count per node NodeMemory *int64 `json:"node-memory,omitempty"` }
DBaaS plan
type DbaasService ¶ added in v0.49.0
type DbaasService struct { // List of Kafka ACL entries Acl *[]DbaasServiceAcl `json:"acl,omitempty"` // List of backups for the service Backups *[]DbaasServiceBackup `json:"backups,omitempty"` // Service component information objects Components *[]DbaasServiceComponents `json:"components,omitempty"` // Service-specific connection information properties ConnectionInfo *DbaasService_ConnectionInfo `json:"connection-info,omitempty"` // PostgreSQL PGBouncer connection pools ConnectionPools *[]DbaasServiceConnectionPools `json:"connection-pools,omitempty"` // Service creation timestamp (ISO 8601) CreatedAt *time.Time `json:"created-at,omitempty"` // Single line description of the service Description *string `json:"description,omitempty"` // TODO UNIT disk space for data storage DiskSize *int64 `json:"disk-size,omitempty"` // Feature flags Features *DbaasService_Features `json:"features,omitempty"` // Integrations with other services Integrations *[]DbaasServiceIntegration `json:"integrations,omitempty"` // Automatic maintenance settings Maintenance *DbaasServiceMaintenance `json:"maintenance,omitempty"` // Service type specific metadata Metadata *DbaasService_Metadata `json:"metadata,omitempty"` Name DbaasServiceName `json:"name"` // Number of service nodes in the active plan NodeCount *int64 `json:"node-count,omitempty"` // Number of CPUs for each node NodeCpuCount *int64 `json:"node-cpu-count,omitempty"` // TODO UNIT of memory for each node NodeMemory *int64 `json:"node-memory,omitempty"` // State of individual service nodes NodeStates *[]DbaasNodeState `json:"node-states,omitempty"` // Service notifications Notifications *[]DbaasServiceNotification `json:"notifications,omitempty"` // Subscription plan Plan string `json:"plan"` // State of the service State *DbaasServiceState `json:"state,omitempty"` // Service is protected against termination and powering off TerminationProtection *bool `json:"termination-protection,omitempty"` Type DbaasServiceTypeName `json:"type"` // Service last update timestamp (ISO 8601) UpdatedAt *time.Time `json:"updated-at,omitempty"` // URI for connecting to the service (may be absent) Uri *string `json:"uri,omitempty"` // service_uri parameterized into key-value pairs UriParams *DbaasService_UriParams `json:"uri-params,omitempty"` // Service type-specific settings UserConfig *DbaasService_UserConfig `json:"user-config,omitempty"` // List of service users Users *[]DbaasServiceUser `json:"users,omitempty"` }
Service information
func (*DbaasService) MarshalJSON ¶ added in v0.57.0
func (s *DbaasService) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON encoding of a DbaasService structure after having formatted the CreatedAt field in the original timestamp (ISO 8601), since time.MarshalJSON() only supports RFC 3339 format.
func (*DbaasService) UnmarshalJSON ¶ added in v0.57.0
func (s *DbaasService) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals a DbaasService 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 DbaasServiceAcl ¶ added in v0.49.0
type DbaasServiceAcl struct { // ID Id *string `json:"id,omitempty"` // Kafka permission Permission DbaasServiceAclPermission `json:"permission"` // Topic name pattern Topic string `json:"topic"` // Username Username string `json:"username"` }
List of Kafka ACL entries
type DbaasServiceAclPermission ¶ added in v0.52.0
type DbaasServiceAclPermission string
Kafka permission
const ( DbaasServiceAclPermissionAdmin DbaasServiceAclPermission = "admin" DbaasServiceAclPermissionRead DbaasServiceAclPermission = "read" DbaasServiceAclPermissionReadwrite DbaasServiceAclPermission = "readwrite" DbaasServiceAclPermissionWrite DbaasServiceAclPermission = "write" )
Defines values for DbaasServiceAclPermission.
type DbaasServiceBackup ¶ added in v0.49.0
type DbaasServiceBackup struct { // Internal name of this backup BackupName string `json:"backup-name"` // Backup timestamp (ISO 8601) BackupTime time.Time `json:"backup-time"` // Backup's original size before compression DataSize int64 `json:"data-size"` }
List of backups for the service
func (*DbaasServiceBackup) MarshalJSON ¶ added in v0.57.0
func (b *DbaasServiceBackup) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON encoding of a DbaasServiceBackup structure after having formatted the BackupTime field in the original timestamp (ISO 8601), since time.MarshalJSON() only supports RFC 3339 format.
func (*DbaasServiceBackup) UnmarshalJSON ¶ added in v0.57.0
func (b *DbaasServiceBackup) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals a DbaasServiceBackup structure into a temporary structure whose BackupTime 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 DbaasServiceComponents ¶ added in v0.49.0
type DbaasServiceComponents struct { // Service component name Component string `json:"component"` // DNS name for connecting to the service component Host string `json:"host"` // Kafka authentication method. This is a value specific to the 'kafka' service component KafkaAuthenticationMethod *DbaasServiceComponentsKafkaAuthenticationMethod `json:"kafka-authentication-method,omitempty"` // Path component of the service URL (useful only if service component is HTTP or HTTPS endpoint) Path *string `json:"path,omitempty"` // Port number for connecting to the service component Port int64 `json:"port"` // Network access route Route DbaasServiceComponentsRoute `json:"route"` // Whether the endpoint is encrypted or accepts plaintext. // By default endpoints are always encrypted and // this property is only included for service components that may disable encryption. Ssl *bool `json:"ssl,omitempty"` // DNS usage name Usage DbaasServiceComponentsUsage `json:"usage"` }
Service component information objects
type DbaasServiceComponentsKafkaAuthenticationMethod ¶ added in v0.52.0
type DbaasServiceComponentsKafkaAuthenticationMethod string
Kafka authentication method. This is a value specific to the 'kafka' service component
const ( DbaasServiceComponentsKafkaAuthenticationMethodCertificate DbaasServiceComponentsKafkaAuthenticationMethod = "certificate" DbaasServiceComponentsKafkaAuthenticationMethodSasl DbaasServiceComponentsKafkaAuthenticationMethod = "sasl" )
Defines values for DbaasServiceComponentsKafkaAuthenticationMethod.
type DbaasServiceComponentsRoute ¶ added in v0.52.0
type DbaasServiceComponentsRoute string
Network access route
const ( DbaasServiceComponentsRouteDynamic DbaasServiceComponentsRoute = "dynamic" DbaasServiceComponentsRoutePrivate DbaasServiceComponentsRoute = "private" DbaasServiceComponentsRoutePrivatelink DbaasServiceComponentsRoute = "privatelink" DbaasServiceComponentsRoutePublic DbaasServiceComponentsRoute = "public" )
Defines values for DbaasServiceComponentsRoute.
type DbaasServiceComponentsUsage ¶ added in v0.52.0
type DbaasServiceComponentsUsage string
DNS usage name
const ( DbaasServiceComponentsUsagePrimary DbaasServiceComponentsUsage = "primary" DbaasServiceComponentsUsageReplica DbaasServiceComponentsUsage = "replica" )
Defines values for DbaasServiceComponentsUsage.
type DbaasServiceConnectionPools ¶ added in v0.49.0
type DbaasServiceConnectionPools struct { // Connection URI for the DB pool ConnectionUri string `json:"connection-uri"` // Service database name Database string `json:"database"` // PGBouncer pool mode PoolMode DbaasServiceConnectionPoolsPoolMode `json:"pool-mode"` // Connection pool name PoolName string `json:"pool-name"` // Size of PGBouncer's PostgreSQL side connection pool PoolSize int64 `json:"pool-size"` // Pool username Username string `json:"username"` }
PostgreSQL PGBouncer connection pools
type DbaasServiceConnectionPoolsPoolMode ¶ added in v0.52.0
type DbaasServiceConnectionPoolsPoolMode string
PGBouncer pool mode
const ( DbaasServiceConnectionPoolsPoolModeSession DbaasServiceConnectionPoolsPoolMode = "session" DbaasServiceConnectionPoolsPoolModeStatement DbaasServiceConnectionPoolsPoolMode = "statement" DbaasServiceConnectionPoolsPoolModeTransaction DbaasServiceConnectionPoolsPoolMode = "transaction" )
Defines values for DbaasServiceConnectionPoolsPoolMode.
type DbaasServiceIntegration ¶ added in v0.49.0
type DbaasServiceIntegration struct { // True when integration is active Active bool `json:"active"` // Description of the integration Description string `json:"description"` // Destination endpoint name DestEndpoint *string `json:"dest-endpoint,omitempty"` // Destination endpoint id DestEndpointId *string `json:"dest-endpoint-id,omitempty"` // Destination service name DestService string `json:"dest-service"` DestServiceType DbaasServiceTypeName `json:"dest-service-type"` // True when integration is enabled Enabled bool `json:"enabled"` // Integration status IntegrationStatus *DbaasServiceIntegration_IntegrationStatus `json:"integration-status,omitempty"` // Type of the integration IntegrationType string `json:"integration-type"` // Integration ID ServiceIntegrationId string `json:"service-integration-id"` // Source endpoint name SourceEndpoint *string `json:"source-endpoint,omitempty"` // Source endpoint ID SourceEndpointId *string `json:"source-endpoint-id,omitempty"` // Source service name SourceService string `json:"source-service"` SourceServiceType DbaasServiceTypeName `json:"source-service-type"` // Service integration settings UserConfig *DbaasServiceIntegration_UserConfig `json:"user-config,omitempty"` }
Integrations with other services
type DbaasServiceIntegration_IntegrationStatus ¶ added in v0.49.0
type DbaasServiceIntegration_IntegrationStatus struct {
AdditionalProperties map[string]interface{} `json:"-"`
}
Integration status
func (DbaasServiceIntegration_IntegrationStatus) Get ¶ added in v0.49.0
func (a DbaasServiceIntegration_IntegrationStatus) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for DbaasServiceIntegration_IntegrationStatus. Returns the specified element and whether it was found
func (DbaasServiceIntegration_IntegrationStatus) MarshalJSON ¶ added in v0.49.0
func (a DbaasServiceIntegration_IntegrationStatus) MarshalJSON() ([]byte, error)
Override default JSON handling for DbaasServiceIntegration_IntegrationStatus to handle AdditionalProperties
func (*DbaasServiceIntegration_IntegrationStatus) Set ¶ added in v0.49.0
func (a *DbaasServiceIntegration_IntegrationStatus) Set(fieldName string, value interface{})
Setter for additional properties for DbaasServiceIntegration_IntegrationStatus
func (*DbaasServiceIntegration_IntegrationStatus) UnmarshalJSON ¶ added in v0.49.0
func (a *DbaasServiceIntegration_IntegrationStatus) UnmarshalJSON(b []byte) error
Override default JSON handling for DbaasServiceIntegration_IntegrationStatus to handle AdditionalProperties
type DbaasServiceIntegration_UserConfig ¶ added in v0.49.0
type DbaasServiceIntegration_UserConfig struct {
AdditionalProperties map[string]interface{} `json:"-"`
}
Service integration settings
func (DbaasServiceIntegration_UserConfig) Get ¶ added in v0.49.0
func (a DbaasServiceIntegration_UserConfig) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for DbaasServiceIntegration_UserConfig. Returns the specified element and whether it was found
func (DbaasServiceIntegration_UserConfig) MarshalJSON ¶ added in v0.49.0
func (a DbaasServiceIntegration_UserConfig) MarshalJSON() ([]byte, error)
Override default JSON handling for DbaasServiceIntegration_UserConfig to handle AdditionalProperties
func (*DbaasServiceIntegration_UserConfig) Set ¶ added in v0.49.0
func (a *DbaasServiceIntegration_UserConfig) Set(fieldName string, value interface{})
Setter for additional properties for DbaasServiceIntegration_UserConfig
func (*DbaasServiceIntegration_UserConfig) UnmarshalJSON ¶ added in v0.49.0
func (a *DbaasServiceIntegration_UserConfig) UnmarshalJSON(b []byte) error
Override default JSON handling for DbaasServiceIntegration_UserConfig to handle AdditionalProperties
type DbaasServiceMaintenance ¶ added in v0.49.0
type DbaasServiceMaintenance struct { // Day of week for installing updates Dow DbaasServiceMaintenanceDow `json:"dow"` // Time for installing updates, UTC Time string `json:"time"` // List of updates waiting to be installed Updates []DbaasServiceUpdate `json:"updates"` }
Automatic maintenance settings
type DbaasServiceMaintenanceDow ¶ added in v0.52.0
type DbaasServiceMaintenanceDow string
Day of week for installing updates
const ( DbaasServiceMaintenanceDowFriday DbaasServiceMaintenanceDow = "friday" DbaasServiceMaintenanceDowMonday DbaasServiceMaintenanceDow = "monday" DbaasServiceMaintenanceDowNever DbaasServiceMaintenanceDow = "never" DbaasServiceMaintenanceDowSaturday DbaasServiceMaintenanceDow = "saturday" DbaasServiceMaintenanceDowSunday DbaasServiceMaintenanceDow = "sunday" DbaasServiceMaintenanceDowThursday DbaasServiceMaintenanceDow = "thursday" DbaasServiceMaintenanceDowTuesday DbaasServiceMaintenanceDow = "tuesday" DbaasServiceMaintenanceDowWednesday DbaasServiceMaintenanceDow = "wednesday" )
Defines values for DbaasServiceMaintenanceDow.
type DbaasServiceName ¶ added in v0.49.0
type DbaasServiceName string
DbaasServiceName defines model for dbaas-service-name.
type DbaasServiceNotification ¶ added in v0.49.0
type DbaasServiceNotification struct { // Notification level Level DbaasServiceNotificationLevel `json:"level"` // Human notification message Message string `json:"message"` // Notification metadata Metadata DbaasServiceNotificationMetadata `json:"metadata"` // Notification type Type DbaasServiceNotificationType `json:"type"` }
Service notifications
type DbaasServiceNotificationLevel ¶ added in v0.52.0
type DbaasServiceNotificationLevel string
Notification level
const ( DbaasServiceNotificationLevelNotice DbaasServiceNotificationLevel = "notice" DbaasServiceNotificationLevelWarning DbaasServiceNotificationLevel = "warning" )
Defines values for DbaasServiceNotificationLevel.
type DbaasServiceNotificationMetadata ¶ added in v0.49.0
type DbaasServiceNotificationMetadata struct { // Link to the help article EndOfLifeHelpArticleUrl string `json:"end-of-life-help-article-url"` // Timestamp in ISO 8601 format, always in UTC ServiceEndOfLifeTime *time.Time `json:"service-end-of-life-time,omitempty"` }
Notification metadata
type DbaasServiceNotificationType ¶ added in v0.52.0
type DbaasServiceNotificationType string
Notification type
const ( DbaasServiceNotificationTypeServiceEndOfLife DbaasServiceNotificationType = "service_end_of_life" DbaasServiceNotificationTypeServicePoweredOffRemoval DbaasServiceNotificationType = "service_powered_off_removal" )
Defines values for DbaasServiceNotificationType.
type DbaasServiceState ¶ added in v0.52.0
type DbaasServiceState string
State of the service
const ( DbaasServiceStatePoweroff DbaasServiceState = "poweroff" DbaasServiceStateRebalancing DbaasServiceState = "rebalancing" DbaasServiceStateRebuilding DbaasServiceState = "rebuilding" DbaasServiceStateRunning DbaasServiceState = "running" )
Defines values for DbaasServiceState.
type DbaasServiceType ¶ added in v0.49.0
type DbaasServiceType struct { // DbaaS service default version DefaultVersion *string `json:"default-version,omitempty"` // DbaaS service description Description *string `json:"description,omitempty"` // DbaaS service latest available version LatestVersion *string `json:"latest-version,omitempty"` Name *DbaasServiceTypeName `json:"name,omitempty"` // DbaaS service plans Plans *[]DbaasPlan `json:"plans,omitempty"` // JSON schema representing the configuration options for the service UserConfigSchema *DbaasServiceType_UserConfigSchema `json:"user-config-schema,omitempty"` }
DBaaS service
type DbaasServiceTypeName ¶ added in v0.49.0
type DbaasServiceTypeName string
DbaasServiceTypeName defines model for dbaas-service-type-name.
type DbaasServiceType_UserConfigSchema ¶ added in v0.49.0
type DbaasServiceType_UserConfigSchema struct {
AdditionalProperties map[string]interface{} `json:"-"`
}
JSON schema representing the configuration options for the service
func (DbaasServiceType_UserConfigSchema) Get ¶ added in v0.49.0
func (a DbaasServiceType_UserConfigSchema) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for DbaasServiceType_UserConfigSchema. Returns the specified element and whether it was found
func (DbaasServiceType_UserConfigSchema) MarshalJSON ¶ added in v0.49.0
func (a DbaasServiceType_UserConfigSchema) MarshalJSON() ([]byte, error)
Override default JSON handling for DbaasServiceType_UserConfigSchema to handle AdditionalProperties
func (*DbaasServiceType_UserConfigSchema) Set ¶ added in v0.49.0
func (a *DbaasServiceType_UserConfigSchema) Set(fieldName string, value interface{})
Setter for additional properties for DbaasServiceType_UserConfigSchema
func (*DbaasServiceType_UserConfigSchema) UnmarshalJSON ¶ added in v0.49.0
func (a *DbaasServiceType_UserConfigSchema) UnmarshalJSON(b []byte) error
Override default JSON handling for DbaasServiceType_UserConfigSchema to handle AdditionalProperties
type DbaasServiceUpdate ¶ added in v0.49.0
type DbaasServiceUpdate struct { // Deadline for installing the update Deadline *time.Time `json:"deadline,omitempty"` // Description of the update Description *string `json:"description,omitempty"` // The earliest time the update will be automatically applied StartAfter *time.Time `json:"start-after,omitempty"` // The time when the update will be automatically applied StartAt *time.Time `json:"start-at,omitempty"` }
Update waiting to be installed
type DbaasServiceUser ¶ added in v0.49.0
type DbaasServiceUser struct { // Access certificate for TLS client authentication AccessCert *string `json:"access-cert,omitempty"` // Access certificate validity end time (ISO8601) AccessCertNotValidAfterTime *time.Time `json:"access-cert-not-valid-after-time,omitempty"` // Service specific access controls for user AccessControl *DbaasServiceUserAccessControl `json:"access-control,omitempty"` // Service specific access controls for user AccessKey *string `json:"access-key,omitempty"` // Access key for TLS client authentication Authentication *DbaasServiceUserAuthentication `json:"authentication,omitempty"` // Account password. A missing field indicates a user overridden password. Password *string `json:"password,omitempty"` // Account type Type string `json:"type"` // Account username Username string `json:"username"` }
List of service users
func (*DbaasServiceUser) MarshalJSON ¶ added in v0.57.0
func (u *DbaasServiceUser) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON encoding of a DbaasServiceUser structure after having formatted the AccessCertNotValidAfterTime field in the original timestamp (ISO 8601), since time.MarshalJSON() only supports RFC 3339 format.
func (*DbaasServiceUser) UnmarshalJSON ¶ added in v0.57.0
func (u *DbaasServiceUser) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals a DbaasServiceUser structure into a temporary structure whose AccessCertNotValidAfterTime 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 DbaasServiceUserAccessControl ¶ added in v0.49.0
type DbaasServiceUserAccessControl struct { // Command category rules RedisAclCategories *[]string `json:"redis-acl-categories,omitempty"` // Rules for individual commands RedisAclCommands *[]string `json:"redis-acl-commands,omitempty"` // Key access rules RedisAclKeys *[]string `json:"redis-acl-keys,omitempty"` }
Service specific access controls for user
type DbaasServiceUserAuthentication ¶ added in v0.52.0
type DbaasServiceUserAuthentication string
Access key for TLS client authentication
const ( DbaasServiceUserAuthenticationCachingSha2Password DbaasServiceUserAuthentication = "caching_sha2_password" DbaasServiceUserAuthenticationMysqlNativePassword DbaasServiceUserAuthentication = "mysql_native_password" )
Defines values for DbaasServiceUserAuthentication.
type DbaasService_ConnectionInfo ¶ added in v0.49.0
type DbaasService_ConnectionInfo struct {
AdditionalProperties map[string]interface{} `json:"-"`
}
Service-specific connection information properties
func (DbaasService_ConnectionInfo) Get ¶ added in v0.49.0
func (a DbaasService_ConnectionInfo) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for DbaasService_ConnectionInfo. Returns the specified element and whether it was found
func (DbaasService_ConnectionInfo) MarshalJSON ¶ added in v0.49.0
func (a DbaasService_ConnectionInfo) MarshalJSON() ([]byte, error)
Override default JSON handling for DbaasService_ConnectionInfo to handle AdditionalProperties
func (*DbaasService_ConnectionInfo) Set ¶ added in v0.49.0
func (a *DbaasService_ConnectionInfo) Set(fieldName string, value interface{})
Setter for additional properties for DbaasService_ConnectionInfo
func (*DbaasService_ConnectionInfo) UnmarshalJSON ¶ added in v0.49.0
func (a *DbaasService_ConnectionInfo) UnmarshalJSON(b []byte) error
Override default JSON handling for DbaasService_ConnectionInfo to handle AdditionalProperties
type DbaasService_Features ¶ added in v0.49.0
type DbaasService_Features struct {
AdditionalProperties map[string]interface{} `json:"-"`
}
Feature flags
func (DbaasService_Features) Get ¶ added in v0.49.0
func (a DbaasService_Features) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for DbaasService_Features. Returns the specified element and whether it was found
func (DbaasService_Features) MarshalJSON ¶ added in v0.49.0
func (a DbaasService_Features) MarshalJSON() ([]byte, error)
Override default JSON handling for DbaasService_Features to handle AdditionalProperties
func (*DbaasService_Features) Set ¶ added in v0.49.0
func (a *DbaasService_Features) Set(fieldName string, value interface{})
Setter for additional properties for DbaasService_Features
func (*DbaasService_Features) UnmarshalJSON ¶ added in v0.49.0
func (a *DbaasService_Features) UnmarshalJSON(b []byte) error
Override default JSON handling for DbaasService_Features to handle AdditionalProperties
type DbaasService_Metadata ¶ added in v0.49.0
type DbaasService_Metadata struct {
AdditionalProperties map[string]interface{} `json:"-"`
}
Service type specific metadata
func (DbaasService_Metadata) Get ¶ added in v0.49.0
func (a DbaasService_Metadata) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for DbaasService_Metadata. Returns the specified element and whether it was found
func (DbaasService_Metadata) MarshalJSON ¶ added in v0.49.0
func (a DbaasService_Metadata) MarshalJSON() ([]byte, error)
Override default JSON handling for DbaasService_Metadata to handle AdditionalProperties
func (*DbaasService_Metadata) Set ¶ added in v0.49.0
func (a *DbaasService_Metadata) Set(fieldName string, value interface{})
Setter for additional properties for DbaasService_Metadata
func (*DbaasService_Metadata) UnmarshalJSON ¶ added in v0.49.0
func (a *DbaasService_Metadata) UnmarshalJSON(b []byte) error
Override default JSON handling for DbaasService_Metadata to handle AdditionalProperties
type DbaasService_UriParams ¶ added in v0.49.0
type DbaasService_UriParams struct {
AdditionalProperties map[string]interface{} `json:"-"`
}
service_uri parameterized into key-value pairs
func (DbaasService_UriParams) Get ¶ added in v0.49.0
func (a DbaasService_UriParams) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for DbaasService_UriParams. Returns the specified element and whether it was found
func (DbaasService_UriParams) MarshalJSON ¶ added in v0.49.0
func (a DbaasService_UriParams) MarshalJSON() ([]byte, error)
Override default JSON handling for DbaasService_UriParams to handle AdditionalProperties
func (*DbaasService_UriParams) Set ¶ added in v0.49.0
func (a *DbaasService_UriParams) Set(fieldName string, value interface{})
Setter for additional properties for DbaasService_UriParams
func (*DbaasService_UriParams) UnmarshalJSON ¶ added in v0.49.0
func (a *DbaasService_UriParams) UnmarshalJSON(b []byte) error
Override default JSON handling for DbaasService_UriParams to handle AdditionalProperties
type DbaasService_UserConfig ¶ added in v0.49.0
type DbaasService_UserConfig struct {
AdditionalProperties map[string]interface{} `json:"-"`
}
Service type-specific settings
func (DbaasService_UserConfig) Get ¶ added in v0.49.0
func (a DbaasService_UserConfig) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for DbaasService_UserConfig. Returns the specified element and whether it was found
func (DbaasService_UserConfig) MarshalJSON ¶ added in v0.49.0
func (a DbaasService_UserConfig) MarshalJSON() ([]byte, error)
Override default JSON handling for DbaasService_UserConfig to handle AdditionalProperties
func (*DbaasService_UserConfig) Set ¶ added in v0.49.0
func (a *DbaasService_UserConfig) Set(fieldName string, value interface{})
Setter for additional properties for DbaasService_UserConfig
func (*DbaasService_UserConfig) UnmarshalJSON ¶ added in v0.49.0
func (a *DbaasService_UserConfig) UnmarshalJSON(b []byte) error
Override default JSON handling for DbaasService_UserConfig to handle AdditionalProperties
type DeleteAntiAffinityGroupResponse ¶
type DeleteAntiAffinityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDeleteAntiAffinityGroupResponse ¶
func ParseDeleteAntiAffinityGroupResponse(rsp *http.Response) (*DeleteAntiAffinityGroupResponse, error)
ParseDeleteAntiAffinityGroupResponse parses an HTTP response from a DeleteAntiAffinityGroupWithResponse call
func (DeleteAntiAffinityGroupResponse) Status ¶
func (r DeleteAntiAffinityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAntiAffinityGroupResponse) StatusCode ¶
func (r DeleteAntiAffinityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteElasticIpResponse ¶ added in v0.44.0
func ParseDeleteElasticIpResponse ¶ added in v0.44.0
func ParseDeleteElasticIpResponse(rsp *http.Response) (*DeleteElasticIpResponse, error)
ParseDeleteElasticIpResponse parses an HTTP response from a DeleteElasticIpWithResponse call
func (DeleteElasticIpResponse) Status ¶ added in v0.44.0
func (r DeleteElasticIpResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteElasticIpResponse) StatusCode ¶ added in v0.44.0
func (r DeleteElasticIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteInstancePoolResponse ¶
type DeleteInstancePoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDeleteInstancePoolResponse ¶
func ParseDeleteInstancePoolResponse(rsp *http.Response) (*DeleteInstancePoolResponse, error)
ParseDeleteInstancePoolResponse parses an HTTP response from a DeleteInstancePoolWithResponse call
func (DeleteInstancePoolResponse) Status ¶
func (r DeleteInstancePoolResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteInstancePoolResponse) StatusCode ¶
func (r DeleteInstancePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteInstanceResponse ¶ added in v0.48.0
func ParseDeleteInstanceResponse ¶ added in v0.48.0
func ParseDeleteInstanceResponse(rsp *http.Response) (*DeleteInstanceResponse, error)
ParseDeleteInstanceResponse parses an HTTP response from a DeleteInstanceWithResponse call
func (DeleteInstanceResponse) Status ¶ added in v0.48.0
func (r DeleteInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteInstanceResponse) StatusCode ¶ added in v0.48.0
func (r DeleteInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteLoadBalancerResponse ¶
type DeleteLoadBalancerResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDeleteLoadBalancerResponse ¶
func ParseDeleteLoadBalancerResponse(rsp *http.Response) (*DeleteLoadBalancerResponse, error)
ParseDeleteLoadBalancerResponse parses an HTTP response from a DeleteLoadBalancerWithResponse call
func (DeleteLoadBalancerResponse) Status ¶
func (r DeleteLoadBalancerResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteLoadBalancerResponse) StatusCode ¶
func (r DeleteLoadBalancerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteLoadBalancerServiceResponse ¶
type DeleteLoadBalancerServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDeleteLoadBalancerServiceResponse ¶
func ParseDeleteLoadBalancerServiceResponse(rsp *http.Response) (*DeleteLoadBalancerServiceResponse, error)
ParseDeleteLoadBalancerServiceResponse parses an HTTP response from a DeleteLoadBalancerServiceWithResponse call
func (DeleteLoadBalancerServiceResponse) Status ¶
func (r DeleteLoadBalancerServiceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteLoadBalancerServiceResponse) StatusCode ¶
func (r DeleteLoadBalancerServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePrivateNetworkResponse ¶
type DeletePrivateNetworkResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDeletePrivateNetworkResponse ¶
func ParseDeletePrivateNetworkResponse(rsp *http.Response) (*DeletePrivateNetworkResponse, error)
ParseDeletePrivateNetworkResponse parses an HTTP response from a DeletePrivateNetworkWithResponse call
func (DeletePrivateNetworkResponse) Status ¶
func (r DeletePrivateNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePrivateNetworkResponse) StatusCode ¶
func (r DeletePrivateNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRuleFromSecurityGroupResponse ¶
type DeleteRuleFromSecurityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDeleteRuleFromSecurityGroupResponse ¶
func ParseDeleteRuleFromSecurityGroupResponse(rsp *http.Response) (*DeleteRuleFromSecurityGroupResponse, error)
ParseDeleteRuleFromSecurityGroupResponse parses an HTTP response from a DeleteRuleFromSecurityGroupWithResponse call
func (DeleteRuleFromSecurityGroupResponse) Status ¶
func (r DeleteRuleFromSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRuleFromSecurityGroupResponse) StatusCode ¶
func (r DeleteRuleFromSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSecurityGroupResponse ¶
type DeleteSecurityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDeleteSecurityGroupResponse ¶
func ParseDeleteSecurityGroupResponse(rsp *http.Response) (*DeleteSecurityGroupResponse, error)
ParseDeleteSecurityGroupResponse parses an HTTP response from a DeleteSecurityGroupWithResponse call
func (DeleteSecurityGroupResponse) Status ¶
func (r DeleteSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSecurityGroupResponse) StatusCode ¶
func (r DeleteSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSksClusterResponse ¶
func ParseDeleteSksClusterResponse ¶
func ParseDeleteSksClusterResponse(rsp *http.Response) (*DeleteSksClusterResponse, error)
ParseDeleteSksClusterResponse parses an HTTP response from a DeleteSksClusterWithResponse call
func (DeleteSksClusterResponse) Status ¶
func (r DeleteSksClusterResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSksClusterResponse) StatusCode ¶
func (r DeleteSksClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSksNodepoolResponse ¶
type DeleteSksNodepoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDeleteSksNodepoolResponse ¶
func ParseDeleteSksNodepoolResponse(rsp *http.Response) (*DeleteSksNodepoolResponse, error)
ParseDeleteSksNodepoolResponse parses an HTTP response from a DeleteSksNodepoolWithResponse call
func (DeleteSksNodepoolResponse) Status ¶
func (r DeleteSksNodepoolResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSksNodepoolResponse) StatusCode ¶
func (r DeleteSksNodepoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSnapshotResponse ¶
func ParseDeleteSnapshotResponse ¶
func ParseDeleteSnapshotResponse(rsp *http.Response) (*DeleteSnapshotResponse, error)
ParseDeleteSnapshotResponse parses an HTTP response from a DeleteSnapshotWithResponse call
func (DeleteSnapshotResponse) Status ¶
func (r DeleteSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSnapshotResponse) StatusCode ¶
func (r DeleteSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSshKeyResponse ¶ added in v0.61.0
func ParseDeleteSshKeyResponse ¶ added in v0.61.0
func ParseDeleteSshKeyResponse(rsp *http.Response) (*DeleteSshKeyResponse, error)
ParseDeleteSshKeyResponse parses an HTTP response from a DeleteSshKeyWithResponse call
func (DeleteSshKeyResponse) Status ¶ added in v0.61.0
func (r DeleteSshKeyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSshKeyResponse) StatusCode ¶ added in v0.61.0
func (r DeleteSshKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTemplateResponse ¶
func ParseDeleteTemplateResponse ¶
func ParseDeleteTemplateResponse(rsp *http.Response) (*DeleteTemplateResponse, error)
ParseDeleteTemplateResponse parses an HTTP response from a DeleteTemplateWithResponse call
func (DeleteTemplateResponse) Status ¶
func (r DeleteTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTemplateResponse) StatusCode ¶
func (r DeleteTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeployTarget ¶ added in v0.48.0
type DeployTarget struct { // Deploy Target description Description *string `json:"description,omitempty"` // Deploy Target ID Id *string `json:"id,omitempty"` // Deploy Target name Name *string `json:"name,omitempty"` // Deploy Target type Type *DeployTargetType `json:"type,omitempty"` }
Deploy target
type DeployTargetType ¶ added in v0.52.0
type DeployTargetType string
Deploy Target type
const ( DeployTargetTypeDedicated DeployTargetType = "dedicated" DeployTargetTypeEdge DeployTargetType = "edge" )
Defines values for DeployTargetType.
type DetachInstanceFromElasticIpJSONBody ¶ added in v0.49.0
type DetachInstanceFromElasticIpJSONBody struct { // Instance Instance Instance `json:"instance"` }
DetachInstanceFromElasticIpJSONBody defines parameters for DetachInstanceFromElasticIp.
type DetachInstanceFromElasticIpJSONRequestBody ¶ added in v0.49.0
type DetachInstanceFromElasticIpJSONRequestBody DetachInstanceFromElasticIpJSONBody
DetachInstanceFromElasticIpJSONRequestBody defines body for DetachInstanceFromElasticIp for application/json ContentType.
type DetachInstanceFromElasticIpResponse ¶ added in v0.49.0
type DetachInstanceFromElasticIpResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDetachInstanceFromElasticIpResponse ¶ added in v0.49.0
func ParseDetachInstanceFromElasticIpResponse(rsp *http.Response) (*DetachInstanceFromElasticIpResponse, error)
ParseDetachInstanceFromElasticIpResponse parses an HTTP response from a DetachInstanceFromElasticIpWithResponse call
func (DetachInstanceFromElasticIpResponse) Status ¶ added in v0.49.0
func (r DetachInstanceFromElasticIpResponse) Status() string
Status returns HTTPResponse.Status
func (DetachInstanceFromElasticIpResponse) StatusCode ¶ added in v0.49.0
func (r DetachInstanceFromElasticIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DetachInstanceFromPrivateNetworkJSONBody ¶ added in v0.49.0
type DetachInstanceFromPrivateNetworkJSONBody struct { // Instance Instance Instance `json:"instance"` }
DetachInstanceFromPrivateNetworkJSONBody defines parameters for DetachInstanceFromPrivateNetwork.
type DetachInstanceFromPrivateNetworkJSONRequestBody ¶ added in v0.49.0
type DetachInstanceFromPrivateNetworkJSONRequestBody DetachInstanceFromPrivateNetworkJSONBody
DetachInstanceFromPrivateNetworkJSONRequestBody defines body for DetachInstanceFromPrivateNetwork for application/json ContentType.
type DetachInstanceFromPrivateNetworkResponse ¶ added in v0.49.0
type DetachInstanceFromPrivateNetworkResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDetachInstanceFromPrivateNetworkResponse ¶ added in v0.49.0
func ParseDetachInstanceFromPrivateNetworkResponse(rsp *http.Response) (*DetachInstanceFromPrivateNetworkResponse, error)
ParseDetachInstanceFromPrivateNetworkResponse parses an HTTP response from a DetachInstanceFromPrivateNetworkWithResponse call
func (DetachInstanceFromPrivateNetworkResponse) Status ¶ added in v0.49.0
func (r DetachInstanceFromPrivateNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (DetachInstanceFromPrivateNetworkResponse) StatusCode ¶ added in v0.49.0
func (r DetachInstanceFromPrivateNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DetachInstanceFromSecurityGroupJSONBody ¶ added in v0.49.0
type DetachInstanceFromSecurityGroupJSONBody struct { // Instance Instance Instance `json:"instance"` }
DetachInstanceFromSecurityGroupJSONBody defines parameters for DetachInstanceFromSecurityGroup.
type DetachInstanceFromSecurityGroupJSONRequestBody ¶ added in v0.49.0
type DetachInstanceFromSecurityGroupJSONRequestBody DetachInstanceFromSecurityGroupJSONBody
DetachInstanceFromSecurityGroupJSONRequestBody defines body for DetachInstanceFromSecurityGroup for application/json ContentType.
type DetachInstanceFromSecurityGroupResponse ¶ added in v0.49.0
type DetachInstanceFromSecurityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseDetachInstanceFromSecurityGroupResponse ¶ added in v0.49.0
func ParseDetachInstanceFromSecurityGroupResponse(rsp *http.Response) (*DetachInstanceFromSecurityGroupResponse, error)
ParseDetachInstanceFromSecurityGroupResponse parses an HTTP response from a DetachInstanceFromSecurityGroupWithResponse call
func (DetachInstanceFromSecurityGroupResponse) Status ¶ added in v0.49.0
func (r DetachInstanceFromSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DetachInstanceFromSecurityGroupResponse) StatusCode ¶ added in v0.49.0
func (r DetachInstanceFromSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ElasticIp ¶
type ElasticIp struct { // Elastic IP description Description *string `json:"description,omitempty"` // Elastic IP address healthcheck Healthcheck *ElasticIpHealthcheck `json:"healthcheck,omitempty"` // Elastic IP ID Id *string `json:"id,omitempty"` // Elastic IP address Ip *string `json:"ip,omitempty"` }
Elastic IP
type ElasticIpHealthcheck ¶ added in v0.44.0
type ElasticIpHealthcheck struct { // Interval between the checks (default: 10) Interval *int64 `json:"interval,omitempty"` // Healthcheck mode Mode ElasticIpHealthcheckMode `json:"mode"` // Healthcheck port Port int64 `json:"port"` // Number of attempts before considering the target unhealthy (default: 3) StrikesFail *int64 `json:"strikes-fail,omitempty"` // Number of attempts before considering the target healthy (default: 2) StrikesOk *int64 `json:"strikes-ok,omitempty"` // Healthcheck timeout value (default: 2) Timeout *int64 `json:"timeout,omitempty"` // Skip TLS verification TlsSkipVerify *bool `json:"tls-skip-verify,omitempty"` // SNI domain for HTTPS healthchecks TlsSni *string `json:"tls-sni,omitempty"` // Healthcheck URI Uri *string `json:"uri,omitempty"` }
Elastic IP address healthcheck
type ElasticIpHealthcheckMode ¶ added in v0.52.0
type ElasticIpHealthcheckMode string
Healthcheck mode
const ( ElasticIpHealthcheckModeHttp ElasticIpHealthcheckMode = "http" ElasticIpHealthcheckModeHttps ElasticIpHealthcheckMode = "https" ElasticIpHealthcheckModeTcp ElasticIpHealthcheckMode = "tcp" )
Defines values for ElasticIpHealthcheckMode.
type Event ¶
type Event struct { // Event payload. This is a free-form map Payload *Event_Payload `json:"payload,omitempty"` // Time at which the event happened, millisecond resolution Timestamp *time.Time `json:"timestamp,omitempty"` }
A notable event which happened on the infrastructure
type Event_Payload ¶
type Event_Payload struct {
AdditionalProperties map[string]interface{} `json:"-"`
}
Event payload. This is a free-form map
func (Event_Payload) Get ¶
func (a Event_Payload) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for Event_Payload. Returns the specified element and whether it was found
func (Event_Payload) MarshalJSON ¶
func (a Event_Payload) MarshalJSON() ([]byte, error)
Override default JSON handling for Event_Payload to handle AdditionalProperties
func (*Event_Payload) Set ¶
func (a *Event_Payload) Set(fieldName string, value interface{})
Setter for additional properties for Event_Payload
func (*Event_Payload) UnmarshalJSON ¶
func (a *Event_Payload) UnmarshalJSON(b []byte) error
Override default JSON handling for Event_Payload to handle AdditionalProperties
type EvictInstancePoolMembersJSONBody ¶
type EvictInstancePoolMembersJSONBody struct {
Instances *[]string `json:"instances,omitempty"`
}
EvictInstancePoolMembersJSONBody defines parameters for EvictInstancePoolMembers.
type EvictInstancePoolMembersJSONRequestBody ¶
type EvictInstancePoolMembersJSONRequestBody EvictInstancePoolMembersJSONBody
EvictInstancePoolMembersJSONRequestBody defines body for EvictInstancePoolMembers for application/json ContentType.
type EvictInstancePoolMembersResponse ¶
type EvictInstancePoolMembersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseEvictInstancePoolMembersResponse ¶
func ParseEvictInstancePoolMembersResponse(rsp *http.Response) (*EvictInstancePoolMembersResponse, error)
ParseEvictInstancePoolMembersResponse parses an HTTP response from a EvictInstancePoolMembersWithResponse call
func (EvictInstancePoolMembersResponse) Status ¶
func (r EvictInstancePoolMembersResponse) Status() string
Status returns HTTPResponse.Status
func (EvictInstancePoolMembersResponse) StatusCode ¶
func (r EvictInstancePoolMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EvictSksNodepoolMembersJSONBody ¶
type EvictSksNodepoolMembersJSONBody struct {
Instances *[]string `json:"instances,omitempty"`
}
EvictSksNodepoolMembersJSONBody defines parameters for EvictSksNodepoolMembers.
type EvictSksNodepoolMembersJSONRequestBody ¶
type EvictSksNodepoolMembersJSONRequestBody EvictSksNodepoolMembersJSONBody
EvictSksNodepoolMembersJSONRequestBody defines body for EvictSksNodepoolMembers for application/json ContentType.
type EvictSksNodepoolMembersResponse ¶
type EvictSksNodepoolMembersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseEvictSksNodepoolMembersResponse ¶
func ParseEvictSksNodepoolMembersResponse(rsp *http.Response) (*EvictSksNodepoolMembersResponse, error)
ParseEvictSksNodepoolMembersResponse parses an HTTP response from a EvictSksNodepoolMembersWithResponse call
func (EvictSksNodepoolMembersResponse) Status ¶
func (r EvictSksNodepoolMembersResponse) Status() string
Status returns HTTPResponse.Status
func (EvictSksNodepoolMembersResponse) StatusCode ¶
func (r EvictSksNodepoolMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportSnapshotResponse ¶
func ParseExportSnapshotResponse ¶
func ParseExportSnapshotResponse(rsp *http.Response) (*ExportSnapshotResponse, error)
ParseExportSnapshotResponse parses an HTTP response from a ExportSnapshotWithResponse call
func (ExportSnapshotResponse) Status ¶
func (r ExportSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (ExportSnapshotResponse) StatusCode ¶
func (r ExportSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GenerateSksClusterKubeconfigJSONBody ¶
type GenerateSksClusterKubeconfigJSONBody SksKubeconfigRequest
GenerateSksClusterKubeconfigJSONBody defines parameters for GenerateSksClusterKubeconfig.
type GenerateSksClusterKubeconfigJSONRequestBody ¶
type GenerateSksClusterKubeconfigJSONRequestBody GenerateSksClusterKubeconfigJSONBody
GenerateSksClusterKubeconfigJSONRequestBody defines body for GenerateSksClusterKubeconfig for application/json ContentType.
type GenerateSksClusterKubeconfigResponse ¶
type GenerateSksClusterKubeconfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Kubeconfig *string `json:"kubeconfig,omitempty"` } }
func ParseGenerateSksClusterKubeconfigResponse ¶
func ParseGenerateSksClusterKubeconfigResponse(rsp *http.Response) (*GenerateSksClusterKubeconfigResponse, error)
ParseGenerateSksClusterKubeconfigResponse parses an HTTP response from a GenerateSksClusterKubeconfigWithResponse call
func (GenerateSksClusterKubeconfigResponse) Status ¶
func (r GenerateSksClusterKubeconfigResponse) Status() string
Status returns HTTPResponse.Status
func (GenerateSksClusterKubeconfigResponse) StatusCode ¶
func (r GenerateSksClusterKubeconfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAntiAffinityGroupResponse ¶
type GetAntiAffinityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AntiAffinityGroup }
func ParseGetAntiAffinityGroupResponse ¶
func ParseGetAntiAffinityGroupResponse(rsp *http.Response) (*GetAntiAffinityGroupResponse, error)
ParseGetAntiAffinityGroupResponse parses an HTTP response from a GetAntiAffinityGroupWithResponse call
func (GetAntiAffinityGroupResponse) Status ¶
func (r GetAntiAffinityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetAntiAffinityGroupResponse) StatusCode ¶
func (r GetAntiAffinityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDbaasCaCertificateResponse ¶ added in v0.57.0
type GetDbaasCaCertificateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Certificate *string `json:"certificate,omitempty"` } }
func ParseGetDbaasCaCertificateResponse ¶ added in v0.57.0
func ParseGetDbaasCaCertificateResponse(rsp *http.Response) (*GetDbaasCaCertificateResponse, error)
ParseGetDbaasCaCertificateResponse parses an HTTP response from a GetDbaasCaCertificateWithResponse call
func (GetDbaasCaCertificateResponse) Status ¶ added in v0.57.0
func (r GetDbaasCaCertificateResponse) Status() string
Status returns HTTPResponse.Status
func (GetDbaasCaCertificateResponse) StatusCode ¶ added in v0.57.0
func (r GetDbaasCaCertificateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDbaasServiceResponse ¶ added in v0.57.0
type GetDbaasServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DbaasService }
func ParseGetDbaasServiceResponse ¶ added in v0.57.0
func ParseGetDbaasServiceResponse(rsp *http.Response) (*GetDbaasServiceResponse, error)
ParseGetDbaasServiceResponse parses an HTTP response from a GetDbaasServiceWithResponse call
func (GetDbaasServiceResponse) Status ¶ added in v0.57.0
func (r GetDbaasServiceResponse) Status() string
Status returns HTTPResponse.Status
func (GetDbaasServiceResponse) StatusCode ¶ added in v0.57.0
func (r GetDbaasServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDbaasServiceTypeResponse ¶ added in v0.57.0
type GetDbaasServiceTypeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DbaasServiceType }
func ParseGetDbaasServiceTypeResponse ¶ added in v0.57.0
func ParseGetDbaasServiceTypeResponse(rsp *http.Response) (*GetDbaasServiceTypeResponse, error)
ParseGetDbaasServiceTypeResponse parses an HTTP response from a GetDbaasServiceTypeWithResponse call
func (GetDbaasServiceTypeResponse) Status ¶ added in v0.57.0
func (r GetDbaasServiceTypeResponse) Status() string
Status returns HTTPResponse.Status
func (GetDbaasServiceTypeResponse) StatusCode ¶ added in v0.57.0
func (r GetDbaasServiceTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeployTargetResponse ¶ added in v0.48.0
type GetDeployTargetResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DeployTarget }
func ParseGetDeployTargetResponse ¶ added in v0.48.0
func ParseGetDeployTargetResponse(rsp *http.Response) (*GetDeployTargetResponse, error)
ParseGetDeployTargetResponse parses an HTTP response from a GetDeployTargetWithResponse call
func (GetDeployTargetResponse) Status ¶ added in v0.48.0
func (r GetDeployTargetResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeployTargetResponse) StatusCode ¶ added in v0.48.0
func (r GetDeployTargetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetElasticIpResponse ¶
func ParseGetElasticIpResponse ¶
func ParseGetElasticIpResponse(rsp *http.Response) (*GetElasticIpResponse, error)
ParseGetElasticIpResponse parses an HTTP response from a GetElasticIpWithResponse call
func (GetElasticIpResponse) Status ¶
func (r GetElasticIpResponse) Status() string
Status returns HTTPResponse.Status
func (GetElasticIpResponse) StatusCode ¶
func (r GetElasticIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInstancePoolResponse ¶
type GetInstancePoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *InstancePool }
func ParseGetInstancePoolResponse ¶
func ParseGetInstancePoolResponse(rsp *http.Response) (*GetInstancePoolResponse, error)
ParseGetInstancePoolResponse parses an HTTP response from a GetInstancePoolWithResponse call
func (GetInstancePoolResponse) Status ¶
func (r GetInstancePoolResponse) Status() string
Status returns HTTPResponse.Status
func (GetInstancePoolResponse) StatusCode ¶
func (r GetInstancePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInstanceResponse ¶ added in v0.48.0
func ParseGetInstanceResponse ¶ added in v0.48.0
func ParseGetInstanceResponse(rsp *http.Response) (*GetInstanceResponse, error)
ParseGetInstanceResponse parses an HTTP response from a GetInstanceWithResponse call
func (GetInstanceResponse) Status ¶ added in v0.48.0
func (r GetInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (GetInstanceResponse) StatusCode ¶ added in v0.48.0
func (r GetInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInstanceTypeResponse ¶
type GetInstanceTypeResponse struct { Body []byte HTTPResponse *http.Response JSON200 *InstanceType }
func ParseGetInstanceTypeResponse ¶
func ParseGetInstanceTypeResponse(rsp *http.Response) (*GetInstanceTypeResponse, error)
ParseGetInstanceTypeResponse parses an HTTP response from a GetInstanceTypeWithResponse call
func (GetInstanceTypeResponse) Status ¶
func (r GetInstanceTypeResponse) Status() string
Status returns HTTPResponse.Status
func (GetInstanceTypeResponse) StatusCode ¶
func (r GetInstanceTypeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLoadBalancerResponse ¶
type GetLoadBalancerResponse struct { Body []byte HTTPResponse *http.Response JSON200 *LoadBalancer }
func ParseGetLoadBalancerResponse ¶
func ParseGetLoadBalancerResponse(rsp *http.Response) (*GetLoadBalancerResponse, error)
ParseGetLoadBalancerResponse parses an HTTP response from a GetLoadBalancerWithResponse call
func (GetLoadBalancerResponse) Status ¶
func (r GetLoadBalancerResponse) Status() string
Status returns HTTPResponse.Status
func (GetLoadBalancerResponse) StatusCode ¶
func (r GetLoadBalancerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLoadBalancerServiceResponse ¶
type GetLoadBalancerServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *LoadBalancerService }
func ParseGetLoadBalancerServiceResponse ¶
func ParseGetLoadBalancerServiceResponse(rsp *http.Response) (*GetLoadBalancerServiceResponse, error)
ParseGetLoadBalancerServiceResponse parses an HTTP response from a GetLoadBalancerServiceWithResponse call
func (GetLoadBalancerServiceResponse) Status ¶
func (r GetLoadBalancerServiceResponse) Status() string
Status returns HTTPResponse.Status
func (GetLoadBalancerServiceResponse) StatusCode ¶
func (r GetLoadBalancerServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOperationResponse ¶
func ParseGetOperationResponse ¶
func ParseGetOperationResponse(rsp *http.Response) (*GetOperationResponse, error)
ParseGetOperationResponse parses an HTTP response from a GetOperationWithResponse call
func (GetOperationResponse) Status ¶
func (r GetOperationResponse) Status() string
Status returns HTTPResponse.Status
func (GetOperationResponse) StatusCode ¶
func (r GetOperationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPrivateNetworkResponse ¶
type GetPrivateNetworkResponse struct { Body []byte HTTPResponse *http.Response JSON200 *PrivateNetwork }
func ParseGetPrivateNetworkResponse ¶
func ParseGetPrivateNetworkResponse(rsp *http.Response) (*GetPrivateNetworkResponse, error)
ParseGetPrivateNetworkResponse parses an HTTP response from a GetPrivateNetworkWithResponse call
func (GetPrivateNetworkResponse) Status ¶
func (r GetPrivateNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (GetPrivateNetworkResponse) StatusCode ¶
func (r GetPrivateNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetQuotaResponse ¶ added in v0.69.0
func ParseGetQuotaResponse ¶ added in v0.69.0
func ParseGetQuotaResponse(rsp *http.Response) (*GetQuotaResponse, error)
ParseGetQuotaResponse parses an HTTP response from a GetQuotaWithResponse call
func (GetQuotaResponse) Status ¶ added in v0.69.0
func (r GetQuotaResponse) Status() string
Status returns HTTPResponse.Status
func (GetQuotaResponse) StatusCode ¶ added in v0.69.0
func (r GetQuotaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSecurityGroupResponse ¶
type GetSecurityGroupResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SecurityGroup }
func ParseGetSecurityGroupResponse ¶
func ParseGetSecurityGroupResponse(rsp *http.Response) (*GetSecurityGroupResponse, error)
ParseGetSecurityGroupResponse parses an HTTP response from a GetSecurityGroupWithResponse call
func (GetSecurityGroupResponse) Status ¶
func (r GetSecurityGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetSecurityGroupResponse) StatusCode ¶
func (r GetSecurityGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSksClusterAuthorityCertParamsAuthority ¶ added in v0.52.0
type GetSksClusterAuthorityCertParamsAuthority string
GetSksClusterAuthorityCertParamsAuthority defines parameters for GetSksClusterAuthorityCert.
type GetSksClusterAuthorityCertResponse ¶ added in v0.46.0
type GetSksClusterAuthorityCertResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Cacert *string `json:"cacert,omitempty"` } }
func ParseGetSksClusterAuthorityCertResponse ¶ added in v0.46.0
func ParseGetSksClusterAuthorityCertResponse(rsp *http.Response) (*GetSksClusterAuthorityCertResponse, error)
ParseGetSksClusterAuthorityCertResponse parses an HTTP response from a GetSksClusterAuthorityCertWithResponse call
func (GetSksClusterAuthorityCertResponse) Status ¶ added in v0.46.0
func (r GetSksClusterAuthorityCertResponse) Status() string
Status returns HTTPResponse.Status
func (GetSksClusterAuthorityCertResponse) StatusCode ¶ added in v0.46.0
func (r GetSksClusterAuthorityCertResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSksClusterResponse ¶
type GetSksClusterResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SksCluster }
func ParseGetSksClusterResponse ¶
func ParseGetSksClusterResponse(rsp *http.Response) (*GetSksClusterResponse, error)
ParseGetSksClusterResponse parses an HTTP response from a GetSksClusterWithResponse call
func (GetSksClusterResponse) Status ¶
func (r GetSksClusterResponse) Status() string
Status returns HTTPResponse.Status
func (GetSksClusterResponse) StatusCode ¶
func (r GetSksClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSksNodepoolResponse ¶
type GetSksNodepoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *SksNodepool }
func ParseGetSksNodepoolResponse ¶
func ParseGetSksNodepoolResponse(rsp *http.Response) (*GetSksNodepoolResponse, error)
ParseGetSksNodepoolResponse parses an HTTP response from a GetSksNodepoolWithResponse call
func (GetSksNodepoolResponse) Status ¶
func (r GetSksNodepoolResponse) Status() string
Status returns HTTPResponse.Status
func (GetSksNodepoolResponse) StatusCode ¶
func (r GetSksNodepoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSnapshotResponse ¶
func ParseGetSnapshotResponse ¶
func ParseGetSnapshotResponse(rsp *http.Response) (*GetSnapshotResponse, error)
ParseGetSnapshotResponse parses an HTTP response from a GetSnapshotWithResponse call
func (GetSnapshotResponse) Status ¶
func (r GetSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (GetSnapshotResponse) StatusCode ¶
func (r GetSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSosPresignedUrlParams ¶
type GetSosPresignedUrlParams struct {
Key *string `json:"key,omitempty"`
}
GetSosPresignedUrlParams defines parameters for GetSosPresignedUrl.
type GetSosPresignedUrlResponse ¶
type GetSosPresignedUrlResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Url *string `json:"url,omitempty"` } }
func ParseGetSosPresignedUrlResponse ¶
func ParseGetSosPresignedUrlResponse(rsp *http.Response) (*GetSosPresignedUrlResponse, error)
ParseGetSosPresignedUrlResponse parses an HTTP response from a GetSosPresignedUrlWithResponse call
func (GetSosPresignedUrlResponse) Status ¶
func (r GetSosPresignedUrlResponse) Status() string
Status returns HTTPResponse.Status
func (GetSosPresignedUrlResponse) StatusCode ¶
func (r GetSosPresignedUrlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSshKeyResponse ¶
func ParseGetSshKeyResponse ¶
func ParseGetSshKeyResponse(rsp *http.Response) (*GetSshKeyResponse, error)
ParseGetSshKeyResponse parses an HTTP response from a GetSshKeyWithResponse call
func (GetSshKeyResponse) Status ¶
func (r GetSshKeyResponse) Status() string
Status returns HTTPResponse.Status
func (GetSshKeyResponse) StatusCode ¶
func (r GetSshKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTemplateResponse ¶
func ParseGetTemplateResponse ¶
func ParseGetTemplateResponse(rsp *http.Response) (*GetTemplateResponse, error)
ParseGetTemplateResponse parses an HTTP response from a GetTemplateWithResponse call
func (GetTemplateResponse) Status ¶
func (r GetTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (GetTemplateResponse) StatusCode ¶
func (r GetTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Instance ¶
type Instance struct { // Instance Anti-affinity Groups AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` // Instance creation date CreatedAt *time.Time `json:"created-at,omitempty"` // Deploy target DeployTarget *DeployTarget `json:"deploy-target,omitempty"` // Instance disk size in GB DiskSize *int64 `json:"disk-size,omitempty"` // Instance Elastic IPs ElasticIps *[]ElasticIp `json:"elastic-ips,omitempty"` // Instance ID Id *string `json:"id,omitempty"` // Compute instance type InstanceType *InstanceType `json:"instance-type,omitempty"` // Instance IPv6 address Ipv6Address *string `json:"ipv6-address,omitempty"` Labels *Labels `json:"labels,omitempty"` // Resource manager Manager *Manager `json:"manager,omitempty"` // Instance name Name *string `json:"name,omitempty"` // Instance Private Networks PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"` // Instance public IPv4 address PublicIp *string `json:"public-ip,omitempty"` // Instance Security Groups SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` // Instance Snapshots Snapshots *[]Snapshot `json:"snapshots,omitempty"` // SSH key SshKey *SshKey `json:"ssh-key,omitempty"` // Instance state State *InstanceState `json:"state,omitempty"` // Instance template Template *Template `json:"template,omitempty"` // Instance Cloud-init user-data UserData *string `json:"user-data,omitempty"` }
Instance
func (*Instance) MarshalJSON ¶ added in v0.48.0
MarshalJSON returns the JSON encoding of an Instance structure after having formatted the CreatedAt field in the original timestamp (ISO 8601), since time.MarshalJSON() only supports RFC 3339 format.
func (*Instance) UnmarshalJSON ¶ added in v0.48.0
UnmarshalJSON unmarshals an Instance structure into a temporary structure whose "CreatedAt" field of type string to be able to parse the original timestamp (ISO 8601) into a time.Time object, since json.Unmarshal() only supports RFC 3339 format.
type InstancePool ¶
type InstancePool struct { // Instance Pool Anti-affinity Groups AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` // Deploy target DeployTarget *DeployTarget `json:"deploy-target,omitempty"` // Instance Pool description Description *string `json:"description,omitempty"` // Instances disk size in GB DiskSize *int64 `json:"disk-size,omitempty"` // Instances Elastic IPs ElasticIps *[]ElasticIp `json:"elastic-ips,omitempty"` // Instance Pool ID Id *string `json:"id,omitempty"` // The instances created by the Instance Pool will be prefixed with this value (default: pool) InstancePrefix *string `json:"instance-prefix,omitempty"` // Compute instance type InstanceType *InstanceType `json:"instance-type,omitempty"` // Instances Instances *[]Instance `json:"instances,omitempty"` // Enable IPv6 for instances Ipv6Enabled *bool `json:"ipv6-enabled,omitempty"` Labels *Labels `json:"labels,omitempty"` // Resource manager Manager *Manager `json:"manager,omitempty"` // Instance Pool name Name *string `json:"name,omitempty"` // Instance Pool Private Networks PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"` // Instance Pool Security Groups SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` // Number of instances Size *int64 `json:"size,omitempty"` // SSH key SshKey *SshKey `json:"ssh-key,omitempty"` // Instance Pool state State *InstancePoolState `json:"state,omitempty"` // Instance template Template *Template `json:"template,omitempty"` // Instances Cloud-init user-data UserData *string `json:"user-data,omitempty"` }
Instance Pool
type InstancePoolState ¶ added in v0.52.0
type InstancePoolState string
Instance Pool state
const ( InstancePoolStateCreating InstancePoolState = "creating" InstancePoolStateDestroying InstancePoolState = "destroying" InstancePoolStateRunning InstancePoolState = "running" InstancePoolStateScalingDown InstancePoolState = "scaling-down" InstancePoolStateScalingUp InstancePoolState = "scaling-up" )
Defines values for InstancePoolState.
type InstanceState ¶ added in v0.52.0
type InstanceState string
Instance state
const ( InstanceStateDestroyed InstanceState = "destroyed" InstanceStateDestroying InstanceState = "destroying" InstanceStateMigrating InstanceState = "migrating" InstanceStateRunning InstanceState = "running" InstanceStateStarting InstanceState = "starting" InstanceStateStopped InstanceState = "stopped" InstanceStateStopping InstanceState = "stopping" )
Defines values for InstanceState.
type InstanceType ¶
type InstanceType struct { // Requires authorization or publicly available Authorized *bool `json:"authorized,omitempty"` // CPU count Cpus *int64 `json:"cpus,omitempty"` // Instance type family Family *InstanceTypeFamily `json:"family,omitempty"` // GPU count Gpus *int64 `json:"gpus,omitempty"` // Instance type ID Id *string `json:"id,omitempty"` // Available memory Memory *int64 `json:"memory,omitempty"` // Instance type size Size *InstanceTypeSize `json:"size,omitempty"` }
Compute instance type
type InstanceTypeFamily ¶ added in v0.52.0
type InstanceTypeFamily string
Instance type family
const ( InstanceTypeFamilyCpu InstanceTypeFamily = "cpu" InstanceTypeFamilyGpu InstanceTypeFamily = "gpu" InstanceTypeFamilyGpu2 InstanceTypeFamily = "gpu2" InstanceTypeFamilyMemory InstanceTypeFamily = "memory" InstanceTypeFamilyStandard InstanceTypeFamily = "standard" InstanceTypeFamilyStorage InstanceTypeFamily = "storage" )
Defines values for InstanceTypeFamily.
type InstanceTypeSize ¶ added in v0.52.0
type InstanceTypeSize string
Instance type size
const ( InstanceTypeSizeExtraLarge InstanceTypeSize = "extra-large" InstanceTypeSizeHuge InstanceTypeSize = "huge" InstanceTypeSizeJumbo InstanceTypeSize = "jumbo" InstanceTypeSizeLarge InstanceTypeSize = "large" InstanceTypeSizeMedium InstanceTypeSize = "medium" InstanceTypeSizeMega InstanceTypeSize = "mega" InstanceTypeSizeMicro InstanceTypeSize = "micro" InstanceTypeSizeSmall InstanceTypeSize = "small" InstanceTypeSizeTiny InstanceTypeSize = "tiny" InstanceTypeSizeTitan InstanceTypeSize = "titan" )
Defines values for InstanceTypeSize.
type Labels ¶ added in v0.52.0
Labels defines model for labels.
func (Labels) Get ¶ added in v0.52.0
Getter for additional properties for Labels. Returns the specified element and whether it was found
func (Labels) MarshalJSON ¶ added in v0.52.0
Override default JSON handling for Labels to handle AdditionalProperties
func (*Labels) UnmarshalJSON ¶ added in v0.52.0
Override default JSON handling for Labels to handle AdditionalProperties
type ListAntiAffinityGroupsResponse ¶
type ListAntiAffinityGroupsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` } }
func ParseListAntiAffinityGroupsResponse ¶
func ParseListAntiAffinityGroupsResponse(rsp *http.Response) (*ListAntiAffinityGroupsResponse, error)
ParseListAntiAffinityGroupsResponse parses an HTTP response from a ListAntiAffinityGroupsWithResponse call
func (ListAntiAffinityGroupsResponse) Status ¶
func (r ListAntiAffinityGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAntiAffinityGroupsResponse) StatusCode ¶
func (r ListAntiAffinityGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDbaasServiceTypesResponse ¶ added in v0.57.0
type ListDbaasServiceTypesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { DbaasServiceTypes *[]DbaasServiceType `json:"dbaas-service-types,omitempty"` } }
func ParseListDbaasServiceTypesResponse ¶ added in v0.57.0
func ParseListDbaasServiceTypesResponse(rsp *http.Response) (*ListDbaasServiceTypesResponse, error)
ParseListDbaasServiceTypesResponse parses an HTTP response from a ListDbaasServiceTypesWithResponse call
func (ListDbaasServiceTypesResponse) Status ¶ added in v0.57.0
func (r ListDbaasServiceTypesResponse) Status() string
Status returns HTTPResponse.Status
func (ListDbaasServiceTypesResponse) StatusCode ¶ added in v0.57.0
func (r ListDbaasServiceTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDbaasServicesResponse ¶ added in v0.57.0
type ListDbaasServicesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { DbaasServices *[]DbaasService `json:"dbaas-services,omitempty"` } }
func ParseListDbaasServicesResponse ¶ added in v0.57.0
func ParseListDbaasServicesResponse(rsp *http.Response) (*ListDbaasServicesResponse, error)
ParseListDbaasServicesResponse parses an HTTP response from a ListDbaasServicesWithResponse call
func (ListDbaasServicesResponse) Status ¶ added in v0.57.0
func (r ListDbaasServicesResponse) Status() string
Status returns HTTPResponse.Status
func (ListDbaasServicesResponse) StatusCode ¶ added in v0.57.0
func (r ListDbaasServicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDeployTargetsResponse ¶ added in v0.48.0
type ListDeployTargetsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { DeployTargets *[]DeployTarget `json:"deploy-targets,omitempty"` } }
func ParseListDeployTargetsResponse ¶ added in v0.48.0
func ParseListDeployTargetsResponse(rsp *http.Response) (*ListDeployTargetsResponse, error)
ParseListDeployTargetsResponse parses an HTTP response from a ListDeployTargetsWithResponse call
func (ListDeployTargetsResponse) Status ¶ added in v0.48.0
func (r ListDeployTargetsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDeployTargetsResponse) StatusCode ¶ added in v0.48.0
func (r ListDeployTargetsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListElasticIpsResponse ¶ added in v0.44.0
type ListElasticIpsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { ElasticIps *[]ElasticIp `json:"elastic-ips,omitempty"` } }
func ParseListElasticIpsResponse ¶ added in v0.44.0
func ParseListElasticIpsResponse(rsp *http.Response) (*ListElasticIpsResponse, error)
ParseListElasticIpsResponse parses an HTTP response from a ListElasticIpsWithResponse call
func (ListElasticIpsResponse) Status ¶ added in v0.44.0
func (r ListElasticIpsResponse) Status() string
Status returns HTTPResponse.Status
func (ListElasticIpsResponse) StatusCode ¶ added in v0.44.0
func (r ListElasticIpsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEventsParams ¶
type ListEventsParams struct { From *time.Time `json:"from,omitempty"` To *time.Time `json:"to,omitempty"` }
ListEventsParams defines parameters for ListEvents.
type ListEventsResponse ¶
func ParseListEventsResponse ¶
func ParseListEventsResponse(rsp *http.Response) (*ListEventsResponse, error)
ParseListEventsResponse parses an HTTP response from a ListEventsWithResponse call
func (ListEventsResponse) Status ¶
func (r ListEventsResponse) Status() string
Status returns HTTPResponse.Status
func (ListEventsResponse) StatusCode ¶
func (r ListEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInstancePoolsResponse ¶
type ListInstancePoolsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { InstancePools *[]InstancePool `json:"instance-pools,omitempty"` } }
func ParseListInstancePoolsResponse ¶
func ParseListInstancePoolsResponse(rsp *http.Response) (*ListInstancePoolsResponse, error)
ParseListInstancePoolsResponse parses an HTTP response from a ListInstancePoolsWithResponse call
func (ListInstancePoolsResponse) Status ¶
func (r ListInstancePoolsResponse) Status() string
Status returns HTTPResponse.Status
func (ListInstancePoolsResponse) StatusCode ¶
func (r ListInstancePoolsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInstanceTypesResponse ¶
type ListInstanceTypesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { InstanceTypes *[]InstanceType `json:"instance-types,omitempty"` } }
func ParseListInstanceTypesResponse ¶
func ParseListInstanceTypesResponse(rsp *http.Response) (*ListInstanceTypesResponse, error)
ParseListInstanceTypesResponse parses an HTTP response from a ListInstanceTypesWithResponse call
func (ListInstanceTypesResponse) Status ¶
func (r ListInstanceTypesResponse) Status() string
Status returns HTTPResponse.Status
func (ListInstanceTypesResponse) StatusCode ¶
func (r ListInstanceTypesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInstancesParams ¶ added in v0.69.0
type ListInstancesParams struct {
Manager *Manager `json:"manager,omitempty"`
}
ListInstancesParams defines parameters for ListInstances.
type ListInstancesResponse ¶ added in v0.48.0
type ListInstancesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Instances *[]Instance `json:"instances,omitempty"` } }
func ParseListInstancesResponse ¶ added in v0.48.0
func ParseListInstancesResponse(rsp *http.Response) (*ListInstancesResponse, error)
ParseListInstancesResponse parses an HTTP response from a ListInstancesWithResponse call
func (ListInstancesResponse) Status ¶ added in v0.48.0
func (r ListInstancesResponse) Status() string
Status returns HTTPResponse.Status
func (ListInstancesResponse) StatusCode ¶ added in v0.48.0
func (r ListInstancesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListLoadBalancersResponse ¶
type ListLoadBalancersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { LoadBalancers *[]LoadBalancer `json:"load-balancers,omitempty"` } }
func ParseListLoadBalancersResponse ¶
func ParseListLoadBalancersResponse(rsp *http.Response) (*ListLoadBalancersResponse, error)
ParseListLoadBalancersResponse parses an HTTP response from a ListLoadBalancersWithResponse call
func (ListLoadBalancersResponse) Status ¶
func (r ListLoadBalancersResponse) Status() string
Status returns HTTPResponse.Status
func (ListLoadBalancersResponse) StatusCode ¶
func (r ListLoadBalancersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPrivateNetworksResponse ¶
type ListPrivateNetworksResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"` } }
func ParseListPrivateNetworksResponse ¶
func ParseListPrivateNetworksResponse(rsp *http.Response) (*ListPrivateNetworksResponse, error)
ParseListPrivateNetworksResponse parses an HTTP response from a ListPrivateNetworksWithResponse call
func (ListPrivateNetworksResponse) Status ¶
func (r ListPrivateNetworksResponse) Status() string
Status returns HTTPResponse.Status
func (ListPrivateNetworksResponse) StatusCode ¶
func (r ListPrivateNetworksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListQuotasResponse ¶ added in v0.69.0
type ListQuotasResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Quotas *[]Quota `json:"quotas,omitempty"` } }
func ParseListQuotasResponse ¶ added in v0.69.0
func ParseListQuotasResponse(rsp *http.Response) (*ListQuotasResponse, error)
ParseListQuotasResponse parses an HTTP response from a ListQuotasWithResponse call
func (ListQuotasResponse) Status ¶ added in v0.69.0
func (r ListQuotasResponse) Status() string
Status returns HTTPResponse.Status
func (ListQuotasResponse) StatusCode ¶ added in v0.69.0
func (r ListQuotasResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSecurityGroupsResponse ¶
type ListSecurityGroupsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` } }
func ParseListSecurityGroupsResponse ¶
func ParseListSecurityGroupsResponse(rsp *http.Response) (*ListSecurityGroupsResponse, error)
ParseListSecurityGroupsResponse parses an HTTP response from a ListSecurityGroupsWithResponse call
func (ListSecurityGroupsResponse) Status ¶
func (r ListSecurityGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSecurityGroupsResponse) StatusCode ¶
func (r ListSecurityGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSksClusterVersionsResponse ¶
type ListSksClusterVersionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { SksClusterVersions *[]string `json:"sks-cluster-versions,omitempty"` } }
func ParseListSksClusterVersionsResponse ¶
func ParseListSksClusterVersionsResponse(rsp *http.Response) (*ListSksClusterVersionsResponse, error)
ParseListSksClusterVersionsResponse parses an HTTP response from a ListSksClusterVersionsWithResponse call
func (ListSksClusterVersionsResponse) Status ¶
func (r ListSksClusterVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSksClusterVersionsResponse) StatusCode ¶
func (r ListSksClusterVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSksClustersResponse ¶
type ListSksClustersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { SksClusters *[]SksCluster `json:"sks-clusters,omitempty"` } }
func ParseListSksClustersResponse ¶
func ParseListSksClustersResponse(rsp *http.Response) (*ListSksClustersResponse, error)
ParseListSksClustersResponse parses an HTTP response from a ListSksClustersWithResponse call
func (ListSksClustersResponse) Status ¶
func (r ListSksClustersResponse) Status() string
Status returns HTTPResponse.Status
func (ListSksClustersResponse) StatusCode ¶
func (r ListSksClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSnapshotsResponse ¶
type ListSnapshotsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Snapshots *[]Snapshot `json:"snapshots,omitempty"` } }
func ParseListSnapshotsResponse ¶
func ParseListSnapshotsResponse(rsp *http.Response) (*ListSnapshotsResponse, error)
ParseListSnapshotsResponse parses an HTTP response from a ListSnapshotsWithResponse call
func (ListSnapshotsResponse) Status ¶
func (r ListSnapshotsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSnapshotsResponse) StatusCode ¶
func (r ListSnapshotsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSshKeysResponse ¶ added in v0.57.0
type ListSshKeysResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { SshKeys *[]SshKey `json:"ssh-keys,omitempty"` } }
func ParseListSshKeysResponse ¶ added in v0.57.0
func ParseListSshKeysResponse(rsp *http.Response) (*ListSshKeysResponse, error)
ParseListSshKeysResponse parses an HTTP response from a ListSshKeysWithResponse call
func (ListSshKeysResponse) Status ¶ added in v0.57.0
func (r ListSshKeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListSshKeysResponse) StatusCode ¶ added in v0.57.0
func (r ListSshKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTemplatesParams ¶
type ListTemplatesParams struct { Visibility *ListTemplatesParamsVisibility `json:"visibility,omitempty"` Family *string `json:"family,omitempty"` }
ListTemplatesParams defines parameters for ListTemplates.
type ListTemplatesParamsVisibility ¶ added in v0.52.0
type ListTemplatesParamsVisibility string
ListTemplatesParamsVisibility defines parameters for ListTemplates.
type ListTemplatesResponse ¶
type ListTemplatesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Templates *[]Template `json:"templates,omitempty"` } }
func ParseListTemplatesResponse ¶
func ParseListTemplatesResponse(rsp *http.Response) (*ListTemplatesResponse, error)
ParseListTemplatesResponse parses an HTTP response from a ListTemplatesWithResponse call
func (ListTemplatesResponse) Status ¶
func (r ListTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (ListTemplatesResponse) StatusCode ¶
func (r ListTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListZonesResponse ¶
type ListZonesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Zones *[]Zone `json:"zones,omitempty"` } }
func ParseListZonesResponse ¶
func ParseListZonesResponse(rsp *http.Response) (*ListZonesResponse, error)
ParseListZonesResponse parses an HTTP response from a ListZonesWithResponse call
func (ListZonesResponse) Status ¶
func (r ListZonesResponse) Status() string
Status returns HTTPResponse.Status
func (ListZonesResponse) StatusCode ¶
func (r ListZonesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoadBalancer ¶
type LoadBalancer struct { // Load Balancer creation date CreatedAt *time.Time `json:"created-at,omitempty"` // Load Balancer description Description *string `json:"description,omitempty"` // Load Balancer ID Id *string `json:"id,omitempty"` // Load Balancer public IP Ip *string `json:"ip,omitempty"` Labels *Labels `json:"labels,omitempty"` // Load Balancer name Name *string `json:"name,omitempty"` // Load Balancer Services Services *[]LoadBalancerService `json:"services,omitempty"` // Load Balancer state State *LoadBalancerState `json:"state,omitempty"` }
Load Balancer
func (*LoadBalancer) MarshalJSON ¶
func (lb *LoadBalancer) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON encoding of a LoadBalancer structure after having formatted the CreatedAt field in the original timestamp (ISO 8601), since time.MarshalJSON() only supports RFC 3339 format.
func (*LoadBalancer) UnmarshalJSON ¶
func (lb *LoadBalancer) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals a LoadBalancer structure into a temporary structure whose "CreatedAt" field of type string to be able to parse the original timestamp (ISO 8601) into a time.Time object, since json.Unmarshal() only supports RFC 3339 format.
type LoadBalancerServerStatus ¶
type LoadBalancerServerStatus struct { // Backend server public IP PublicIp *string `json:"public-ip,omitempty"` // Status of the instance's healthcheck Status *LoadBalancerServerStatusStatus `json:"status,omitempty"` }
Load Balancer Service status
type LoadBalancerServerStatusStatus ¶ added in v0.52.0
type LoadBalancerServerStatusStatus string
Status of the instance's healthcheck
const ( LoadBalancerServerStatusStatusFailure LoadBalancerServerStatusStatus = "failure" LoadBalancerServerStatusStatusSuccess LoadBalancerServerStatusStatus = "success" )
Defines values for LoadBalancerServerStatusStatus.
type LoadBalancerService ¶
type LoadBalancerService struct { // Load Balancer Service description Description *string `json:"description,omitempty"` // Load Balancer Service healthcheck Healthcheck *LoadBalancerServiceHealthcheck `json:"healthcheck,omitempty"` // Healthcheck status per backend server HealthcheckStatus *[]LoadBalancerServerStatus `json:"healthcheck-status,omitempty"` // Load Balancer Service ID Id *string `json:"id,omitempty"` // Instance Pool InstancePool *InstancePool `json:"instance-pool,omitempty"` // Load Balancer Service name Name *string `json:"name,omitempty"` // Port exposed on the Load Balancer's public IP Port *int64 `json:"port,omitempty"` // Network traffic protocol Protocol *LoadBalancerServiceProtocol `json:"protocol,omitempty"` // Load Balancer Service state State *LoadBalancerServiceState `json:"state,omitempty"` // Load balancing strategy Strategy *LoadBalancerServiceStrategy `json:"strategy,omitempty"` // Port on which the network traffic will be forwarded to on the receiving instance TargetPort *int64 `json:"target-port,omitempty"` }
Load Balancer Service
type LoadBalancerServiceHealthcheck ¶ added in v0.44.0
type LoadBalancerServiceHealthcheck struct { // Healthcheck interval (default: 10) Interval *int64 `json:"interval,omitempty"` // Healthcheck mode Mode *LoadBalancerServiceHealthcheckMode `json:"mode,omitempty"` // Healthcheck port Port *int64 `json:"port,omitempty"` // Number of retries before considering a Service failed Retries *int64 `json:"retries,omitempty"` // Healthcheck timeout value (default: 2) Timeout *int64 `json:"timeout,omitempty"` // SNI domain for HTTPS healthchecks TlsSni *string `json:"tls-sni,omitempty"` // Healthcheck URI Uri *string `json:"uri,omitempty"` }
Load Balancer Service healthcheck
type LoadBalancerServiceHealthcheckMode ¶ added in v0.52.0
type LoadBalancerServiceHealthcheckMode string
Healthcheck mode
const ( LoadBalancerServiceHealthcheckModeHttp LoadBalancerServiceHealthcheckMode = "http" LoadBalancerServiceHealthcheckModeHttps LoadBalancerServiceHealthcheckMode = "https" LoadBalancerServiceHealthcheckModeTcp LoadBalancerServiceHealthcheckMode = "tcp" )
Defines values for LoadBalancerServiceHealthcheckMode.
type LoadBalancerServiceProtocol ¶ added in v0.52.0
type LoadBalancerServiceProtocol string
Network traffic protocol
const ( LoadBalancerServiceProtocolTcp LoadBalancerServiceProtocol = "tcp" LoadBalancerServiceProtocolUdp LoadBalancerServiceProtocol = "udp" )
Defines values for LoadBalancerServiceProtocol.
type LoadBalancerServiceState ¶ added in v0.52.0
type LoadBalancerServiceState string
Load Balancer Service state
const ( LoadBalancerServiceStateCreating LoadBalancerServiceState = "creating" LoadBalancerServiceStateDeleting LoadBalancerServiceState = "deleting" LoadBalancerServiceStateError LoadBalancerServiceState = "error" LoadBalancerServiceStateRunning LoadBalancerServiceState = "running" LoadBalancerServiceStateUpdating LoadBalancerServiceState = "updating" )
Defines values for LoadBalancerServiceState.
type LoadBalancerServiceStrategy ¶ added in v0.52.0
type LoadBalancerServiceStrategy string
Load balancing strategy
const ( LoadBalancerServiceStrategyRoundRobin LoadBalancerServiceStrategy = "round-robin" LoadBalancerServiceStrategySourceHash LoadBalancerServiceStrategy = "source-hash" )
Defines values for LoadBalancerServiceStrategy.
type LoadBalancerState ¶ added in v0.52.0
type LoadBalancerState string
Load Balancer state
const ( LoadBalancerStateCreating LoadBalancerState = "creating" LoadBalancerStateDeleting LoadBalancerState = "deleting" LoadBalancerStateError LoadBalancerState = "error" LoadBalancerStateRunning LoadBalancerState = "running" )
Defines values for LoadBalancerState.
type Manager ¶
type Manager struct { // Manager ID Id *string `json:"id,omitempty"` // Manager type Type *ManagerType `json:"type,omitempty"` }
Resource manager
type ManagerType ¶ added in v0.52.0
type ManagerType string
Manager type
const ( ManagerTypeInstancePool ManagerType = "instance-pool" ManagerTypeSksNodepool ManagerType = "sks-nodepool" )
Defines values for ManagerType.
type MockClient ¶
type MockClient struct { mock.Mock *httpmock.MockTransport ClientWithResponsesInterface }
func NewMockClient ¶
func NewMockClient() *MockClient
type Operation ¶
type Operation struct { // Operation ID Id *string `json:"id,omitempty"` // Operation message Message *string `json:"message,omitempty"` // Operation failure reason Reason *OperationReason `json:"reason,omitempty"` // Resource reference Reference *Reference `json:"reference,omitempty"` // Operation status State *OperationState `json:"state,omitempty"` }
Operation
type OperationReason ¶ added in v0.52.0
type OperationReason string
Operation failure reason
const ( OperationReasonBusy OperationReason = "busy" OperationReasonConflict OperationReason = "conflict" OperationReasonFault OperationReason = "fault" OperationReasonForbidden OperationReason = "forbidden" OperationReasonIncorrect OperationReason = "incorrect" OperationReasonInterrupted OperationReason = "interrupted" OperationReasonNotFound OperationReason = "not-found" OperationReasonPartial OperationReason = "partial" OperationReasonUnknown OperationReason = "unknown" OperationReasonUnsupported OperationReason = "unsupported" )
Defines values for OperationReason.
type OperationState ¶ added in v0.52.0
type OperationState string
Operation status
const ( OperationStateFailure OperationState = "failure" OperationStatePending OperationState = "pending" OperationStateSuccess OperationState = "success" OperationStateTimeout OperationState = "timeout" )
Defines values for OperationState.
type PollFunc ¶
PollFunc represents a function invoked periodically in a polling loop. It returns a boolean flag true if the job is completed or false if polling must continue, and any error that occurred during the polling (which interrupts the polling regardless of the boolean flag value). Upon successful completion, an interface descring an opaque operation can be returned to the caller, which will have to perform type assertion depending on the PollFunc implementation.
type Poller ¶
type Poller struct {
// contains filtered or unexported fields
}
Poller represents a poller instance.
func (*Poller) Poll ¶
Poll starts the polling routine, executing the provided polling function at the configured polling interval. Upon successful polling, an opaque operation is returned to the caller, which actual type has to asserted depending on the PollFunc executed.
func (*Poller) WithInterval ¶
WithInterval sets the interval at which the polling function will be executed (default: 3s).
type PrivateNetwork ¶
type PrivateNetwork struct { // Private Network description Description *string `json:"description,omitempty"` // Private Network end IP address EndIp *string `json:"end-ip,omitempty"` // Private Network ID Id *string `json:"id,omitempty"` Labels *Labels `json:"labels,omitempty"` // Private Network leased IP addresses Leases *[]PrivateNetworkLease `json:"leases,omitempty"` // Private Network name Name *string `json:"name,omitempty"` // Private Network netmask Netmask *string `json:"netmask,omitempty"` // Private Network start IP address StartIp *string `json:"start-ip,omitempty"` }
Private Network
type PrivateNetworkLease ¶ added in v0.52.0
type PrivateNetworkLease struct { // Attached instance ID InstanceId *string `json:"instance-id,omitempty"` // Private Network IP address Ip *string `json:"ip,omitempty"` }
Private Network leased IP address
type Quota ¶ added in v0.69.0
type Quota struct { // Resource Limit. -1 for Unlimited Limit *int64 `json:"limit,omitempty"` // Resource Name Resource *string `json:"resource,omitempty"` // Resource Usage Usage *int64 `json:"usage,omitempty"` }
Organization Quota
type RebootInstanceResponse ¶ added in v0.61.0
func ParseRebootInstanceResponse ¶ added in v0.61.0
func ParseRebootInstanceResponse(rsp *http.Response) (*RebootInstanceResponse, error)
ParseRebootInstanceResponse parses an HTTP response from a RebootInstanceWithResponse call
func (RebootInstanceResponse) Status ¶ added in v0.61.0
func (r RebootInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (RebootInstanceResponse) StatusCode ¶ added in v0.61.0
func (r RebootInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Reference ¶
type Reference struct { // Command name Command *string `json:"command,omitempty"` // Reference ID Id *string `json:"id,omitempty"` // Link to the referenced resource Link *string `json:"link,omitempty"` }
Resource reference
type RegisterSshKeyJSONBody ¶ added in v0.60.0
type RegisterSshKeyJSONBody struct { // Private Network name Name string `json:"name"` // Public key value PublicKey string `json:"public-key"` }
RegisterSshKeyJSONBody defines parameters for RegisterSshKey.
type RegisterSshKeyJSONRequestBody ¶ added in v0.60.0
type RegisterSshKeyJSONRequestBody RegisterSshKeyJSONBody
RegisterSshKeyJSONRequestBody defines body for RegisterSshKey for application/json ContentType.
type RegisterSshKeyResponse ¶ added in v0.58.0
func ParseRegisterSshKeyResponse ¶ added in v0.58.0
func ParseRegisterSshKeyResponse(rsp *http.Response) (*RegisterSshKeyResponse, error)
ParseRegisterSshKeyResponse parses an HTTP response from a RegisterSshKeyWithResponse call
func (RegisterSshKeyResponse) Status ¶ added in v0.58.0
func (r RegisterSshKeyResponse) Status() string
Status returns HTTPResponse.Status
func (RegisterSshKeyResponse) StatusCode ¶ added in v0.58.0
func (r RegisterSshKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RegisterTemplateJSONBody ¶
type RegisterTemplateJSONBody struct { // Boot mode (default: legacy) BootMode *RegisterTemplateJSONBodyBootMode `json:"boot-mode,omitempty"` // Template MD5 checksum Checksum string `json:"checksum"` // Template default user DefaultUser *string `json:"default-user,omitempty"` // Template description Description *string `json:"description,omitempty"` // Template name Name string `json:"name"` // Enable password based login PasswordEnabled bool `json:"password-enabled"` // Template size Size *int64 `json:"size,omitempty"` // Enable SSH key based login SshKeyEnabled bool `json:"ssh-key-enabled"` // Template source URL Url string `json:"url"` }
RegisterTemplateJSONBody defines parameters for RegisterTemplate.
type RegisterTemplateJSONBodyBootMode ¶ added in v0.52.0
type RegisterTemplateJSONBodyBootMode string
RegisterTemplateJSONBodyBootMode defines parameters for RegisterTemplate.
type RegisterTemplateJSONRequestBody ¶
type RegisterTemplateJSONRequestBody RegisterTemplateJSONBody
RegisterTemplateJSONRequestBody defines body for RegisterTemplate for application/json ContentType.
type RegisterTemplateResponse ¶
func ParseRegisterTemplateResponse ¶
func ParseRegisterTemplateResponse(rsp *http.Response) (*RegisterTemplateResponse, error)
ParseRegisterTemplateResponse parses an HTTP response from a RegisterTemplateWithResponse call
func (RegisterTemplateResponse) Status ¶
func (r RegisterTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (RegisterTemplateResponse) StatusCode ¶
func (r RegisterTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
func MultiRequestsEditor ¶
func MultiRequestsEditor(fns ...RequestEditorFn) RequestEditorFn
MultiRequestsEditor is an oapi-codegen compatible RequestEditorFn function that executes multiple RequestEditorFn functions sequentially.
type ResetElasticIpFieldParamsField ¶ added in v0.52.0
type ResetElasticIpFieldParamsField string
ResetElasticIpFieldParamsField defines parameters for ResetElasticIpField.
type ResetElasticIpFieldResponse ¶ added in v0.44.0
type ResetElasticIpFieldResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseResetElasticIpFieldResponse ¶ added in v0.44.0
func ParseResetElasticIpFieldResponse(rsp *http.Response) (*ResetElasticIpFieldResponse, error)
ParseResetElasticIpFieldResponse parses an HTTP response from a ResetElasticIpFieldWithResponse call
func (ResetElasticIpFieldResponse) Status ¶ added in v0.44.0
func (r ResetElasticIpFieldResponse) Status() string
Status returns HTTPResponse.Status
func (ResetElasticIpFieldResponse) StatusCode ¶ added in v0.44.0
func (r ResetElasticIpFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetInstanceFieldParamsField ¶ added in v0.57.0
type ResetInstanceFieldParamsField string
ResetInstanceFieldParamsField defines parameters for ResetInstanceField.
type ResetInstanceFieldResponse ¶ added in v0.57.0
type ResetInstanceFieldResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseResetInstanceFieldResponse ¶ added in v0.57.0
func ParseResetInstanceFieldResponse(rsp *http.Response) (*ResetInstanceFieldResponse, error)
ParseResetInstanceFieldResponse parses an HTTP response from a ResetInstanceFieldWithResponse call
func (ResetInstanceFieldResponse) Status ¶ added in v0.57.0
func (r ResetInstanceFieldResponse) Status() string
Status returns HTTPResponse.Status
func (ResetInstanceFieldResponse) StatusCode ¶ added in v0.57.0
func (r ResetInstanceFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetInstanceJSONBody ¶ added in v0.69.0
type ResetInstanceJSONBody struct { // Instance disk size in GB DiskSize *int64 `json:"disk-size,omitempty"` // Instance template Template *Template `json:"template,omitempty"` }
ResetInstanceJSONBody defines parameters for ResetInstance.
type ResetInstanceJSONRequestBody ¶ added in v0.69.0
type ResetInstanceJSONRequestBody ResetInstanceJSONBody
ResetInstanceJSONRequestBody defines body for ResetInstance for application/json ContentType.
type ResetInstancePoolFieldParamsField ¶ added in v0.52.0
type ResetInstancePoolFieldParamsField string
ResetInstancePoolFieldParamsField defines parameters for ResetInstancePoolField.
type ResetInstancePoolFieldResponse ¶ added in v0.44.0
type ResetInstancePoolFieldResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseResetInstancePoolFieldResponse ¶ added in v0.44.0
func ParseResetInstancePoolFieldResponse(rsp *http.Response) (*ResetInstancePoolFieldResponse, error)
ParseResetInstancePoolFieldResponse parses an HTTP response from a ResetInstancePoolFieldWithResponse call
func (ResetInstancePoolFieldResponse) Status ¶ added in v0.44.0
func (r ResetInstancePoolFieldResponse) Status() string
Status returns HTTPResponse.Status
func (ResetInstancePoolFieldResponse) StatusCode ¶ added in v0.44.0
func (r ResetInstancePoolFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetInstanceResponse ¶ added in v0.69.0
func ParseResetInstanceResponse ¶ added in v0.69.0
func ParseResetInstanceResponse(rsp *http.Response) (*ResetInstanceResponse, error)
ParseResetInstanceResponse parses an HTTP response from a ResetInstanceWithResponse call
func (ResetInstanceResponse) Status ¶ added in v0.69.0
func (r ResetInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (ResetInstanceResponse) StatusCode ¶ added in v0.69.0
func (r ResetInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetLoadBalancerFieldParamsField ¶ added in v0.52.0
type ResetLoadBalancerFieldParamsField string
ResetLoadBalancerFieldParamsField defines parameters for ResetLoadBalancerField.
type ResetLoadBalancerFieldResponse ¶ added in v0.52.0
type ResetLoadBalancerFieldResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseResetLoadBalancerFieldResponse ¶ added in v0.52.0
func ParseResetLoadBalancerFieldResponse(rsp *http.Response) (*ResetLoadBalancerFieldResponse, error)
ParseResetLoadBalancerFieldResponse parses an HTTP response from a ResetLoadBalancerFieldWithResponse call
func (ResetLoadBalancerFieldResponse) Status ¶ added in v0.52.0
func (r ResetLoadBalancerFieldResponse) Status() string
Status returns HTTPResponse.Status
func (ResetLoadBalancerFieldResponse) StatusCode ¶ added in v0.52.0
func (r ResetLoadBalancerFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetLoadBalancerServiceFieldParamsField ¶ added in v0.57.0
type ResetLoadBalancerServiceFieldParamsField string
ResetLoadBalancerServiceFieldParamsField defines parameters for ResetLoadBalancerServiceField.
type ResetLoadBalancerServiceFieldResponse ¶ added in v0.57.0
type ResetLoadBalancerServiceFieldResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseResetLoadBalancerServiceFieldResponse ¶ added in v0.57.0
func ParseResetLoadBalancerServiceFieldResponse(rsp *http.Response) (*ResetLoadBalancerServiceFieldResponse, error)
ParseResetLoadBalancerServiceFieldResponse parses an HTTP response from a ResetLoadBalancerServiceFieldWithResponse call
func (ResetLoadBalancerServiceFieldResponse) Status ¶ added in v0.57.0
func (r ResetLoadBalancerServiceFieldResponse) Status() string
Status returns HTTPResponse.Status
func (ResetLoadBalancerServiceFieldResponse) StatusCode ¶ added in v0.57.0
func (r ResetLoadBalancerServiceFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetPrivateNetworkFieldParamsField ¶ added in v0.61.0
type ResetPrivateNetworkFieldParamsField string
ResetPrivateNetworkFieldParamsField defines parameters for ResetPrivateNetworkField.
type ResetPrivateNetworkFieldResponse ¶ added in v0.61.0
type ResetPrivateNetworkFieldResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseResetPrivateNetworkFieldResponse ¶ added in v0.61.0
func ParseResetPrivateNetworkFieldResponse(rsp *http.Response) (*ResetPrivateNetworkFieldResponse, error)
ParseResetPrivateNetworkFieldResponse parses an HTTP response from a ResetPrivateNetworkFieldWithResponse call
func (ResetPrivateNetworkFieldResponse) Status ¶ added in v0.61.0
func (r ResetPrivateNetworkFieldResponse) Status() string
Status returns HTTPResponse.Status
func (ResetPrivateNetworkFieldResponse) StatusCode ¶ added in v0.61.0
func (r ResetPrivateNetworkFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetSksClusterFieldParamsField ¶ added in v0.52.0
type ResetSksClusterFieldParamsField string
ResetSksClusterFieldParamsField defines parameters for ResetSksClusterField.
type ResetSksClusterFieldResponse ¶ added in v0.44.0
type ResetSksClusterFieldResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseResetSksClusterFieldResponse ¶ added in v0.44.0
func ParseResetSksClusterFieldResponse(rsp *http.Response) (*ResetSksClusterFieldResponse, error)
ParseResetSksClusterFieldResponse parses an HTTP response from a ResetSksClusterFieldWithResponse call
func (ResetSksClusterFieldResponse) Status ¶ added in v0.44.0
func (r ResetSksClusterFieldResponse) Status() string
Status returns HTTPResponse.Status
func (ResetSksClusterFieldResponse) StatusCode ¶ added in v0.44.0
func (r ResetSksClusterFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetSksNodepoolFieldParamsField ¶ added in v0.52.0
type ResetSksNodepoolFieldParamsField string
ResetSksNodepoolFieldParamsField defines parameters for ResetSksNodepoolField.
type ResetSksNodepoolFieldResponse ¶ added in v0.44.0
type ResetSksNodepoolFieldResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseResetSksNodepoolFieldResponse ¶ added in v0.44.0
func ParseResetSksNodepoolFieldResponse(rsp *http.Response) (*ResetSksNodepoolFieldResponse, error)
ParseResetSksNodepoolFieldResponse parses an HTTP response from a ResetSksNodepoolFieldWithResponse call
func (ResetSksNodepoolFieldResponse) Status ¶ added in v0.44.0
func (r ResetSksNodepoolFieldResponse) Status() string
Status returns HTTPResponse.Status
func (ResetSksNodepoolFieldResponse) StatusCode ¶ added in v0.44.0
func (r ResetSksNodepoolFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResizeInstanceDiskJSONBody ¶ added in v0.69.0
type ResizeInstanceDiskJSONBody struct { // Instance disk size in GB DiskSize int64 `json:"disk-size"` }
ResizeInstanceDiskJSONBody defines parameters for ResizeInstanceDisk.
type ResizeInstanceDiskJSONRequestBody ¶ added in v0.69.0
type ResizeInstanceDiskJSONRequestBody ResizeInstanceDiskJSONBody
ResizeInstanceDiskJSONRequestBody defines body for ResizeInstanceDisk for application/json ContentType.
type ResizeInstanceDiskResponse ¶ added in v0.69.0
type ResizeInstanceDiskResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseResizeInstanceDiskResponse ¶ added in v0.69.0
func ParseResizeInstanceDiskResponse(rsp *http.Response) (*ResizeInstanceDiskResponse, error)
ParseResizeInstanceDiskResponse parses an HTTP response from a ResizeInstanceDiskWithResponse call
func (ResizeInstanceDiskResponse) Status ¶ added in v0.69.0
func (r ResizeInstanceDiskResponse) Status() string
Status returns HTTPResponse.Status
func (ResizeInstanceDiskResponse) StatusCode ¶ added in v0.69.0
func (r ResizeInstanceDiskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevertInstanceToSnapshotJSONBody ¶
type RevertInstanceToSnapshotJSONBody struct { // Snapshot ID Id string `json:"id"` }
RevertInstanceToSnapshotJSONBody defines parameters for RevertInstanceToSnapshot.
type RevertInstanceToSnapshotJSONRequestBody ¶
type RevertInstanceToSnapshotJSONRequestBody RevertInstanceToSnapshotJSONBody
RevertInstanceToSnapshotJSONRequestBody defines body for RevertInstanceToSnapshot for application/json ContentType.
type RevertInstanceToSnapshotResponse ¶
type RevertInstanceToSnapshotResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseRevertInstanceToSnapshotResponse ¶
func ParseRevertInstanceToSnapshotResponse(rsp *http.Response) (*RevertInstanceToSnapshotResponse, error)
ParseRevertInstanceToSnapshotResponse parses an HTTP response from a RevertInstanceToSnapshotWithResponse call
func (RevertInstanceToSnapshotResponse) Status ¶
func (r RevertInstanceToSnapshotResponse) Status() string
Status returns HTTPResponse.Status
func (RevertInstanceToSnapshotResponse) StatusCode ¶
func (r RevertInstanceToSnapshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RotateSksCcmCredentialsResponse ¶ added in v0.44.0
type RotateSksCcmCredentialsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseRotateSksCcmCredentialsResponse ¶ added in v0.44.0
func ParseRotateSksCcmCredentialsResponse(rsp *http.Response) (*RotateSksCcmCredentialsResponse, error)
ParseRotateSksCcmCredentialsResponse parses an HTTP response from a RotateSksCcmCredentialsWithResponse call
func (RotateSksCcmCredentialsResponse) Status ¶ added in v0.44.0
func (r RotateSksCcmCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (RotateSksCcmCredentialsResponse) StatusCode ¶ added in v0.44.0
func (r RotateSksCcmCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScaleInstanceJSONBody ¶ added in v0.69.0
type ScaleInstanceJSONBody struct { // Compute instance type InstanceType InstanceType `json:"instance-type"` }
ScaleInstanceJSONBody defines parameters for ScaleInstance.
type ScaleInstanceJSONRequestBody ¶ added in v0.69.0
type ScaleInstanceJSONRequestBody ScaleInstanceJSONBody
ScaleInstanceJSONRequestBody defines body for ScaleInstance for application/json ContentType.
type ScaleInstancePoolJSONBody ¶
type ScaleInstancePoolJSONBody struct { // Number of managed instances Size int64 `json:"size"` }
ScaleInstancePoolJSONBody defines parameters for ScaleInstancePool.
type ScaleInstancePoolJSONRequestBody ¶
type ScaleInstancePoolJSONRequestBody ScaleInstancePoolJSONBody
ScaleInstancePoolJSONRequestBody defines body for ScaleInstancePool for application/json ContentType.
type ScaleInstancePoolResponse ¶
type ScaleInstancePoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseScaleInstancePoolResponse ¶
func ParseScaleInstancePoolResponse(rsp *http.Response) (*ScaleInstancePoolResponse, error)
ParseScaleInstancePoolResponse parses an HTTP response from a ScaleInstancePoolWithResponse call
func (ScaleInstancePoolResponse) Status ¶
func (r ScaleInstancePoolResponse) Status() string
Status returns HTTPResponse.Status
func (ScaleInstancePoolResponse) StatusCode ¶
func (r ScaleInstancePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScaleInstanceResponse ¶ added in v0.69.0
func ParseScaleInstanceResponse ¶ added in v0.69.0
func ParseScaleInstanceResponse(rsp *http.Response) (*ScaleInstanceResponse, error)
ParseScaleInstanceResponse parses an HTTP response from a ScaleInstanceWithResponse call
func (ScaleInstanceResponse) Status ¶ added in v0.69.0
func (r ScaleInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (ScaleInstanceResponse) StatusCode ¶ added in v0.69.0
func (r ScaleInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScaleSksNodepoolJSONBody ¶
type ScaleSksNodepoolJSONBody struct { // Number of instances Size int64 `json:"size"` }
ScaleSksNodepoolJSONBody defines parameters for ScaleSksNodepool.
type ScaleSksNodepoolJSONRequestBody ¶
type ScaleSksNodepoolJSONRequestBody ScaleSksNodepoolJSONBody
ScaleSksNodepoolJSONRequestBody defines body for ScaleSksNodepool for application/json ContentType.
type ScaleSksNodepoolResponse ¶
func ParseScaleSksNodepoolResponse ¶
func ParseScaleSksNodepoolResponse(rsp *http.Response) (*ScaleSksNodepoolResponse, error)
ParseScaleSksNodepoolResponse parses an HTTP response from a ScaleSksNodepoolWithResponse call
func (ScaleSksNodepoolResponse) Status ¶
func (r ScaleSksNodepoolResponse) Status() string
Status returns HTTPResponse.Status
func (ScaleSksNodepoolResponse) StatusCode ¶
func (r ScaleSksNodepoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SecurityGroup ¶
type SecurityGroup struct { // Security Group description Description *string `json:"description,omitempty"` // Security Group ID Id *string `json:"id,omitempty"` // Security Group name Name *string `json:"name,omitempty"` // Security Group rules Rules *[]SecurityGroupRule `json:"rules,omitempty"` }
Security Group
type SecurityGroupResource ¶
type SecurityGroupResource struct { // Security Group ID Id string `json:"id"` // Security Group name Name *string `json:"name,omitempty"` }
Security Group
type SecurityGroupRule ¶
type SecurityGroupRule struct { // Security Group rule description Description *string `json:"description,omitempty"` // End port of the range EndPort *int64 `json:"end-port,omitempty"` // Network flow direction to match FlowDirection *SecurityGroupRuleFlowDirection `json:"flow-direction,omitempty"` // ICMP details Icmp *struct { Code *int64 `json:"code,omitempty"` Type *int64 `json:"type,omitempty"` } `json:"icmp,omitempty"` // Security Group rule ID Id *string `json:"id,omitempty"` // CIDR-formatted network allowed Network *string `json:"network,omitempty"` // Network protocol Protocol *SecurityGroupRuleProtocol `json:"protocol,omitempty"` // Security Group SecurityGroup *SecurityGroupResource `json:"security-group,omitempty"` // Start port of the range StartPort *int64 `json:"start-port,omitempty"` }
Security Group rule
type SecurityGroupRuleFlowDirection ¶ added in v0.52.0
type SecurityGroupRuleFlowDirection string
Network flow direction to match
const ( SecurityGroupRuleFlowDirectionEgress SecurityGroupRuleFlowDirection = "egress" SecurityGroupRuleFlowDirectionIngress SecurityGroupRuleFlowDirection = "ingress" )
Defines values for SecurityGroupRuleFlowDirection.
type SecurityGroupRuleProtocol ¶ added in v0.52.0
type SecurityGroupRuleProtocol string
Network protocol
const ( SecurityGroupRuleProtocolAh SecurityGroupRuleProtocol = "ah" SecurityGroupRuleProtocolEsp SecurityGroupRuleProtocol = "esp" SecurityGroupRuleProtocolGre SecurityGroupRuleProtocol = "gre" SecurityGroupRuleProtocolIcmp SecurityGroupRuleProtocol = "icmp" SecurityGroupRuleProtocolIcmpv6 SecurityGroupRuleProtocol = "icmpv6" SecurityGroupRuleProtocolIpip SecurityGroupRuleProtocol = "ipip" SecurityGroupRuleProtocolTcp SecurityGroupRuleProtocol = "tcp" SecurityGroupRuleProtocolUdp SecurityGroupRuleProtocol = "udp" )
Defines values for SecurityGroupRuleProtocol.
type SksCluster ¶
type SksCluster struct { // Cluster addons Addons *[]SksClusterAddons `json:"addons,omitempty"` // Enable auto upgrade of the control plane to the latest patch version available AutoUpgrade *bool `json:"auto-upgrade,omitempty"` // Cluster CNI Cni *SksClusterCni `json:"cni,omitempty"` // Cluster creation date CreatedAt *time.Time `json:"created-at,omitempty"` // Cluster description Description *string `json:"description,omitempty"` // Cluster endpoint Endpoint *string `json:"endpoint,omitempty"` // Cluster ID Id *string `json:"id,omitempty"` Labels *Labels `json:"labels,omitempty"` // Cluster level Level *SksClusterLevel `json:"level,omitempty"` // Cluster name Name *string `json:"name,omitempty"` // Cluster Nodepools Nodepools *[]SksNodepool `json:"nodepools,omitempty"` // Cluster state State *SksClusterState `json:"state,omitempty"` // Control plane Kubernetes version Version *string `json:"version,omitempty"` }
SKS Cluster
func (*SksCluster) MarshalJSON ¶
func (c *SksCluster) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON encoding of a SksCluster structure after having formatted the CreatedAt field in the original timestamp (ISO 8601), since time.MarshalJSON() only supports RFC 3339 format.
func (*SksCluster) UnmarshalJSON ¶
func (c *SksCluster) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals a SksCluster structure into a temporary structure whose "CreatedAt" field of type string to be able to parse the original timestamp (ISO 8601) into a time.Time object, since json.Unmarshal() only supports RFC 3339 format.
type SksClusterAddons ¶ added in v0.52.0
type SksClusterAddons string
SksClusterAddons defines model for SksCluster.Addons.
const ( SksClusterAddonsExoscaleCloudController SksClusterAddons = "exoscale-cloud-controller" SksClusterAddonsMetricsServer SksClusterAddons = "metrics-server" )
Defines values for SksClusterAddons.
type SksClusterCni ¶ added in v0.52.0
type SksClusterCni string
Cluster CNI
const (
SksClusterCniCalico SksClusterCni = "calico"
)
Defines values for SksClusterCni.
type SksClusterLevel ¶ added in v0.52.0
type SksClusterLevel string
Cluster level
const ( SksClusterLevelPro SksClusterLevel = "pro" SksClusterLevelStarter SksClusterLevel = "starter" )
Defines values for SksClusterLevel.
type SksClusterState ¶ added in v0.52.0
type SksClusterState string
Cluster state
const ( SksClusterStateCreating SksClusterState = "creating" SksClusterStateDeleting SksClusterState = "deleting" SksClusterStateError SksClusterState = "error" SksClusterStateRotatingCcmCredentials SksClusterState = "rotating-ccm-credentials" SksClusterStateRunning SksClusterState = "running" SksClusterStateUpdating SksClusterState = "updating" SksClusterStateUpgrading SksClusterState = "upgrading" )
Defines values for SksClusterState.
type SksKubeconfigRequest ¶
type SksKubeconfigRequest struct { // List of roles. The certificate present in the Kubeconfig will have these roles set in the Org field. Groups *[]string `json:"groups,omitempty"` // Validity in seconds of the Kubeconfig user certificate (default: 30 days) Ttl *int64 `json:"ttl,omitempty"` // User name in the generated Kubeconfig. The certificate present in the Kubeconfig will also have this name set for the CN field. User *string `json:"user,omitempty"` }
Kubeconfig request for a SKS cluster
type SksNodepool ¶
type SksNodepool struct { // Nodepool addons Addons *[]SksNodepoolAddons `json:"addons,omitempty"` // Nodepool Anti-affinity Groups AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` // Nodepool creation date CreatedAt *time.Time `json:"created-at,omitempty"` // Deploy target DeployTarget *DeployTarget `json:"deploy-target,omitempty"` // Nodepool description Description *string `json:"description,omitempty"` // Nodepool instances disk size in GB DiskSize *int64 `json:"disk-size,omitempty"` // Nodepool ID Id *string `json:"id,omitempty"` // Instance Pool InstancePool *InstancePool `json:"instance-pool,omitempty"` // The instances created by the Nodepool will be prefixed with this value (default: pool) InstancePrefix *string `json:"instance-prefix,omitempty"` // Compute instance type InstanceType *InstanceType `json:"instance-type,omitempty"` Labels *Labels `json:"labels,omitempty"` // Nodepool name Name *string `json:"name,omitempty"` // Nodepool Private Networks PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"` // Nodepool Security Groups SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` // Number of instances Size *int64 `json:"size,omitempty"` // Nodepool state State *SksNodepoolState `json:"state,omitempty"` // Instance template Template *Template `json:"template,omitempty"` // Nodepool version Version *string `json:"version,omitempty"` }
SKS Nodepool
func (*SksNodepool) MarshalJSON ¶
func (n *SksNodepool) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON encoding of a SksNodepool structure after having formatted the CreatedAt field in the original timestamp (ISO 8601), since time.MarshalJSON() only supports RFC 3339 format.
func (*SksNodepool) UnmarshalJSON ¶
func (n *SksNodepool) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals a SksNodepool structure into a temporary structure whose "CreatedAt" field of type string to be able to parse the original timestamp (ISO 8601) into a time.Time object, since json.Unmarshal() only supports RFC 3339 format.
type SksNodepoolAddons ¶ added in v0.69.0
type SksNodepoolAddons string
SksNodepoolAddons defines model for SksNodepool.Addons.
const (
SksNodepoolAddonsLinbit SksNodepoolAddons = "linbit"
)
Defines values for SksNodepoolAddons.
type SksNodepoolState ¶ added in v0.52.0
type SksNodepoolState string
Nodepool state
const ( SksNodepoolStateCreating SksNodepoolState = "creating" SksNodepoolStateDeleting SksNodepoolState = "deleting" SksNodepoolStateError SksNodepoolState = "error" SksNodepoolStateRenewingToken SksNodepoolState = "renewing-token" SksNodepoolStateRunning SksNodepoolState = "running" SksNodepoolStateUpdating SksNodepoolState = "updating" )
Defines values for SksNodepoolState.
type Snapshot ¶
type Snapshot struct { // Snapshot creation date CreatedAt *time.Time `json:"created-at,omitempty"` // Exported snapshot information Export *struct { // Exported snapshot disk file MD5 checksum Md5sum *string `json:"md5sum,omitempty"` // Exported snapshot disk file pre-signed URL PresignedUrl *string `json:"presigned-url,omitempty"` } `json:"export,omitempty"` // Snapshot ID Id *string `json:"id,omitempty"` // Instance Instance *Instance `json:"instance,omitempty"` // Snapshot name Name *string `json:"name,omitempty"` // Snapshot state State *SnapshotState `json:"state,omitempty"` }
Snapshot
func (*Snapshot) MarshalJSON ¶ added in v0.48.0
MarshalJSON returns the JSON encoding of a Snapshot structure after having formatted the CreatedAt field in the original timestamp (ISO 8601), since time.MarshalJSON() only supports RFC 3339 format.
func (*Snapshot) UnmarshalJSON ¶ added in v0.48.0
UnmarshalJSON unmarshals a Snapshot structure into a temporary structure whose "CreatedAt" field of type string to be able to parse the original timestamp (ISO 8601) into a time.Time object, since json.Unmarshal() only supports RFC 3339 format.
type SnapshotState ¶ added in v0.52.0
type SnapshotState string
Snapshot state
const ( SnapshotStateDeleted SnapshotState = "deleted" SnapshotStateDeleting SnapshotState = "deleting" SnapshotStateError SnapshotState = "error" SnapshotStateExported SnapshotState = "exported" SnapshotStateExporting SnapshotState = "exporting" SnapshotStateReady SnapshotState = "ready" SnapshotStateSnapshotting SnapshotState = "snapshotting" )
Defines values for SnapshotState.
type SshKey ¶
type SshKey struct { // SSH key fingerprint Fingerprint *string `json:"fingerprint,omitempty"` // SSH key name Name *string `json:"name,omitempty"` }
SSH key
type StartInstanceResponse ¶ added in v0.52.0
func ParseStartInstanceResponse ¶ added in v0.52.0
func ParseStartInstanceResponse(rsp *http.Response) (*StartInstanceResponse, error)
ParseStartInstanceResponse parses an HTTP response from a StartInstanceWithResponse call
func (StartInstanceResponse) Status ¶ added in v0.52.0
func (r StartInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (StartInstanceResponse) StatusCode ¶ added in v0.52.0
func (r StartInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StopInstanceResponse ¶ added in v0.52.0
func ParseStopInstanceResponse ¶ added in v0.52.0
func ParseStopInstanceResponse(rsp *http.Response) (*StopInstanceResponse, error)
ParseStopInstanceResponse parses an HTTP response from a StopInstanceWithResponse call
func (StopInstanceResponse) Status ¶ added in v0.52.0
func (r StopInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (StopInstanceResponse) StatusCode ¶ added in v0.52.0
func (r StopInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Template ¶
type Template struct { // Boot mode (default: legacy) BootMode *TemplateBootMode `json:"boot-mode,omitempty"` // Template build Build *string `json:"build,omitempty"` // Template MD5 checksum Checksum *string `json:"checksum,omitempty"` // Template creation date CreatedAt *time.Time `json:"created-at,omitempty"` // Template default user DefaultUser *string `json:"default-user,omitempty"` // Template description Description *string `json:"description,omitempty"` // Template family Family *string `json:"family,omitempty"` // Template ID Id *string `json:"id,omitempty"` // Template maintainer Maintainer *string `json:"maintainer,omitempty"` // Template name Name *string `json:"name,omitempty"` // Enable password based login PasswordEnabled *bool `json:"password-enabled,omitempty"` // Template size Size *int64 `json:"size,omitempty"` // Enable SSH key based login SshKeyEnabled *bool `json:"ssh-key-enabled,omitempty"` // Template source URL Url *string `json:"url,omitempty"` // Template version Version *string `json:"version,omitempty"` // Template visibility Visibility *TemplateVisibility `json:"visibility,omitempty"` }
Instance template
func (*Template) MarshalJSON ¶
MarshalJSON returns the JSON encoding of a Template structure after having formatted the CreatedAt field in the original timestamp (ISO 8601), since time.MarshalJSON() only supports RFC 3339 format.
func (*Template) UnmarshalJSON ¶
UnmarshalJSON unmarshals a Template structure into a temporary structure whose "CreatedAt" field of type string to be able to parse the original timestamp (ISO 8601) into a time.Time object, since json.Unmarshal() only supports RFC 3339 format.
type TemplateBootMode ¶ added in v0.52.0
type TemplateBootMode string
Boot mode (default: legacy)
const ( TemplateBootModeLegacy TemplateBootMode = "legacy" TemplateBootModeUefi TemplateBootMode = "uefi" )
Defines values for TemplateBootMode.
type TemplateVisibility ¶ added in v0.52.0
type TemplateVisibility string
Template visibility
const ( TemplateVisibilityPrivate TemplateVisibility = "private" TemplateVisibilityPublic TemplateVisibility = "public" )
Defines values for TemplateVisibility.
type TerminateDbaasServiceResponse ¶ added in v0.57.0
type TerminateDbaasServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Message *string `json:"message,omitempty"` } }
func ParseTerminateDbaasServiceResponse ¶ added in v0.57.0
func ParseTerminateDbaasServiceResponse(rsp *http.Response) (*TerminateDbaasServiceResponse, error)
ParseTerminateDbaasServiceResponse parses an HTTP response from a TerminateDbaasServiceWithResponse call
func (TerminateDbaasServiceResponse) Status ¶ added in v0.57.0
func (r TerminateDbaasServiceResponse) Status() string
Status returns HTTPResponse.Status
func (TerminateDbaasServiceResponse) StatusCode ¶ added in v0.57.0
func (r TerminateDbaasServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDbaasServiceJSONBody ¶ added in v0.57.0
type UpdateDbaasServiceJSONBody struct { // Automatic maintenance settings Maintenance *struct { // Day of week for installing updates Dow UpdateDbaasServiceJSONBodyMaintenanceDow `json:"dow"` // Time for installing updates, UTC Time string `json:"time"` } `json:"maintenance,omitempty"` // Subscription plan Plan *string `json:"plan,omitempty"` // Power-on the service (true) or power-off (false) Powered *bool `json:"powered,omitempty"` // Service is protected against termination and powering off TerminationProtection *bool `json:"termination-protection,omitempty"` // Service type-specific settings UserConfig *UpdateDbaasServiceJSONBody_UserConfig `json:"user-config,omitempty"` }
UpdateDbaasServiceJSONBody defines parameters for UpdateDbaasService.
type UpdateDbaasServiceJSONBodyMaintenanceDow ¶ added in v0.57.0
type UpdateDbaasServiceJSONBodyMaintenanceDow string
UpdateDbaasServiceJSONBodyMaintenanceDow defines parameters for UpdateDbaasService.
type UpdateDbaasServiceJSONBody_UserConfig ¶ added in v0.57.0
type UpdateDbaasServiceJSONBody_UserConfig struct {
AdditionalProperties map[string]interface{} `json:"-"`
}
UpdateDbaasServiceJSONBody_UserConfig defines parameters for UpdateDbaasService.
func (UpdateDbaasServiceJSONBody_UserConfig) Get ¶ added in v0.57.0
func (a UpdateDbaasServiceJSONBody_UserConfig) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for UpdateDbaasServiceJSONBody_UserConfig. Returns the specified element and whether it was found
func (UpdateDbaasServiceJSONBody_UserConfig) MarshalJSON ¶ added in v0.57.0
func (a UpdateDbaasServiceJSONBody_UserConfig) MarshalJSON() ([]byte, error)
Override default JSON handling for UpdateDbaasServiceJSONBody_UserConfig to handle AdditionalProperties
func (*UpdateDbaasServiceJSONBody_UserConfig) Set ¶ added in v0.57.0
func (a *UpdateDbaasServiceJSONBody_UserConfig) Set(fieldName string, value interface{})
Setter for additional properties for UpdateDbaasServiceJSONBody_UserConfig
func (*UpdateDbaasServiceJSONBody_UserConfig) UnmarshalJSON ¶ added in v0.57.0
func (a *UpdateDbaasServiceJSONBody_UserConfig) UnmarshalJSON(b []byte) error
Override default JSON handling for UpdateDbaasServiceJSONBody_UserConfig to handle AdditionalProperties
type UpdateDbaasServiceJSONRequestBody ¶ added in v0.57.0
type UpdateDbaasServiceJSONRequestBody UpdateDbaasServiceJSONBody
UpdateDbaasServiceJSONRequestBody defines body for UpdateDbaasService for application/json ContentType.
type UpdateDbaasServiceResponse ¶ added in v0.57.0
type UpdateDbaasServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *DbaasService }
func ParseUpdateDbaasServiceResponse ¶ added in v0.57.0
func ParseUpdateDbaasServiceResponse(rsp *http.Response) (*UpdateDbaasServiceResponse, error)
ParseUpdateDbaasServiceResponse parses an HTTP response from a UpdateDbaasServiceWithResponse call
func (UpdateDbaasServiceResponse) Status ¶ added in v0.57.0
func (r UpdateDbaasServiceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDbaasServiceResponse) StatusCode ¶ added in v0.57.0
func (r UpdateDbaasServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateElasticIpJSONBody ¶ added in v0.44.0
type UpdateElasticIpJSONBody struct { // Elastic IP description Description *string `json:"description,omitempty"` // Elastic IP address healthcheck Healthcheck *ElasticIpHealthcheck `json:"healthcheck,omitempty"` }
UpdateElasticIpJSONBody defines parameters for UpdateElasticIp.
type UpdateElasticIpJSONRequestBody ¶ added in v0.44.0
type UpdateElasticIpJSONRequestBody UpdateElasticIpJSONBody
UpdateElasticIpJSONRequestBody defines body for UpdateElasticIp for application/json ContentType.
type UpdateElasticIpResponse ¶ added in v0.44.0
func ParseUpdateElasticIpResponse ¶ added in v0.44.0
func ParseUpdateElasticIpResponse(rsp *http.Response) (*UpdateElasticIpResponse, error)
ParseUpdateElasticIpResponse parses an HTTP response from a UpdateElasticIpWithResponse call
func (UpdateElasticIpResponse) Status ¶ added in v0.44.0
func (r UpdateElasticIpResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateElasticIpResponse) StatusCode ¶ added in v0.44.0
func (r UpdateElasticIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateInstanceJSONBody ¶ added in v0.48.0
type UpdateInstanceJSONBody struct { Labels *Labels `json:"labels,omitempty"` // Instance name Name *string `json:"name,omitempty"` // Instance Cloud-init user-data UserData *string `json:"user-data,omitempty"` }
UpdateInstanceJSONBody defines parameters for UpdateInstance.
type UpdateInstanceJSONRequestBody ¶ added in v0.48.0
type UpdateInstanceJSONRequestBody UpdateInstanceJSONBody
UpdateInstanceJSONRequestBody defines body for UpdateInstance for application/json ContentType.
type UpdateInstancePoolJSONBody ¶
type UpdateInstancePoolJSONBody struct { // Instance Pool Anti-affinity Groups AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` // Deploy target DeployTarget *DeployTarget `json:"deploy-target,omitempty"` // Instance Pool description Description *string `json:"description,omitempty"` // Instances disk size in GB DiskSize *int64 `json:"disk-size,omitempty"` // Instances Elastic IPs ElasticIps *[]ElasticIp `json:"elastic-ips,omitempty"` // Prefix to apply to instances names (default: pool) InstancePrefix *string `json:"instance-prefix,omitempty"` // Compute instance type InstanceType *InstanceType `json:"instance-type,omitempty"` // Enable IPv6 for instances Ipv6Enabled *bool `json:"ipv6-enabled,omitempty"` Labels *Labels `json:"labels,omitempty"` // Instance Pool name Name *string `json:"name,omitempty"` // Instance Pool Private Networks PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"` // Instance Pool Security Groups SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` // SSH key SshKey *SshKey `json:"ssh-key,omitempty"` // Instance template Template *Template `json:"template,omitempty"` // Instances Cloud-init user-data UserData *string `json:"user-data,omitempty"` }
UpdateInstancePoolJSONBody defines parameters for UpdateInstancePool.
type UpdateInstancePoolJSONRequestBody ¶
type UpdateInstancePoolJSONRequestBody UpdateInstancePoolJSONBody
UpdateInstancePoolJSONRequestBody defines body for UpdateInstancePool for application/json ContentType.
type UpdateInstancePoolResponse ¶
type UpdateInstancePoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseUpdateInstancePoolResponse ¶
func ParseUpdateInstancePoolResponse(rsp *http.Response) (*UpdateInstancePoolResponse, error)
ParseUpdateInstancePoolResponse parses an HTTP response from a UpdateInstancePoolWithResponse call
func (UpdateInstancePoolResponse) Status ¶
func (r UpdateInstancePoolResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateInstancePoolResponse) StatusCode ¶
func (r UpdateInstancePoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateInstanceResponse ¶ added in v0.48.0
func ParseUpdateInstanceResponse ¶ added in v0.48.0
func ParseUpdateInstanceResponse(rsp *http.Response) (*UpdateInstanceResponse, error)
ParseUpdateInstanceResponse parses an HTTP response from a UpdateInstanceWithResponse call
func (UpdateInstanceResponse) Status ¶ added in v0.48.0
func (r UpdateInstanceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateInstanceResponse) StatusCode ¶ added in v0.48.0
func (r UpdateInstanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateLoadBalancerJSONBody ¶
type UpdateLoadBalancerJSONBody struct { Description *string `json:"description,omitempty"` Labels *Labels `json:"labels,omitempty"` Name *string `json:"name,omitempty"` }
UpdateLoadBalancerJSONBody defines parameters for UpdateLoadBalancer.
type UpdateLoadBalancerJSONRequestBody ¶
type UpdateLoadBalancerJSONRequestBody UpdateLoadBalancerJSONBody
UpdateLoadBalancerJSONRequestBody defines body for UpdateLoadBalancer for application/json ContentType.
type UpdateLoadBalancerResponse ¶
type UpdateLoadBalancerResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseUpdateLoadBalancerResponse ¶
func ParseUpdateLoadBalancerResponse(rsp *http.Response) (*UpdateLoadBalancerResponse, error)
ParseUpdateLoadBalancerResponse parses an HTTP response from a UpdateLoadBalancerWithResponse call
func (UpdateLoadBalancerResponse) Status ¶
func (r UpdateLoadBalancerResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateLoadBalancerResponse) StatusCode ¶
func (r UpdateLoadBalancerResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateLoadBalancerServiceJSONBody ¶
type UpdateLoadBalancerServiceJSONBody struct { // Load Balancer Service description Description *string `json:"description,omitempty"` // Load Balancer Service healthcheck Healthcheck *LoadBalancerServiceHealthcheck `json:"healthcheck,omitempty"` // Load Balancer Service name Name *string `json:"name,omitempty"` // Port exposed on the Load Balancer's public IP Port *int64 `json:"port,omitempty"` // Network traffic protocol Protocol *UpdateLoadBalancerServiceJSONBodyProtocol `json:"protocol,omitempty"` // Load balancing strategy Strategy *UpdateLoadBalancerServiceJSONBodyStrategy `json:"strategy,omitempty"` // Port on which the network traffic will be forwarded to on the receiving instance TargetPort *int64 `json:"target-port,omitempty"` }
UpdateLoadBalancerServiceJSONBody defines parameters for UpdateLoadBalancerService.
type UpdateLoadBalancerServiceJSONBodyProtocol ¶ added in v0.52.0
type UpdateLoadBalancerServiceJSONBodyProtocol string
UpdateLoadBalancerServiceJSONBodyProtocol defines parameters for UpdateLoadBalancerService.
type UpdateLoadBalancerServiceJSONBodyStrategy ¶ added in v0.52.0
type UpdateLoadBalancerServiceJSONBodyStrategy string
UpdateLoadBalancerServiceJSONBodyStrategy defines parameters for UpdateLoadBalancerService.
type UpdateLoadBalancerServiceJSONRequestBody ¶
type UpdateLoadBalancerServiceJSONRequestBody UpdateLoadBalancerServiceJSONBody
UpdateLoadBalancerServiceJSONRequestBody defines body for UpdateLoadBalancerService for application/json ContentType.
type UpdateLoadBalancerServiceResponse ¶
type UpdateLoadBalancerServiceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseUpdateLoadBalancerServiceResponse ¶
func ParseUpdateLoadBalancerServiceResponse(rsp *http.Response) (*UpdateLoadBalancerServiceResponse, error)
ParseUpdateLoadBalancerServiceResponse parses an HTTP response from a UpdateLoadBalancerServiceWithResponse call
func (UpdateLoadBalancerServiceResponse) Status ¶
func (r UpdateLoadBalancerServiceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateLoadBalancerServiceResponse) StatusCode ¶
func (r UpdateLoadBalancerServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePrivateNetworkInstanceIpJSONBody ¶ added in v0.61.0
type UpdatePrivateNetworkInstanceIpJSONBody struct { // Instance Instance Instance `json:"instance"` // Static IP address lease for the corresponding network interface Ip *string `json:"ip,omitempty"` }
UpdatePrivateNetworkInstanceIpJSONBody defines parameters for UpdatePrivateNetworkInstanceIp.
type UpdatePrivateNetworkInstanceIpJSONRequestBody ¶ added in v0.61.0
type UpdatePrivateNetworkInstanceIpJSONRequestBody UpdatePrivateNetworkInstanceIpJSONBody
UpdatePrivateNetworkInstanceIpJSONRequestBody defines body for UpdatePrivateNetworkInstanceIp for application/json ContentType.
type UpdatePrivateNetworkInstanceIpResponse ¶ added in v0.61.0
type UpdatePrivateNetworkInstanceIpResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseUpdatePrivateNetworkInstanceIpResponse ¶ added in v0.61.0
func ParseUpdatePrivateNetworkInstanceIpResponse(rsp *http.Response) (*UpdatePrivateNetworkInstanceIpResponse, error)
ParseUpdatePrivateNetworkInstanceIpResponse parses an HTTP response from a UpdatePrivateNetworkInstanceIpWithResponse call
func (UpdatePrivateNetworkInstanceIpResponse) Status ¶ added in v0.61.0
func (r UpdatePrivateNetworkInstanceIpResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePrivateNetworkInstanceIpResponse) StatusCode ¶ added in v0.61.0
func (r UpdatePrivateNetworkInstanceIpResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePrivateNetworkJSONBody ¶
type UpdatePrivateNetworkJSONBody struct { // Private Network description Description *string `json:"description,omitempty"` // Private Network end IP address EndIp *string `json:"end-ip,omitempty"` Labels *Labels `json:"labels,omitempty"` // Private Network name Name *string `json:"name,omitempty"` // Private Network netmask Netmask *string `json:"netmask,omitempty"` // Private Network start IP address StartIp *string `json:"start-ip,omitempty"` }
UpdatePrivateNetworkJSONBody defines parameters for UpdatePrivateNetwork.
type UpdatePrivateNetworkJSONRequestBody ¶
type UpdatePrivateNetworkJSONRequestBody UpdatePrivateNetworkJSONBody
UpdatePrivateNetworkJSONRequestBody defines body for UpdatePrivateNetwork for application/json ContentType.
type UpdatePrivateNetworkResponse ¶
type UpdatePrivateNetworkResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseUpdatePrivateNetworkResponse ¶
func ParseUpdatePrivateNetworkResponse(rsp *http.Response) (*UpdatePrivateNetworkResponse, error)
ParseUpdatePrivateNetworkResponse parses an HTTP response from a UpdatePrivateNetworkWithResponse call
func (UpdatePrivateNetworkResponse) Status ¶
func (r UpdatePrivateNetworkResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePrivateNetworkResponse) StatusCode ¶
func (r UpdatePrivateNetworkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSksClusterJSONBody ¶
type UpdateSksClusterJSONBody struct { // Enable auto upgrade of the control plane to the latest patch version available AutoUpgrade *bool `json:"auto-upgrade,omitempty"` // Cluster description Description *string `json:"description,omitempty"` Labels *Labels `json:"labels,omitempty"` // Cluster name Name *string `json:"name,omitempty"` }
UpdateSksClusterJSONBody defines parameters for UpdateSksCluster.
type UpdateSksClusterJSONRequestBody ¶
type UpdateSksClusterJSONRequestBody UpdateSksClusterJSONBody
UpdateSksClusterJSONRequestBody defines body for UpdateSksCluster for application/json ContentType.
type UpdateSksClusterResponse ¶
func ParseUpdateSksClusterResponse ¶
func ParseUpdateSksClusterResponse(rsp *http.Response) (*UpdateSksClusterResponse, error)
ParseUpdateSksClusterResponse parses an HTTP response from a UpdateSksClusterWithResponse call
func (UpdateSksClusterResponse) Status ¶
func (r UpdateSksClusterResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSksClusterResponse) StatusCode ¶
func (r UpdateSksClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSksNodepoolJSONBody ¶
type UpdateSksNodepoolJSONBody struct { // Nodepool Anti-affinity Groups AntiAffinityGroups *[]AntiAffinityGroup `json:"anti-affinity-groups,omitempty"` // Deploy target DeployTarget *DeployTarget `json:"deploy-target,omitempty"` // Nodepool description Description *string `json:"description,omitempty"` // Nodepool instances disk size in GB DiskSize *int64 `json:"disk-size,omitempty"` // Prefix to apply to managed instances names (default: pool) InstancePrefix *string `json:"instance-prefix,omitempty"` // Compute instance type InstanceType *InstanceType `json:"instance-type,omitempty"` Labels *Labels `json:"labels,omitempty"` // Nodepool name Name *string `json:"name,omitempty"` // Nodepool Private Networks PrivateNetworks *[]PrivateNetwork `json:"private-networks,omitempty"` // Nodepool Security Groups SecurityGroups *[]SecurityGroup `json:"security-groups,omitempty"` }
UpdateSksNodepoolJSONBody defines parameters for UpdateSksNodepool.
type UpdateSksNodepoolJSONRequestBody ¶
type UpdateSksNodepoolJSONRequestBody UpdateSksNodepoolJSONBody
UpdateSksNodepoolJSONRequestBody defines body for UpdateSksNodepool for application/json ContentType.
type UpdateSksNodepoolResponse ¶
type UpdateSksNodepoolResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseUpdateSksNodepoolResponse ¶
func ParseUpdateSksNodepoolResponse(rsp *http.Response) (*UpdateSksNodepoolResponse, error)
ParseUpdateSksNodepoolResponse parses an HTTP response from a UpdateSksNodepoolWithResponse call
func (UpdateSksNodepoolResponse) Status ¶
func (r UpdateSksNodepoolResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSksNodepoolResponse) StatusCode ¶
func (r UpdateSksNodepoolResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpgradeSksClusterJSONBody ¶
type UpgradeSksClusterJSONBody struct { // Control plane Kubernetes version Version string `json:"version"` }
UpgradeSksClusterJSONBody defines parameters for UpgradeSksCluster.
type UpgradeSksClusterJSONRequestBody ¶
type UpgradeSksClusterJSONRequestBody UpgradeSksClusterJSONBody
UpgradeSksClusterJSONRequestBody defines body for UpgradeSksCluster for application/json ContentType.
type UpgradeSksClusterResponse ¶
type UpgradeSksClusterResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseUpgradeSksClusterResponse ¶
func ParseUpgradeSksClusterResponse(rsp *http.Response) (*UpgradeSksClusterResponse, error)
ParseUpgradeSksClusterResponse parses an HTTP response from a UpgradeSksClusterWithResponse call
func (UpgradeSksClusterResponse) Status ¶
func (r UpgradeSksClusterResponse) Status() string
Status returns HTTPResponse.Status
func (UpgradeSksClusterResponse) StatusCode ¶
func (r UpgradeSksClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpgradeSksClusterServiceLevelResponse ¶ added in v0.69.0
type UpgradeSksClusterServiceLevelResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Operation }
func ParseUpgradeSksClusterServiceLevelResponse ¶ added in v0.69.0
func ParseUpgradeSksClusterServiceLevelResponse(rsp *http.Response) (*UpgradeSksClusterServiceLevelResponse, error)
ParseUpgradeSksClusterServiceLevelResponse parses an HTTP response from a UpgradeSksClusterServiceLevelWithResponse call
func (UpgradeSksClusterServiceLevelResponse) Status ¶ added in v0.69.0
func (r UpgradeSksClusterServiceLevelResponse) Status() string
Status returns HTTPResponse.Status
func (UpgradeSksClusterServiceLevelResponse) StatusCode ¶ added in v0.69.0
func (r UpgradeSksClusterServiceLevelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode