Documentation
¶
Overview ¶
Package gen provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.3-0.20261103143049-c6c549f82841 DO NOT EDIT.
Index ¶
- func NewPlatformCreateObjectStorageBucketRequest(server string, body PlatformCreateObjectStorageBucketJSONRequestBody) (*http.Request, error)
- func NewPlatformCreateObjectStorageBucketRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPlatformCreateObjectStorageCredentialRequest(server string, id string, ...) (*http.Request, error)
- func NewPlatformCreateObjectStorageCredentialRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPlatformDeleteClusterRequest(server string, id string, params *PlatformDeleteClusterParams) (*http.Request, error)
- func NewPlatformDeleteDNSRecordRequest(server string, domain string, name string, pType string) (*http.Request, error)
- func NewPlatformDeleteObjectStorageBucketRequest(server string, id string) (*http.Request, error)
- func NewPlatformDeleteObjectStorageCredentialRequest(server string, id string, credentialId string) (*http.Request, error)
- func NewPlatformEnableDomainDNSSECRequest(server string, domain string) (*http.Request, error)
- func NewPlatformGetClusterCatalogRequest(server string) (*http.Request, error)
- func NewPlatformGetClusterKubeconfigRequest(server string, id string) (*http.Request, error)
- func NewPlatformGetClusterRequest(server string, id string) (*http.Request, error)
- func NewPlatformGetDeveloperLimitsRequest(server string) (*http.Request, error)
- func NewPlatformGetDeveloperUsageRequest(server string, params *PlatformGetDeveloperUsageParams) (*http.Request, error)
- func NewPlatformGetDomainAuthCodeRequest(server string, domain string) (*http.Request, error)
- func NewPlatformGetDomainContactsRequest(server string, domain string) (*http.Request, error)
- func NewPlatformGetDomainDNSSECRequest(server string, domain string) (*http.Request, error)
- func NewPlatformGetDomainRequest(server string, domain string) (*http.Request, error)
- func NewPlatformGetObjectStorageCatalogRequest(server string) (*http.Request, error)
- func NewPlatformListAuditEventsRequest(server string, params *PlatformListAuditEventsParams) (*http.Request, error)
- func NewPlatformListClustersRequest(server string) (*http.Request, error)
- func NewPlatformListDNSRecordsRequest(server string, domain string) (*http.Request, error)
- func NewPlatformListDomainsRequest(server string) (*http.Request, error)
- func NewPlatformListObjectStorageBucketsRequest(server string) (*http.Request, error)
- func NewPlatformListObjectStorageCredentialsRequest(server string, id string) (*http.Request, error)
- func NewPlatformQuoteClusterRequest(server string, body PlatformQuoteClusterJSONRequestBody) (*http.Request, error)
- func NewPlatformQuoteClusterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPlatformResetDomainAuthCodeRequest(server string, domain string) (*http.Request, error)
- func NewPlatformResizeClusterRequest(server string, id string, params *PlatformResizeClusterParams, ...) (*http.Request, error)
- func NewPlatformResizeClusterRequestWithBody(server string, id string, params *PlatformResizeClusterParams, ...) (*http.Request, error)
- func NewPlatformResizeObjectStorageBucketRequest(server string, id string, ...) (*http.Request, error)
- func NewPlatformResizeObjectStorageBucketRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPlatformResumeClusterRequest(server string, id string, params *PlatformResumeClusterParams) (*http.Request, error)
- func NewPlatformRotateClusterKubeconfigRequest(server string, id string, params *PlatformRotateClusterKubeconfigParams) (*http.Request, error)
- func NewPlatformSetDomainNameserversRequest(server string, domain string, body PlatformSetDomainNameserversJSONRequestBody) (*http.Request, error)
- func NewPlatformSetDomainNameserversRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
- func NewPlatformSuspendClusterRequest(server string, id string, params *PlatformSuspendClusterParams) (*http.Request, error)
- func NewPlatformUpdateDomainContactsRequest(server string, domain string, body PlatformUpdateDomainContactsJSONRequestBody) (*http.Request, error)
- func NewPlatformUpdateDomainContactsRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
- func NewPlatformUpsertDNSRecordRequest(server string, domain string, name string, pType string, ...) (*http.Request, error)
- func NewPlatformUpsertDNSRecordRequestWithBody(server string, domain string, name string, pType string, contentType string, ...) (*http.Request, error)
- type AuditEventBody
- type AuditEventBodyResourceType
- type AuthCodeOutputBody
- type BoundBody
- type Bucket
- type Catalog
- type CatalogBody
- type CatalogBodyNetworkStruct
- type Client
- func (c *Client) PlatformCreateObjectStorageBucket(ctx context.Context, body PlatformCreateObjectStorageBucketJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PlatformCreateObjectStorageBucketWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PlatformCreateObjectStorageCredential(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) PlatformCreateObjectStorageCredentialWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PlatformDeleteCluster(ctx context.Context, id string, params *PlatformDeleteClusterParams, ...) (*http.Response, error)
- func (c *Client) PlatformDeleteDNSRecord(ctx context.Context, domain string, name string, pType string, ...) (*http.Response, error)
- func (c *Client) PlatformDeleteObjectStorageBucket(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformDeleteObjectStorageCredential(ctx context.Context, id string, credentialId string, ...) (*http.Response, error)
- func (c *Client) PlatformEnableDomainDNSSEC(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformGetCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformGetClusterCatalog(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformGetClusterKubeconfig(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformGetDeveloperLimits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformGetDeveloperUsage(ctx context.Context, params *PlatformGetDeveloperUsageParams, ...) (*http.Response, error)
- func (c *Client) PlatformGetDomain(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformGetDomainAuthCode(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformGetDomainContacts(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformGetDomainDNSSEC(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformGetObjectStorageCatalog(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformListAuditEvents(ctx context.Context, params *PlatformListAuditEventsParams, ...) (*http.Response, error)
- func (c *Client) PlatformListClusters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformListDNSRecords(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformListDomains(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformListObjectStorageBuckets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformListObjectStorageCredentials(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformQuoteCluster(ctx context.Context, body PlatformQuoteClusterJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PlatformQuoteClusterWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PlatformResetDomainAuthCode(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlatformResizeCluster(ctx context.Context, id string, params *PlatformResizeClusterParams, ...) (*http.Response, error)
- func (c *Client) PlatformResizeClusterWithBody(ctx context.Context, id string, params *PlatformResizeClusterParams, ...) (*http.Response, error)
- func (c *Client) PlatformResizeObjectStorageBucket(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) PlatformResizeObjectStorageBucketWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PlatformResumeCluster(ctx context.Context, id string, params *PlatformResumeClusterParams, ...) (*http.Response, error)
- func (c *Client) PlatformRotateClusterKubeconfig(ctx context.Context, id string, params *PlatformRotateClusterKubeconfigParams, ...) (*http.Response, error)
- func (c *Client) PlatformSetDomainNameservers(ctx context.Context, domain string, ...) (*http.Response, error)
- func (c *Client) PlatformSetDomainNameserversWithBody(ctx context.Context, domain string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PlatformSuspendCluster(ctx context.Context, id string, params *PlatformSuspendClusterParams, ...) (*http.Response, error)
- func (c *Client) PlatformUpdateDomainContacts(ctx context.Context, domain string, ...) (*http.Response, error)
- func (c *Client) PlatformUpdateDomainContactsWithBody(ctx context.Context, domain string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PlatformUpsertDNSRecord(ctx context.Context, domain string, name string, pType string, ...) (*http.Response, error)
- func (c *Client) PlatformUpsertDNSRecordWithBody(ctx context.Context, domain string, name string, pType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) PlatformCreateObjectStorageBucketWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PlatformCreateObjectStorageBucketResponse, error)
- func (c *ClientWithResponses) PlatformCreateObjectStorageBucketWithResponse(ctx context.Context, body PlatformCreateObjectStorageBucketJSONRequestBody, ...) (*PlatformCreateObjectStorageBucketResponse, error)
- func (c *ClientWithResponses) PlatformCreateObjectStorageCredentialWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PlatformCreateObjectStorageCredentialResponse, error)
- func (c *ClientWithResponses) PlatformCreateObjectStorageCredentialWithResponse(ctx context.Context, id string, ...) (*PlatformCreateObjectStorageCredentialResponse, error)
- func (c *ClientWithResponses) PlatformDeleteClusterWithResponse(ctx context.Context, id string, params *PlatformDeleteClusterParams, ...) (*PlatformDeleteClusterResponse, error)
- func (c *ClientWithResponses) PlatformDeleteDNSRecordWithResponse(ctx context.Context, domain string, name string, pType string, ...) (*PlatformDeleteDNSRecordResponse, error)
- func (c *ClientWithResponses) PlatformDeleteObjectStorageBucketWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PlatformDeleteObjectStorageBucketResponse, error)
- func (c *ClientWithResponses) PlatformDeleteObjectStorageCredentialWithResponse(ctx context.Context, id string, credentialId string, ...) (*PlatformDeleteObjectStorageCredentialResponse, error)
- func (c *ClientWithResponses) PlatformEnableDomainDNSSECWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformEnableDomainDNSSECResponse, error)
- func (c *ClientWithResponses) PlatformGetClusterCatalogWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformGetClusterCatalogResponse, error)
- func (c *ClientWithResponses) PlatformGetClusterKubeconfigWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PlatformGetClusterKubeconfigResponse, error)
- func (c *ClientWithResponses) PlatformGetClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PlatformGetClusterResponse, error)
- func (c *ClientWithResponses) PlatformGetDeveloperLimitsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformGetDeveloperLimitsResponse, error)
- func (c *ClientWithResponses) PlatformGetDeveloperUsageWithResponse(ctx context.Context, params *PlatformGetDeveloperUsageParams, ...) (*PlatformGetDeveloperUsageResponse, error)
- func (c *ClientWithResponses) PlatformGetDomainAuthCodeWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformGetDomainAuthCodeResponse, error)
- func (c *ClientWithResponses) PlatformGetDomainContactsWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformGetDomainContactsResponse, error)
- func (c *ClientWithResponses) PlatformGetDomainDNSSECWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformGetDomainDNSSECResponse, error)
- func (c *ClientWithResponses) PlatformGetDomainWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformGetDomainResponse, error)
- func (c *ClientWithResponses) PlatformGetObjectStorageCatalogWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformGetObjectStorageCatalogResponse, error)
- func (c *ClientWithResponses) PlatformListAuditEventsWithResponse(ctx context.Context, params *PlatformListAuditEventsParams, ...) (*PlatformListAuditEventsResponse, error)
- func (c *ClientWithResponses) PlatformListClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformListClustersResponse, error)
- func (c *ClientWithResponses) PlatformListDNSRecordsWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformListDNSRecordsResponse, error)
- func (c *ClientWithResponses) PlatformListDomainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformListDomainsResponse, error)
- func (c *ClientWithResponses) PlatformListObjectStorageBucketsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformListObjectStorageBucketsResponse, error)
- func (c *ClientWithResponses) PlatformListObjectStorageCredentialsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PlatformListObjectStorageCredentialsResponse, error)
- func (c *ClientWithResponses) PlatformQuoteClusterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PlatformQuoteClusterResponse, error)
- func (c *ClientWithResponses) PlatformQuoteClusterWithResponse(ctx context.Context, body PlatformQuoteClusterJSONRequestBody, ...) (*PlatformQuoteClusterResponse, error)
- func (c *ClientWithResponses) PlatformResetDomainAuthCodeWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformResetDomainAuthCodeResponse, error)
- func (c *ClientWithResponses) PlatformResizeClusterWithBodyWithResponse(ctx context.Context, id string, params *PlatformResizeClusterParams, ...) (*PlatformResizeClusterResponse, error)
- func (c *ClientWithResponses) PlatformResizeClusterWithResponse(ctx context.Context, id string, params *PlatformResizeClusterParams, ...) (*PlatformResizeClusterResponse, error)
- func (c *ClientWithResponses) PlatformResizeObjectStorageBucketWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*PlatformResizeObjectStorageBucketResponse, error)
- func (c *ClientWithResponses) PlatformResizeObjectStorageBucketWithResponse(ctx context.Context, id string, ...) (*PlatformResizeObjectStorageBucketResponse, error)
- func (c *ClientWithResponses) PlatformResumeClusterWithResponse(ctx context.Context, id string, params *PlatformResumeClusterParams, ...) (*PlatformResumeClusterResponse, error)
- func (c *ClientWithResponses) PlatformRotateClusterKubeconfigWithResponse(ctx context.Context, id string, params *PlatformRotateClusterKubeconfigParams, ...) (*PlatformRotateClusterKubeconfigResponse, error)
- func (c *ClientWithResponses) PlatformSetDomainNameserversWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader, ...) (*PlatformSetDomainNameserversResponse, error)
- func (c *ClientWithResponses) PlatformSetDomainNameserversWithResponse(ctx context.Context, domain string, ...) (*PlatformSetDomainNameserversResponse, error)
- func (c *ClientWithResponses) PlatformSuspendClusterWithResponse(ctx context.Context, id string, params *PlatformSuspendClusterParams, ...) (*PlatformSuspendClusterResponse, error)
- func (c *ClientWithResponses) PlatformUpdateDomainContactsWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader, ...) (*PlatformUpdateDomainContactsResponse, error)
- func (c *ClientWithResponses) PlatformUpdateDomainContactsWithResponse(ctx context.Context, domain string, ...) (*PlatformUpdateDomainContactsResponse, error)
- func (c *ClientWithResponses) PlatformUpsertDNSRecordWithBodyWithResponse(ctx context.Context, domain string, name string, pType string, ...) (*PlatformUpsertDNSRecordResponse, error)
- func (c *ClientWithResponses) PlatformUpsertDNSRecordWithResponse(ctx context.Context, domain string, name string, pType string, ...) (*PlatformUpsertDNSRecordResponse, error)
- type ClientWithResponsesInterface
- type ClusterBody
- type ClusterQuoteOutputBody
- type CreatedCredential
- type Credential
- type DailyUsage
- type DnssecKeyBody
- type DomainBody
- type DomainDNSSECBody
- type ErrorDetail
- type ErrorModel
- type HttpRequestDoer
- type KubeconfigOutputBody
- type Limits
- type ListAuditEventsOutputBody
- type ListClustersOutputBody
- type ListDomainsOutputBody
- type ListRecordsOutputBody
- type NameserverInput
- type ObjectStorageBucketsOutputBody
- type ObjectStorageCreateBucketInputBody
- type ObjectStorageCreateBucketInputBodyTariffVersion
- type ObjectStorageCreateCredentialInputBody
- type ObjectStorageCredentialsOutputBody
- type ObjectStorageQuotaInputBody
- type PlatformCreateObjectStorageBucketJSONRequestBody
- type PlatformCreateObjectStorageBucketResponse
- func (r PlatformCreateObjectStorageBucketResponse) ContentType() string
- func (r PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON400() *ErrorModel
- func (r PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON401() *ErrorModel
- func (r PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON402() *ErrorModel
- func (r PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON403() *ErrorModel
- func (r PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON409() *ErrorModel
- func (r PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON422() *ErrorModel
- func (r PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON500() *ErrorModel
- func (r PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON503() *ErrorModel
- func (r PlatformCreateObjectStorageBucketResponse) GetBody() []byte
- func (r PlatformCreateObjectStorageBucketResponse) GetJSON201() *Bucket
- func (r PlatformCreateObjectStorageBucketResponse) GetJSON202() *Bucket
- func (r PlatformCreateObjectStorageBucketResponse) Status() string
- func (r PlatformCreateObjectStorageBucketResponse) StatusCode() int
- type PlatformCreateObjectStorageCredentialJSONRequestBody
- type PlatformCreateObjectStorageCredentialResponse
- func (r PlatformCreateObjectStorageCredentialResponse) ContentType() string
- func (r PlatformCreateObjectStorageCredentialResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformCreateObjectStorageCredentialResponse) GetBody() []byte
- func (r PlatformCreateObjectStorageCredentialResponse) GetJSON201() *CreatedCredential
- func (r PlatformCreateObjectStorageCredentialResponse) Status() string
- func (r PlatformCreateObjectStorageCredentialResponse) StatusCode() int
- type PlatformDeleteClusterParams
- type PlatformDeleteClusterResponse
- func (r PlatformDeleteClusterResponse) ContentType() string
- func (r PlatformDeleteClusterResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformDeleteClusterResponse) GetBody() []byte
- func (r PlatformDeleteClusterResponse) GetJSON202() *ClusterBody
- func (r PlatformDeleteClusterResponse) Status() string
- func (r PlatformDeleteClusterResponse) StatusCode() int
- type PlatformDeleteDNSRecordResponse
- func (r PlatformDeleteDNSRecordResponse) ContentType() string
- func (r PlatformDeleteDNSRecordResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformDeleteDNSRecordResponse) GetBody() []byte
- func (r PlatformDeleteDNSRecordResponse) Status() string
- func (r PlatformDeleteDNSRecordResponse) StatusCode() int
- type PlatformDeleteObjectStorageBucketResponse
- func (r PlatformDeleteObjectStorageBucketResponse) ContentType() string
- func (r PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON401() *ErrorModel
- func (r PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON403() *ErrorModel
- func (r PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON404() *ErrorModel
- func (r PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON409() *ErrorModel
- func (r PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON422() *ErrorModel
- func (r PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON500() *ErrorModel
- func (r PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON503() *ErrorModel
- func (r PlatformDeleteObjectStorageBucketResponse) GetBody() []byte
- func (r PlatformDeleteObjectStorageBucketResponse) Status() string
- func (r PlatformDeleteObjectStorageBucketResponse) StatusCode() int
- type PlatformDeleteObjectStorageCredentialResponse
- func (r PlatformDeleteObjectStorageCredentialResponse) ContentType() string
- func (r PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON401() *ErrorModel
- func (r PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON403() *ErrorModel
- func (r PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON404() *ErrorModel
- func (r PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON422() *ErrorModel
- func (r PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON500() *ErrorModel
- func (r PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON503() *ErrorModel
- func (r PlatformDeleteObjectStorageCredentialResponse) GetBody() []byte
- func (r PlatformDeleteObjectStorageCredentialResponse) Status() string
- func (r PlatformDeleteObjectStorageCredentialResponse) StatusCode() int
- type PlatformEnableDomainDNSSECResponse
- func (r PlatformEnableDomainDNSSECResponse) ContentType() string
- func (r PlatformEnableDomainDNSSECResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformEnableDomainDNSSECResponse) GetBody() []byte
- func (r PlatformEnableDomainDNSSECResponse) GetJSON200() *DomainDNSSECBody
- func (r PlatformEnableDomainDNSSECResponse) Status() string
- func (r PlatformEnableDomainDNSSECResponse) StatusCode() int
- type PlatformGetClusterCatalogResponse
- func (r PlatformGetClusterCatalogResponse) ContentType() string
- func (r PlatformGetClusterCatalogResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformGetClusterCatalogResponse) GetBody() []byte
- func (r PlatformGetClusterCatalogResponse) GetJSON200() *CatalogBody
- func (r PlatformGetClusterCatalogResponse) Status() string
- func (r PlatformGetClusterCatalogResponse) StatusCode() int
- type PlatformGetClusterKubeconfigResponse
- func (r PlatformGetClusterKubeconfigResponse) ContentType() string
- func (r PlatformGetClusterKubeconfigResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformGetClusterKubeconfigResponse) GetBody() []byte
- func (r PlatformGetClusterKubeconfigResponse) GetJSON200() *KubeconfigOutputBody
- func (r PlatformGetClusterKubeconfigResponse) Status() string
- func (r PlatformGetClusterKubeconfigResponse) StatusCode() int
- type PlatformGetClusterKubeconfigResponse200Headers
- type PlatformGetClusterResponse
- func (r PlatformGetClusterResponse) ContentType() string
- func (r PlatformGetClusterResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformGetClusterResponse) GetBody() []byte
- func (r PlatformGetClusterResponse) GetJSON200() *ClusterBody
- func (r PlatformGetClusterResponse) Status() string
- func (r PlatformGetClusterResponse) StatusCode() int
- type PlatformGetDeveloperLimitsResponse
- func (r PlatformGetDeveloperLimitsResponse) ContentType() string
- func (r PlatformGetDeveloperLimitsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformGetDeveloperLimitsResponse) GetBody() []byte
- func (r PlatformGetDeveloperLimitsResponse) GetJSON200() *Result
- func (r PlatformGetDeveloperLimitsResponse) Status() string
- func (r PlatformGetDeveloperLimitsResponse) StatusCode() int
- type PlatformGetDeveloperUsageParams
- type PlatformGetDeveloperUsageParamsEnvironment
- type PlatformGetDeveloperUsageResponse
- func (r PlatformGetDeveloperUsageResponse) ContentType() string
- func (r PlatformGetDeveloperUsageResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformGetDeveloperUsageResponse) GetBody() []byte
- func (r PlatformGetDeveloperUsageResponse) GetJSON200() *Usage
- func (r PlatformGetDeveloperUsageResponse) Status() string
- func (r PlatformGetDeveloperUsageResponse) StatusCode() int
- type PlatformGetDomainAuthCodeResponse
- func (r PlatformGetDomainAuthCodeResponse) ContentType() string
- func (r PlatformGetDomainAuthCodeResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformGetDomainAuthCodeResponse) GetBody() []byte
- func (r PlatformGetDomainAuthCodeResponse) GetJSON200() *AuthCodeOutputBody
- func (r PlatformGetDomainAuthCodeResponse) Status() string
- func (r PlatformGetDomainAuthCodeResponse) StatusCode() int
- type PlatformGetDomainContactsResponse
- func (r PlatformGetDomainContactsResponse) ContentType() string
- func (r PlatformGetDomainContactsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformGetDomainContactsResponse) GetBody() []byte
- func (r PlatformGetDomainContactsResponse) GetJSON200() *RegistrantInput
- func (r PlatformGetDomainContactsResponse) Status() string
- func (r PlatformGetDomainContactsResponse) StatusCode() int
- type PlatformGetDomainContactsResponse200Headers
- type PlatformGetDomainDNSSECResponse
- func (r PlatformGetDomainDNSSECResponse) ContentType() string
- func (r PlatformGetDomainDNSSECResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformGetDomainDNSSECResponse) GetBody() []byte
- func (r PlatformGetDomainDNSSECResponse) GetJSON200() *DomainDNSSECBody
- func (r PlatformGetDomainDNSSECResponse) Status() string
- func (r PlatformGetDomainDNSSECResponse) StatusCode() int
- type PlatformGetDomainResponse
- func (r PlatformGetDomainResponse) ContentType() string
- func (r PlatformGetDomainResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformGetDomainResponse) GetBody() []byte
- func (r PlatformGetDomainResponse) GetJSON200() *DomainBody
- func (r PlatformGetDomainResponse) Status() string
- func (r PlatformGetDomainResponse) StatusCode() int
- type PlatformGetObjectStorageCatalogResponse
- func (r PlatformGetObjectStorageCatalogResponse) ContentType() string
- func (r PlatformGetObjectStorageCatalogResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformGetObjectStorageCatalogResponse) GetBody() []byte
- func (r PlatformGetObjectStorageCatalogResponse) GetJSON200() *Catalog
- func (r PlatformGetObjectStorageCatalogResponse) Status() string
- func (r PlatformGetObjectStorageCatalogResponse) StatusCode() int
- type PlatformListAuditEventsParams
- type PlatformListAuditEventsResponse
- func (r PlatformListAuditEventsResponse) ContentType() string
- func (r PlatformListAuditEventsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformListAuditEventsResponse) GetBody() []byte
- func (r PlatformListAuditEventsResponse) GetJSON200() *ListAuditEventsOutputBody
- func (r PlatformListAuditEventsResponse) Status() string
- func (r PlatformListAuditEventsResponse) StatusCode() int
- type PlatformListClustersResponse
- func (r PlatformListClustersResponse) ContentType() string
- func (r PlatformListClustersResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformListClustersResponse) GetBody() []byte
- func (r PlatformListClustersResponse) GetJSON200() *ListClustersOutputBody
- func (r PlatformListClustersResponse) Status() string
- func (r PlatformListClustersResponse) StatusCode() int
- type PlatformListDNSRecordsResponse
- func (r PlatformListDNSRecordsResponse) ContentType() string
- func (r PlatformListDNSRecordsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformListDNSRecordsResponse) GetBody() []byte
- func (r PlatformListDNSRecordsResponse) GetJSON200() *ListRecordsOutputBody
- func (r PlatformListDNSRecordsResponse) Status() string
- func (r PlatformListDNSRecordsResponse) StatusCode() int
- type PlatformListDomainsResponse
- func (r PlatformListDomainsResponse) ContentType() string
- func (r PlatformListDomainsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformListDomainsResponse) GetBody() []byte
- func (r PlatformListDomainsResponse) GetJSON200() *ListDomainsOutputBody
- func (r PlatformListDomainsResponse) Status() string
- func (r PlatformListDomainsResponse) StatusCode() int
- type PlatformListObjectStorageBucketsResponse
- func (r PlatformListObjectStorageBucketsResponse) ContentType() string
- func (r PlatformListObjectStorageBucketsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformListObjectStorageBucketsResponse) GetBody() []byte
- func (r PlatformListObjectStorageBucketsResponse) GetJSON200() *ObjectStorageBucketsOutputBody
- func (r PlatformListObjectStorageBucketsResponse) Status() string
- func (r PlatformListObjectStorageBucketsResponse) StatusCode() int
- type PlatformListObjectStorageCredentialsResponse
- func (r PlatformListObjectStorageCredentialsResponse) ContentType() string
- func (r PlatformListObjectStorageCredentialsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformListObjectStorageCredentialsResponse) GetBody() []byte
- func (r PlatformListObjectStorageCredentialsResponse) GetJSON200() *ObjectStorageCredentialsOutputBody
- func (r PlatformListObjectStorageCredentialsResponse) Status() string
- func (r PlatformListObjectStorageCredentialsResponse) StatusCode() int
- type PlatformQuoteClusterJSONRequestBody
- type PlatformQuoteClusterResponse
- func (r PlatformQuoteClusterResponse) ContentType() string
- func (r PlatformQuoteClusterResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformQuoteClusterResponse) GetBody() []byte
- func (r PlatformQuoteClusterResponse) GetJSON200() *ClusterQuoteOutputBody
- func (r PlatformQuoteClusterResponse) Status() string
- func (r PlatformQuoteClusterResponse) StatusCode() int
- type PlatformResetDomainAuthCodeResponse
- func (r PlatformResetDomainAuthCodeResponse) ContentType() string
- func (r PlatformResetDomainAuthCodeResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformResetDomainAuthCodeResponse) GetBody() []byte
- func (r PlatformResetDomainAuthCodeResponse) GetJSON200() *AuthCodeOutputBody
- func (r PlatformResetDomainAuthCodeResponse) Status() string
- func (r PlatformResetDomainAuthCodeResponse) StatusCode() int
- type PlatformResizeClusterJSONRequestBody
- type PlatformResizeClusterParams
- type PlatformResizeClusterResponse
- func (r PlatformResizeClusterResponse) ContentType() string
- func (r PlatformResizeClusterResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformResizeClusterResponse) GetBody() []byte
- func (r PlatformResizeClusterResponse) GetJSON202() *ClusterBody
- func (r PlatformResizeClusterResponse) Status() string
- func (r PlatformResizeClusterResponse) StatusCode() int
- type PlatformResizeObjectStorageBucketJSONRequestBody
- type PlatformResizeObjectStorageBucketResponse
- func (r PlatformResizeObjectStorageBucketResponse) ContentType() string
- func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON400() *ErrorModel
- func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON401() *ErrorModel
- func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON402() *ErrorModel
- func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON403() *ErrorModel
- func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON404() *ErrorModel
- func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON409() *ErrorModel
- func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON422() *ErrorModel
- func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON500() *ErrorModel
- func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON503() *ErrorModel
- func (r PlatformResizeObjectStorageBucketResponse) GetBody() []byte
- func (r PlatformResizeObjectStorageBucketResponse) GetJSON200() *Bucket
- func (r PlatformResizeObjectStorageBucketResponse) GetJSON202() *Bucket
- func (r PlatformResizeObjectStorageBucketResponse) Status() string
- func (r PlatformResizeObjectStorageBucketResponse) StatusCode() int
- type PlatformResumeClusterParams
- type PlatformResumeClusterResponse
- func (r PlatformResumeClusterResponse) ContentType() string
- func (r PlatformResumeClusterResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformResumeClusterResponse) GetBody() []byte
- func (r PlatformResumeClusterResponse) GetJSON202() *ClusterBody
- func (r PlatformResumeClusterResponse) Status() string
- func (r PlatformResumeClusterResponse) StatusCode() int
- type PlatformRotateClusterKubeconfigParams
- type PlatformRotateClusterKubeconfigResponse
- func (r PlatformRotateClusterKubeconfigResponse) ContentType() string
- func (r PlatformRotateClusterKubeconfigResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformRotateClusterKubeconfigResponse) GetBody() []byte
- func (r PlatformRotateClusterKubeconfigResponse) GetJSON202() *ClusterBody
- func (r PlatformRotateClusterKubeconfigResponse) Status() string
- func (r PlatformRotateClusterKubeconfigResponse) StatusCode() int
- type PlatformSetDomainNameserversJSONRequestBody
- type PlatformSetDomainNameserversResponse
- func (r PlatformSetDomainNameserversResponse) ContentType() string
- func (r PlatformSetDomainNameserversResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformSetDomainNameserversResponse) GetBody() []byte
- func (r PlatformSetDomainNameserversResponse) Status() string
- func (r PlatformSetDomainNameserversResponse) StatusCode() int
- type PlatformSuspendClusterParams
- type PlatformSuspendClusterResponse
- func (r PlatformSuspendClusterResponse) ContentType() string
- func (r PlatformSuspendClusterResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformSuspendClusterResponse) GetBody() []byte
- func (r PlatformSuspendClusterResponse) GetJSON202() *ClusterBody
- func (r PlatformSuspendClusterResponse) Status() string
- func (r PlatformSuspendClusterResponse) StatusCode() int
- type PlatformUpdateDomainContactsJSONRequestBody
- type PlatformUpdateDomainContactsResponse
- func (r PlatformUpdateDomainContactsResponse) ContentType() string
- func (r PlatformUpdateDomainContactsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformUpdateDomainContactsResponse) GetBody() []byte
- func (r PlatformUpdateDomainContactsResponse) Status() string
- func (r PlatformUpdateDomainContactsResponse) StatusCode() int
- type PlatformUpsertDNSRecordJSONRequestBody
- type PlatformUpsertDNSRecordResponse
- func (r PlatformUpsertDNSRecordResponse) ContentType() string
- func (r PlatformUpsertDNSRecordResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlatformUpsertDNSRecordResponse) GetBody() []byte
- func (r PlatformUpsertDNSRecordResponse) GetJSON200() *RecordBody
- func (r PlatformUpsertDNSRecordResponse) Status() string
- func (r PlatformUpsertDNSRecordResponse) StatusCode() int
- type PresetBody
- type PriceBody
- type ProductUsage
- type RateCardBody
- type RateLimitBucket
- type RateLimitBucketScope
- type RecordBody
- type RecordUpsertBody
- type RegistrantInput
- type RegistrationData
- type RequestEditorFn
- type ResizeClusterInputBody
- type Result
- type ResultEnvironment
- type SetNameserversInputBody
- type SpecBody
- type SpecReqBody
- type Tariff
- type Totals
- type UpdateContactsInputBody
- type Usage
- type UsageEnvironment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPlatformCreateObjectStorageBucketRequest ¶
func NewPlatformCreateObjectStorageBucketRequest(server string, body PlatformCreateObjectStorageBucketJSONRequestBody) (*http.Request, error)
NewPlatformCreateObjectStorageBucketRequest calls the generic PlatformCreateObjectStorageBucket builder with application/json body
func NewPlatformCreateObjectStorageBucketRequestWithBody ¶
func NewPlatformCreateObjectStorageBucketRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPlatformCreateObjectStorageBucketRequestWithBody constructs an http.Request for the PlatformCreateObjectStorageBucket method, with any body, and a specified content type
func NewPlatformCreateObjectStorageCredentialRequest ¶
func NewPlatformCreateObjectStorageCredentialRequest(server string, id string, body PlatformCreateObjectStorageCredentialJSONRequestBody) (*http.Request, error)
NewPlatformCreateObjectStorageCredentialRequest calls the generic PlatformCreateObjectStorageCredential builder with application/json body
func NewPlatformCreateObjectStorageCredentialRequestWithBody ¶
func NewPlatformCreateObjectStorageCredentialRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPlatformCreateObjectStorageCredentialRequestWithBody constructs an http.Request for the PlatformCreateObjectStorageCredential method, with any body, and a specified content type
func NewPlatformDeleteClusterRequest ¶
func NewPlatformDeleteClusterRequest(server string, id string, params *PlatformDeleteClusterParams) (*http.Request, error)
NewPlatformDeleteClusterRequest constructs an http.Request for the PlatformDeleteCluster method
func NewPlatformDeleteDNSRecordRequest ¶
func NewPlatformDeleteDNSRecordRequest(server string, domain string, name string, pType string) (*http.Request, error)
NewPlatformDeleteDNSRecordRequest constructs an http.Request for the PlatformDeleteDNSRecord method
func NewPlatformDeleteObjectStorageBucketRequest ¶
NewPlatformDeleteObjectStorageBucketRequest constructs an http.Request for the PlatformDeleteObjectStorageBucket method
func NewPlatformDeleteObjectStorageCredentialRequest ¶
func NewPlatformDeleteObjectStorageCredentialRequest(server string, id string, credentialId string) (*http.Request, error)
NewPlatformDeleteObjectStorageCredentialRequest constructs an http.Request for the PlatformDeleteObjectStorageCredential method
func NewPlatformEnableDomainDNSSECRequest ¶ added in v0.1.1
NewPlatformEnableDomainDNSSECRequest constructs an http.Request for the PlatformEnableDomainDNSSEC method
func NewPlatformGetClusterCatalogRequest ¶
NewPlatformGetClusterCatalogRequest constructs an http.Request for the PlatformGetClusterCatalog method
func NewPlatformGetClusterKubeconfigRequest ¶
NewPlatformGetClusterKubeconfigRequest constructs an http.Request for the PlatformGetClusterKubeconfig method
func NewPlatformGetClusterRequest ¶
NewPlatformGetClusterRequest constructs an http.Request for the PlatformGetCluster method
func NewPlatformGetDeveloperLimitsRequest ¶
NewPlatformGetDeveloperLimitsRequest constructs an http.Request for the PlatformGetDeveloperLimits method
func NewPlatformGetDeveloperUsageRequest ¶
func NewPlatformGetDeveloperUsageRequest(server string, params *PlatformGetDeveloperUsageParams) (*http.Request, error)
NewPlatformGetDeveloperUsageRequest constructs an http.Request for the PlatformGetDeveloperUsage method
func NewPlatformGetDomainAuthCodeRequest ¶
NewPlatformGetDomainAuthCodeRequest constructs an http.Request for the PlatformGetDomainAuthCode method
func NewPlatformGetDomainContactsRequest ¶
NewPlatformGetDomainContactsRequest constructs an http.Request for the PlatformGetDomainContacts method
func NewPlatformGetDomainDNSSECRequest ¶ added in v0.1.1
NewPlatformGetDomainDNSSECRequest constructs an http.Request for the PlatformGetDomainDNSSEC method
func NewPlatformGetDomainRequest ¶
NewPlatformGetDomainRequest constructs an http.Request for the PlatformGetDomain method
func NewPlatformGetObjectStorageCatalogRequest ¶
NewPlatformGetObjectStorageCatalogRequest constructs an http.Request for the PlatformGetObjectStorageCatalog method
func NewPlatformListAuditEventsRequest ¶
func NewPlatformListAuditEventsRequest(server string, params *PlatformListAuditEventsParams) (*http.Request, error)
NewPlatformListAuditEventsRequest constructs an http.Request for the PlatformListAuditEvents method
func NewPlatformListClustersRequest ¶
NewPlatformListClustersRequest constructs an http.Request for the PlatformListClusters method
func NewPlatformListDNSRecordsRequest ¶
NewPlatformListDNSRecordsRequest constructs an http.Request for the PlatformListDNSRecords method
func NewPlatformListDomainsRequest ¶
NewPlatformListDomainsRequest constructs an http.Request for the PlatformListDomains method
func NewPlatformListObjectStorageBucketsRequest ¶
NewPlatformListObjectStorageBucketsRequest constructs an http.Request for the PlatformListObjectStorageBuckets method
func NewPlatformListObjectStorageCredentialsRequest ¶
func NewPlatformListObjectStorageCredentialsRequest(server string, id string) (*http.Request, error)
NewPlatformListObjectStorageCredentialsRequest constructs an http.Request for the PlatformListObjectStorageCredentials method
func NewPlatformQuoteClusterRequest ¶
func NewPlatformQuoteClusterRequest(server string, body PlatformQuoteClusterJSONRequestBody) (*http.Request, error)
NewPlatformQuoteClusterRequest calls the generic PlatformQuoteCluster builder with application/json body
func NewPlatformQuoteClusterRequestWithBody ¶
func NewPlatformQuoteClusterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPlatformQuoteClusterRequestWithBody constructs an http.Request for the PlatformQuoteCluster method, with any body, and a specified content type
func NewPlatformResetDomainAuthCodeRequest ¶
NewPlatformResetDomainAuthCodeRequest constructs an http.Request for the PlatformResetDomainAuthCode method
func NewPlatformResizeClusterRequest ¶
func NewPlatformResizeClusterRequest(server string, id string, params *PlatformResizeClusterParams, body PlatformResizeClusterJSONRequestBody) (*http.Request, error)
NewPlatformResizeClusterRequest calls the generic PlatformResizeCluster builder with application/json body
func NewPlatformResizeClusterRequestWithBody ¶
func NewPlatformResizeClusterRequestWithBody(server string, id string, params *PlatformResizeClusterParams, contentType string, body io.Reader) (*http.Request, error)
NewPlatformResizeClusterRequestWithBody constructs an http.Request for the PlatformResizeCluster method, with any body, and a specified content type
func NewPlatformResizeObjectStorageBucketRequest ¶ added in v0.1.1
func NewPlatformResizeObjectStorageBucketRequest(server string, id string, body PlatformResizeObjectStorageBucketJSONRequestBody) (*http.Request, error)
NewPlatformResizeObjectStorageBucketRequest calls the generic PlatformResizeObjectStorageBucket builder with application/json body
func NewPlatformResizeObjectStorageBucketRequestWithBody ¶ added in v0.1.1
func NewPlatformResizeObjectStorageBucketRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewPlatformResizeObjectStorageBucketRequestWithBody constructs an http.Request for the PlatformResizeObjectStorageBucket method, with any body, and a specified content type
func NewPlatformResumeClusterRequest ¶
func NewPlatformResumeClusterRequest(server string, id string, params *PlatformResumeClusterParams) (*http.Request, error)
NewPlatformResumeClusterRequest constructs an http.Request for the PlatformResumeCluster method
func NewPlatformRotateClusterKubeconfigRequest ¶
func NewPlatformRotateClusterKubeconfigRequest(server string, id string, params *PlatformRotateClusterKubeconfigParams) (*http.Request, error)
NewPlatformRotateClusterKubeconfigRequest constructs an http.Request for the PlatformRotateClusterKubeconfig method
func NewPlatformSetDomainNameserversRequest ¶
func NewPlatformSetDomainNameserversRequest(server string, domain string, body PlatformSetDomainNameserversJSONRequestBody) (*http.Request, error)
NewPlatformSetDomainNameserversRequest calls the generic PlatformSetDomainNameservers builder with application/json body
func NewPlatformSetDomainNameserversRequestWithBody ¶
func NewPlatformSetDomainNameserversRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
NewPlatformSetDomainNameserversRequestWithBody constructs an http.Request for the PlatformSetDomainNameservers method, with any body, and a specified content type
func NewPlatformSuspendClusterRequest ¶
func NewPlatformSuspendClusterRequest(server string, id string, params *PlatformSuspendClusterParams) (*http.Request, error)
NewPlatformSuspendClusterRequest constructs an http.Request for the PlatformSuspendCluster method
func NewPlatformUpdateDomainContactsRequest ¶
func NewPlatformUpdateDomainContactsRequest(server string, domain string, body PlatformUpdateDomainContactsJSONRequestBody) (*http.Request, error)
NewPlatformUpdateDomainContactsRequest calls the generic PlatformUpdateDomainContacts builder with application/json body
func NewPlatformUpdateDomainContactsRequestWithBody ¶
func NewPlatformUpdateDomainContactsRequestWithBody(server string, domain string, contentType string, body io.Reader) (*http.Request, error)
NewPlatformUpdateDomainContactsRequestWithBody constructs an http.Request for the PlatformUpdateDomainContacts method, with any body, and a specified content type
func NewPlatformUpsertDNSRecordRequest ¶
func NewPlatformUpsertDNSRecordRequest(server string, domain string, name string, pType string, body PlatformUpsertDNSRecordJSONRequestBody) (*http.Request, error)
NewPlatformUpsertDNSRecordRequest calls the generic PlatformUpsertDNSRecord builder with application/json body
func NewPlatformUpsertDNSRecordRequestWithBody ¶
func NewPlatformUpsertDNSRecordRequestWithBody(server string, domain string, name string, pType string, contentType string, body io.Reader) (*http.Request, error)
NewPlatformUpsertDNSRecordRequestWithBody constructs an http.Request for the PlatformUpsertDNSRecord method, with any body, and a specified content type
Types ¶
type AuditEventBody ¶
type AuditEventBody struct {
// Actor Who drove the transition (subject or system label); omitted when unattributed
Actor *string `json:"actor,omitempty"`
// CreatedAt When the transition was recorded
CreatedAt time.Time `json:"created_at"`
// Detail Non-PII transition metadata (action/note/code)
Detail *map[string]interface{} `json:"detail,omitempty"`
// FromState State before the transition; omitted for the creation event
FromState *string `json:"from_state,omitempty"`
// Id Stable event identity including its lifecycle source
Id string `json:"id"`
// ResourceId Id of the order, cluster, bucket, or credential
ResourceId string `json:"resource_id"`
// ResourceType The resource the event belongs to
ResourceType AuditEventBodyResourceType `json:"resource_type"`
// StateVersion Monotonic version of the resource at this transition
StateVersion int64 `json:"state_version"`
// ToState State after the transition
ToState string `json:"to_state"`
}
AuditEventBody defines model for AuditEventBody.
type AuditEventBodyResourceType ¶
type AuditEventBodyResourceType string
AuditEventBodyResourceType The resource the event belongs to
const ( Cluster AuditEventBodyResourceType = "cluster" ObjectStorageBucket AuditEventBodyResourceType = "object_storage_bucket" ObjectStorageCredential AuditEventBodyResourceType = "object_storage_credential" Order AuditEventBodyResourceType = "order" )
Defines values for AuditEventBodyResourceType.
func (AuditEventBodyResourceType) Valid ¶
func (e AuditEventBodyResourceType) Valid() bool
Valid indicates whether the value is a known member of the AuditEventBodyResourceType enum.
type AuthCodeOutputBody ¶
type AuthCodeOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AuthCodeOutputBody.json
Schema *string `json:"$schema,omitempty"`
// AuthCode The EPP transfer auth code
AuthCode string `json:"auth_code"`
}
AuthCodeOutputBody defines model for AuthCodeOutputBody.
type Bucket ¶
type Bucket struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/Bucket.json
Schema *string `json:"$schema,omitempty"`
BillingBackend string `json:"billing_backend"`
BillingStartedAt *time.Time `json:"billing_started_at,omitempty"`
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
MaxQuotaBytes int64 `json:"max_quota_bytes"`
Name string `json:"name"`
QuotaBytes int64 `json:"quota_bytes"`
RequestedQuotaBytes int64 `json:"requested_quota_bytes"`
S3Name string `json:"s3_name"`
State string `json:"state"`
}
Bucket defines model for Bucket.
type Catalog ¶
type Catalog struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/Catalog.json
Schema *string `json:"$schema,omitempty"`
Enabled bool `json:"enabled"`
Endpoint string `json:"endpoint"`
Limits Limits `json:"limits"`
MaxNewBucketBytes int64 `json:"max_new_bucket_bytes"`
Region string `json:"region"`
Tariff Tariff `json:"tariff"`
}
Catalog defines model for Catalog.
type CatalogBody ¶
type CatalogBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/CatalogBody.json
Schema *string `json:"$schema,omitempty"`
// MaxMemoryPerVcpu Max memory GiB per vCPU
MaxMemoryPerVcpu int64 `json:"max_memory_per_vcpu"`
// MemoryGib Allowed memory range (GiB)
MemoryGib BoundBody `json:"memory_gib"`
Network CatalogBodyNetworkStruct `json:"network"`
// Presets Suggested specs, priced
Presets nullable.Nullable[[]PresetBody] `json:"presets"`
// Rates Per-resource rate card
Rates RateCardBody `json:"rates"`
// StorageGib Allowed storage range (GiB)
StorageGib BoundBody `json:"storage_gib"`
// Vcpu Allowed vCPU range
Vcpu BoundBody `json:"vcpu"`
}
CatalogBody defines model for CatalogBody.
type CatalogBodyNetworkStruct ¶
type CatalogBodyNetworkStruct struct {
// DedicatedIpv6 Dedicated public IPv6 addresses available for LoadBalancer Services
DedicatedIpv6 bool `json:"dedicated_ipv6"`
// PublicIpv4Available Unreserved dedicated public IPv4 stock is available
PublicIpv4Available bool `json:"public_ipv4_available"`
}
CatalogBodyNetworkStruct defines model for CatalogBodyNetworkStruct.
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) PlatformCreateObjectStorageBucket ¶
func (c *Client) PlatformCreateObjectStorageBucket(ctx context.Context, body PlatformCreateObjectStorageBucketJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformCreateObjectStorageBucket Create organization bucket
Takes a body of the `application/json` content type.
Corresponds with POST /platform/v1/object-storage/buckets (the `PlatformCreateObjectStorageBucket` operationId).
func (*Client) PlatformCreateObjectStorageBucketWithBody ¶
func (c *Client) PlatformCreateObjectStorageBucketWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformCreateObjectStorageBucketWithBody Create organization bucket
Takes any type of body and a specified content type.
Corresponds with POST /platform/v1/object-storage/buckets (the `PlatformCreateObjectStorageBucket` operationId).
func (*Client) PlatformCreateObjectStorageCredential ¶
func (c *Client) PlatformCreateObjectStorageCredential(ctx context.Context, id string, body PlatformCreateObjectStorageCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformCreateObjectStorageCredential Create bucket credential; secret returned once
Takes a body of the `application/json` content type.
Corresponds with POST /platform/v1/object-storage/buckets/{id}/credentials (the `PlatformCreateObjectStorageCredential` operationId).
func (*Client) PlatformCreateObjectStorageCredentialWithBody ¶
func (c *Client) PlatformCreateObjectStorageCredentialWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformCreateObjectStorageCredentialWithBody Create bucket credential; secret returned once
Takes any type of body and a specified content type.
Corresponds with POST /platform/v1/object-storage/buckets/{id}/credentials (the `PlatformCreateObjectStorageCredential` operationId).
func (*Client) PlatformDeleteCluster ¶
func (c *Client) PlatformDeleteCluster(ctx context.Context, id string, params *PlatformDeleteClusterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformDeleteCluster Delete a cluster
Tears the cluster down (async). Idempotency-Key is required. Returns the cluster now in its deleting state.
Corresponds with DELETE /platform/v1/clusters/{id} (the `PlatformDeleteCluster` operationId).
func (*Client) PlatformDeleteDNSRecord ¶
func (c *Client) PlatformDeleteDNSRecord(ctx context.Context, domain string, name string, pType string, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformDeleteDNSRecord Delete a DNS record set
Deletes one RRset (name+type); deleting a missing set is a no-op (204). SOA and the apex NS set are not editable (422). Scoped to the caller tenant.
Corresponds with DELETE /platform/v1/domains/{domain}/dns/records/{name}/{type} (the `PlatformDeleteDNSRecord` operationId).
func (*Client) PlatformDeleteObjectStorageBucket ¶
func (c *Client) PlatformDeleteObjectStorageBucket(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformDeleteObjectStorageBucket Delete empty organization bucket
Corresponds with DELETE /platform/v1/object-storage/buckets/{id} (the `PlatformDeleteObjectStorageBucket` operationId).
func (*Client) PlatformDeleteObjectStorageCredential ¶
func (c *Client) PlatformDeleteObjectStorageCredential(ctx context.Context, id string, credentialId string, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformDeleteObjectStorageCredential Revoke bucket credential
Corresponds with DELETE /platform/v1/object-storage/buckets/{id}/credentials/{credential_id} (the `PlatformDeleteObjectStorageCredential` operationId).
func (*Client) PlatformEnableDomainDNSSEC ¶ added in v0.1.1
func (c *Client) PlatformEnableDomainDNSSEC(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformEnableDomainDNSSEC Enable managed DNSSEC
Enables authoritative signing and publishes matching public delegation keys after serving verification. Existing signing keys are preserved; external DNS is not changed.
Corresponds with PUT /platform/v1/domains/{domain}/dnssec (the `PlatformEnableDomainDNSSEC` operationId).
func (*Client) PlatformGetCluster ¶
func (c *Client) PlatformGetCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformGetCluster Get a cluster
Returns the cluster's status. Scoped to the caller tenant; a cluster owned by another tenant returns 404.
Corresponds with GET /platform/v1/clusters/{id} (the `PlatformGetCluster` operationId).
func (*Client) PlatformGetClusterCatalog ¶
func (c *Client) PlatformGetClusterCatalog(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformGetClusterCatalog Get the cluster catalog
Returns the self-serve calculator catalog: the per-resource rate card, the valid per-axis bounds, and priced example presets. The UI prices a spec locally against the rate card and re-verifies via POST /v1/cluster-quote.
Corresponds with GET /platform/v1/cluster-plans (the `PlatformGetClusterCatalog` operationId).
func (*Client) PlatformGetClusterKubeconfig ¶
func (c *Client) PlatformGetClusterKubeconfig(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformGetClusterKubeconfig Get a cluster's kubeconfig
Returns the cluster's kubeconfig (YAML). Sensitive — the response is marked no-store and every fetch is audited. Scoped to the caller tenant.
Corresponds with GET /platform/v1/clusters/{id}/kubeconfig (the `PlatformGetClusterKubeconfig` operationId).
func (*Client) PlatformGetDeveloperLimits ¶
func (c *Client) PlatformGetDeveloperLimits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformGetDeveloperLimits Effective organization and caller request limits
Actual shared quota decision for this request. The organization bucket covers all participating product APIs; the client bucket covers the current OAuth client. This request counts toward both limits; the human Console can read an exhausted decision to diagnose throttling. These technical limits are independent of billing and native S3/Kubernetes quotas.
Corresponds with GET /platform/v1/developers/limits (the `PlatformGetDeveloperLimits` operationId).
func (*Client) PlatformGetDeveloperUsage ¶
func (c *Client) PlatformGetDeveloperUsage(ctx context.Context, params *PlatformGetDeveloperUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformGetDeveloperUsage Organization API usage
Technical request statistics, not billing evidence. UTC day aggregates retained for thirteen months. An unavailable collection pipeline returns 503, never fabricated zero usage.
Corresponds with GET /platform/v1/developers/usage (the `PlatformGetDeveloperUsage` operationId).
func (*Client) PlatformGetDomain ¶
func (c *Client) PlatformGetDomain(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformGetDomain Get a managed domain
Returns a managed domain's detail. Scoped to the caller tenant.
Corresponds with GET /platform/v1/domains/{domain} (the `PlatformGetDomain` operationId).
func (*Client) PlatformGetDomainAuthCode ¶
func (c *Client) PlatformGetDomainAuthCode(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformGetDomainAuthCode Get the EPP auth code
Returns the domain's EPP transfer auth code. Scoped to the caller tenant.
Corresponds with GET /platform/v1/domains/{domain}/authcode (the `PlatformGetDomainAuthCode` operationId).
func (*Client) PlatformGetDomainContacts ¶
func (c *Client) PlatformGetDomainContacts(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformGetDomainContacts Read current domain registrant
Corresponds with GET /platform/v1/domains/{domain}/contacts (the `PlatformGetDomainContacts` operationId).
func (*Client) PlatformGetDomainDNSSEC ¶ added in v0.1.1
func (c *Client) PlatformGetDomainDNSSEC(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformGetDomainDNSSEC Get DNSSEC status
Reads authoritative signing and registrar delegation state for an owned domain.
Corresponds with GET /platform/v1/domains/{domain}/dnssec (the `PlatformGetDomainDNSSEC` operationId).
func (*Client) PlatformGetObjectStorageCatalog ¶
func (c *Client) PlatformGetObjectStorageCatalog(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformGetObjectStorageCatalog Object storage availability and service limits
Corresponds with GET /platform/v1/object-storage (the `PlatformGetObjectStorageCatalog` operationId).
func (*Client) PlatformListAuditEvents ¶
func (c *Client) PlatformListAuditEvents(ctx context.Context, params *PlatformListAuditEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformListAuditEvents Export the tenant's audit trail
Returns the caller tenant's own append-only lifecycle trail across its orders, clusters, and object storage, newest first, for compliance and SIEM export. Scoped to the acting org — never spans tenants. Carries no personal data. Follow next_before as ?before to read older events without offsets shifting when new events arrive.
Corresponds with GET /platform/v1/audit/events (the `PlatformListAuditEvents` operationId).
func (*Client) PlatformListClusters ¶
func (c *Client) PlatformListClusters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformListClusters List clusters
Lists the caller tenant's clusters, newest first.
Corresponds with GET /platform/v1/clusters (the `PlatformListClusters` operationId).
func (*Client) PlatformListDNSRecords ¶
func (c *Client) PlatformListDNSRecords(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformListDNSRecords List DNS records
Lists the domain's zone records. SOA and the apex NS set are flagged read_only. Scoped to the caller tenant.
Corresponds with GET /platform/v1/domains/{domain}/dns/records (the `PlatformListDNSRecords` operationId).
func (*Client) PlatformListDomains ¶
func (c *Client) PlatformListDomains(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformListDomains List managed domains
Lists the caller tenant's managed domains, newest first.
Corresponds with GET /platform/v1/domains (the `PlatformListDomains` operationId).
func (*Client) PlatformListObjectStorageBuckets ¶
func (c *Client) PlatformListObjectStorageBuckets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformListObjectStorageBuckets List organization buckets
Corresponds with GET /platform/v1/object-storage/buckets (the `PlatformListObjectStorageBuckets` operationId).
func (*Client) PlatformListObjectStorageCredentials ¶
func (c *Client) PlatformListObjectStorageCredentials(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformListObjectStorageCredentials List bucket credentials
Corresponds with GET /platform/v1/object-storage/buckets/{id}/credentials (the `PlatformListObjectStorageCredentials` operationId).
func (*Client) PlatformQuoteCluster ¶
func (c *Client) PlatformQuoteCluster(ctx context.Context, body PlatformQuoteClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformQuoteCluster Quote a cluster spec
Prices a candidate spec server-side (the authoritative price). An out-of-bounds spec is 422.
Takes a body of the `application/json` content type.
Corresponds with POST /platform/v1/cluster-quote (the `PlatformQuoteCluster` operationId).
func (*Client) PlatformQuoteClusterWithBody ¶
func (c *Client) PlatformQuoteClusterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformQuoteClusterWithBody Quote a cluster spec
Prices a candidate spec server-side (the authoritative price). An out-of-bounds spec is 422.
Takes any type of body and a specified content type.
Corresponds with POST /platform/v1/cluster-quote (the `PlatformQuoteCluster` operationId).
func (*Client) PlatformResetDomainAuthCode ¶
func (c *Client) PlatformResetDomainAuthCode(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformResetDomainAuthCode Reset the EPP auth code
Rotates and returns a new EPP transfer auth code. Scoped to the caller tenant.
Corresponds with POST /platform/v1/domains/{domain}/authcode/reset (the `PlatformResetDomainAuthCode` operationId).
func (*Client) PlatformResizeCluster ¶
func (c *Client) PlatformResizeCluster(ctx context.Context, id string, params *PlatformResizeClusterParams, body PlatformResizeClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformResizeCluster Resize a cluster (grow-only)
Grows the cluster to a larger spec (async). Grow-only: a shrink or same-spec is rejected (422). Idempotency-Key is required.
Takes a body of the `application/json` content type.
Corresponds with POST /platform/v1/clusters/{id}/resize (the `PlatformResizeCluster` operationId).
func (*Client) PlatformResizeClusterWithBody ¶
func (c *Client) PlatformResizeClusterWithBody(ctx context.Context, id string, params *PlatformResizeClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformResizeClusterWithBody Resize a cluster (grow-only)
Grows the cluster to a larger spec (async). Grow-only: a shrink or same-spec is rejected (422). Idempotency-Key is required.
Takes any type of body and a specified content type.
Corresponds with POST /platform/v1/clusters/{id}/resize (the `PlatformResizeCluster` operationId).
func (*Client) PlatformResizeObjectStorageBucket ¶ added in v0.1.1
func (c *Client) PlatformResizeObjectStorageBucket(ctx context.Context, id string, body PlatformResizeObjectStorageBucketJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformResizeObjectStorageBucket Increase an organization bucket's storage quota
Requests an absolute byte quota for an active billable bucket. A confirmed target is safe to retry. While an increase is pending, the bucket list reports the last confirmed quota and the requested target.
Takes a body of the `application/json` content type.
Corresponds with PUT /platform/v1/object-storage/buckets/{id}/quota (the `PlatformResizeObjectStorageBucket` operationId).
func (*Client) PlatformResizeObjectStorageBucketWithBody ¶ added in v0.1.1
func (c *Client) PlatformResizeObjectStorageBucketWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformResizeObjectStorageBucketWithBody Increase an organization bucket's storage quota
Requests an absolute byte quota for an active billable bucket. A confirmed target is safe to retry. While an increase is pending, the bucket list reports the last confirmed quota and the requested target.
Takes any type of body and a specified content type.
Corresponds with PUT /platform/v1/object-storage/buckets/{id}/quota (the `PlatformResizeObjectStorageBucket` operationId).
func (*Client) PlatformResumeCluster ¶
func (c *Client) PlatformResumeCluster(ctx context.Context, id string, params *PlatformResumeClusterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformResumeCluster Resume a cluster
Un-pauses a suspended cluster (async). Idempotency-Key is required. A cluster suspended for non-payment must have its invoice settled first (409).
Corresponds with POST /platform/v1/clusters/{id}/resume (the `PlatformResumeCluster` operationId).
func (*Client) PlatformRotateClusterKubeconfig ¶
func (c *Client) PlatformRotateClusterKubeconfig(ctx context.Context, id string, params *PlatformRotateClusterKubeconfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformRotateClusterKubeconfig Rotate a cluster's kubeconfig
Re-issues the cluster's admin credential and re-seals it (async), invalidating a leaked kubeconfig. Idempotency-Key is required.
Corresponds with POST /platform/v1/clusters/{id}/kubeconfig:rotate (the `PlatformRotateClusterKubeconfig` operationId).
func (*Client) PlatformSetDomainNameservers ¶
func (c *Client) PlatformSetDomainNameservers(ctx context.Context, domain string, body PlatformSetDomainNameserversJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformSetDomainNameservers Set nameservers
Replaces the domain's nameservers at the registry after confirming unsigned local and parent state. Signed delegations require a managed DNSSEC migration; this endpoint does not disable signing or remove keys. Scoped to the caller tenant.
Takes a body of the `application/json` content type.
Corresponds with PUT /platform/v1/domains/{domain}/nameservers (the `PlatformSetDomainNameservers` operationId).
func (*Client) PlatformSetDomainNameserversWithBody ¶
func (c *Client) PlatformSetDomainNameserversWithBody(ctx context.Context, domain string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformSetDomainNameserversWithBody Set nameservers
Replaces the domain's nameservers at the registry after confirming unsigned local and parent state. Signed delegations require a managed DNSSEC migration; this endpoint does not disable signing or remove keys. Scoped to the caller tenant.
Takes any type of body and a specified content type.
Corresponds with PUT /platform/v1/domains/{domain}/nameservers (the `PlatformSetDomainNameservers` operationId).
func (*Client) PlatformSuspendCluster ¶
func (c *Client) PlatformSuspendCluster(ctx context.Context, id string, params *PlatformSuspendClusterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformSuspendCluster Suspend a cluster
Pauses the cluster's control plane (async). Idempotency-Key is required. Returns the cluster in its suspending/suspended state.
Corresponds with POST /platform/v1/clusters/{id}/suspend (the `PlatformSuspendCluster` operationId).
func (*Client) PlatformUpdateDomainContacts ¶
func (c *Client) PlatformUpdateDomainContacts(ctx context.Context, domain string, body PlatformUpdateDomainContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformUpdateDomainContacts Update registrant/contacts
Updates the domain's registrant and contacts at the registry. Personal data — minimized, never logged. Scoped to the caller tenant.
Takes a body of the `application/json` content type.
Corresponds with PUT /platform/v1/domains/{domain}/contacts (the `PlatformUpdateDomainContacts` operationId).
func (*Client) PlatformUpdateDomainContactsWithBody ¶
func (c *Client) PlatformUpdateDomainContactsWithBody(ctx context.Context, domain string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformUpdateDomainContactsWithBody Update registrant/contacts
Updates the domain's registrant and contacts at the registry. Personal data — minimized, never logged. Scoped to the caller tenant.
Takes any type of body and a specified content type.
Corresponds with PUT /platform/v1/domains/{domain}/contacts (the `PlatformUpdateDomainContacts` operationId).
func (*Client) PlatformUpsertDNSRecord ¶
func (c *Client) PlatformUpsertDNSRecord(ctx context.Context, domain string, name string, pType string, body PlatformUpsertDNSRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformUpsertDNSRecord Create or replace a DNS record set
Upserts one RRset (name+type). Validated for RFC-correct content and zone structure before it reaches the backend. SOA and the apex NS set are not editable (422). Scoped to the caller tenant.
Takes a body of the `application/json` content type.
Corresponds with PUT /platform/v1/domains/{domain}/dns/records/{name}/{type} (the `PlatformUpsertDNSRecord` operationId).
func (*Client) PlatformUpsertDNSRecordWithBody ¶
func (c *Client) PlatformUpsertDNSRecordWithBody(ctx context.Context, domain string, name string, pType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PlatformUpsertDNSRecordWithBody Create or replace a DNS record set
Upserts one RRset (name+type). Validated for RFC-correct content and zone structure before it reaches the backend. SOA and the apex NS set are not editable (422). Scoped to the caller tenant.
Takes any type of body and a specified content type.
Corresponds with PUT /platform/v1/domains/{domain}/dns/records/{name}/{type} (the `PlatformUpsertDNSRecord` operationId).
type ClientInterface ¶
type ClientInterface interface {
// PlatformListAuditEvents Export the tenant's audit trail
//
// Returns the caller tenant's own append-only lifecycle trail across its orders, clusters, and object storage, newest first, for compliance and SIEM export. Scoped to the acting org — never spans tenants. Carries no personal data. Follow next_before as ?before to read older events without offsets shifting when new events arrive.
//
// Corresponds with GET /platform/v1/audit/events (the `PlatformListAuditEvents` operationId).
PlatformListAuditEvents(ctx context.Context, params *PlatformListAuditEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformGetClusterCatalog Get the cluster catalog
//
// Returns the self-serve calculator catalog: the per-resource rate card, the valid per-axis bounds, and priced example presets. The UI prices a spec locally against the rate card and re-verifies via POST /v1/cluster-quote.
//
// Corresponds with GET /platform/v1/cluster-plans (the `PlatformGetClusterCatalog` operationId).
PlatformGetClusterCatalog(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformQuoteClusterWithBody Quote a cluster spec
//
// Prices a candidate spec server-side (the authoritative price). An out-of-bounds spec is 422.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /platform/v1/cluster-quote (the `PlatformQuoteCluster` operationId).
PlatformQuoteClusterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformQuoteCluster Quote a cluster spec
//
// Prices a candidate spec server-side (the authoritative price). An out-of-bounds spec is 422.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /platform/v1/cluster-quote (the `PlatformQuoteCluster` operationId).
PlatformQuoteCluster(ctx context.Context, body PlatformQuoteClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformListClusters List clusters
//
// Lists the caller tenant's clusters, newest first.
//
// Corresponds with GET /platform/v1/clusters (the `PlatformListClusters` operationId).
PlatformListClusters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformDeleteCluster Delete a cluster
//
// Tears the cluster down (async). Idempotency-Key is required. Returns the cluster now in its deleting state.
//
// Corresponds with DELETE /platform/v1/clusters/{id} (the `PlatformDeleteCluster` operationId).
PlatformDeleteCluster(ctx context.Context, id string, params *PlatformDeleteClusterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformGetCluster Get a cluster
//
// Returns the cluster's status. Scoped to the caller tenant; a cluster owned by another tenant returns 404.
//
// Corresponds with GET /platform/v1/clusters/{id} (the `PlatformGetCluster` operationId).
PlatformGetCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformGetClusterKubeconfig Get a cluster's kubeconfig
//
// Returns the cluster's kubeconfig (YAML). Sensitive — the response is marked no-store and every fetch is audited. Scoped to the caller tenant.
//
// Corresponds with GET /platform/v1/clusters/{id}/kubeconfig (the `PlatformGetClusterKubeconfig` operationId).
PlatformGetClusterKubeconfig(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformRotateClusterKubeconfig Rotate a cluster's kubeconfig
//
// Re-issues the cluster's admin credential and re-seals it (async), invalidating a leaked kubeconfig. Idempotency-Key is required.
//
// Corresponds with POST /platform/v1/clusters/{id}/kubeconfig:rotate (the `PlatformRotateClusterKubeconfig` operationId).
PlatformRotateClusterKubeconfig(ctx context.Context, id string, params *PlatformRotateClusterKubeconfigParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformResizeClusterWithBody Resize a cluster (grow-only)
//
// Grows the cluster to a larger spec (async). Grow-only: a shrink or same-spec is rejected (422). Idempotency-Key is required.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /platform/v1/clusters/{id}/resize (the `PlatformResizeCluster` operationId).
PlatformResizeClusterWithBody(ctx context.Context, id string, params *PlatformResizeClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformResizeCluster Resize a cluster (grow-only)
//
// Grows the cluster to a larger spec (async). Grow-only: a shrink or same-spec is rejected (422). Idempotency-Key is required.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /platform/v1/clusters/{id}/resize (the `PlatformResizeCluster` operationId).
PlatformResizeCluster(ctx context.Context, id string, params *PlatformResizeClusterParams, body PlatformResizeClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformResumeCluster Resume a cluster
//
// Un-pauses a suspended cluster (async). Idempotency-Key is required. A cluster suspended for non-payment must have its invoice settled first (409).
//
// Corresponds with POST /platform/v1/clusters/{id}/resume (the `PlatformResumeCluster` operationId).
PlatformResumeCluster(ctx context.Context, id string, params *PlatformResumeClusterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformSuspendCluster Suspend a cluster
//
// Pauses the cluster's control plane (async). Idempotency-Key is required. Returns the cluster in its suspending/suspended state.
//
// Corresponds with POST /platform/v1/clusters/{id}/suspend (the `PlatformSuspendCluster` operationId).
PlatformSuspendCluster(ctx context.Context, id string, params *PlatformSuspendClusterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformGetDeveloperLimits Effective organization and caller request limits
//
// Actual shared quota decision for this request. The organization bucket covers all participating product APIs; the client bucket covers the current OAuth client. This request counts toward both limits; the human Console can read an exhausted decision to diagnose throttling. These technical limits are independent of billing and native S3/Kubernetes quotas.
//
// Corresponds with GET /platform/v1/developers/limits (the `PlatformGetDeveloperLimits` operationId).
PlatformGetDeveloperLimits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformGetDeveloperUsage Organization API usage
//
// Technical request statistics, not billing evidence. UTC day aggregates retained for thirteen months. An unavailable collection pipeline returns 503, never fabricated zero usage.
//
// Corresponds with GET /platform/v1/developers/usage (the `PlatformGetDeveloperUsage` operationId).
PlatformGetDeveloperUsage(ctx context.Context, params *PlatformGetDeveloperUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformListDomains List managed domains
//
// Lists the caller tenant's managed domains, newest first.
//
// Corresponds with GET /platform/v1/domains (the `PlatformListDomains` operationId).
PlatformListDomains(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformGetDomain Get a managed domain
//
// Returns a managed domain's detail. Scoped to the caller tenant.
//
// Corresponds with GET /platform/v1/domains/{domain} (the `PlatformGetDomain` operationId).
PlatformGetDomain(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformGetDomainAuthCode Get the EPP auth code
//
// Returns the domain's EPP transfer auth code. Scoped to the caller tenant.
//
// Corresponds with GET /platform/v1/domains/{domain}/authcode (the `PlatformGetDomainAuthCode` operationId).
PlatformGetDomainAuthCode(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformResetDomainAuthCode Reset the EPP auth code
//
// Rotates and returns a new EPP transfer auth code. Scoped to the caller tenant.
//
// Corresponds with POST /platform/v1/domains/{domain}/authcode/reset (the `PlatformResetDomainAuthCode` operationId).
PlatformResetDomainAuthCode(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformGetDomainContacts Read current domain registrant
//
// Corresponds with GET /platform/v1/domains/{domain}/contacts (the `PlatformGetDomainContacts` operationId).
PlatformGetDomainContacts(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformUpdateDomainContactsWithBody Update registrant/contacts
//
// Updates the domain's registrant and contacts at the registry. Personal data — minimized, never logged. Scoped to the caller tenant.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /platform/v1/domains/{domain}/contacts (the `PlatformUpdateDomainContacts` operationId).
PlatformUpdateDomainContactsWithBody(ctx context.Context, domain string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformUpdateDomainContacts Update registrant/contacts
//
// Updates the domain's registrant and contacts at the registry. Personal data — minimized, never logged. Scoped to the caller tenant.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /platform/v1/domains/{domain}/contacts (the `PlatformUpdateDomainContacts` operationId).
PlatformUpdateDomainContacts(ctx context.Context, domain string, body PlatformUpdateDomainContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformListDNSRecords List DNS records
//
// Lists the domain's zone records. SOA and the apex NS set are flagged read_only. Scoped to the caller tenant.
//
// Corresponds with GET /platform/v1/domains/{domain}/dns/records (the `PlatformListDNSRecords` operationId).
PlatformListDNSRecords(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformDeleteDNSRecord Delete a DNS record set
//
// Deletes one RRset (name+type); deleting a missing set is a no-op (204). SOA and the apex NS set are not editable (422). Scoped to the caller tenant.
//
// Corresponds with DELETE /platform/v1/domains/{domain}/dns/records/{name}/{type} (the `PlatformDeleteDNSRecord` operationId).
PlatformDeleteDNSRecord(ctx context.Context, domain string, name string, pType string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformUpsertDNSRecordWithBody Create or replace a DNS record set
//
// Upserts one RRset (name+type). Validated for RFC-correct content and zone structure before it reaches the backend. SOA and the apex NS set are not editable (422). Scoped to the caller tenant.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /platform/v1/domains/{domain}/dns/records/{name}/{type} (the `PlatformUpsertDNSRecord` operationId).
PlatformUpsertDNSRecordWithBody(ctx context.Context, domain string, name string, pType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformUpsertDNSRecord Create or replace a DNS record set
//
// Upserts one RRset (name+type). Validated for RFC-correct content and zone structure before it reaches the backend. SOA and the apex NS set are not editable (422). Scoped to the caller tenant.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /platform/v1/domains/{domain}/dns/records/{name}/{type} (the `PlatformUpsertDNSRecord` operationId).
PlatformUpsertDNSRecord(ctx context.Context, domain string, name string, pType string, body PlatformUpsertDNSRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformGetDomainDNSSEC Get DNSSEC status
//
// Reads authoritative signing and registrar delegation state for an owned domain.
//
// Corresponds with GET /platform/v1/domains/{domain}/dnssec (the `PlatformGetDomainDNSSEC` operationId).
PlatformGetDomainDNSSEC(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformEnableDomainDNSSEC Enable managed DNSSEC
//
// Enables authoritative signing and publishes matching public delegation keys after serving verification. Existing signing keys are preserved; external DNS is not changed.
//
// Corresponds with PUT /platform/v1/domains/{domain}/dnssec (the `PlatformEnableDomainDNSSEC` operationId).
PlatformEnableDomainDNSSEC(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformSetDomainNameserversWithBody Set nameservers
//
// Replaces the domain's nameservers at the registry after confirming unsigned local and parent state. Signed delegations require a managed DNSSEC migration; this endpoint does not disable signing or remove keys. Scoped to the caller tenant.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /platform/v1/domains/{domain}/nameservers (the `PlatformSetDomainNameservers` operationId).
PlatformSetDomainNameserversWithBody(ctx context.Context, domain string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformSetDomainNameservers Set nameservers
//
// Replaces the domain's nameservers at the registry after confirming unsigned local and parent state. Signed delegations require a managed DNSSEC migration; this endpoint does not disable signing or remove keys. Scoped to the caller tenant.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /platform/v1/domains/{domain}/nameservers (the `PlatformSetDomainNameservers` operationId).
PlatformSetDomainNameservers(ctx context.Context, domain string, body PlatformSetDomainNameserversJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformGetObjectStorageCatalog Object storage availability and service limits
//
// Corresponds with GET /platform/v1/object-storage (the `PlatformGetObjectStorageCatalog` operationId).
PlatformGetObjectStorageCatalog(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformListObjectStorageBuckets List organization buckets
//
// Corresponds with GET /platform/v1/object-storage/buckets (the `PlatformListObjectStorageBuckets` operationId).
PlatformListObjectStorageBuckets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformCreateObjectStorageBucketWithBody Create organization bucket
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /platform/v1/object-storage/buckets (the `PlatformCreateObjectStorageBucket` operationId).
PlatformCreateObjectStorageBucketWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformCreateObjectStorageBucket Create organization bucket
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /platform/v1/object-storage/buckets (the `PlatformCreateObjectStorageBucket` operationId).
PlatformCreateObjectStorageBucket(ctx context.Context, body PlatformCreateObjectStorageBucketJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformDeleteObjectStorageBucket Delete empty organization bucket
//
// Corresponds with DELETE /platform/v1/object-storage/buckets/{id} (the `PlatformDeleteObjectStorageBucket` operationId).
PlatformDeleteObjectStorageBucket(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformListObjectStorageCredentials List bucket credentials
//
// Corresponds with GET /platform/v1/object-storage/buckets/{id}/credentials (the `PlatformListObjectStorageCredentials` operationId).
PlatformListObjectStorageCredentials(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformCreateObjectStorageCredentialWithBody Create bucket credential; secret returned once
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /platform/v1/object-storage/buckets/{id}/credentials (the `PlatformCreateObjectStorageCredential` operationId).
PlatformCreateObjectStorageCredentialWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformCreateObjectStorageCredential Create bucket credential; secret returned once
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /platform/v1/object-storage/buckets/{id}/credentials (the `PlatformCreateObjectStorageCredential` operationId).
PlatformCreateObjectStorageCredential(ctx context.Context, id string, body PlatformCreateObjectStorageCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformDeleteObjectStorageCredential Revoke bucket credential
//
// Corresponds with DELETE /platform/v1/object-storage/buckets/{id}/credentials/{credential_id} (the `PlatformDeleteObjectStorageCredential` operationId).
PlatformDeleteObjectStorageCredential(ctx context.Context, id string, credentialId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformResizeObjectStorageBucketWithBody Increase an organization bucket's storage quota
//
// Requests an absolute byte quota for an active billable bucket. A confirmed target is safe to retry. While an increase is pending, the bucket list reports the last confirmed quota and the requested target.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /platform/v1/object-storage/buckets/{id}/quota (the `PlatformResizeObjectStorageBucket` operationId).
PlatformResizeObjectStorageBucketWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlatformResizeObjectStorageBucket Increase an organization bucket's storage quota
//
// Requests an absolute byte quota for an active billable bucket. A confirmed target is safe to retry. While an increase is pending, the bucket list reports the last confirmed quota and the requested target.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /platform/v1/object-storage/buckets/{id}/quota (the `PlatformResizeObjectStorageBucket` operationId).
PlatformResizeObjectStorageBucket(ctx context.Context, id string, body PlatformResizeObjectStorageBucketJSONRequestBody, 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) PlatformCreateObjectStorageBucketWithBodyWithResponse ¶
func (c *ClientWithResponses) PlatformCreateObjectStorageBucketWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformCreateObjectStorageBucketResponse, error)
PlatformCreateObjectStorageBucketWithBodyWithResponse Create organization bucket
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /platform/v1/object-storage/buckets (the `PlatformCreateObjectStorageBucket` operationId).
func (*ClientWithResponses) PlatformCreateObjectStorageBucketWithResponse ¶
func (c *ClientWithResponses) PlatformCreateObjectStorageBucketWithResponse(ctx context.Context, body PlatformCreateObjectStorageBucketJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformCreateObjectStorageBucketResponse, error)
PlatformCreateObjectStorageBucketWithResponse Create organization bucket
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /platform/v1/object-storage/buckets (the `PlatformCreateObjectStorageBucket` operationId).
func (*ClientWithResponses) PlatformCreateObjectStorageCredentialWithBodyWithResponse ¶
func (c *ClientWithResponses) PlatformCreateObjectStorageCredentialWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformCreateObjectStorageCredentialResponse, error)
PlatformCreateObjectStorageCredentialWithBodyWithResponse Create bucket credential; secret returned once
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /platform/v1/object-storage/buckets/{id}/credentials (the `PlatformCreateObjectStorageCredential` operationId).
func (*ClientWithResponses) PlatformCreateObjectStorageCredentialWithResponse ¶
func (c *ClientWithResponses) PlatformCreateObjectStorageCredentialWithResponse(ctx context.Context, id string, body PlatformCreateObjectStorageCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformCreateObjectStorageCredentialResponse, error)
PlatformCreateObjectStorageCredentialWithResponse Create bucket credential; secret returned once
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /platform/v1/object-storage/buckets/{id}/credentials (the `PlatformCreateObjectStorageCredential` operationId).
func (*ClientWithResponses) PlatformDeleteClusterWithResponse ¶
func (c *ClientWithResponses) PlatformDeleteClusterWithResponse(ctx context.Context, id string, params *PlatformDeleteClusterParams, reqEditors ...RequestEditorFn) (*PlatformDeleteClusterResponse, error)
PlatformDeleteClusterWithResponse Delete a cluster
Tears the cluster down (async). Idempotency-Key is required. Returns the cluster now in its deleting state.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /platform/v1/clusters/{id} (the `PlatformDeleteCluster` operationId).
func (*ClientWithResponses) PlatformDeleteDNSRecordWithResponse ¶
func (c *ClientWithResponses) PlatformDeleteDNSRecordWithResponse(ctx context.Context, domain string, name string, pType string, reqEditors ...RequestEditorFn) (*PlatformDeleteDNSRecordResponse, error)
PlatformDeleteDNSRecordWithResponse Delete a DNS record set
Deletes one RRset (name+type); deleting a missing set is a no-op (204). SOA and the apex NS set are not editable (422). Scoped to the caller tenant.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /platform/v1/domains/{domain}/dns/records/{name}/{type} (the `PlatformDeleteDNSRecord` operationId).
func (*ClientWithResponses) PlatformDeleteObjectStorageBucketWithResponse ¶
func (c *ClientWithResponses) PlatformDeleteObjectStorageBucketWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PlatformDeleteObjectStorageBucketResponse, error)
PlatformDeleteObjectStorageBucketWithResponse Delete empty organization bucket
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /platform/v1/object-storage/buckets/{id} (the `PlatformDeleteObjectStorageBucket` operationId).
func (*ClientWithResponses) PlatformDeleteObjectStorageCredentialWithResponse ¶
func (c *ClientWithResponses) PlatformDeleteObjectStorageCredentialWithResponse(ctx context.Context, id string, credentialId string, reqEditors ...RequestEditorFn) (*PlatformDeleteObjectStorageCredentialResponse, error)
PlatformDeleteObjectStorageCredentialWithResponse Revoke bucket credential
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /platform/v1/object-storage/buckets/{id}/credentials/{credential_id} (the `PlatformDeleteObjectStorageCredential` operationId).
func (*ClientWithResponses) PlatformEnableDomainDNSSECWithResponse ¶ added in v0.1.1
func (c *ClientWithResponses) PlatformEnableDomainDNSSECWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformEnableDomainDNSSECResponse, error)
PlatformEnableDomainDNSSECWithResponse Enable managed DNSSEC
Enables authoritative signing and publishes matching public delegation keys after serving verification. Existing signing keys are preserved; external DNS is not changed.
Returns a wrapper object for the known response body format(s).
Corresponds with PUT /platform/v1/domains/{domain}/dnssec (the `PlatformEnableDomainDNSSEC` operationId).
func (*ClientWithResponses) PlatformGetClusterCatalogWithResponse ¶
func (c *ClientWithResponses) PlatformGetClusterCatalogWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformGetClusterCatalogResponse, error)
PlatformGetClusterCatalogWithResponse Get the cluster catalog
Returns the self-serve calculator catalog: the per-resource rate card, the valid per-axis bounds, and priced example presets. The UI prices a spec locally against the rate card and re-verifies via POST /v1/cluster-quote.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /platform/v1/cluster-plans (the `PlatformGetClusterCatalog` operationId).
func (*ClientWithResponses) PlatformGetClusterKubeconfigWithResponse ¶
func (c *ClientWithResponses) PlatformGetClusterKubeconfigWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PlatformGetClusterKubeconfigResponse, error)
PlatformGetClusterKubeconfigWithResponse Get a cluster's kubeconfig
Returns the cluster's kubeconfig (YAML). Sensitive — the response is marked no-store and every fetch is audited. Scoped to the caller tenant.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /platform/v1/clusters/{id}/kubeconfig (the `PlatformGetClusterKubeconfig` operationId).
func (*ClientWithResponses) PlatformGetClusterWithResponse ¶
func (c *ClientWithResponses) PlatformGetClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PlatformGetClusterResponse, error)
PlatformGetClusterWithResponse Get a cluster
Returns the cluster's status. Scoped to the caller tenant; a cluster owned by another tenant returns 404.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /platform/v1/clusters/{id} (the `PlatformGetCluster` operationId).
func (*ClientWithResponses) PlatformGetDeveloperLimitsWithResponse ¶
func (c *ClientWithResponses) PlatformGetDeveloperLimitsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformGetDeveloperLimitsResponse, error)
PlatformGetDeveloperLimitsWithResponse Effective organization and caller request limits
Actual shared quota decision for this request. The organization bucket covers all participating product APIs; the client bucket covers the current OAuth client. This request counts toward both limits; the human Console can read an exhausted decision to diagnose throttling. These technical limits are independent of billing and native S3/Kubernetes quotas.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /platform/v1/developers/limits (the `PlatformGetDeveloperLimits` operationId).
func (*ClientWithResponses) PlatformGetDeveloperUsageWithResponse ¶
func (c *ClientWithResponses) PlatformGetDeveloperUsageWithResponse(ctx context.Context, params *PlatformGetDeveloperUsageParams, reqEditors ...RequestEditorFn) (*PlatformGetDeveloperUsageResponse, error)
PlatformGetDeveloperUsageWithResponse Organization API usage
Technical request statistics, not billing evidence. UTC day aggregates retained for thirteen months. An unavailable collection pipeline returns 503, never fabricated zero usage.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /platform/v1/developers/usage (the `PlatformGetDeveloperUsage` operationId).
func (*ClientWithResponses) PlatformGetDomainAuthCodeWithResponse ¶
func (c *ClientWithResponses) PlatformGetDomainAuthCodeWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformGetDomainAuthCodeResponse, error)
PlatformGetDomainAuthCodeWithResponse Get the EPP auth code
Returns the domain's EPP transfer auth code. Scoped to the caller tenant.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /platform/v1/domains/{domain}/authcode (the `PlatformGetDomainAuthCode` operationId).
func (*ClientWithResponses) PlatformGetDomainContactsWithResponse ¶
func (c *ClientWithResponses) PlatformGetDomainContactsWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformGetDomainContactsResponse, error)
PlatformGetDomainContactsWithResponse Read current domain registrant
Returns a wrapper object for the known response body format(s).
Corresponds with GET /platform/v1/domains/{domain}/contacts (the `PlatformGetDomainContacts` operationId).
func (*ClientWithResponses) PlatformGetDomainDNSSECWithResponse ¶ added in v0.1.1
func (c *ClientWithResponses) PlatformGetDomainDNSSECWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformGetDomainDNSSECResponse, error)
PlatformGetDomainDNSSECWithResponse Get DNSSEC status
Reads authoritative signing and registrar delegation state for an owned domain.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /platform/v1/domains/{domain}/dnssec (the `PlatformGetDomainDNSSEC` operationId).
func (*ClientWithResponses) PlatformGetDomainWithResponse ¶
func (c *ClientWithResponses) PlatformGetDomainWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformGetDomainResponse, error)
PlatformGetDomainWithResponse Get a managed domain
Returns a managed domain's detail. Scoped to the caller tenant.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /platform/v1/domains/{domain} (the `PlatformGetDomain` operationId).
func (*ClientWithResponses) PlatformGetObjectStorageCatalogWithResponse ¶
func (c *ClientWithResponses) PlatformGetObjectStorageCatalogWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformGetObjectStorageCatalogResponse, error)
PlatformGetObjectStorageCatalogWithResponse Object storage availability and service limits
Returns a wrapper object for the known response body format(s).
Corresponds with GET /platform/v1/object-storage (the `PlatformGetObjectStorageCatalog` operationId).
func (*ClientWithResponses) PlatformListAuditEventsWithResponse ¶
func (c *ClientWithResponses) PlatformListAuditEventsWithResponse(ctx context.Context, params *PlatformListAuditEventsParams, reqEditors ...RequestEditorFn) (*PlatformListAuditEventsResponse, error)
PlatformListAuditEventsWithResponse Export the tenant's audit trail
Returns the caller tenant's own append-only lifecycle trail across its orders, clusters, and object storage, newest first, for compliance and SIEM export. Scoped to the acting org — never spans tenants. Carries no personal data. Follow next_before as ?before to read older events without offsets shifting when new events arrive.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /platform/v1/audit/events (the `PlatformListAuditEvents` operationId).
func (*ClientWithResponses) PlatformListClustersWithResponse ¶
func (c *ClientWithResponses) PlatformListClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformListClustersResponse, error)
PlatformListClustersWithResponse List clusters
Lists the caller tenant's clusters, newest first.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /platform/v1/clusters (the `PlatformListClusters` operationId).
func (*ClientWithResponses) PlatformListDNSRecordsWithResponse ¶
func (c *ClientWithResponses) PlatformListDNSRecordsWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformListDNSRecordsResponse, error)
PlatformListDNSRecordsWithResponse List DNS records
Lists the domain's zone records. SOA and the apex NS set are flagged read_only. Scoped to the caller tenant.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /platform/v1/domains/{domain}/dns/records (the `PlatformListDNSRecords` operationId).
func (*ClientWithResponses) PlatformListDomainsWithResponse ¶
func (c *ClientWithResponses) PlatformListDomainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformListDomainsResponse, error)
PlatformListDomainsWithResponse List managed domains
Lists the caller tenant's managed domains, newest first.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /platform/v1/domains (the `PlatformListDomains` operationId).
func (*ClientWithResponses) PlatformListObjectStorageBucketsWithResponse ¶
func (c *ClientWithResponses) PlatformListObjectStorageBucketsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformListObjectStorageBucketsResponse, error)
PlatformListObjectStorageBucketsWithResponse List organization buckets
Returns a wrapper object for the known response body format(s).
Corresponds with GET /platform/v1/object-storage/buckets (the `PlatformListObjectStorageBuckets` operationId).
func (*ClientWithResponses) PlatformListObjectStorageCredentialsWithResponse ¶
func (c *ClientWithResponses) PlatformListObjectStorageCredentialsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PlatformListObjectStorageCredentialsResponse, error)
PlatformListObjectStorageCredentialsWithResponse List bucket credentials
Returns a wrapper object for the known response body format(s).
Corresponds with GET /platform/v1/object-storage/buckets/{id}/credentials (the `PlatformListObjectStorageCredentials` operationId).
func (*ClientWithResponses) PlatformQuoteClusterWithBodyWithResponse ¶
func (c *ClientWithResponses) PlatformQuoteClusterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformQuoteClusterResponse, error)
PlatformQuoteClusterWithBodyWithResponse Quote a cluster spec
Prices a candidate spec server-side (the authoritative price). An out-of-bounds spec is 422.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /platform/v1/cluster-quote (the `PlatformQuoteCluster` operationId).
func (*ClientWithResponses) PlatformQuoteClusterWithResponse ¶
func (c *ClientWithResponses) PlatformQuoteClusterWithResponse(ctx context.Context, body PlatformQuoteClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformQuoteClusterResponse, error)
PlatformQuoteClusterWithResponse Quote a cluster spec
Prices a candidate spec server-side (the authoritative price). An out-of-bounds spec is 422.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /platform/v1/cluster-quote (the `PlatformQuoteCluster` operationId).
func (*ClientWithResponses) PlatformResetDomainAuthCodeWithResponse ¶
func (c *ClientWithResponses) PlatformResetDomainAuthCodeWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformResetDomainAuthCodeResponse, error)
PlatformResetDomainAuthCodeWithResponse Reset the EPP auth code
Rotates and returns a new EPP transfer auth code. Scoped to the caller tenant.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /platform/v1/domains/{domain}/authcode/reset (the `PlatformResetDomainAuthCode` operationId).
func (*ClientWithResponses) PlatformResizeClusterWithBodyWithResponse ¶
func (c *ClientWithResponses) PlatformResizeClusterWithBodyWithResponse(ctx context.Context, id string, params *PlatformResizeClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformResizeClusterResponse, error)
PlatformResizeClusterWithBodyWithResponse Resize a cluster (grow-only)
Grows the cluster to a larger spec (async). Grow-only: a shrink or same-spec is rejected (422). Idempotency-Key is required.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /platform/v1/clusters/{id}/resize (the `PlatformResizeCluster` operationId).
func (*ClientWithResponses) PlatformResizeClusterWithResponse ¶
func (c *ClientWithResponses) PlatformResizeClusterWithResponse(ctx context.Context, id string, params *PlatformResizeClusterParams, body PlatformResizeClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformResizeClusterResponse, error)
PlatformResizeClusterWithResponse Resize a cluster (grow-only)
Grows the cluster to a larger spec (async). Grow-only: a shrink or same-spec is rejected (422). Idempotency-Key is required.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /platform/v1/clusters/{id}/resize (the `PlatformResizeCluster` operationId).
func (*ClientWithResponses) PlatformResizeObjectStorageBucketWithBodyWithResponse ¶ added in v0.1.1
func (c *ClientWithResponses) PlatformResizeObjectStorageBucketWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformResizeObjectStorageBucketResponse, error)
PlatformResizeObjectStorageBucketWithBodyWithResponse Increase an organization bucket's storage quota
Requests an absolute byte quota for an active billable bucket. A confirmed target is safe to retry. While an increase is pending, the bucket list reports the last confirmed quota and the requested target.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /platform/v1/object-storage/buckets/{id}/quota (the `PlatformResizeObjectStorageBucket` operationId).
func (*ClientWithResponses) PlatformResizeObjectStorageBucketWithResponse ¶ added in v0.1.1
func (c *ClientWithResponses) PlatformResizeObjectStorageBucketWithResponse(ctx context.Context, id string, body PlatformResizeObjectStorageBucketJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformResizeObjectStorageBucketResponse, error)
PlatformResizeObjectStorageBucketWithResponse Increase an organization bucket's storage quota
Requests an absolute byte quota for an active billable bucket. A confirmed target is safe to retry. While an increase is pending, the bucket list reports the last confirmed quota and the requested target.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /platform/v1/object-storage/buckets/{id}/quota (the `PlatformResizeObjectStorageBucket` operationId).
func (*ClientWithResponses) PlatformResumeClusterWithResponse ¶
func (c *ClientWithResponses) PlatformResumeClusterWithResponse(ctx context.Context, id string, params *PlatformResumeClusterParams, reqEditors ...RequestEditorFn) (*PlatformResumeClusterResponse, error)
PlatformResumeClusterWithResponse Resume a cluster
Un-pauses a suspended cluster (async). Idempotency-Key is required. A cluster suspended for non-payment must have its invoice settled first (409).
Returns a wrapper object for the known response body format(s).
Corresponds with POST /platform/v1/clusters/{id}/resume (the `PlatformResumeCluster` operationId).
func (*ClientWithResponses) PlatformRotateClusterKubeconfigWithResponse ¶
func (c *ClientWithResponses) PlatformRotateClusterKubeconfigWithResponse(ctx context.Context, id string, params *PlatformRotateClusterKubeconfigParams, reqEditors ...RequestEditorFn) (*PlatformRotateClusterKubeconfigResponse, error)
PlatformRotateClusterKubeconfigWithResponse Rotate a cluster's kubeconfig
Re-issues the cluster's admin credential and re-seals it (async), invalidating a leaked kubeconfig. Idempotency-Key is required.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /platform/v1/clusters/{id}/kubeconfig:rotate (the `PlatformRotateClusterKubeconfig` operationId).
func (*ClientWithResponses) PlatformSetDomainNameserversWithBodyWithResponse ¶
func (c *ClientWithResponses) PlatformSetDomainNameserversWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformSetDomainNameserversResponse, error)
PlatformSetDomainNameserversWithBodyWithResponse Set nameservers
Replaces the domain's nameservers at the registry after confirming unsigned local and parent state. Signed delegations require a managed DNSSEC migration; this endpoint does not disable signing or remove keys. Scoped to the caller tenant.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /platform/v1/domains/{domain}/nameservers (the `PlatformSetDomainNameservers` operationId).
func (*ClientWithResponses) PlatformSetDomainNameserversWithResponse ¶
func (c *ClientWithResponses) PlatformSetDomainNameserversWithResponse(ctx context.Context, domain string, body PlatformSetDomainNameserversJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformSetDomainNameserversResponse, error)
PlatformSetDomainNameserversWithResponse Set nameservers
Replaces the domain's nameservers at the registry after confirming unsigned local and parent state. Signed delegations require a managed DNSSEC migration; this endpoint does not disable signing or remove keys. Scoped to the caller tenant.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /platform/v1/domains/{domain}/nameservers (the `PlatformSetDomainNameservers` operationId).
func (*ClientWithResponses) PlatformSuspendClusterWithResponse ¶
func (c *ClientWithResponses) PlatformSuspendClusterWithResponse(ctx context.Context, id string, params *PlatformSuspendClusterParams, reqEditors ...RequestEditorFn) (*PlatformSuspendClusterResponse, error)
PlatformSuspendClusterWithResponse Suspend a cluster
Pauses the cluster's control plane (async). Idempotency-Key is required. Returns the cluster in its suspending/suspended state.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /platform/v1/clusters/{id}/suspend (the `PlatformSuspendCluster` operationId).
func (*ClientWithResponses) PlatformUpdateDomainContactsWithBodyWithResponse ¶
func (c *ClientWithResponses) PlatformUpdateDomainContactsWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformUpdateDomainContactsResponse, error)
PlatformUpdateDomainContactsWithBodyWithResponse Update registrant/contacts
Updates the domain's registrant and contacts at the registry. Personal data — minimized, never logged. Scoped to the caller tenant.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /platform/v1/domains/{domain}/contacts (the `PlatformUpdateDomainContacts` operationId).
func (*ClientWithResponses) PlatformUpdateDomainContactsWithResponse ¶
func (c *ClientWithResponses) PlatformUpdateDomainContactsWithResponse(ctx context.Context, domain string, body PlatformUpdateDomainContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformUpdateDomainContactsResponse, error)
PlatformUpdateDomainContactsWithResponse Update registrant/contacts
Updates the domain's registrant and contacts at the registry. Personal data — minimized, never logged. Scoped to the caller tenant.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /platform/v1/domains/{domain}/contacts (the `PlatformUpdateDomainContacts` operationId).
func (*ClientWithResponses) PlatformUpsertDNSRecordWithBodyWithResponse ¶
func (c *ClientWithResponses) PlatformUpsertDNSRecordWithBodyWithResponse(ctx context.Context, domain string, name string, pType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformUpsertDNSRecordResponse, error)
PlatformUpsertDNSRecordWithBodyWithResponse Create or replace a DNS record set
Upserts one RRset (name+type). Validated for RFC-correct content and zone structure before it reaches the backend. SOA and the apex NS set are not editable (422). Scoped to the caller tenant.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /platform/v1/domains/{domain}/dns/records/{name}/{type} (the `PlatformUpsertDNSRecord` operationId).
func (*ClientWithResponses) PlatformUpsertDNSRecordWithResponse ¶
func (c *ClientWithResponses) PlatformUpsertDNSRecordWithResponse(ctx context.Context, domain string, name string, pType string, body PlatformUpsertDNSRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformUpsertDNSRecordResponse, error)
PlatformUpsertDNSRecordWithResponse Create or replace a DNS record set
Upserts one RRset (name+type). Validated for RFC-correct content and zone structure before it reaches the backend. SOA and the apex NS set are not editable (422). Scoped to the caller tenant.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /platform/v1/domains/{domain}/dns/records/{name}/{type} (the `PlatformUpsertDNSRecord` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// PlatformListAuditEventsWithResponse Export the tenant's audit trail
//
// Returns the caller tenant's own append-only lifecycle trail across its orders, clusters, and object storage, newest first, for compliance and SIEM export. Scoped to the acting org — never spans tenants. Carries no personal data. Follow next_before as ?before to read older events without offsets shifting when new events arrive.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /platform/v1/audit/events (the `PlatformListAuditEvents` operationId).
PlatformListAuditEventsWithResponse(ctx context.Context, params *PlatformListAuditEventsParams, reqEditors ...RequestEditorFn) (*PlatformListAuditEventsResponse, error)
// PlatformGetClusterCatalogWithResponse Get the cluster catalog
//
// Returns the self-serve calculator catalog: the per-resource rate card, the valid per-axis bounds, and priced example presets. The UI prices a spec locally against the rate card and re-verifies via POST /v1/cluster-quote.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /platform/v1/cluster-plans (the `PlatformGetClusterCatalog` operationId).
PlatformGetClusterCatalogWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformGetClusterCatalogResponse, error)
// PlatformQuoteClusterWithBodyWithResponse Quote a cluster spec
//
// Prices a candidate spec server-side (the authoritative price). An out-of-bounds spec is 422.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /platform/v1/cluster-quote (the `PlatformQuoteCluster` operationId).
PlatformQuoteClusterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformQuoteClusterResponse, error)
// PlatformQuoteClusterWithResponse Quote a cluster spec
//
// Prices a candidate spec server-side (the authoritative price). An out-of-bounds spec is 422.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /platform/v1/cluster-quote (the `PlatformQuoteCluster` operationId).
PlatformQuoteClusterWithResponse(ctx context.Context, body PlatformQuoteClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformQuoteClusterResponse, error)
// PlatformListClustersWithResponse List clusters
//
// Lists the caller tenant's clusters, newest first.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /platform/v1/clusters (the `PlatformListClusters` operationId).
PlatformListClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformListClustersResponse, error)
// PlatformDeleteClusterWithResponse Delete a cluster
//
// Tears the cluster down (async). Idempotency-Key is required. Returns the cluster now in its deleting state.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /platform/v1/clusters/{id} (the `PlatformDeleteCluster` operationId).
PlatformDeleteClusterWithResponse(ctx context.Context, id string, params *PlatformDeleteClusterParams, reqEditors ...RequestEditorFn) (*PlatformDeleteClusterResponse, error)
// PlatformGetClusterWithResponse Get a cluster
//
// Returns the cluster's status. Scoped to the caller tenant; a cluster owned by another tenant returns 404.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /platform/v1/clusters/{id} (the `PlatformGetCluster` operationId).
PlatformGetClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PlatformGetClusterResponse, error)
// PlatformGetClusterKubeconfigWithResponse Get a cluster's kubeconfig
//
// Returns the cluster's kubeconfig (YAML). Sensitive — the response is marked no-store and every fetch is audited. Scoped to the caller tenant.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /platform/v1/clusters/{id}/kubeconfig (the `PlatformGetClusterKubeconfig` operationId).
PlatformGetClusterKubeconfigWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PlatformGetClusterKubeconfigResponse, error)
// PlatformRotateClusterKubeconfigWithResponse Rotate a cluster's kubeconfig
//
// Re-issues the cluster's admin credential and re-seals it (async), invalidating a leaked kubeconfig. Idempotency-Key is required.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /platform/v1/clusters/{id}/kubeconfig:rotate (the `PlatformRotateClusterKubeconfig` operationId).
PlatformRotateClusterKubeconfigWithResponse(ctx context.Context, id string, params *PlatformRotateClusterKubeconfigParams, reqEditors ...RequestEditorFn) (*PlatformRotateClusterKubeconfigResponse, error)
// PlatformResizeClusterWithBodyWithResponse Resize a cluster (grow-only)
//
// Grows the cluster to a larger spec (async). Grow-only: a shrink or same-spec is rejected (422). Idempotency-Key is required.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /platform/v1/clusters/{id}/resize (the `PlatformResizeCluster` operationId).
PlatformResizeClusterWithBodyWithResponse(ctx context.Context, id string, params *PlatformResizeClusterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformResizeClusterResponse, error)
// PlatformResizeClusterWithResponse Resize a cluster (grow-only)
//
// Grows the cluster to a larger spec (async). Grow-only: a shrink or same-spec is rejected (422). Idempotency-Key is required.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /platform/v1/clusters/{id}/resize (the `PlatformResizeCluster` operationId).
PlatformResizeClusterWithResponse(ctx context.Context, id string, params *PlatformResizeClusterParams, body PlatformResizeClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformResizeClusterResponse, error)
// PlatformResumeClusterWithResponse Resume a cluster
//
// Un-pauses a suspended cluster (async). Idempotency-Key is required. A cluster suspended for non-payment must have its invoice settled first (409).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /platform/v1/clusters/{id}/resume (the `PlatformResumeCluster` operationId).
PlatformResumeClusterWithResponse(ctx context.Context, id string, params *PlatformResumeClusterParams, reqEditors ...RequestEditorFn) (*PlatformResumeClusterResponse, error)
// PlatformSuspendClusterWithResponse Suspend a cluster
//
// Pauses the cluster's control plane (async). Idempotency-Key is required. Returns the cluster in its suspending/suspended state.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /platform/v1/clusters/{id}/suspend (the `PlatformSuspendCluster` operationId).
PlatformSuspendClusterWithResponse(ctx context.Context, id string, params *PlatformSuspendClusterParams, reqEditors ...RequestEditorFn) (*PlatformSuspendClusterResponse, error)
// PlatformGetDeveloperLimitsWithResponse Effective organization and caller request limits
//
// Actual shared quota decision for this request. The organization bucket covers all participating product APIs; the client bucket covers the current OAuth client. This request counts toward both limits; the human Console can read an exhausted decision to diagnose throttling. These technical limits are independent of billing and native S3/Kubernetes quotas.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /platform/v1/developers/limits (the `PlatformGetDeveloperLimits` operationId).
PlatformGetDeveloperLimitsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformGetDeveloperLimitsResponse, error)
// PlatformGetDeveloperUsageWithResponse Organization API usage
//
// Technical request statistics, not billing evidence. UTC day aggregates retained for thirteen months. An unavailable collection pipeline returns 503, never fabricated zero usage.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /platform/v1/developers/usage (the `PlatformGetDeveloperUsage` operationId).
PlatformGetDeveloperUsageWithResponse(ctx context.Context, params *PlatformGetDeveloperUsageParams, reqEditors ...RequestEditorFn) (*PlatformGetDeveloperUsageResponse, error)
// PlatformListDomainsWithResponse List managed domains
//
// Lists the caller tenant's managed domains, newest first.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /platform/v1/domains (the `PlatformListDomains` operationId).
PlatformListDomainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformListDomainsResponse, error)
// PlatformGetDomainWithResponse Get a managed domain
//
// Returns a managed domain's detail. Scoped to the caller tenant.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /platform/v1/domains/{domain} (the `PlatformGetDomain` operationId).
PlatformGetDomainWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformGetDomainResponse, error)
// PlatformGetDomainAuthCodeWithResponse Get the EPP auth code
//
// Returns the domain's EPP transfer auth code. Scoped to the caller tenant.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /platform/v1/domains/{domain}/authcode (the `PlatformGetDomainAuthCode` operationId).
PlatformGetDomainAuthCodeWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformGetDomainAuthCodeResponse, error)
// PlatformResetDomainAuthCodeWithResponse Reset the EPP auth code
//
// Rotates and returns a new EPP transfer auth code. Scoped to the caller tenant.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /platform/v1/domains/{domain}/authcode/reset (the `PlatformResetDomainAuthCode` operationId).
PlatformResetDomainAuthCodeWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformResetDomainAuthCodeResponse, error)
// PlatformGetDomainContactsWithResponse Read current domain registrant
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /platform/v1/domains/{domain}/contacts (the `PlatformGetDomainContacts` operationId).
PlatformGetDomainContactsWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformGetDomainContactsResponse, error)
// PlatformUpdateDomainContactsWithBodyWithResponse Update registrant/contacts
//
// Updates the domain's registrant and contacts at the registry. Personal data — minimized, never logged. Scoped to the caller tenant.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /platform/v1/domains/{domain}/contacts (the `PlatformUpdateDomainContacts` operationId).
PlatformUpdateDomainContactsWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformUpdateDomainContactsResponse, error)
// PlatformUpdateDomainContactsWithResponse Update registrant/contacts
//
// Updates the domain's registrant and contacts at the registry. Personal data — minimized, never logged. Scoped to the caller tenant.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /platform/v1/domains/{domain}/contacts (the `PlatformUpdateDomainContacts` operationId).
PlatformUpdateDomainContactsWithResponse(ctx context.Context, domain string, body PlatformUpdateDomainContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformUpdateDomainContactsResponse, error)
// PlatformListDNSRecordsWithResponse List DNS records
//
// Lists the domain's zone records. SOA and the apex NS set are flagged read_only. Scoped to the caller tenant.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /platform/v1/domains/{domain}/dns/records (the `PlatformListDNSRecords` operationId).
PlatformListDNSRecordsWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformListDNSRecordsResponse, error)
// PlatformDeleteDNSRecordWithResponse Delete a DNS record set
//
// Deletes one RRset (name+type); deleting a missing set is a no-op (204). SOA and the apex NS set are not editable (422). Scoped to the caller tenant.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /platform/v1/domains/{domain}/dns/records/{name}/{type} (the `PlatformDeleteDNSRecord` operationId).
PlatformDeleteDNSRecordWithResponse(ctx context.Context, domain string, name string, pType string, reqEditors ...RequestEditorFn) (*PlatformDeleteDNSRecordResponse, error)
// PlatformUpsertDNSRecordWithBodyWithResponse Create or replace a DNS record set
//
// Upserts one RRset (name+type). Validated for RFC-correct content and zone structure before it reaches the backend. SOA and the apex NS set are not editable (422). Scoped to the caller tenant.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /platform/v1/domains/{domain}/dns/records/{name}/{type} (the `PlatformUpsertDNSRecord` operationId).
PlatformUpsertDNSRecordWithBodyWithResponse(ctx context.Context, domain string, name string, pType string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformUpsertDNSRecordResponse, error)
// PlatformUpsertDNSRecordWithResponse Create or replace a DNS record set
//
// Upserts one RRset (name+type). Validated for RFC-correct content and zone structure before it reaches the backend. SOA and the apex NS set are not editable (422). Scoped to the caller tenant.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /platform/v1/domains/{domain}/dns/records/{name}/{type} (the `PlatformUpsertDNSRecord` operationId).
PlatformUpsertDNSRecordWithResponse(ctx context.Context, domain string, name string, pType string, body PlatformUpsertDNSRecordJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformUpsertDNSRecordResponse, error)
// PlatformGetDomainDNSSECWithResponse Get DNSSEC status
//
// Reads authoritative signing and registrar delegation state for an owned domain.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /platform/v1/domains/{domain}/dnssec (the `PlatformGetDomainDNSSEC` operationId).
PlatformGetDomainDNSSECWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformGetDomainDNSSECResponse, error)
// PlatformEnableDomainDNSSECWithResponse Enable managed DNSSEC
//
// Enables authoritative signing and publishes matching public delegation keys after serving verification. Existing signing keys are preserved; external DNS is not changed.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /platform/v1/domains/{domain}/dnssec (the `PlatformEnableDomainDNSSEC` operationId).
PlatformEnableDomainDNSSECWithResponse(ctx context.Context, domain string, reqEditors ...RequestEditorFn) (*PlatformEnableDomainDNSSECResponse, error)
// PlatformSetDomainNameserversWithBodyWithResponse Set nameservers
//
// Replaces the domain's nameservers at the registry after confirming unsigned local and parent state. Signed delegations require a managed DNSSEC migration; this endpoint does not disable signing or remove keys. Scoped to the caller tenant.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /platform/v1/domains/{domain}/nameservers (the `PlatformSetDomainNameservers` operationId).
PlatformSetDomainNameserversWithBodyWithResponse(ctx context.Context, domain string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformSetDomainNameserversResponse, error)
// PlatformSetDomainNameserversWithResponse Set nameservers
//
// Replaces the domain's nameservers at the registry after confirming unsigned local and parent state. Signed delegations require a managed DNSSEC migration; this endpoint does not disable signing or remove keys. Scoped to the caller tenant.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /platform/v1/domains/{domain}/nameservers (the `PlatformSetDomainNameservers` operationId).
PlatformSetDomainNameserversWithResponse(ctx context.Context, domain string, body PlatformSetDomainNameserversJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformSetDomainNameserversResponse, error)
// PlatformGetObjectStorageCatalogWithResponse Object storage availability and service limits
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /platform/v1/object-storage (the `PlatformGetObjectStorageCatalog` operationId).
PlatformGetObjectStorageCatalogWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformGetObjectStorageCatalogResponse, error)
// PlatformListObjectStorageBucketsWithResponse List organization buckets
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /platform/v1/object-storage/buckets (the `PlatformListObjectStorageBuckets` operationId).
PlatformListObjectStorageBucketsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlatformListObjectStorageBucketsResponse, error)
// PlatformCreateObjectStorageBucketWithBodyWithResponse Create organization bucket
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /platform/v1/object-storage/buckets (the `PlatformCreateObjectStorageBucket` operationId).
PlatformCreateObjectStorageBucketWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformCreateObjectStorageBucketResponse, error)
// PlatformCreateObjectStorageBucketWithResponse Create organization bucket
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /platform/v1/object-storage/buckets (the `PlatformCreateObjectStorageBucket` operationId).
PlatformCreateObjectStorageBucketWithResponse(ctx context.Context, body PlatformCreateObjectStorageBucketJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformCreateObjectStorageBucketResponse, error)
// PlatformDeleteObjectStorageBucketWithResponse Delete empty organization bucket
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /platform/v1/object-storage/buckets/{id} (the `PlatformDeleteObjectStorageBucket` operationId).
PlatformDeleteObjectStorageBucketWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PlatformDeleteObjectStorageBucketResponse, error)
// PlatformListObjectStorageCredentialsWithResponse List bucket credentials
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /platform/v1/object-storage/buckets/{id}/credentials (the `PlatformListObjectStorageCredentials` operationId).
PlatformListObjectStorageCredentialsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*PlatformListObjectStorageCredentialsResponse, error)
// PlatformCreateObjectStorageCredentialWithBodyWithResponse Create bucket credential; secret returned once
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /platform/v1/object-storage/buckets/{id}/credentials (the `PlatformCreateObjectStorageCredential` operationId).
PlatformCreateObjectStorageCredentialWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformCreateObjectStorageCredentialResponse, error)
// PlatformCreateObjectStorageCredentialWithResponse Create bucket credential; secret returned once
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /platform/v1/object-storage/buckets/{id}/credentials (the `PlatformCreateObjectStorageCredential` operationId).
PlatformCreateObjectStorageCredentialWithResponse(ctx context.Context, id string, body PlatformCreateObjectStorageCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformCreateObjectStorageCredentialResponse, error)
// PlatformDeleteObjectStorageCredentialWithResponse Revoke bucket credential
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /platform/v1/object-storage/buckets/{id}/credentials/{credential_id} (the `PlatformDeleteObjectStorageCredential` operationId).
PlatformDeleteObjectStorageCredentialWithResponse(ctx context.Context, id string, credentialId string, reqEditors ...RequestEditorFn) (*PlatformDeleteObjectStorageCredentialResponse, error)
// PlatformResizeObjectStorageBucketWithBodyWithResponse Increase an organization bucket's storage quota
//
// Requests an absolute byte quota for an active billable bucket. A confirmed target is safe to retry. While an increase is pending, the bucket list reports the last confirmed quota and the requested target.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /platform/v1/object-storage/buckets/{id}/quota (the `PlatformResizeObjectStorageBucket` operationId).
PlatformResizeObjectStorageBucketWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PlatformResizeObjectStorageBucketResponse, error)
// PlatformResizeObjectStorageBucketWithResponse Increase an organization bucket's storage quota
//
// Requests an absolute byte quota for an active billable bucket. A confirmed target is safe to retry. While an increase is pending, the bucket list reports the last confirmed quota and the requested target.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /platform/v1/object-storage/buckets/{id}/quota (the `PlatformResizeObjectStorageBucket` operationId).
PlatformResizeObjectStorageBucketWithResponse(ctx context.Context, id string, body PlatformResizeObjectStorageBucketJSONRequestBody, reqEditors ...RequestEditorFn) (*PlatformResizeObjectStorageBucketResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ClusterBody ¶
type ClusterBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ClusterBody.json
Schema *string `json:"$schema,omitempty"`
// CreatedAt RFC 3339 creation time
CreatedAt string `json:"created_at"`
// Currency ISO 4217 currency of price_cents
Currency *string `json:"currency,omitempty"`
// Endpoint Cluster API endpoint (when running)
Endpoint *string `json:"endpoint,omitempty"`
// Id Cluster ID
Id string `json:"id"`
// Name Cluster display name (a DNS label)
Name string `json:"name"`
// Offering Cluster placement product: shared_nodes or private_nodes
Offering string `json:"offering"`
// PriceCents Server-side monthly price in minor units
PriceCents *int64 `json:"price_cents,omitempty"`
// PublicIpv4Address Reserved dedicated public IPv4 address
PublicIpv4Address *string `json:"public_ipv4_address,omitempty"`
// Ready Control plane ready + kubeconfig available
Ready bool `json:"ready"`
// Spec The cluster's resource spec
Spec SpecBody `json:"spec"`
// State Cluster state
State string `json:"state"`
// StateVersion Optimistic-concurrency version of the state
StateVersion int64 `json:"state_version"`
// UpdatedAt RFC 3339 last-update time
UpdatedAt string `json:"updated_at"`
}
ClusterBody defines model for ClusterBody.
type ClusterQuoteOutputBody ¶
type ClusterQuoteOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ClusterQuoteOutputBody.json
Schema *string `json:"$schema,omitempty"`
// Price The server-computed monthly price
Price PriceBody `json:"price"`
// Spec The priced spec (echoed)
Spec SpecBody `json:"spec"`
}
ClusterQuoteOutputBody defines model for ClusterQuoteOutputBody.
type CreatedCredential ¶
type CreatedCredential struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/CreatedCredential.json
Schema *string `json:"$schema,omitempty"`
Credential Credential `json:"credential"`
SecretAccessKey string `json:"secret_access_key"`
}
CreatedCredential defines model for CreatedCredential.
type Credential ¶
type Credential struct {
AccessKeyId *string `json:"access_key_id,omitempty"`
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
Name string `json:"name"`
State string `json:"state"`
WriteAccess bool `json:"write_access"`
}
Credential defines model for Credential.
type DailyUsage ¶
type DailyUsage struct {
Day string `json:"day"`
DurationMs float64 `json:"duration_ms"`
Errors int64 `json:"errors"`
RateLimited int64 `json:"rate_limited"`
Requests int64 `json:"requests"`
}
DailyUsage defines model for DailyUsage.
type DnssecKeyBody ¶ added in v0.1.1
type DnssecKeyBody struct {
// Algorithm DNSKEY algorithm
Algorithm int32 `json:"algorithm"`
// Ds Matching DS records as RDATA
Ds nullable.Nullable[[]string] `json:"ds"`
// Flags DNSKEY flags
Flags int32 `json:"flags"`
// Protocol DNSKEY protocol
Protocol int32 `json:"protocol"`
// PublicKey Public DNSKEY material
PublicKey string `json:"public_key"`
}
DnssecKeyBody defines model for DnssecKeyBody.
type DomainBody ¶
type DomainBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainBody.json
Schema *string `json:"$schema,omitempty"`
// CreatedAt RFC 3339 creation time
CreatedAt string `json:"created_at"`
// ExpiresAt RFC 3339 expiry, when known
ExpiresAt *string `json:"expires_at,omitempty"`
// Fqdn The managed domain
Fqdn string `json:"fqdn"`
// Nameservers Delegation nameservers
Nameservers nullable.Nullable[[]string] `json:"nameservers,omitempty"`
// Status Domain status
Status string `json:"status"`
// UpdatedAt RFC 3339 last-update time
UpdatedAt string `json:"updated_at"`
}
DomainBody defines model for DomainBody.
type DomainDNSSECBody ¶ added in v0.1.1
type DomainDNSSECBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainDNSSECBody.json
Schema *string `json:"$schema,omitempty"`
// Keys Public delegation keys; never private signing material
Keys nullable.Nullable[[]DnssecKeyBody] `json:"keys"`
// Managed Whether the domain uses platform nameservers
Managed bool `json:"managed"`
// RegistrarConfigured Whether matching delegation material is confirmed at the registrar
RegistrarConfigured bool `json:"registrar_configured"`
// Signing Whether authoritative DNSSEC signing is enabled
Signing bool `json:"signing"`
// Validated Whether DNSSEC validation is confirmed
Validated bool `json:"validated"`
}
DomainDNSSECBody defines model for DomainDNSSECBody.
type ErrorDetail ¶
type ErrorDetail struct {
// Location Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Location *string `json:"location,omitempty"`
// Message Error message text
Message *string `json:"message,omitempty"`
// Value The value at the given location
Value interface{} `json:"value,omitempty"`
}
ErrorDetail defines model for ErrorDetail.
type ErrorModel ¶
type ErrorModel struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ErrorModel.json
Schema *string `json:"$schema,omitempty"`
// Detail A human-readable explanation specific to this occurrence of the problem.
//
// Examples: Property foo is required but is missing.
Detail *string `json:"detail,omitempty"`
// Errors Optional list of individual error details
Errors nullable.Nullable[[]ErrorDetail] `json:"errors,omitempty"`
// Instance A URI reference that identifies the specific occurrence of the problem.
//
// Examples: https://example.com/error-log/abc123
Instance *string `json:"instance,omitempty"`
// Status HTTP status code
//
// Examples: 400
Status *int64 `json:"status,omitempty"`
// Title A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
//
// Examples: Bad Request
Title *string `json:"title,omitempty"`
// Type A URI reference to human-readable documentation for the error.
//
// Examples: https://example.com/errors/example
Type *string `json:"type,omitempty"`
}
ErrorModel defines model for ErrorModel.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type KubeconfigOutputBody ¶
type KubeconfigOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/KubeconfigOutputBody.json
Schema *string `json:"$schema,omitempty"`
// Kubeconfig Cluster kubeconfig (YAML). Sensitive — never logged.
Kubeconfig string `json:"kubeconfig"`
}
KubeconfigOutputBody defines model for KubeconfigOutputBody.
type Limits ¶
type Limits struct {
MaxBucketBytes int64 `json:"max_bucket_bytes"`
MaxBuckets int64 `json:"max_buckets"`
MaxCredentialsPerBucket int64 `json:"max_credentials_per_bucket"`
MaxTotalBytes int64 `json:"max_total_bytes"`
}
Limits defines model for Limits.
type ListAuditEventsOutputBody ¶
type ListAuditEventsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ListAuditEventsOutputBody.json
Schema *string `json:"$schema,omitempty"`
// Events The tenant's audit trail across orders, clusters, and object storage, newest first
Events nullable.Nullable[[]AuditEventBody] `json:"events"`
// NextBefore Exclusive cursor for the next older page; empty when exhausted
NextBefore string `json:"next_before"`
}
ListAuditEventsOutputBody defines model for ListAuditEventsOutputBody.
type ListClustersOutputBody ¶
type ListClustersOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ListClustersOutputBody.json
Schema *string `json:"$schema,omitempty"`
// Clusters The tenant's clusters, newest first
Clusters nullable.Nullable[[]ClusterBody] `json:"clusters"`
}
ListClustersOutputBody defines model for ListClustersOutputBody.
type ListDomainsOutputBody ¶
type ListDomainsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ListDomainsOutputBody.json
Schema *string `json:"$schema,omitempty"`
// Domains The tenant's managed domains, newest first
Domains nullable.Nullable[[]DomainBody] `json:"domains"`
}
ListDomainsOutputBody defines model for ListDomainsOutputBody.
type ListRecordsOutputBody ¶
type ListRecordsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ListRecordsOutputBody.json
Schema *string `json:"$schema,omitempty"`
// Records The zone's record sets
Records nullable.Nullable[[]RecordBody] `json:"records"`
}
ListRecordsOutputBody defines model for ListRecordsOutputBody.
type NameserverInput ¶
type NameserverInput struct {
// Host Nameserver hostname
Host string `json:"host"`
// Ipv4 Optional IPv4 glue
Ipv4 *string `json:"ipv4,omitempty"`
// Ipv6 Optional IPv6 glue
Ipv6 *string `json:"ipv6,omitempty"`
}
NameserverInput defines model for NameserverInput.
type ObjectStorageBucketsOutputBody ¶
type ObjectStorageBucketsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ObjectStorageBucketsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Buckets nullable.Nullable[[]Bucket] `json:"buckets"`
}
ObjectStorageBucketsOutputBody defines model for ObjectStorageBucketsOutputBody.
type ObjectStorageCreateBucketInputBody ¶
type ObjectStorageCreateBucketInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ObjectStorageCreateBucketInputBody.json
Schema *string `json:"$schema,omitempty"`
Name string `json:"name"`
// QuotaBytes Requested initial quota in bytes. Omit to use the standard bucket size.
QuotaBytes *int64 `json:"quota_bytes,omitempty"`
TariffVersion ObjectStorageCreateBucketInputBodyTariffVersion `json:"tariff_version"`
}
ObjectStorageCreateBucketInputBody defines model for ObjectStorageCreateBucketInputBody.
type ObjectStorageCreateBucketInputBodyTariffVersion ¶ added in v0.1.1
type ObjectStorageCreateBucketInputBodyTariffVersion string
ObjectStorageCreateBucketInputBodyTariffVersion defines model for ObjectStorageCreateBucketInputBody.TariffVersion.
const (
ObjectStorageV1 ObjectStorageCreateBucketInputBodyTariffVersion = "object-storage-v1"
)
Defines values for ObjectStorageCreateBucketInputBodyTariffVersion.
func (ObjectStorageCreateBucketInputBodyTariffVersion) Valid ¶ added in v0.1.1
func (e ObjectStorageCreateBucketInputBodyTariffVersion) Valid() bool
Valid indicates whether the value is a known member of the ObjectStorageCreateBucketInputBodyTariffVersion enum.
type ObjectStorageCreateCredentialInputBody ¶
type ObjectStorageCreateCredentialInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ObjectStorageCreateCredentialInputBody.json
Schema *string `json:"$schema,omitempty"`
Name string `json:"name"`
WriteAccess bool `json:"write_access"`
}
ObjectStorageCreateCredentialInputBody defines model for ObjectStorageCreateCredentialInputBody.
type ObjectStorageCredentialsOutputBody ¶
type ObjectStorageCredentialsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ObjectStorageCredentialsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Credentials nullable.Nullable[[]Credential] `json:"credentials"`
}
ObjectStorageCredentialsOutputBody defines model for ObjectStorageCredentialsOutputBody.
type ObjectStorageQuotaInputBody ¶ added in v0.1.1
type ObjectStorageQuotaInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ObjectStorageQuotaInputBody.json
Schema *string `json:"$schema,omitempty"`
// QuotaBytes Absolute new bucket quota in bytes.
QuotaBytes int64 `json:"quota_bytes"`
}
ObjectStorageQuotaInputBody defines model for ObjectStorageQuotaInputBody.
type PlatformCreateObjectStorageBucketJSONRequestBody ¶
type PlatformCreateObjectStorageBucketJSONRequestBody = ObjectStorageCreateBucketInputBody
PlatformCreateObjectStorageBucketJSONRequestBody defines body for PlatformCreateObjectStorageBucket for application/json ContentType.
type PlatformCreateObjectStorageBucketResponse ¶
type PlatformCreateObjectStorageBucketResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Bucket
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *Bucket
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ErrorModel
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ErrorModel
// ApplicationproblemJSON402 the response for an HTTP 402 `application/problem+json` response
ApplicationproblemJSON402 *ErrorModel
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ErrorModel
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ErrorModel
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ErrorModel
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ErrorModel
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ErrorModel
}
func ParsePlatformCreateObjectStorageBucketResponse ¶
func ParsePlatformCreateObjectStorageBucketResponse(rsp *http.Response) (*PlatformCreateObjectStorageBucketResponse, error)
ParsePlatformCreateObjectStorageBucketResponse parses an HTTP response from a PlatformCreateObjectStorageBucketWithResponse call
func (PlatformCreateObjectStorageBucketResponse) ContentType ¶
func (r PlatformCreateObjectStorageBucketResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON400 ¶
func (r PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON400() *ErrorModel
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON401 ¶
func (r PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON401() *ErrorModel
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON402 ¶ added in v0.1.1
func (r PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON402() *ErrorModel
GetApplicationproblemJSON402 returns the response for an HTTP 402 `application/problem+json` response
func (PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON403 ¶
func (r PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON403() *ErrorModel
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON409 ¶
func (r PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON409() *ErrorModel
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON422 ¶
func (r PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON422() *ErrorModel
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON500 ¶
func (r PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON500() *ErrorModel
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON503 ¶
func (r PlatformCreateObjectStorageBucketResponse) GetApplicationproblemJSON503() *ErrorModel
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (PlatformCreateObjectStorageBucketResponse) GetBody ¶
func (r PlatformCreateObjectStorageBucketResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformCreateObjectStorageBucketResponse) GetJSON201 ¶
func (r PlatformCreateObjectStorageBucketResponse) GetJSON201() *Bucket
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PlatformCreateObjectStorageBucketResponse) GetJSON202 ¶ added in v0.1.1
func (r PlatformCreateObjectStorageBucketResponse) GetJSON202() *Bucket
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PlatformCreateObjectStorageBucketResponse) Status ¶
func (r PlatformCreateObjectStorageBucketResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformCreateObjectStorageBucketResponse) StatusCode ¶
func (r PlatformCreateObjectStorageBucketResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformCreateObjectStorageCredentialJSONRequestBody ¶
type PlatformCreateObjectStorageCredentialJSONRequestBody = ObjectStorageCreateCredentialInputBody
PlatformCreateObjectStorageCredentialJSONRequestBody defines body for PlatformCreateObjectStorageCredential for application/json ContentType.
type PlatformCreateObjectStorageCredentialResponse ¶
type PlatformCreateObjectStorageCredentialResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CreatedCredential
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformCreateObjectStorageCredentialResponse ¶
func ParsePlatformCreateObjectStorageCredentialResponse(rsp *http.Response) (*PlatformCreateObjectStorageCredentialResponse, error)
ParsePlatformCreateObjectStorageCredentialResponse parses an HTTP response from a PlatformCreateObjectStorageCredentialWithResponse call
func (PlatformCreateObjectStorageCredentialResponse) ContentType ¶
func (r PlatformCreateObjectStorageCredentialResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformCreateObjectStorageCredentialResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformCreateObjectStorageCredentialResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformCreateObjectStorageCredentialResponse) GetBody ¶
func (r PlatformCreateObjectStorageCredentialResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformCreateObjectStorageCredentialResponse) GetJSON201 ¶
func (r PlatformCreateObjectStorageCredentialResponse) GetJSON201() *CreatedCredential
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PlatformCreateObjectStorageCredentialResponse) Status ¶
func (r PlatformCreateObjectStorageCredentialResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformCreateObjectStorageCredentialResponse) StatusCode ¶
func (r PlatformCreateObjectStorageCredentialResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformDeleteClusterParams ¶
type PlatformDeleteClusterParams struct {
// IdempotencyKey Required client-chosen key making the action idempotent
IdempotencyKey string `json:"Idempotency-Key"`
}
PlatformDeleteClusterParams defines parameters for PlatformDeleteCluster.
type PlatformDeleteClusterResponse ¶
type PlatformDeleteClusterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ClusterBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformDeleteClusterResponse ¶
func ParsePlatformDeleteClusterResponse(rsp *http.Response) (*PlatformDeleteClusterResponse, error)
ParsePlatformDeleteClusterResponse parses an HTTP response from a PlatformDeleteClusterWithResponse call
func (PlatformDeleteClusterResponse) ContentType ¶
func (r PlatformDeleteClusterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformDeleteClusterResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformDeleteClusterResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformDeleteClusterResponse) GetBody ¶
func (r PlatformDeleteClusterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformDeleteClusterResponse) GetJSON202 ¶
func (r PlatformDeleteClusterResponse) GetJSON202() *ClusterBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PlatformDeleteClusterResponse) Status ¶
func (r PlatformDeleteClusterResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformDeleteClusterResponse) StatusCode ¶
func (r PlatformDeleteClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformDeleteDNSRecordResponse ¶
type PlatformDeleteDNSRecordResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformDeleteDNSRecordResponse ¶
func ParsePlatformDeleteDNSRecordResponse(rsp *http.Response) (*PlatformDeleteDNSRecordResponse, error)
ParsePlatformDeleteDNSRecordResponse parses an HTTP response from a PlatformDeleteDNSRecordWithResponse call
func (PlatformDeleteDNSRecordResponse) ContentType ¶
func (r PlatformDeleteDNSRecordResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformDeleteDNSRecordResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformDeleteDNSRecordResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformDeleteDNSRecordResponse) GetBody ¶
func (r PlatformDeleteDNSRecordResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformDeleteDNSRecordResponse) Status ¶
func (r PlatformDeleteDNSRecordResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformDeleteDNSRecordResponse) StatusCode ¶
func (r PlatformDeleteDNSRecordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformDeleteObjectStorageBucketResponse ¶
type PlatformDeleteObjectStorageBucketResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ErrorModel
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ErrorModel
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ErrorModel
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ErrorModel
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ErrorModel
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ErrorModel
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ErrorModel
}
func ParsePlatformDeleteObjectStorageBucketResponse ¶
func ParsePlatformDeleteObjectStorageBucketResponse(rsp *http.Response) (*PlatformDeleteObjectStorageBucketResponse, error)
ParsePlatformDeleteObjectStorageBucketResponse parses an HTTP response from a PlatformDeleteObjectStorageBucketWithResponse call
func (PlatformDeleteObjectStorageBucketResponse) ContentType ¶
func (r PlatformDeleteObjectStorageBucketResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON401 ¶
func (r PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON401() *ErrorModel
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON403 ¶
func (r PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON403() *ErrorModel
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON404 ¶
func (r PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON404() *ErrorModel
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON409 ¶
func (r PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON409() *ErrorModel
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON422 ¶
func (r PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON422() *ErrorModel
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON500 ¶
func (r PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON500() *ErrorModel
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON503 ¶
func (r PlatformDeleteObjectStorageBucketResponse) GetApplicationproblemJSON503() *ErrorModel
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (PlatformDeleteObjectStorageBucketResponse) GetBody ¶
func (r PlatformDeleteObjectStorageBucketResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformDeleteObjectStorageBucketResponse) Status ¶
func (r PlatformDeleteObjectStorageBucketResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformDeleteObjectStorageBucketResponse) StatusCode ¶
func (r PlatformDeleteObjectStorageBucketResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformDeleteObjectStorageCredentialResponse ¶
type PlatformDeleteObjectStorageCredentialResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ErrorModel
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ErrorModel
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ErrorModel
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ErrorModel
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ErrorModel
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ErrorModel
}
func ParsePlatformDeleteObjectStorageCredentialResponse ¶
func ParsePlatformDeleteObjectStorageCredentialResponse(rsp *http.Response) (*PlatformDeleteObjectStorageCredentialResponse, error)
ParsePlatformDeleteObjectStorageCredentialResponse parses an HTTP response from a PlatformDeleteObjectStorageCredentialWithResponse call
func (PlatformDeleteObjectStorageCredentialResponse) ContentType ¶
func (r PlatformDeleteObjectStorageCredentialResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON401 ¶
func (r PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON401() *ErrorModel
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON403 ¶
func (r PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON403() *ErrorModel
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON404 ¶
func (r PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON404() *ErrorModel
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON422 ¶
func (r PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON422() *ErrorModel
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON500 ¶
func (r PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON500() *ErrorModel
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON503 ¶
func (r PlatformDeleteObjectStorageCredentialResponse) GetApplicationproblemJSON503() *ErrorModel
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (PlatformDeleteObjectStorageCredentialResponse) GetBody ¶
func (r PlatformDeleteObjectStorageCredentialResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformDeleteObjectStorageCredentialResponse) Status ¶
func (r PlatformDeleteObjectStorageCredentialResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformDeleteObjectStorageCredentialResponse) StatusCode ¶
func (r PlatformDeleteObjectStorageCredentialResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformEnableDomainDNSSECResponse ¶ added in v0.1.1
type PlatformEnableDomainDNSSECResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainDNSSECBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformEnableDomainDNSSECResponse ¶ added in v0.1.1
func ParsePlatformEnableDomainDNSSECResponse(rsp *http.Response) (*PlatformEnableDomainDNSSECResponse, error)
ParsePlatformEnableDomainDNSSECResponse parses an HTTP response from a PlatformEnableDomainDNSSECWithResponse call
func (PlatformEnableDomainDNSSECResponse) ContentType ¶ added in v0.1.1
func (r PlatformEnableDomainDNSSECResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformEnableDomainDNSSECResponse) GetApplicationproblemJSONDefault ¶ added in v0.1.1
func (r PlatformEnableDomainDNSSECResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformEnableDomainDNSSECResponse) GetBody ¶ added in v0.1.1
func (r PlatformEnableDomainDNSSECResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformEnableDomainDNSSECResponse) GetJSON200 ¶ added in v0.1.1
func (r PlatformEnableDomainDNSSECResponse) GetJSON200() *DomainDNSSECBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformEnableDomainDNSSECResponse) Status ¶ added in v0.1.1
func (r PlatformEnableDomainDNSSECResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformEnableDomainDNSSECResponse) StatusCode ¶ added in v0.1.1
func (r PlatformEnableDomainDNSSECResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformGetClusterCatalogResponse ¶
type PlatformGetClusterCatalogResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CatalogBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformGetClusterCatalogResponse ¶
func ParsePlatformGetClusterCatalogResponse(rsp *http.Response) (*PlatformGetClusterCatalogResponse, error)
ParsePlatformGetClusterCatalogResponse parses an HTTP response from a PlatformGetClusterCatalogWithResponse call
func (PlatformGetClusterCatalogResponse) ContentType ¶
func (r PlatformGetClusterCatalogResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformGetClusterCatalogResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformGetClusterCatalogResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformGetClusterCatalogResponse) GetBody ¶
func (r PlatformGetClusterCatalogResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformGetClusterCatalogResponse) GetJSON200 ¶
func (r PlatformGetClusterCatalogResponse) GetJSON200() *CatalogBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformGetClusterCatalogResponse) Status ¶
func (r PlatformGetClusterCatalogResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformGetClusterCatalogResponse) StatusCode ¶
func (r PlatformGetClusterCatalogResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformGetClusterKubeconfigResponse ¶
type PlatformGetClusterKubeconfigResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *KubeconfigOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *PlatformGetClusterKubeconfigResponse200Headers
}
func ParsePlatformGetClusterKubeconfigResponse ¶
func ParsePlatformGetClusterKubeconfigResponse(rsp *http.Response) (*PlatformGetClusterKubeconfigResponse, error)
ParsePlatformGetClusterKubeconfigResponse parses an HTTP response from a PlatformGetClusterKubeconfigWithResponse call
func (PlatformGetClusterKubeconfigResponse) ContentType ¶
func (r PlatformGetClusterKubeconfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformGetClusterKubeconfigResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformGetClusterKubeconfigResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformGetClusterKubeconfigResponse) GetBody ¶
func (r PlatformGetClusterKubeconfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformGetClusterKubeconfigResponse) GetJSON200 ¶
func (r PlatformGetClusterKubeconfigResponse) GetJSON200() *KubeconfigOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformGetClusterKubeconfigResponse) Status ¶
func (r PlatformGetClusterKubeconfigResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformGetClusterKubeconfigResponse) StatusCode ¶
func (r PlatformGetClusterKubeconfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformGetClusterKubeconfigResponse200Headers ¶
type PlatformGetClusterKubeconfigResponse200Headers struct {
CacheControl *string
}
PlatformGetClusterKubeconfigResponse200Headers the declared response headers of an HTTP 200 response for PlatformGetClusterKubeconfig
type PlatformGetClusterResponse ¶
type PlatformGetClusterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ClusterBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformGetClusterResponse ¶
func ParsePlatformGetClusterResponse(rsp *http.Response) (*PlatformGetClusterResponse, error)
ParsePlatformGetClusterResponse parses an HTTP response from a PlatformGetClusterWithResponse call
func (PlatformGetClusterResponse) ContentType ¶
func (r PlatformGetClusterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformGetClusterResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformGetClusterResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformGetClusterResponse) GetBody ¶
func (r PlatformGetClusterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformGetClusterResponse) GetJSON200 ¶
func (r PlatformGetClusterResponse) GetJSON200() *ClusterBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformGetClusterResponse) Status ¶
func (r PlatformGetClusterResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformGetClusterResponse) StatusCode ¶
func (r PlatformGetClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformGetDeveloperLimitsResponse ¶
type PlatformGetDeveloperLimitsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Result
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformGetDeveloperLimitsResponse ¶
func ParsePlatformGetDeveloperLimitsResponse(rsp *http.Response) (*PlatformGetDeveloperLimitsResponse, error)
ParsePlatformGetDeveloperLimitsResponse parses an HTTP response from a PlatformGetDeveloperLimitsWithResponse call
func (PlatformGetDeveloperLimitsResponse) ContentType ¶
func (r PlatformGetDeveloperLimitsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformGetDeveloperLimitsResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformGetDeveloperLimitsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformGetDeveloperLimitsResponse) GetBody ¶
func (r PlatformGetDeveloperLimitsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformGetDeveloperLimitsResponse) GetJSON200 ¶
func (r PlatformGetDeveloperLimitsResponse) GetJSON200() *Result
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformGetDeveloperLimitsResponse) Status ¶
func (r PlatformGetDeveloperLimitsResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformGetDeveloperLimitsResponse) StatusCode ¶
func (r PlatformGetDeveloperLimitsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformGetDeveloperUsageParams ¶
type PlatformGetDeveloperUsageParams struct {
Product *string `form:"product,omitempty" json:"product,omitempty"`
Environment *PlatformGetDeveloperUsageParamsEnvironment `form:"environment,omitempty" json:"environment,omitempty"`
ClientId *string `form:"client_id,omitempty" json:"client_id,omitempty"`
From *time.Time `form:"from,omitempty" json:"from,omitempty"`
Until *time.Time `form:"until,omitempty" json:"until,omitempty"`
}
PlatformGetDeveloperUsageParams defines parameters for PlatformGetDeveloperUsage.
type PlatformGetDeveloperUsageParamsEnvironment ¶
type PlatformGetDeveloperUsageParamsEnvironment string
PlatformGetDeveloperUsageParamsEnvironment defines parameters for PlatformGetDeveloperUsage.
const ( PlatformGetDeveloperUsageParamsEnvironmentProduction PlatformGetDeveloperUsageParamsEnvironment = "production" PlatformGetDeveloperUsageParamsEnvironmentTest PlatformGetDeveloperUsageParamsEnvironment = "test" )
Defines values for PlatformGetDeveloperUsageParamsEnvironment.
func (PlatformGetDeveloperUsageParamsEnvironment) Valid ¶
func (e PlatformGetDeveloperUsageParamsEnvironment) Valid() bool
Valid indicates whether the value is a known member of the PlatformGetDeveloperUsageParamsEnvironment enum.
type PlatformGetDeveloperUsageResponse ¶
type PlatformGetDeveloperUsageResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Usage
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformGetDeveloperUsageResponse ¶
func ParsePlatformGetDeveloperUsageResponse(rsp *http.Response) (*PlatformGetDeveloperUsageResponse, error)
ParsePlatformGetDeveloperUsageResponse parses an HTTP response from a PlatformGetDeveloperUsageWithResponse call
func (PlatformGetDeveloperUsageResponse) ContentType ¶
func (r PlatformGetDeveloperUsageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformGetDeveloperUsageResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformGetDeveloperUsageResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformGetDeveloperUsageResponse) GetBody ¶
func (r PlatformGetDeveloperUsageResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformGetDeveloperUsageResponse) GetJSON200 ¶
func (r PlatformGetDeveloperUsageResponse) GetJSON200() *Usage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformGetDeveloperUsageResponse) Status ¶
func (r PlatformGetDeveloperUsageResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformGetDeveloperUsageResponse) StatusCode ¶
func (r PlatformGetDeveloperUsageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformGetDomainAuthCodeResponse ¶
type PlatformGetDomainAuthCodeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AuthCodeOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformGetDomainAuthCodeResponse ¶
func ParsePlatformGetDomainAuthCodeResponse(rsp *http.Response) (*PlatformGetDomainAuthCodeResponse, error)
ParsePlatformGetDomainAuthCodeResponse parses an HTTP response from a PlatformGetDomainAuthCodeWithResponse call
func (PlatformGetDomainAuthCodeResponse) ContentType ¶
func (r PlatformGetDomainAuthCodeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformGetDomainAuthCodeResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformGetDomainAuthCodeResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformGetDomainAuthCodeResponse) GetBody ¶
func (r PlatformGetDomainAuthCodeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformGetDomainAuthCodeResponse) GetJSON200 ¶
func (r PlatformGetDomainAuthCodeResponse) GetJSON200() *AuthCodeOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformGetDomainAuthCodeResponse) Status ¶
func (r PlatformGetDomainAuthCodeResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformGetDomainAuthCodeResponse) StatusCode ¶
func (r PlatformGetDomainAuthCodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformGetDomainContactsResponse ¶
type PlatformGetDomainContactsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RegistrantInput
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *PlatformGetDomainContactsResponse200Headers
}
func ParsePlatformGetDomainContactsResponse ¶
func ParsePlatformGetDomainContactsResponse(rsp *http.Response) (*PlatformGetDomainContactsResponse, error)
ParsePlatformGetDomainContactsResponse parses an HTTP response from a PlatformGetDomainContactsWithResponse call
func (PlatformGetDomainContactsResponse) ContentType ¶
func (r PlatformGetDomainContactsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformGetDomainContactsResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformGetDomainContactsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformGetDomainContactsResponse) GetBody ¶
func (r PlatformGetDomainContactsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformGetDomainContactsResponse) GetJSON200 ¶
func (r PlatformGetDomainContactsResponse) GetJSON200() *RegistrantInput
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformGetDomainContactsResponse) Status ¶
func (r PlatformGetDomainContactsResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformGetDomainContactsResponse) StatusCode ¶
func (r PlatformGetDomainContactsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformGetDomainContactsResponse200Headers ¶
type PlatformGetDomainContactsResponse200Headers struct {
CacheControl *string
}
PlatformGetDomainContactsResponse200Headers the declared response headers of an HTTP 200 response for PlatformGetDomainContacts
type PlatformGetDomainDNSSECResponse ¶ added in v0.1.1
type PlatformGetDomainDNSSECResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainDNSSECBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformGetDomainDNSSECResponse ¶ added in v0.1.1
func ParsePlatformGetDomainDNSSECResponse(rsp *http.Response) (*PlatformGetDomainDNSSECResponse, error)
ParsePlatformGetDomainDNSSECResponse parses an HTTP response from a PlatformGetDomainDNSSECWithResponse call
func (PlatformGetDomainDNSSECResponse) ContentType ¶ added in v0.1.1
func (r PlatformGetDomainDNSSECResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformGetDomainDNSSECResponse) GetApplicationproblemJSONDefault ¶ added in v0.1.1
func (r PlatformGetDomainDNSSECResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformGetDomainDNSSECResponse) GetBody ¶ added in v0.1.1
func (r PlatformGetDomainDNSSECResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformGetDomainDNSSECResponse) GetJSON200 ¶ added in v0.1.1
func (r PlatformGetDomainDNSSECResponse) GetJSON200() *DomainDNSSECBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformGetDomainDNSSECResponse) Status ¶ added in v0.1.1
func (r PlatformGetDomainDNSSECResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformGetDomainDNSSECResponse) StatusCode ¶ added in v0.1.1
func (r PlatformGetDomainDNSSECResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformGetDomainResponse ¶
type PlatformGetDomainResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformGetDomainResponse ¶
func ParsePlatformGetDomainResponse(rsp *http.Response) (*PlatformGetDomainResponse, error)
ParsePlatformGetDomainResponse parses an HTTP response from a PlatformGetDomainWithResponse call
func (PlatformGetDomainResponse) ContentType ¶
func (r PlatformGetDomainResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformGetDomainResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformGetDomainResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformGetDomainResponse) GetBody ¶
func (r PlatformGetDomainResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformGetDomainResponse) GetJSON200 ¶
func (r PlatformGetDomainResponse) GetJSON200() *DomainBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformGetDomainResponse) Status ¶
func (r PlatformGetDomainResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformGetDomainResponse) StatusCode ¶
func (r PlatformGetDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformGetObjectStorageCatalogResponse ¶
type PlatformGetObjectStorageCatalogResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Catalog
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformGetObjectStorageCatalogResponse ¶
func ParsePlatformGetObjectStorageCatalogResponse(rsp *http.Response) (*PlatformGetObjectStorageCatalogResponse, error)
ParsePlatformGetObjectStorageCatalogResponse parses an HTTP response from a PlatformGetObjectStorageCatalogWithResponse call
func (PlatformGetObjectStorageCatalogResponse) ContentType ¶
func (r PlatformGetObjectStorageCatalogResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformGetObjectStorageCatalogResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformGetObjectStorageCatalogResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformGetObjectStorageCatalogResponse) GetBody ¶
func (r PlatformGetObjectStorageCatalogResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformGetObjectStorageCatalogResponse) GetJSON200 ¶
func (r PlatformGetObjectStorageCatalogResponse) GetJSON200() *Catalog
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformGetObjectStorageCatalogResponse) Status ¶
func (r PlatformGetObjectStorageCatalogResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformGetObjectStorageCatalogResponse) StatusCode ¶
func (r PlatformGetObjectStorageCatalogResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformListAuditEventsParams ¶
type PlatformListAuditEventsParams struct {
// Limit Max rows (default 100)
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// Before Exclusive cursor returned by the preceding page
Before *string `form:"before,omitempty" json:"before,omitempty"`
}
PlatformListAuditEventsParams defines parameters for PlatformListAuditEvents.
type PlatformListAuditEventsResponse ¶
type PlatformListAuditEventsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListAuditEventsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformListAuditEventsResponse ¶
func ParsePlatformListAuditEventsResponse(rsp *http.Response) (*PlatformListAuditEventsResponse, error)
ParsePlatformListAuditEventsResponse parses an HTTP response from a PlatformListAuditEventsWithResponse call
func (PlatformListAuditEventsResponse) ContentType ¶
func (r PlatformListAuditEventsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformListAuditEventsResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformListAuditEventsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformListAuditEventsResponse) GetBody ¶
func (r PlatformListAuditEventsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformListAuditEventsResponse) GetJSON200 ¶
func (r PlatformListAuditEventsResponse) GetJSON200() *ListAuditEventsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformListAuditEventsResponse) Status ¶
func (r PlatformListAuditEventsResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformListAuditEventsResponse) StatusCode ¶
func (r PlatformListAuditEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformListClustersResponse ¶
type PlatformListClustersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListClustersOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformListClustersResponse ¶
func ParsePlatformListClustersResponse(rsp *http.Response) (*PlatformListClustersResponse, error)
ParsePlatformListClustersResponse parses an HTTP response from a PlatformListClustersWithResponse call
func (PlatformListClustersResponse) ContentType ¶
func (r PlatformListClustersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformListClustersResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformListClustersResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformListClustersResponse) GetBody ¶
func (r PlatformListClustersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformListClustersResponse) GetJSON200 ¶
func (r PlatformListClustersResponse) GetJSON200() *ListClustersOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformListClustersResponse) Status ¶
func (r PlatformListClustersResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformListClustersResponse) StatusCode ¶
func (r PlatformListClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformListDNSRecordsResponse ¶
type PlatformListDNSRecordsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListRecordsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformListDNSRecordsResponse ¶
func ParsePlatformListDNSRecordsResponse(rsp *http.Response) (*PlatformListDNSRecordsResponse, error)
ParsePlatformListDNSRecordsResponse parses an HTTP response from a PlatformListDNSRecordsWithResponse call
func (PlatformListDNSRecordsResponse) ContentType ¶
func (r PlatformListDNSRecordsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformListDNSRecordsResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformListDNSRecordsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformListDNSRecordsResponse) GetBody ¶
func (r PlatformListDNSRecordsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformListDNSRecordsResponse) GetJSON200 ¶
func (r PlatformListDNSRecordsResponse) GetJSON200() *ListRecordsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformListDNSRecordsResponse) Status ¶
func (r PlatformListDNSRecordsResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformListDNSRecordsResponse) StatusCode ¶
func (r PlatformListDNSRecordsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformListDomainsResponse ¶
type PlatformListDomainsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListDomainsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformListDomainsResponse ¶
func ParsePlatformListDomainsResponse(rsp *http.Response) (*PlatformListDomainsResponse, error)
ParsePlatformListDomainsResponse parses an HTTP response from a PlatformListDomainsWithResponse call
func (PlatformListDomainsResponse) ContentType ¶
func (r PlatformListDomainsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformListDomainsResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformListDomainsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformListDomainsResponse) GetBody ¶
func (r PlatformListDomainsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformListDomainsResponse) GetJSON200 ¶
func (r PlatformListDomainsResponse) GetJSON200() *ListDomainsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformListDomainsResponse) Status ¶
func (r PlatformListDomainsResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformListDomainsResponse) StatusCode ¶
func (r PlatformListDomainsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformListObjectStorageBucketsResponse ¶
type PlatformListObjectStorageBucketsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ObjectStorageBucketsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformListObjectStorageBucketsResponse ¶
func ParsePlatformListObjectStorageBucketsResponse(rsp *http.Response) (*PlatformListObjectStorageBucketsResponse, error)
ParsePlatformListObjectStorageBucketsResponse parses an HTTP response from a PlatformListObjectStorageBucketsWithResponse call
func (PlatformListObjectStorageBucketsResponse) ContentType ¶
func (r PlatformListObjectStorageBucketsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformListObjectStorageBucketsResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformListObjectStorageBucketsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformListObjectStorageBucketsResponse) GetBody ¶
func (r PlatformListObjectStorageBucketsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformListObjectStorageBucketsResponse) GetJSON200 ¶
func (r PlatformListObjectStorageBucketsResponse) GetJSON200() *ObjectStorageBucketsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformListObjectStorageBucketsResponse) Status ¶
func (r PlatformListObjectStorageBucketsResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformListObjectStorageBucketsResponse) StatusCode ¶
func (r PlatformListObjectStorageBucketsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformListObjectStorageCredentialsResponse ¶
type PlatformListObjectStorageCredentialsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ObjectStorageCredentialsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformListObjectStorageCredentialsResponse ¶
func ParsePlatformListObjectStorageCredentialsResponse(rsp *http.Response) (*PlatformListObjectStorageCredentialsResponse, error)
ParsePlatformListObjectStorageCredentialsResponse parses an HTTP response from a PlatformListObjectStorageCredentialsWithResponse call
func (PlatformListObjectStorageCredentialsResponse) ContentType ¶
func (r PlatformListObjectStorageCredentialsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformListObjectStorageCredentialsResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformListObjectStorageCredentialsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformListObjectStorageCredentialsResponse) GetBody ¶
func (r PlatformListObjectStorageCredentialsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformListObjectStorageCredentialsResponse) GetJSON200 ¶
func (r PlatformListObjectStorageCredentialsResponse) GetJSON200() *ObjectStorageCredentialsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformListObjectStorageCredentialsResponse) Status ¶
func (r PlatformListObjectStorageCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformListObjectStorageCredentialsResponse) StatusCode ¶
func (r PlatformListObjectStorageCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformQuoteClusterJSONRequestBody ¶
type PlatformQuoteClusterJSONRequestBody = SpecReqBody
PlatformQuoteClusterJSONRequestBody defines body for PlatformQuoteCluster for application/json ContentType.
type PlatformQuoteClusterResponse ¶
type PlatformQuoteClusterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ClusterQuoteOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformQuoteClusterResponse ¶
func ParsePlatformQuoteClusterResponse(rsp *http.Response) (*PlatformQuoteClusterResponse, error)
ParsePlatformQuoteClusterResponse parses an HTTP response from a PlatformQuoteClusterWithResponse call
func (PlatformQuoteClusterResponse) ContentType ¶
func (r PlatformQuoteClusterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformQuoteClusterResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformQuoteClusterResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformQuoteClusterResponse) GetBody ¶
func (r PlatformQuoteClusterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformQuoteClusterResponse) GetJSON200 ¶
func (r PlatformQuoteClusterResponse) GetJSON200() *ClusterQuoteOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformQuoteClusterResponse) Status ¶
func (r PlatformQuoteClusterResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformQuoteClusterResponse) StatusCode ¶
func (r PlatformQuoteClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformResetDomainAuthCodeResponse ¶
type PlatformResetDomainAuthCodeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AuthCodeOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformResetDomainAuthCodeResponse ¶
func ParsePlatformResetDomainAuthCodeResponse(rsp *http.Response) (*PlatformResetDomainAuthCodeResponse, error)
ParsePlatformResetDomainAuthCodeResponse parses an HTTP response from a PlatformResetDomainAuthCodeWithResponse call
func (PlatformResetDomainAuthCodeResponse) ContentType ¶
func (r PlatformResetDomainAuthCodeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformResetDomainAuthCodeResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformResetDomainAuthCodeResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformResetDomainAuthCodeResponse) GetBody ¶
func (r PlatformResetDomainAuthCodeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformResetDomainAuthCodeResponse) GetJSON200 ¶
func (r PlatformResetDomainAuthCodeResponse) GetJSON200() *AuthCodeOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformResetDomainAuthCodeResponse) Status ¶
func (r PlatformResetDomainAuthCodeResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformResetDomainAuthCodeResponse) StatusCode ¶
func (r PlatformResetDomainAuthCodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformResizeClusterJSONRequestBody ¶
type PlatformResizeClusterJSONRequestBody = ResizeClusterInputBody
PlatformResizeClusterJSONRequestBody defines body for PlatformResizeCluster for application/json ContentType.
type PlatformResizeClusterParams ¶
type PlatformResizeClusterParams struct {
// IdempotencyKey Required client-chosen key making the resize idempotent
IdempotencyKey string `json:"Idempotency-Key"`
}
PlatformResizeClusterParams defines parameters for PlatformResizeCluster.
type PlatformResizeClusterResponse ¶
type PlatformResizeClusterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ClusterBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformResizeClusterResponse ¶
func ParsePlatformResizeClusterResponse(rsp *http.Response) (*PlatformResizeClusterResponse, error)
ParsePlatformResizeClusterResponse parses an HTTP response from a PlatformResizeClusterWithResponse call
func (PlatformResizeClusterResponse) ContentType ¶
func (r PlatformResizeClusterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformResizeClusterResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformResizeClusterResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformResizeClusterResponse) GetBody ¶
func (r PlatformResizeClusterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformResizeClusterResponse) GetJSON202 ¶
func (r PlatformResizeClusterResponse) GetJSON202() *ClusterBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PlatformResizeClusterResponse) Status ¶
func (r PlatformResizeClusterResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformResizeClusterResponse) StatusCode ¶
func (r PlatformResizeClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformResizeObjectStorageBucketJSONRequestBody ¶ added in v0.1.1
type PlatformResizeObjectStorageBucketJSONRequestBody = ObjectStorageQuotaInputBody
PlatformResizeObjectStorageBucketJSONRequestBody defines body for PlatformResizeObjectStorageBucket for application/json ContentType.
type PlatformResizeObjectStorageBucketResponse ¶ added in v0.1.1
type PlatformResizeObjectStorageBucketResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Bucket
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *Bucket
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *ErrorModel
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *ErrorModel
// ApplicationproblemJSON402 the response for an HTTP 402 `application/problem+json` response
ApplicationproblemJSON402 *ErrorModel
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *ErrorModel
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *ErrorModel
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *ErrorModel
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *ErrorModel
// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
ApplicationproblemJSON500 *ErrorModel
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *ErrorModel
}
func ParsePlatformResizeObjectStorageBucketResponse ¶ added in v0.1.1
func ParsePlatformResizeObjectStorageBucketResponse(rsp *http.Response) (*PlatformResizeObjectStorageBucketResponse, error)
ParsePlatformResizeObjectStorageBucketResponse parses an HTTP response from a PlatformResizeObjectStorageBucketWithResponse call
func (PlatformResizeObjectStorageBucketResponse) ContentType ¶ added in v0.1.1
func (r PlatformResizeObjectStorageBucketResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON400 ¶ added in v0.1.1
func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON400() *ErrorModel
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON401 ¶ added in v0.1.1
func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON401() *ErrorModel
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON402 ¶ added in v0.1.1
func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON402() *ErrorModel
GetApplicationproblemJSON402 returns the response for an HTTP 402 `application/problem+json` response
func (PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON403 ¶ added in v0.1.1
func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON403() *ErrorModel
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON404 ¶ added in v0.1.1
func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON404() *ErrorModel
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON409 ¶ added in v0.1.1
func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON409() *ErrorModel
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON422 ¶ added in v0.1.1
func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON422() *ErrorModel
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON500 ¶ added in v0.1.1
func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON500() *ErrorModel
GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response
func (PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON503 ¶ added in v0.1.1
func (r PlatformResizeObjectStorageBucketResponse) GetApplicationproblemJSON503() *ErrorModel
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (PlatformResizeObjectStorageBucketResponse) GetBody ¶ added in v0.1.1
func (r PlatformResizeObjectStorageBucketResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformResizeObjectStorageBucketResponse) GetJSON200 ¶ added in v0.1.1
func (r PlatformResizeObjectStorageBucketResponse) GetJSON200() *Bucket
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformResizeObjectStorageBucketResponse) GetJSON202 ¶ added in v0.1.1
func (r PlatformResizeObjectStorageBucketResponse) GetJSON202() *Bucket
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PlatformResizeObjectStorageBucketResponse) Status ¶ added in v0.1.1
func (r PlatformResizeObjectStorageBucketResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformResizeObjectStorageBucketResponse) StatusCode ¶ added in v0.1.1
func (r PlatformResizeObjectStorageBucketResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformResumeClusterParams ¶
type PlatformResumeClusterParams struct {
// IdempotencyKey Required client-chosen key making the action idempotent
IdempotencyKey string `json:"Idempotency-Key"`
}
PlatformResumeClusterParams defines parameters for PlatformResumeCluster.
type PlatformResumeClusterResponse ¶
type PlatformResumeClusterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ClusterBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformResumeClusterResponse ¶
func ParsePlatformResumeClusterResponse(rsp *http.Response) (*PlatformResumeClusterResponse, error)
ParsePlatformResumeClusterResponse parses an HTTP response from a PlatformResumeClusterWithResponse call
func (PlatformResumeClusterResponse) ContentType ¶
func (r PlatformResumeClusterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformResumeClusterResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformResumeClusterResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformResumeClusterResponse) GetBody ¶
func (r PlatformResumeClusterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformResumeClusterResponse) GetJSON202 ¶
func (r PlatformResumeClusterResponse) GetJSON202() *ClusterBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PlatformResumeClusterResponse) Status ¶
func (r PlatformResumeClusterResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformResumeClusterResponse) StatusCode ¶
func (r PlatformResumeClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformRotateClusterKubeconfigParams ¶
type PlatformRotateClusterKubeconfigParams struct {
// IdempotencyKey Required client-chosen key making the action idempotent
IdempotencyKey string `json:"Idempotency-Key"`
}
PlatformRotateClusterKubeconfigParams defines parameters for PlatformRotateClusterKubeconfig.
type PlatformRotateClusterKubeconfigResponse ¶
type PlatformRotateClusterKubeconfigResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ClusterBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformRotateClusterKubeconfigResponse ¶
func ParsePlatformRotateClusterKubeconfigResponse(rsp *http.Response) (*PlatformRotateClusterKubeconfigResponse, error)
ParsePlatformRotateClusterKubeconfigResponse parses an HTTP response from a PlatformRotateClusterKubeconfigWithResponse call
func (PlatformRotateClusterKubeconfigResponse) ContentType ¶
func (r PlatformRotateClusterKubeconfigResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformRotateClusterKubeconfigResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformRotateClusterKubeconfigResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformRotateClusterKubeconfigResponse) GetBody ¶
func (r PlatformRotateClusterKubeconfigResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformRotateClusterKubeconfigResponse) GetJSON202 ¶
func (r PlatformRotateClusterKubeconfigResponse) GetJSON202() *ClusterBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PlatformRotateClusterKubeconfigResponse) Status ¶
func (r PlatformRotateClusterKubeconfigResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformRotateClusterKubeconfigResponse) StatusCode ¶
func (r PlatformRotateClusterKubeconfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformSetDomainNameserversJSONRequestBody ¶
type PlatformSetDomainNameserversJSONRequestBody = SetNameserversInputBody
PlatformSetDomainNameserversJSONRequestBody defines body for PlatformSetDomainNameservers for application/json ContentType.
type PlatformSetDomainNameserversResponse ¶
type PlatformSetDomainNameserversResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformSetDomainNameserversResponse ¶
func ParsePlatformSetDomainNameserversResponse(rsp *http.Response) (*PlatformSetDomainNameserversResponse, error)
ParsePlatformSetDomainNameserversResponse parses an HTTP response from a PlatformSetDomainNameserversWithResponse call
func (PlatformSetDomainNameserversResponse) ContentType ¶
func (r PlatformSetDomainNameserversResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformSetDomainNameserversResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformSetDomainNameserversResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformSetDomainNameserversResponse) GetBody ¶
func (r PlatformSetDomainNameserversResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformSetDomainNameserversResponse) Status ¶
func (r PlatformSetDomainNameserversResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformSetDomainNameserversResponse) StatusCode ¶
func (r PlatformSetDomainNameserversResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformSuspendClusterParams ¶
type PlatformSuspendClusterParams struct {
// IdempotencyKey Required client-chosen key making the action idempotent
IdempotencyKey string `json:"Idempotency-Key"`
}
PlatformSuspendClusterParams defines parameters for PlatformSuspendCluster.
type PlatformSuspendClusterResponse ¶
type PlatformSuspendClusterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ClusterBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformSuspendClusterResponse ¶
func ParsePlatformSuspendClusterResponse(rsp *http.Response) (*PlatformSuspendClusterResponse, error)
ParsePlatformSuspendClusterResponse parses an HTTP response from a PlatformSuspendClusterWithResponse call
func (PlatformSuspendClusterResponse) ContentType ¶
func (r PlatformSuspendClusterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformSuspendClusterResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformSuspendClusterResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformSuspendClusterResponse) GetBody ¶
func (r PlatformSuspendClusterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformSuspendClusterResponse) GetJSON202 ¶
func (r PlatformSuspendClusterResponse) GetJSON202() *ClusterBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PlatformSuspendClusterResponse) Status ¶
func (r PlatformSuspendClusterResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformSuspendClusterResponse) StatusCode ¶
func (r PlatformSuspendClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformUpdateDomainContactsJSONRequestBody ¶
type PlatformUpdateDomainContactsJSONRequestBody = UpdateContactsInputBody
PlatformUpdateDomainContactsJSONRequestBody defines body for PlatformUpdateDomainContacts for application/json ContentType.
type PlatformUpdateDomainContactsResponse ¶
type PlatformUpdateDomainContactsResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformUpdateDomainContactsResponse ¶
func ParsePlatformUpdateDomainContactsResponse(rsp *http.Response) (*PlatformUpdateDomainContactsResponse, error)
ParsePlatformUpdateDomainContactsResponse parses an HTTP response from a PlatformUpdateDomainContactsWithResponse call
func (PlatformUpdateDomainContactsResponse) ContentType ¶
func (r PlatformUpdateDomainContactsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformUpdateDomainContactsResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformUpdateDomainContactsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformUpdateDomainContactsResponse) GetBody ¶
func (r PlatformUpdateDomainContactsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformUpdateDomainContactsResponse) Status ¶
func (r PlatformUpdateDomainContactsResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformUpdateDomainContactsResponse) StatusCode ¶
func (r PlatformUpdateDomainContactsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlatformUpsertDNSRecordJSONRequestBody ¶
type PlatformUpsertDNSRecordJSONRequestBody = RecordUpsertBody
PlatformUpsertDNSRecordJSONRequestBody defines body for PlatformUpsertDNSRecord for application/json ContentType.
type PlatformUpsertDNSRecordResponse ¶
type PlatformUpsertDNSRecordResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RecordBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlatformUpsertDNSRecordResponse ¶
func ParsePlatformUpsertDNSRecordResponse(rsp *http.Response) (*PlatformUpsertDNSRecordResponse, error)
ParsePlatformUpsertDNSRecordResponse parses an HTTP response from a PlatformUpsertDNSRecordWithResponse call
func (PlatformUpsertDNSRecordResponse) ContentType ¶
func (r PlatformUpsertDNSRecordResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlatformUpsertDNSRecordResponse) GetApplicationproblemJSONDefault ¶
func (r PlatformUpsertDNSRecordResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlatformUpsertDNSRecordResponse) GetBody ¶
func (r PlatformUpsertDNSRecordResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlatformUpsertDNSRecordResponse) GetJSON200 ¶
func (r PlatformUpsertDNSRecordResponse) GetJSON200() *RecordBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlatformUpsertDNSRecordResponse) Status ¶
func (r PlatformUpsertDNSRecordResponse) Status() string
Status returns HTTPResponse.Status
func (PlatformUpsertDNSRecordResponse) StatusCode ¶
func (r PlatformUpsertDNSRecordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PresetBody ¶
type PresetBody struct {
// Name Preset label (small/medium/large)
Name string `json:"name"`
// Price The preset's monthly price
Price PriceBody `json:"price"`
// Spec The preset's spec (fully editable)
Spec SpecBody `json:"spec"`
}
PresetBody defines model for PresetBody.
type PriceBody ¶
type PriceBody struct {
// AmountCents Monthly price in minor units
AmountCents int64 `json:"amount_cents"`
// Currency ISO 4217 currency
Currency string `json:"currency"`
// Interval Billing interval (monthly)
Interval string `json:"interval"`
}
PriceBody defines model for PriceBody.
type ProductUsage ¶
type ProductUsage struct {
DurationMs float64 `json:"duration_ms"`
Errors int64 `json:"errors"`
Product string `json:"product"`
RateLimited int64 `json:"rate_limited"`
Requests int64 `json:"requests"`
}
ProductUsage defines model for ProductUsage.
type RateCardBody ¶
type RateCardBody struct {
// BaseCents Fixed managed-control-plane fee per month
BaseCents int64 `json:"base_cents"`
// Currency ISO 4217 currency
Currency string `json:"currency"`
// PerMemoryGibCents Per guaranteed memory GiB / month
PerMemoryGibCents int64 `json:"per_memory_gib_cents"`
// PerPublicIpv4Cents One dedicated public IPv4 address / month
PerPublicIpv4Cents int64 `json:"per_public_ipv4_cents"`
// PerStorageGibCents Per storage GiB / month
PerStorageGibCents int64 `json:"per_storage_gib_cents"`
// PerVcpuCents Per guaranteed vCPU / month
PerVcpuCents int64 `json:"per_vcpu_cents"`
}
RateCardBody defines model for RateCardBody.
type RateLimitBucket ¶
type RateLimitBucket struct {
Remaining int32 `json:"remaining"`
RequestsPerWindow int32 `json:"requests_per_window"`
ResetAfterSeconds int64 `json:"reset_after_seconds"`
Scope RateLimitBucketScope `json:"scope"`
WindowSeconds int64 `json:"window_seconds"`
}
RateLimitBucket defines model for RateLimitBucket.
type RateLimitBucketScope ¶
type RateLimitBucketScope string
RateLimitBucketScope defines model for RateLimitBucket.Scope.
const ( RateScopeClient RateLimitBucketScope = "client" RateScopeOrganization RateLimitBucketScope = "organization" )
Defines values for RateLimitBucketScope.
func (RateLimitBucketScope) Valid ¶
func (e RateLimitBucketScope) Valid() bool
Valid indicates whether the value is a known member of the RateLimitBucketScope enum.
type RecordBody ¶
type RecordBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/RecordBody.json
Schema *string `json:"$schema,omitempty"`
// Name Record name (FQDN)
Name string `json:"name"`
// ReadOnly True for platform-managed sets (SOA, apex NS) that cannot be edited
ReadOnly bool `json:"read_only"`
// Records Record contents
Records nullable.Nullable[[]string] `json:"records"`
// Ttl Time-to-live in seconds
Ttl int64 `json:"ttl"`
// Type Record type
Type string `json:"type"`
}
RecordBody defines model for RecordBody.
type RecordUpsertBody ¶
type RecordUpsertBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/RecordUpsertBody.json
Schema *string `json:"$schema,omitempty"`
// Records Record contents for this name+type
Records nullable.Nullable[[]string] `json:"records"`
// Ttl Time-to-live in seconds (default 3600)
Ttl *int64 `json:"ttl,omitempty"`
}
RecordUpsertBody defines model for RecordUpsertBody.
type RegistrantInput ¶
type RegistrantInput struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/RegistrantInput.json
Schema *string `json:"$schema,omitempty"`
// City City
City string `json:"city"`
CompanyName *string `json:"company_name,omitempty"`
// Country ISO 3166-1 alpha-2 country code
Country string `json:"country"`
// Email Registrant contact email
Email openapi_types.Email `json:"email"`
// FirstName Registrant given name
FirstName string `json:"first_name"`
// LastName Registrant family name
LastName string `json:"last_name"`
// Phone Registrant phone in canonical E.164, e.g. +49301234567
Phone string `json:"phone"`
RegistrationData *RegistrationData `json:"registration_data,omitempty"`
State *string `json:"state,omitempty"`
// Street Street address
Street string `json:"street"`
StreetNumber *string `json:"street_number,omitempty"`
// Zipcode Postal code
Zipcode string `json:"zipcode"`
}
RegistrantInput defines model for RegistrantInput.
type RegistrationData ¶
type RegistrationData struct {
Customer *map[string]string `json:"customer,omitempty"`
Domain *map[string]string `json:"domain,omitempty"`
}
RegistrationData defines model for RegistrationData.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResizeClusterInputBody ¶
type ResizeClusterInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ResizeClusterInputBody.json
Schema *string `json:"$schema,omitempty"`
// Spec Target spec; grow-only (a shrink or same-spec is rejected)
Spec SpecReqBody `json:"spec"`
}
ResizeClusterInputBody defines model for ResizeClusterInputBody.
type Result ¶
type Result struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/Result.json
Schema *string `json:"$schema,omitempty"`
Buckets nullable.Nullable[[]RateLimitBucket] `json:"buckets"`
ClientId string `json:"client_id"`
Environment ResultEnvironment `json:"environment"`
ObservedAt time.Time `json:"observed_at"`
OverLimit bool `json:"over_limit"`
}
Result defines model for Result.
type ResultEnvironment ¶
type ResultEnvironment string
ResultEnvironment defines model for Result.Environment.
const ( ResultEnvironmentProduction ResultEnvironment = "production" ResultEnvironmentTest ResultEnvironment = "test" )
Defines values for ResultEnvironment.
func (ResultEnvironment) Valid ¶
func (e ResultEnvironment) Valid() bool
Valid indicates whether the value is a known member of the ResultEnvironment enum.
type SetNameserversInputBody ¶
type SetNameserversInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/SetNameserversInputBody.json
Schema *string `json:"$schema,omitempty"`
// Nameservers Delegation nameservers
Nameservers nullable.Nullable[[]NameserverInput] `json:"nameservers"`
}
SetNameserversInputBody defines model for SetNameserversInputBody.
type SpecBody ¶
type SpecBody struct {
// MemoryGib Guaranteed memory (GiB)
MemoryGib int64 `json:"memory_gib"`
// PublicIpv4 One dedicated public IPv4 address (EUR 1.50/month)
PublicIpv4 bool `json:"public_ipv4"`
// StorageGib Provisioned storage (GiB)
StorageGib int64 `json:"storage_gib"`
// Vcpu Guaranteed vCPUs
Vcpu int64 `json:"vcpu"`
}
SpecBody defines model for SpecBody.
type SpecReqBody ¶
type SpecReqBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/SpecReqBody.json
Schema *string `json:"$schema,omitempty"`
// MemoryGib Guaranteed memory in GiB (2–256; at most 16×vcpu)
//
// Examples: 16
MemoryGib int64 `json:"memory_gib"`
// PublicIpv4 Add one dedicated public IPv4 address when available
PublicIpv4 *bool `json:"public_ipv4,omitempty"`
// StorageGib Provisioned storage in GiB (10–4096)
//
// Examples: 100
StorageGib int64 `json:"storage_gib"`
// Vcpu Guaranteed vCPUs (1–64)
//
// Examples: 4
Vcpu int64 `json:"vcpu"`
}
SpecReqBody defines model for SpecReqBody.
type Tariff ¶ added in v0.1.1
type Tariff struct {
BaseHourlyEur string `json:"base_hourly_eur"`
BaseMonthlyCapEur string `json:"base_monthly_cap_eur"`
EgressEurPerTb string `json:"egress_eur_per_tb"`
IncludedEgressBytesPerHour int64 `json:"included_egress_bytes_per_hour"`
IncludedStorageBytes int64 `json:"included_storage_bytes"`
StorageEurPerTbHour string `json:"storage_eur_per_tb_hour"`
Version string `json:"version"`
}
Tariff defines model for Tariff.
type Totals ¶
type Totals struct {
DurationMs float64 `json:"duration_ms"`
Errors int64 `json:"errors"`
RateLimited int64 `json:"rate_limited"`
Requests int64 `json:"requests"`
}
Totals defines model for Totals.
type UpdateContactsInputBody ¶
type UpdateContactsInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/UpdateContactsInputBody.json
Schema *string `json:"$schema,omitempty"`
// Registrant Domain registrant (owner). Personal data — minimized and never logged.
Registrant RegistrantInput `json:"registrant"`
}
UpdateContactsInputBody defines model for UpdateContactsInputBody.
type Usage ¶
type Usage struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/Usage.json
Schema *string `json:"$schema,omitempty"`
ByProduct nullable.Nullable[[]ProductUsage] `json:"by_product"`
CollectionGaps24h int64 `json:"collection_gaps_24h"`
CoverageFrom time.Time `json:"coverage_from"`
CoveredProducts nullable.Nullable[[]string] `json:"covered_products"`
Daily nullable.Nullable[[]DailyUsage] `json:"daily"`
Environment UsageEnvironment `json:"environment"`
From time.Time `json:"from"`
ObservedAt time.Time `json:"observed_at"`
Totals Totals `json:"totals"`
Until time.Time `json:"until"`
}
Usage defines model for Usage.
type UsageEnvironment ¶
type UsageEnvironment string
UsageEnvironment defines model for Usage.Environment.
const ( UsageEnvironmentProduction UsageEnvironment = "production" UsageEnvironmentTest UsageEnvironment = "test" )
Defines values for UsageEnvironment.
func (UsageEnvironment) Valid ¶
func (e UsageEnvironment) Valid() bool
Valid indicates whether the value is a known member of the UsageEnvironment enum.