Documentation
¶
Overview ¶
Package platform is the contract-pinned, machine-only Platform SDK.
Code generated from the pinned Platform machine contract. Do not edit.
Index ¶
- func Wait[T any](ctx context.Context, timeout time.Duration, ...) (T, error)
- type APIError
- type Client
- func (c *Client) CreateObjectStorageBucket(ctx context.Context, body gen.PlatformCreateObjectStorageBucketJSONRequestBody) (*gen.PlatformCreateObjectStorageBucketResponse, error)
- func (c *Client) CreateObjectStorageCredential(ctx context.Context, id string, ...) (*gen.PlatformCreateObjectStorageCredentialResponse, error)
- func (c *Client) DeleteCluster(ctx context.Context, id string, params *gen.PlatformDeleteClusterParams) (*gen.PlatformDeleteClusterResponse, error)
- func (c *Client) DeleteDNSRecord(ctx context.Context, domain string, name string, pType string) (*gen.PlatformDeleteDNSRecordResponse, error)
- func (c *Client) DeleteObjectStorageBucket(ctx context.Context, id string) (*gen.PlatformDeleteObjectStorageBucketResponse, error)
- func (c *Client) DeleteObjectStorageCredential(ctx context.Context, id string, credentialId string) (*gen.PlatformDeleteObjectStorageCredentialResponse, error)
- func (c *Client) EnableDomainDNSSEC(ctx context.Context, domain string) (*gen.PlatformEnableDomainDNSSECResponse, error)
- func (c *Client) GetCluster(ctx context.Context, id string) (*gen.PlatformGetClusterResponse, error)
- func (c *Client) GetClusterCatalog(ctx context.Context) (*gen.PlatformGetClusterCatalogResponse, error)
- func (c *Client) GetClusterKubeconfig(ctx context.Context, id string) (*gen.PlatformGetClusterKubeconfigResponse, error)
- func (c *Client) GetDeveloperLimits(ctx context.Context) (*gen.PlatformGetDeveloperLimitsResponse, error)
- func (c *Client) GetDeveloperUsage(ctx context.Context, params *gen.PlatformGetDeveloperUsageParams) (*gen.PlatformGetDeveloperUsageResponse, error)
- func (c *Client) GetDomain(ctx context.Context, domain string) (*gen.PlatformGetDomainResponse, error)
- func (c *Client) GetDomainAuthCode(ctx context.Context, domain string) (*gen.PlatformGetDomainAuthCodeResponse, error)
- func (c *Client) GetDomainContacts(ctx context.Context, domain string) (*gen.PlatformGetDomainContactsResponse, error)
- func (c *Client) GetDomainDNSSEC(ctx context.Context, domain string) (*gen.PlatformGetDomainDNSSECResponse, error)
- func (c *Client) GetObjectStorageCatalog(ctx context.Context) (*gen.PlatformGetObjectStorageCatalogResponse, error)
- func (c *Client) ListAuditEvents(ctx context.Context, params *gen.PlatformListAuditEventsParams) (*gen.PlatformListAuditEventsResponse, error)
- func (c *Client) ListClusters(ctx context.Context) (*gen.PlatformListClustersResponse, error)
- func (c *Client) ListDNSRecords(ctx context.Context, domain string) (*gen.PlatformListDNSRecordsResponse, error)
- func (c *Client) ListDomains(ctx context.Context) (*gen.PlatformListDomainsResponse, error)
- func (c *Client) ListObjectStorageBuckets(ctx context.Context) (*gen.PlatformListObjectStorageBucketsResponse, error)
- func (c *Client) ListObjectStorageCredentials(ctx context.Context, id string) (*gen.PlatformListObjectStorageCredentialsResponse, error)
- func (c *Client) QuoteCluster(ctx context.Context, body gen.PlatformQuoteClusterJSONRequestBody) (*gen.PlatformQuoteClusterResponse, error)
- func (c *Client) ResetDomainAuthCode(ctx context.Context, domain string) (*gen.PlatformResetDomainAuthCodeResponse, error)
- func (c *Client) ResizeCluster(ctx context.Context, id string, params *gen.PlatformResizeClusterParams, ...) (*gen.PlatformResizeClusterResponse, error)
- func (c *Client) ResizeObjectStorageBucket(ctx context.Context, id string, ...) (*gen.PlatformResizeObjectStorageBucketResponse, error)
- func (c *Client) ResumeCluster(ctx context.Context, id string, params *gen.PlatformResumeClusterParams) (*gen.PlatformResumeClusterResponse, error)
- func (c *Client) RotateClusterKubeconfig(ctx context.Context, id string, ...) (*gen.PlatformRotateClusterKubeconfigResponse, error)
- func (c *Client) SetDomainNameservers(ctx context.Context, domain string, ...) (*gen.PlatformSetDomainNameserversResponse, error)
- func (c *Client) SuspendCluster(ctx context.Context, id string, params *gen.PlatformSuspendClusterParams) (*gen.PlatformSuspendClusterResponse, error)
- func (c *Client) UpdateDomainContacts(ctx context.Context, domain string, ...) (*gen.PlatformUpdateDomainContactsResponse, error)
- func (c *Client) UpsertDNSRecord(ctx context.Context, domain string, name string, pType string, ...) (*gen.PlatformUpsertDNSRecordResponse, error)
- func (c *Client) WalkAuditEvents(ctx context.Context, limit, maxPages int, before string, ...) (string, error)
- type Profile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
NewClient accepts a preconfigured shared machine transport; injectable for offline fixtures.
func NewMachineClient ¶
NewMachineClient binds the reviewed OAuth/DPoP transport to exactly one public resource.
func (*Client) CreateObjectStorageBucket ¶
func (c *Client) CreateObjectStorageBucket(ctx context.Context, body gen.PlatformCreateObjectStorageBucketJSONRequestBody) (*gen.PlatformCreateObjectStorageBucketResponse, error)
func (*Client) CreateObjectStorageCredential ¶
func (c *Client) CreateObjectStorageCredential(ctx context.Context, id string, body gen.PlatformCreateObjectStorageCredentialJSONRequestBody) (*gen.PlatformCreateObjectStorageCredentialResponse, error)
func (*Client) DeleteCluster ¶
func (c *Client) DeleteCluster(ctx context.Context, id string, params *gen.PlatformDeleteClusterParams) (*gen.PlatformDeleteClusterResponse, error)
func (*Client) DeleteDNSRecord ¶
func (*Client) DeleteObjectStorageBucket ¶
func (*Client) DeleteObjectStorageCredential ¶
func (*Client) EnableDomainDNSSEC ¶ added in v0.1.1
func (*Client) GetCluster ¶
func (*Client) GetClusterCatalog ¶
func (*Client) GetClusterKubeconfig ¶
func (*Client) GetDeveloperLimits ¶
func (*Client) GetDeveloperUsage ¶
func (c *Client) GetDeveloperUsage(ctx context.Context, params *gen.PlatformGetDeveloperUsageParams) (*gen.PlatformGetDeveloperUsageResponse, error)
func (*Client) GetDomainAuthCode ¶
func (*Client) GetDomainContacts ¶
func (*Client) GetDomainDNSSEC ¶ added in v0.1.1
func (*Client) GetObjectStorageCatalog ¶
func (*Client) ListAuditEvents ¶
func (c *Client) ListAuditEvents(ctx context.Context, params *gen.PlatformListAuditEventsParams) (*gen.PlatformListAuditEventsResponse, error)
func (*Client) ListClusters ¶
func (*Client) ListDNSRecords ¶
func (*Client) ListDomains ¶
func (*Client) ListObjectStorageBuckets ¶
func (*Client) ListObjectStorageCredentials ¶
func (*Client) QuoteCluster ¶
func (c *Client) QuoteCluster(ctx context.Context, body gen.PlatformQuoteClusterJSONRequestBody) (*gen.PlatformQuoteClusterResponse, error)
func (*Client) ResetDomainAuthCode ¶
func (*Client) ResizeCluster ¶
func (c *Client) ResizeCluster(ctx context.Context, id string, params *gen.PlatformResizeClusterParams, body gen.PlatformResizeClusterJSONRequestBody) (*gen.PlatformResizeClusterResponse, error)
func (*Client) ResizeObjectStorageBucket ¶ added in v0.1.1
func (c *Client) ResizeObjectStorageBucket(ctx context.Context, id string, body gen.PlatformResizeObjectStorageBucketJSONRequestBody) (*gen.PlatformResizeObjectStorageBucketResponse, error)
func (*Client) ResumeCluster ¶
func (c *Client) ResumeCluster(ctx context.Context, id string, params *gen.PlatformResumeClusterParams) (*gen.PlatformResumeClusterResponse, error)
func (*Client) RotateClusterKubeconfig ¶
func (c *Client) RotateClusterKubeconfig(ctx context.Context, id string, params *gen.PlatformRotateClusterKubeconfigParams) (*gen.PlatformRotateClusterKubeconfigResponse, error)
func (*Client) SetDomainNameservers ¶
func (c *Client) SetDomainNameservers(ctx context.Context, domain string, body gen.PlatformSetDomainNameserversJSONRequestBody) (*gen.PlatformSetDomainNameserversResponse, error)
func (*Client) SuspendCluster ¶
func (c *Client) SuspendCluster(ctx context.Context, id string, params *gen.PlatformSuspendClusterParams) (*gen.PlatformSuspendClusterResponse, error)
func (*Client) UpdateDomainContacts ¶
func (c *Client) UpdateDomainContacts(ctx context.Context, domain string, body gen.PlatformUpdateDomainContactsJSONRequestBody) (*gen.PlatformUpdateDomainContactsResponse, error)