clusters

package
v2.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package clusters provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateClusterRequest

func NewCreateClusterRequest(server string, body CreateClusterJSONRequestBody) (*http.Request, error)

NewCreateClusterRequest calls the generic CreateCluster builder with application/json body

func NewCreateClusterRequestWithBody

func NewCreateClusterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateClusterRequestWithBody constructs an http.Request for the CreateCluster method, with any body, and a specified content type

func NewDeleteClusterRequest

func NewDeleteClusterRequest(server string, id string) (*http.Request, error)

NewDeleteClusterRequest constructs an http.Request for the DeleteCluster method

func NewGetClusterRequest

func NewGetClusterRequest(server string, id string) (*http.Request, error)

NewGetClusterRequest constructs an http.Request for the GetCluster method

func NewListClusterPodsRequest

func NewListClusterPodsRequest(server string, id string) (*http.Request, error)

NewListClusterPodsRequest constructs an http.Request for the ListClusterPods method

func NewListClustersRequest

func NewListClustersRequest(server string, params *ListClustersParams) (*http.Request, error)

NewListClustersRequest constructs an http.Request for the ListClusters method

func NewUpdateClusterRequest

func NewUpdateClusterRequest(server string, id string, body UpdateClusterJSONRequestBody) (*http.Request, error)

NewUpdateClusterRequest calls the generic UpdateCluster builder with application/json body

func NewUpdateClusterRequestWithBody

func NewUpdateClusterRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateClusterRequestWithBody constructs an http.Request for the UpdateCluster method, with any body, and a specified content type

Types

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) CreateCluster

func (c *Client) CreateCluster(ctx context.Context, body CreateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateCluster Create a cluster

Creates a multi-node cluster. `compute` sets the homogeneous pod shape; the container configuration applies to every pod and can be spread from a template response.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/clusters (the `CreateCluster` operationId).

func (*Client) CreateClusterWithBody

func (c *Client) CreateClusterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateClusterWithBody Create a cluster

Creates a multi-node cluster. `compute` sets the homogeneous pod shape; the container configuration applies to every pod and can be spread from a template response.

Takes any type of body and a specified content type.

Corresponds with POST /v2/clusters (the `CreateCluster` operationId).

func (*Client) DeleteCluster

func (c *Client) DeleteCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteCluster Delete a cluster

Permanently deletes a cluster and terminates all of its member pods.

Corresponds with DELETE /v2/clusters/{id} (the `DeleteCluster` operationId).

func (*Client) GetCluster

func (c *Client) GetCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetCluster Get a cluster

Returns a single cluster by ID. The pods field is an aggregate summary (total + count by status); fetch the member pods themselves from /v2/clusters/{id}/pods.

Corresponds with GET /v2/clusters/{id} (the `GetCluster` operationId).

func (*Client) ListClusterPods

func (c *Client) ListClusterPods(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

ListClusterPods List a cluster's pods

Returns the full member pods of a cluster. The cluster summary (`GET /v2/clusters/{id}`) carries only aggregate pod counts; this endpoint returns each member as a complete Pod object.

Corresponds with GET /v2/clusters/{id}/pods (the `ListClusterPods` operationId).

func (*Client) ListClusters

func (c *Client) ListClusters(ctx context.Context, params *ListClustersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListClusters List clusters

Returns clusters owned by the authenticated user, cursor-paginated newest-first; an omitted `limit` defaults to 1000. Follow `pagination.nextCursor` until `hasNextPage` is false.

Corresponds with GET /v2/clusters (the `ListClusters` operationId).

func (*Client) UpdateCluster

func (c *Client) UpdateCluster(ctx context.Context, id string, body UpdateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateCluster Rename a cluster

Renames a cluster. This endpoint only changes the cluster name — compute shape, type, and container configuration are fixed at creation and cannot be updated.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/clusters/{id} (the `UpdateCluster` operationId).

func (*Client) UpdateClusterWithBody

func (c *Client) UpdateClusterWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateClusterWithBody Rename a cluster

Renames a cluster. This endpoint only changes the cluster name — compute shape, type, and container configuration are fixed at creation and cannot be updated.

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/clusters/{id} (the `UpdateCluster` operationId).

type ClientInterface

type ClientInterface interface {

	// ListClusters List clusters
	//
	// Returns clusters owned by the authenticated user, cursor-paginated
	// newest-first; an omitted `limit` defaults to 1000. Follow
	// `pagination.nextCursor` until `hasNextPage` is false.
	//
	// Corresponds with GET /v2/clusters (the `ListClusters` operationId).
	ListClusters(ctx context.Context, params *ListClustersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateClusterWithBody Create a cluster
	//
	// Creates a multi-node cluster. `compute` sets the homogeneous
	// pod shape; the container configuration applies to every pod and can be spread
	// from a template response.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/clusters (the `CreateCluster` operationId).
	CreateClusterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCluster Create a cluster
	//
	// Creates a multi-node cluster. `compute` sets the homogeneous
	// pod shape; the container configuration applies to every pod and can be spread
	// from a template response.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/clusters (the `CreateCluster` operationId).
	CreateCluster(ctx context.Context, body CreateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCluster Delete a cluster
	//
	// Permanently deletes a cluster and terminates all of its member pods.
	//
	// Corresponds with DELETE /v2/clusters/{id} (the `DeleteCluster` operationId).
	DeleteCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCluster Get a cluster
	//
	// Returns a single cluster by ID. The pods field is an aggregate summary (total + count by status); fetch the member pods themselves from /v2/clusters/{id}/pods.
	//
	// Corresponds with GET /v2/clusters/{id} (the `GetCluster` operationId).
	GetCluster(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateClusterWithBody Rename a cluster
	//
	// Renames a cluster. This endpoint only changes the cluster
	// name — compute shape, type, and container configuration are fixed at
	// creation and cannot be updated.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/clusters/{id} (the `UpdateCluster` operationId).
	UpdateClusterWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateCluster Rename a cluster
	//
	// Renames a cluster. This endpoint only changes the cluster
	// name — compute shape, type, and container configuration are fixed at
	// creation and cannot be updated.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/clusters/{id} (the `UpdateCluster` operationId).
	UpdateCluster(ctx context.Context, id string, body UpdateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListClusterPods List a cluster's pods
	//
	// Returns the full member pods of a cluster. The cluster summary (`GET /v2/clusters/{id}`) carries only aggregate pod counts; this endpoint returns each member as a complete Pod object.
	//
	// Corresponds with GET /v2/clusters/{id}/pods (the `ListClusterPods` operationId).
	ListClusterPods(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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) CreateClusterWithBodyWithResponse

func (c *ClientWithResponses) CreateClusterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClusterResult, error)

CreateClusterWithBodyWithResponse Create a cluster

Creates a multi-node cluster. `compute` sets the homogeneous pod shape; the container configuration applies to every pod and can be spread from a template response.

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 /v2/clusters (the `CreateCluster` operationId).

func (*ClientWithResponses) CreateClusterWithResponse

func (c *ClientWithResponses) CreateClusterWithResponse(ctx context.Context, body CreateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClusterResult, error)

CreateClusterWithResponse Create a cluster

Creates a multi-node cluster. `compute` sets the homogeneous pod shape; the container configuration applies to every pod and can be spread from a template response.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/clusters (the `CreateCluster` operationId).

func (*ClientWithResponses) DeleteClusterWithResponse

func (c *ClientWithResponses) DeleteClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteClusterResult, error)

DeleteClusterWithResponse Delete a cluster

Permanently deletes a cluster and terminates all of its member pods.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/clusters/{id} (the `DeleteCluster` operationId).

func (*ClientWithResponses) GetClusterWithResponse

func (c *ClientWithResponses) GetClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetClusterResult, error)

GetClusterWithResponse Get a cluster

Returns a single cluster by ID. The pods field is an aggregate summary (total + count by status); fetch the member pods themselves from /v2/clusters/{id}/pods.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/clusters/{id} (the `GetCluster` operationId).

func (*ClientWithResponses) ListClusterPodsWithResponse

func (c *ClientWithResponses) ListClusterPodsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListClusterPodsResult, error)

ListClusterPodsWithResponse List a cluster's pods

Returns the full member pods of a cluster. The cluster summary (`GET /v2/clusters/{id}`) carries only aggregate pod counts; this endpoint returns each member as a complete Pod object.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/clusters/{id}/pods (the `ListClusterPods` operationId).

func (*ClientWithResponses) ListClustersWithResponse

func (c *ClientWithResponses) ListClustersWithResponse(ctx context.Context, params *ListClustersParams, reqEditors ...RequestEditorFn) (*ListClustersResult, error)

ListClustersWithResponse List clusters

Returns clusters owned by the authenticated user, cursor-paginated newest-first; an omitted `limit` defaults to 1000. Follow `pagination.nextCursor` until `hasNextPage` is false.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/clusters (the `ListClusters` operationId).

func (*ClientWithResponses) UpdateClusterWithBodyWithResponse

func (c *ClientWithResponses) UpdateClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClusterResult, error)

UpdateClusterWithBodyWithResponse Rename a cluster

Renames a cluster. This endpoint only changes the cluster name — compute shape, type, and container configuration are fixed at creation and cannot be updated.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/clusters/{id} (the `UpdateCluster` operationId).

func (*ClientWithResponses) UpdateClusterWithResponse

func (c *ClientWithResponses) UpdateClusterWithResponse(ctx context.Context, id string, body UpdateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateClusterResult, error)

UpdateClusterWithResponse Rename a cluster

Renames a cluster. This endpoint only changes the cluster name — compute shape, type, and container configuration are fixed at creation and cannot be updated.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/clusters/{id} (the `UpdateCluster` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// ListClustersWithResponse List clusters
	//
	// Returns clusters owned by the authenticated user, cursor-paginated
	// newest-first; an omitted `limit` defaults to 1000. Follow
	// `pagination.nextCursor` until `hasNextPage` is false.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/clusters (the `ListClusters` operationId).
	ListClustersWithResponse(ctx context.Context, params *ListClustersParams, reqEditors ...RequestEditorFn) (*ListClustersResult, error)

	// CreateClusterWithBodyWithResponse Create a cluster
	//
	// Creates a multi-node cluster. `compute` sets the homogeneous
	// pod shape; the container configuration applies to every pod and can be spread
	// from a template response.
	//
	// 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 /v2/clusters (the `CreateCluster` operationId).
	CreateClusterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateClusterResult, error)

	// CreateClusterWithResponse Create a cluster
	//
	// Creates a multi-node cluster. `compute` sets the homogeneous
	// pod shape; the container configuration applies to every pod and can be spread
	// from a template response.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/clusters (the `CreateCluster` operationId).
	CreateClusterWithResponse(ctx context.Context, body CreateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateClusterResult, error)

	// DeleteClusterWithResponse Delete a cluster
	//
	// Permanently deletes a cluster and terminates all of its member pods.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/clusters/{id} (the `DeleteCluster` operationId).
	DeleteClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteClusterResult, error)

	// GetClusterWithResponse Get a cluster
	//
	// Returns a single cluster by ID. The pods field is an aggregate summary (total + count by status); fetch the member pods themselves from /v2/clusters/{id}/pods.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/clusters/{id} (the `GetCluster` operationId).
	GetClusterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetClusterResult, error)

	// UpdateClusterWithBodyWithResponse Rename a cluster
	//
	// Renames a cluster. This endpoint only changes the cluster
	// name — compute shape, type, and container configuration are fixed at
	// creation and cannot be updated.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/clusters/{id} (the `UpdateCluster` operationId).
	UpdateClusterWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateClusterResult, error)

	// UpdateClusterWithResponse Rename a cluster
	//
	// Renames a cluster. This endpoint only changes the cluster
	// name — compute shape, type, and container configuration are fixed at
	// creation and cannot be updated.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/clusters/{id} (the `UpdateCluster` operationId).
	UpdateClusterWithResponse(ctx context.Context, id string, body UpdateClusterJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateClusterResult, error)

	// ListClusterPodsWithResponse List a cluster's pods
	//
	// Returns the full member pods of a cluster. The cluster summary (`GET /v2/clusters/{id}`) carries only aggregate pod counts; this endpoint returns each member as a complete Pod object.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/clusters/{id}/pods (the `ListClusterPods` operationId).
	ListClusterPodsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListClusterPodsResult, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateClusterJSONRequestBody

type CreateClusterJSONRequestBody = externalRef0.CreateClusterRequest

CreateClusterJSONRequestBody defines body for CreateCluster for application/json ContentType.

type CreateClusterResult

type CreateClusterResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *externalRef0.Cluster
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *externalRef0.ErrorResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
	ApplicationproblemJSON413 *externalRef0.ErrorResponse
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateClusterResult400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *CreateClusterResult403Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *CreateClusterResult413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateClusterResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateClusterResult429Headers
}

func ParseCreateClusterResult

func ParseCreateClusterResult(rsp *http.Response) (*CreateClusterResult, error)

ParseCreateClusterResult parses an HTTP response from a CreateClusterWithResponse call

func (CreateClusterResult) ContentType

func (r CreateClusterResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateClusterResult) GetApplicationproblemJSON400

func (r CreateClusterResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateClusterResult) GetApplicationproblemJSON401

func (r CreateClusterResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (CreateClusterResult) GetApplicationproblemJSON403

func (r CreateClusterResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateClusterResult) GetApplicationproblemJSON413 added in v2.1.0

func (r CreateClusterResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse

GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response

func (CreateClusterResult) GetApplicationproblemJSON422

func (r CreateClusterResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateClusterResult) GetApplicationproblemJSON429

func (r CreateClusterResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateClusterResult) GetApplicationproblemJSONDefault

func (r CreateClusterResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateClusterResult) GetBody

func (r CreateClusterResult) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateClusterResult) GetJSON201

func (r CreateClusterResult) GetJSON201() *externalRef0.Cluster

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateClusterResult) Status

func (r CreateClusterResult) Status() string

Status returns HTTPResponse.Status

func (CreateClusterResult) StatusCode

func (r CreateClusterResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateClusterResult400Headers

type CreateClusterResult400Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateClusterResult400Headers the declared response headers of an HTTP 400 response for CreateCluster

type CreateClusterResult403Headers

type CreateClusterResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateClusterResult403Headers the declared response headers of an HTTP 403 response for CreateCluster

type CreateClusterResult413Headers added in v2.1.0

type CreateClusterResult413Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateClusterResult413Headers the declared response headers of an HTTP 413 response for CreateCluster

type CreateClusterResult422Headers

type CreateClusterResult422Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

CreateClusterResult422Headers the declared response headers of an HTTP 422 response for CreateCluster

type CreateClusterResult429Headers

type CreateClusterResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

CreateClusterResult429Headers the declared response headers of an HTTP 429 response for CreateCluster

type DeleteClusterResult

type DeleteClusterResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *DeleteClusterResult403Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteClusterResult429Headers
}

func ParseDeleteClusterResult

func ParseDeleteClusterResult(rsp *http.Response) (*DeleteClusterResult, error)

ParseDeleteClusterResult parses an HTTP response from a DeleteClusterWithResponse call

func (DeleteClusterResult) ContentType

func (r DeleteClusterResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteClusterResult) GetApplicationproblemJSON401

func (r DeleteClusterResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (DeleteClusterResult) GetApplicationproblemJSON403

func (r DeleteClusterResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (DeleteClusterResult) GetApplicationproblemJSON404

func (r DeleteClusterResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteClusterResult) GetApplicationproblemJSON429

func (r DeleteClusterResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteClusterResult) GetApplicationproblemJSONDefault

func (r DeleteClusterResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteClusterResult) GetBody

func (r DeleteClusterResult) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteClusterResult) Status

func (r DeleteClusterResult) Status() string

Status returns HTTPResponse.Status

func (DeleteClusterResult) StatusCode

func (r DeleteClusterResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteClusterResult403Headers

type DeleteClusterResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

DeleteClusterResult403Headers the declared response headers of an HTTP 403 response for DeleteCluster

type DeleteClusterResult429Headers

type DeleteClusterResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

DeleteClusterResult429Headers the declared response headers of an HTTP 429 response for DeleteCluster

type GetClusterResult

type GetClusterResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.Cluster
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetClusterResult403Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetClusterResult429Headers
}

func ParseGetClusterResult

func ParseGetClusterResult(rsp *http.Response) (*GetClusterResult, error)

ParseGetClusterResult parses an HTTP response from a GetClusterWithResponse call

func (GetClusterResult) ContentType

func (r GetClusterResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetClusterResult) GetApplicationproblemJSON401

func (r GetClusterResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (GetClusterResult) GetApplicationproblemJSON403

func (r GetClusterResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetClusterResult) GetApplicationproblemJSON404

func (r GetClusterResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetClusterResult) GetApplicationproblemJSON429

func (r GetClusterResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetClusterResult) GetApplicationproblemJSONDefault

func (r GetClusterResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetClusterResult) GetBody

func (r GetClusterResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetClusterResult) GetJSON200

func (r GetClusterResult) GetJSON200() *externalRef0.Cluster

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetClusterResult) Status

func (r GetClusterResult) Status() string

Status returns HTTPResponse.Status

func (GetClusterResult) StatusCode

func (r GetClusterResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetClusterResult403Headers

type GetClusterResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

GetClusterResult403Headers the declared response headers of an HTTP 403 response for GetCluster

type GetClusterResult429Headers

type GetClusterResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

GetClusterResult429Headers the declared response headers of an HTTP 429 response for GetCluster

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ListClusterPodsResult

type ListClusterPodsResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.PodList
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ListClusterPodsResult403Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListClusterPodsResult429Headers
}

func ParseListClusterPodsResult

func ParseListClusterPodsResult(rsp *http.Response) (*ListClusterPodsResult, error)

ParseListClusterPodsResult parses an HTTP response from a ListClusterPodsWithResponse call

func (ListClusterPodsResult) ContentType

func (r ListClusterPodsResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListClusterPodsResult) GetApplicationproblemJSON401

func (r ListClusterPodsResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (ListClusterPodsResult) GetApplicationproblemJSON403

func (r ListClusterPodsResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (ListClusterPodsResult) GetApplicationproblemJSON404

func (r ListClusterPodsResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListClusterPodsResult) GetApplicationproblemJSON429

func (r ListClusterPodsResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListClusterPodsResult) GetApplicationproblemJSONDefault

func (r ListClusterPodsResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListClusterPodsResult) GetBody

func (r ListClusterPodsResult) GetBody() []byte

GetBody returns the raw response body bytes

func (ListClusterPodsResult) GetJSON200

func (r ListClusterPodsResult) GetJSON200() *externalRef0.PodList

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListClusterPodsResult) Status

func (r ListClusterPodsResult) Status() string

Status returns HTTPResponse.Status

func (ListClusterPodsResult) StatusCode

func (r ListClusterPodsResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListClusterPodsResult403Headers

type ListClusterPodsResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListClusterPodsResult403Headers the declared response headers of an HTTP 403 response for ListClusterPods

type ListClusterPodsResult429Headers

type ListClusterPodsResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

ListClusterPodsResult429Headers the declared response headers of an HTTP 429 response for ListClusterPods

type ListClustersParams added in v2.1.0

type ListClustersParams struct {
	// Filters Only return resources matching these filters, as URL-encoded JSON. The filters apply before the page is cut, so send the same value with each `cursor` to keep walking the filtered list.
	Filters *externalRef0.ResourceFilters `form:"filters,omitempty" json:"filters,omitempty"`

	// Cursor Opaque resume cursor — pass the previous response's `pagination.nextCursor` through verbatim; omit for the first page. A cursor is only valid for the operation and parameters that issued it; a malformed or foreign cursor is rejected with 422.
	Cursor *externalRef0.PaginationCursor `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Page size, 1–1000. Defaults to 1000 when omitted.
	Limit *externalRef0.PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}

ListClustersParams defines parameters for ListClusters.

type ListClustersResult

type ListClustersResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.ListClustersResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
	ApplicationproblemJSON413 *externalRef0.ErrorResponse
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ListClustersResult403Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *ListClustersResult413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ListClustersResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListClustersResult429Headers
}

func ParseListClustersResult

func ParseListClustersResult(rsp *http.Response) (*ListClustersResult, error)

ParseListClustersResult parses an HTTP response from a ListClustersWithResponse call

func (ListClustersResult) ContentType

func (r ListClustersResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListClustersResult) GetApplicationproblemJSON401

func (r ListClustersResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (ListClustersResult) GetApplicationproblemJSON403

func (r ListClustersResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (ListClustersResult) GetApplicationproblemJSON413 added in v2.1.0

func (r ListClustersResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse

GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response

func (ListClustersResult) GetApplicationproblemJSON422 added in v2.2.0

func (r ListClustersResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (ListClustersResult) GetApplicationproblemJSON429

func (r ListClustersResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListClustersResult) GetApplicationproblemJSONDefault

func (r ListClustersResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListClustersResult) GetBody

func (r ListClustersResult) GetBody() []byte

GetBody returns the raw response body bytes

func (ListClustersResult) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListClustersResult) Status

func (r ListClustersResult) Status() string

Status returns HTTPResponse.Status

func (ListClustersResult) StatusCode

func (r ListClustersResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListClustersResult403Headers

type ListClustersResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListClustersResult403Headers the declared response headers of an HTTP 403 response for ListClusters

type ListClustersResult413Headers added in v2.1.0

type ListClustersResult413Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListClustersResult413Headers the declared response headers of an HTTP 413 response for ListClusters

type ListClustersResult422Headers added in v2.2.0

type ListClustersResult422Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

ListClustersResult422Headers the declared response headers of an HTTP 422 response for ListClusters

type ListClustersResult429Headers

type ListClustersResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

ListClustersResult429Headers the declared response headers of an HTTP 429 response for ListClusters

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type UpdateClusterJSONRequestBody

type UpdateClusterJSONRequestBody = externalRef0.UpdateClusterRequest

UpdateClusterJSONRequestBody defines body for UpdateCluster for application/json ContentType.

type UpdateClusterResult

type UpdateClusterResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.Cluster
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *externalRef0.ErrorResponse
	// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
	ApplicationproblemJSON401 *externalRef0.ErrorResponse
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *externalRef0.ErrorResponse
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *externalRef0.ErrorResponse
	// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
	ApplicationproblemJSON413 *externalRef0.ErrorResponse
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *externalRef0.ErrorResponse
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *externalRef0.ErrorResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *externalRef0.ErrorResponse
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *UpdateClusterResult400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *UpdateClusterResult403Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *UpdateClusterResult413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateClusterResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateClusterResult429Headers
}

func ParseUpdateClusterResult

func ParseUpdateClusterResult(rsp *http.Response) (*UpdateClusterResult, error)

ParseUpdateClusterResult parses an HTTP response from a UpdateClusterWithResponse call

func (UpdateClusterResult) ContentType

func (r UpdateClusterResult) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateClusterResult) GetApplicationproblemJSON400

func (r UpdateClusterResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (UpdateClusterResult) GetApplicationproblemJSON401

func (r UpdateClusterResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse

GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response

func (UpdateClusterResult) GetApplicationproblemJSON403

func (r UpdateClusterResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (UpdateClusterResult) GetApplicationproblemJSON404

func (r UpdateClusterResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateClusterResult) GetApplicationproblemJSON413 added in v2.1.0

func (r UpdateClusterResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse

GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response

func (UpdateClusterResult) GetApplicationproblemJSON422

func (r UpdateClusterResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (UpdateClusterResult) GetApplicationproblemJSON429

func (r UpdateClusterResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateClusterResult) GetApplicationproblemJSONDefault

func (r UpdateClusterResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateClusterResult) GetBody

func (r UpdateClusterResult) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateClusterResult) GetJSON200

func (r UpdateClusterResult) GetJSON200() *externalRef0.Cluster

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateClusterResult) Status

func (r UpdateClusterResult) Status() string

Status returns HTTPResponse.Status

func (UpdateClusterResult) StatusCode

func (r UpdateClusterResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateClusterResult400Headers

type UpdateClusterResult400Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateClusterResult400Headers the declared response headers of an HTTP 400 response for UpdateCluster

type UpdateClusterResult403Headers

type UpdateClusterResult403Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateClusterResult403Headers the declared response headers of an HTTP 403 response for UpdateCluster

type UpdateClusterResult413Headers added in v2.1.0

type UpdateClusterResult413Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateClusterResult413Headers the declared response headers of an HTTP 413 response for UpdateCluster

type UpdateClusterResult422Headers

type UpdateClusterResult422Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}

UpdateClusterResult422Headers the declared response headers of an HTTP 422 response for UpdateCluster

type UpdateClusterResult429Headers

type UpdateClusterResult429Headers struct {
	RateLimit       *externalRef0.RateLimitHeader
	RateLimitPolicy *externalRef0.RateLimitPolicyHeader
	RetryAfter      *int
}

UpdateClusterResult429Headers the declared response headers of an HTTP 429 response for UpdateCluster

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL