account

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 account 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 NewCreateSecretRequest

func NewCreateSecretRequest(server string, body CreateSecretJSONRequestBody) (*http.Request, error)

NewCreateSecretRequest calls the generic CreateSecret builder with application/json body

func NewCreateSecretRequestWithBody

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

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

func NewDeleteSecretRequest

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

NewDeleteSecretRequest constructs an http.Request for the DeleteSecret method

func NewGetAccountRequest added in v2.2.0

func NewGetAccountRequest(server string) (*http.Request, error)

NewGetAccountRequest constructs an http.Request for the GetAccount method

func NewGetSecretRequest

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

NewGetSecretRequest constructs an http.Request for the GetSecret method

func NewGetSshKeysRequest

func NewGetSshKeysRequest(server string) (*http.Request, error)

NewGetSshKeysRequest constructs an http.Request for the GetSshKeys method

func NewListSecretsRequest

func NewListSecretsRequest(server string, params *ListSecretsParams) (*http.Request, error)

NewListSecretsRequest constructs an http.Request for the ListSecrets method

func NewUpdateSecretRequest

func NewUpdateSecretRequest(server string, id string, body UpdateSecretJSONRequestBody) (*http.Request, error)

NewUpdateSecretRequest calls the generic UpdateSecret builder with application/json body

func NewUpdateSecretRequestWithBody

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

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

func NewUpdateSshKeysRequest

func NewUpdateSshKeysRequest(server string, body UpdateSshKeysJSONRequestBody) (*http.Request, error)

NewUpdateSshKeysRequest calls the generic UpdateSshKeys builder with application/json body

func NewUpdateSshKeysRequestWithBody

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

NewUpdateSshKeysRequestWithBody constructs an http.Request for the UpdateSshKeys 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) CreateSecret

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

CreateSecret Create a secret

Stores a new account-scoped encrypted string. `name` must be unique across the account's secrets and is immutable; `value` is write-only and can never be read back through the API.

Use the secret from pods, serverless endpoints, and templates by setting an environment variable's value to `{{ RUNPOD_SECRET_<name> }}` — Runpod substitutes the stored value when the pod or worker boots.

Returns `201` with the created secret's metadata, or `409` when the name is already taken.

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

Corresponds with POST /v2/account/secrets (the `CreateSecret` operationId).

func (*Client) CreateSecretWithBody

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

CreateSecretWithBody Create a secret

Stores a new account-scoped encrypted string. `name` must be unique across the account's secrets and is immutable; `value` is write-only and can never be read back through the API.

Use the secret from pods, serverless endpoints, and templates by setting an environment variable's value to `{{ RUNPOD_SECRET_<name> }}` — Runpod substitutes the stored value when the pod or worker boots.

Returns `201` with the created secret's metadata, or `409` when the name is already taken.

Takes any type of body and a specified content type.

Corresponds with POST /v2/account/secrets (the `CreateSecret` operationId).

func (*Client) DeleteSecret

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

DeleteSecret Delete a secret

Permanently deletes a secret. Environment variables referencing the deleted secret's name will no longer resolve to a value.

Corresponds with DELETE /v2/account/secrets/{id} (the `DeleteSecret` operationId).

func (*Client) GetAccount added in v2.2.0

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

GetAccount Get your account

Returns the account the API key belongs to.

Corresponds with GET /v2/account (the `GetAccount` operationId).

func (*Client) GetSecret

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

GetSecret Get a secret

Returns a single secret's metadata by ID. The value is write-only and never returned.

Corresponds with GET /v2/account/secrets/{id} (the `GetSecret` operationId).

func (*Client) GetSshKeys

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

GetSshKeys List registered SSH public keys

Returns the account's registered SSH public keys — the keys provisioned into pods created with `startSsh` and used to authenticate the SSH connections reported in a pod's `ssh` block.

Corresponds with GET /v2/account/ssh-keys (the `GetSshKeys` operationId).

func (*Client) ListSecrets

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

ListSecrets List secrets

Returns the account's secrets — encrypted strings referenced from pod, serverless, and template environment variables with the `{{ RUNPOD_SECRET_<name> }}` placeholder syntax, substituted with the secret's value when the pod or worker boots. Secret values are write-only and are never returned.

Corresponds with GET /v2/account/secrets (the `ListSecrets` operationId).

func (*Client) UpdateSecret

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

UpdateSecret Update a secret

Rotates a secret's value and/or updates its description. Only the provided fields are changed and at least one field is required; the `name` is immutable.

Pods and workers receive the new value at their next boot — running instances keep the value they were started with.

When both fields are sent, the value is applied first, then the description. The two updates are not atomic: if the description update fails after the value was rotated, the response is an error but the new value has already taken effect. Send the fields in separate requests when that partial outcome matters.

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

Corresponds with PATCH /v2/account/secrets/{id} (the `UpdateSecret` operationId).

func (*Client) UpdateSecretWithBody

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

UpdateSecretWithBody Update a secret

Rotates a secret's value and/or updates its description. Only the provided fields are changed and at least one field is required; the `name` is immutable.

Pods and workers receive the new value at their next boot — running instances keep the value they were started with.

When both fields are sent, the value is applied first, then the description. The two updates are not atomic: if the description update fails after the value was rotated, the response is an error but the new value has already taken effect. Send the fields in separate requests when that partial outcome matters.

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/account/secrets/{id} (the `UpdateSecret` operationId).

func (*Client) UpdateSshKeys

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

UpdateSshKeys Replace registered SSH public keys

Replaces the account's full set of registered SSH public keys. Existing keys not present in the request are removed; send `[]` to remove all keys. Keys take effect for pods created afterwards with `startSsh` — running pods are not updated.

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

Corresponds with PUT /v2/account/ssh-keys (the `UpdateSshKeys` operationId).

func (*Client) UpdateSshKeysWithBody

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

UpdateSshKeysWithBody Replace registered SSH public keys

Replaces the account's full set of registered SSH public keys. Existing keys not present in the request are removed; send `[]` to remove all keys. Keys take effect for pods created afterwards with `startSsh` — running pods are not updated.

Takes any type of body and a specified content type.

Corresponds with PUT /v2/account/ssh-keys (the `UpdateSshKeys` operationId).

type ClientInterface

type ClientInterface interface {

	// GetAccount Get your account
	//
	// Returns the account the API key belongs to.
	//
	// Corresponds with GET /v2/account (the `GetAccount` operationId).
	GetAccount(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSecrets List secrets
	//
	// Returns the account's secrets — encrypted strings referenced from pod, serverless, and template environment variables with the `{{ RUNPOD_SECRET_<name> }}` placeholder syntax, substituted with the secret's value when the pod or worker boots. Secret values are write-only and are never returned.
	//
	// Corresponds with GET /v2/account/secrets (the `ListSecrets` operationId).
	ListSecrets(ctx context.Context, params *ListSecretsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSecretWithBody Create a secret
	//
	// Stores a new account-scoped encrypted string. `name` must be unique
	// across the account's secrets and is immutable; `value` is write-only
	// and can never be read back through the API.
	//
	// Use the secret from pods, serverless endpoints, and templates by
	// setting an environment variable's value to
	// `{{ RUNPOD_SECRET_<name> }}` — Runpod substitutes the stored value
	// when the pod or worker boots.
	//
	// Returns `201` with the created secret's metadata, or `409` when the
	// name is already taken.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/account/secrets (the `CreateSecret` operationId).
	CreateSecretWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSecret Create a secret
	//
	// Stores a new account-scoped encrypted string. `name` must be unique
	// across the account's secrets and is immutable; `value` is write-only
	// and can never be read back through the API.
	//
	// Use the secret from pods, serverless endpoints, and templates by
	// setting an environment variable's value to
	// `{{ RUNPOD_SECRET_<name> }}` — Runpod substitutes the stored value
	// when the pod or worker boots.
	//
	// Returns `201` with the created secret's metadata, or `409` when the
	// name is already taken.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/account/secrets (the `CreateSecret` operationId).
	CreateSecret(ctx context.Context, body CreateSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSecret Delete a secret
	//
	// Permanently deletes a secret. Environment variables referencing the
	// deleted secret's name will no longer resolve to a value.
	//
	// Corresponds with DELETE /v2/account/secrets/{id} (the `DeleteSecret` operationId).
	DeleteSecret(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSecret Get a secret
	//
	// Returns a single secret's metadata by ID. The value is write-only and never returned.
	//
	// Corresponds with GET /v2/account/secrets/{id} (the `GetSecret` operationId).
	GetSecret(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSecretWithBody Update a secret
	//
	// Rotates a secret's value and/or updates its description. Only the
	// provided fields are changed and at least one field is required; the
	// `name` is immutable.
	//
	// Pods and workers receive the new value at their next boot — running
	// instances keep the value they were started with.
	//
	// When both fields are sent, the value is applied first, then the
	// description. The two updates are not atomic: if the description
	// update fails after the value was rotated, the response is an error
	// but the new value has already taken effect. Send the fields in
	// separate requests when that partial outcome matters.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/account/secrets/{id} (the `UpdateSecret` operationId).
	UpdateSecretWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSecret Update a secret
	//
	// Rotates a secret's value and/or updates its description. Only the
	// provided fields are changed and at least one field is required; the
	// `name` is immutable.
	//
	// Pods and workers receive the new value at their next boot — running
	// instances keep the value they were started with.
	//
	// When both fields are sent, the value is applied first, then the
	// description. The two updates are not atomic: if the description
	// update fails after the value was rotated, the response is an error
	// but the new value has already taken effect. Send the fields in
	// separate requests when that partial outcome matters.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/account/secrets/{id} (the `UpdateSecret` operationId).
	UpdateSecret(ctx context.Context, id string, body UpdateSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSshKeys List registered SSH public keys
	//
	// Returns the account's registered SSH public keys — the keys provisioned into pods created with `startSsh` and used to authenticate the SSH connections reported in a pod's `ssh` block.
	//
	// Corresponds with GET /v2/account/ssh-keys (the `GetSshKeys` operationId).
	GetSshKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSshKeysWithBody Replace registered SSH public keys
	//
	// Replaces the account's full set of registered SSH public keys. Existing keys not present in the request are removed; send `[]` to remove all keys. Keys take effect for pods created afterwards with `startSsh` — running pods are not updated.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /v2/account/ssh-keys (the `UpdateSshKeys` operationId).
	UpdateSshKeysWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSshKeys Replace registered SSH public keys
	//
	// Replaces the account's full set of registered SSH public keys. Existing keys not present in the request are removed; send `[]` to remove all keys. Keys take effect for pods created afterwards with `startSsh` — running pods are not updated.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /v2/account/ssh-keys (the `UpdateSshKeys` operationId).
	UpdateSshKeys(ctx context.Context, body UpdateSshKeysJSONRequestBody, 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) CreateSecretWithBodyWithResponse

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

CreateSecretWithBodyWithResponse Create a secret

Stores a new account-scoped encrypted string. `name` must be unique across the account's secrets and is immutable; `value` is write-only and can never be read back through the API.

Use the secret from pods, serverless endpoints, and templates by setting an environment variable's value to `{{ RUNPOD_SECRET_<name> }}` — Runpod substitutes the stored value when the pod or worker boots.

Returns `201` with the created secret's metadata, or `409` when the name is already taken.

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/account/secrets (the `CreateSecret` operationId).

func (*ClientWithResponses) CreateSecretWithResponse

func (c *ClientWithResponses) CreateSecretWithResponse(ctx context.Context, body CreateSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretResult, error)

CreateSecretWithResponse Create a secret

Stores a new account-scoped encrypted string. `name` must be unique across the account's secrets and is immutable; `value` is write-only and can never be read back through the API.

Use the secret from pods, serverless endpoints, and templates by setting an environment variable's value to `{{ RUNPOD_SECRET_<name> }}` — Runpod substitutes the stored value when the pod or worker boots.

Returns `201` with the created secret's metadata, or `409` when the name is already taken.

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/account/secrets (the `CreateSecret` operationId).

func (*ClientWithResponses) DeleteSecretWithResponse

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

DeleteSecretWithResponse Delete a secret

Permanently deletes a secret. Environment variables referencing the deleted secret's name will no longer resolve to a value.

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

Corresponds with DELETE /v2/account/secrets/{id} (the `DeleteSecret` operationId).

func (*ClientWithResponses) GetAccountWithResponse added in v2.2.0

func (c *ClientWithResponses) GetAccountWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountResult, error)

GetAccountWithResponse Get your account

Returns the account the API key belongs to.

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

Corresponds with GET /v2/account (the `GetAccount` operationId).

func (*ClientWithResponses) GetSecretWithResponse

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

GetSecretWithResponse Get a secret

Returns a single secret's metadata by ID. The value is write-only and never returned.

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

Corresponds with GET /v2/account/secrets/{id} (the `GetSecret` operationId).

func (*ClientWithResponses) GetSshKeysWithResponse

func (c *ClientWithResponses) GetSshKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSshKeysResult, error)

GetSshKeysWithResponse List registered SSH public keys

Returns the account's registered SSH public keys — the keys provisioned into pods created with `startSsh` and used to authenticate the SSH connections reported in a pod's `ssh` block.

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

Corresponds with GET /v2/account/ssh-keys (the `GetSshKeys` operationId).

func (*ClientWithResponses) ListSecretsWithResponse

func (c *ClientWithResponses) ListSecretsWithResponse(ctx context.Context, params *ListSecretsParams, reqEditors ...RequestEditorFn) (*ListSecretsResult, error)

ListSecretsWithResponse List secrets

Returns the account's secrets — encrypted strings referenced from pod, serverless, and template environment variables with the `{{ RUNPOD_SECRET_<name> }}` placeholder syntax, substituted with the secret's value when the pod or worker boots. Secret values are write-only and are never returned.

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

Corresponds with GET /v2/account/secrets (the `ListSecrets` operationId).

func (*ClientWithResponses) UpdateSecretWithBodyWithResponse

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

UpdateSecretWithBodyWithResponse Update a secret

Rotates a secret's value and/or updates its description. Only the provided fields are changed and at least one field is required; the `name` is immutable.

Pods and workers receive the new value at their next boot — running instances keep the value they were started with.

When both fields are sent, the value is applied first, then the description. The two updates are not atomic: if the description update fails after the value was rotated, the response is an error but the new value has already taken effect. Send the fields in separate requests when that partial outcome matters.

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/account/secrets/{id} (the `UpdateSecret` operationId).

func (*ClientWithResponses) UpdateSecretWithResponse

func (c *ClientWithResponses) UpdateSecretWithResponse(ctx context.Context, id string, body UpdateSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSecretResult, error)

UpdateSecretWithResponse Update a secret

Rotates a secret's value and/or updates its description. Only the provided fields are changed and at least one field is required; the `name` is immutable.

Pods and workers receive the new value at their next boot — running instances keep the value they were started with.

When both fields are sent, the value is applied first, then the description. The two updates are not atomic: if the description update fails after the value was rotated, the response is an error but the new value has already taken effect. Send the fields in separate requests when that partial outcome matters.

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/account/secrets/{id} (the `UpdateSecret` operationId).

func (*ClientWithResponses) UpdateSshKeysWithBodyWithResponse

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

UpdateSshKeysWithBodyWithResponse Replace registered SSH public keys

Replaces the account's full set of registered SSH public keys. Existing keys not present in the request are removed; send `[]` to remove all keys. Keys take effect for pods created afterwards with `startSsh` — running pods are not 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 PUT /v2/account/ssh-keys (the `UpdateSshKeys` operationId).

func (*ClientWithResponses) UpdateSshKeysWithResponse

func (c *ClientWithResponses) UpdateSshKeysWithResponse(ctx context.Context, body UpdateSshKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSshKeysResult, error)

UpdateSshKeysWithResponse Replace registered SSH public keys

Replaces the account's full set of registered SSH public keys. Existing keys not present in the request are removed; send `[]` to remove all keys. Keys take effect for pods created afterwards with `startSsh` — running pods are not updated.

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

Corresponds with PUT /v2/account/ssh-keys (the `UpdateSshKeys` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// GetAccountWithResponse Get your account
	//
	// Returns the account the API key belongs to.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/account (the `GetAccount` operationId).
	GetAccountWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAccountResult, error)

	// ListSecretsWithResponse List secrets
	//
	// Returns the account's secrets — encrypted strings referenced from pod, serverless, and template environment variables with the `{{ RUNPOD_SECRET_<name> }}` placeholder syntax, substituted with the secret's value when the pod or worker boots. Secret values are write-only and are never returned.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/account/secrets (the `ListSecrets` operationId).
	ListSecretsWithResponse(ctx context.Context, params *ListSecretsParams, reqEditors ...RequestEditorFn) (*ListSecretsResult, error)

	// CreateSecretWithBodyWithResponse Create a secret
	//
	// Stores a new account-scoped encrypted string. `name` must be unique
	// across the account's secrets and is immutable; `value` is write-only
	// and can never be read back through the API.
	//
	// Use the secret from pods, serverless endpoints, and templates by
	// setting an environment variable's value to
	// `{{ RUNPOD_SECRET_<name> }}` — Runpod substitutes the stored value
	// when the pod or worker boots.
	//
	// Returns `201` with the created secret's metadata, or `409` when the
	// name is already taken.
	//
	// 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/account/secrets (the `CreateSecret` operationId).
	CreateSecretWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretResult, error)

	// CreateSecretWithResponse Create a secret
	//
	// Stores a new account-scoped encrypted string. `name` must be unique
	// across the account's secrets and is immutable; `value` is write-only
	// and can never be read back through the API.
	//
	// Use the secret from pods, serverless endpoints, and templates by
	// setting an environment variable's value to
	// `{{ RUNPOD_SECRET_<name> }}` — Runpod substitutes the stored value
	// when the pod or worker boots.
	//
	// Returns `201` with the created secret's metadata, or `409` when the
	// name is already taken.
	//
	// 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/account/secrets (the `CreateSecret` operationId).
	CreateSecretWithResponse(ctx context.Context, body CreateSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretResult, error)

	// DeleteSecretWithResponse Delete a secret
	//
	// Permanently deletes a secret. Environment variables referencing the
	// deleted secret's name will no longer resolve to a value.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/account/secrets/{id} (the `DeleteSecret` operationId).
	DeleteSecretWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteSecretResult, error)

	// GetSecretWithResponse Get a secret
	//
	// Returns a single secret's metadata by ID. The value is write-only and never returned.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/account/secrets/{id} (the `GetSecret` operationId).
	GetSecretWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSecretResult, error)

	// UpdateSecretWithBodyWithResponse Update a secret
	//
	// Rotates a secret's value and/or updates its description. Only the
	// provided fields are changed and at least one field is required; the
	// `name` is immutable.
	//
	// Pods and workers receive the new value at their next boot — running
	// instances keep the value they were started with.
	//
	// When both fields are sent, the value is applied first, then the
	// description. The two updates are not atomic: if the description
	// update fails after the value was rotated, the response is an error
	// but the new value has already taken effect. Send the fields in
	// separate requests when that partial outcome matters.
	//
	// 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/account/secrets/{id} (the `UpdateSecret` operationId).
	UpdateSecretWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSecretResult, error)

	// UpdateSecretWithResponse Update a secret
	//
	// Rotates a secret's value and/or updates its description. Only the
	// provided fields are changed and at least one field is required; the
	// `name` is immutable.
	//
	// Pods and workers receive the new value at their next boot — running
	// instances keep the value they were started with.
	//
	// When both fields are sent, the value is applied first, then the
	// description. The two updates are not atomic: if the description
	// update fails after the value was rotated, the response is an error
	// but the new value has already taken effect. Send the fields in
	// separate requests when that partial outcome matters.
	//
	// 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/account/secrets/{id} (the `UpdateSecret` operationId).
	UpdateSecretWithResponse(ctx context.Context, id string, body UpdateSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSecretResult, error)

	// GetSshKeysWithResponse List registered SSH public keys
	//
	// Returns the account's registered SSH public keys — the keys provisioned into pods created with `startSsh` and used to authenticate the SSH connections reported in a pod's `ssh` block.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/account/ssh-keys (the `GetSshKeys` operationId).
	GetSshKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSshKeysResult, error)

	// UpdateSshKeysWithBodyWithResponse Replace registered SSH public keys
	//
	// Replaces the account's full set of registered SSH public keys. Existing keys not present in the request are removed; send `[]` to remove all keys. Keys take effect for pods created afterwards with `startSsh` — running pods are not 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 PUT /v2/account/ssh-keys (the `UpdateSshKeys` operationId).
	UpdateSshKeysWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSshKeysResult, error)

	// UpdateSshKeysWithResponse Replace registered SSH public keys
	//
	// Replaces the account's full set of registered SSH public keys. Existing keys not present in the request are removed; send `[]` to remove all keys. Keys take effect for pods created afterwards with `startSsh` — running pods are not updated.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v2/account/ssh-keys (the `UpdateSshKeys` operationId).
	UpdateSshKeysWithResponse(ctx context.Context, body UpdateSshKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSshKeysResult, error)
}

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

type CreateSecretJSONRequestBody

type CreateSecretJSONRequestBody = externalRef0.CreateSecretRequest

CreateSecretJSONRequestBody defines body for CreateSecret for application/json ContentType.

type CreateSecretResult

type CreateSecretResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *externalRef0.Secret
	// 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
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *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
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateSecretResult201Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateSecretResult400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *CreateSecretResult403Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *CreateSecretResult413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateSecretResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateSecretResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *CreateSecretResultDefaultHeaders
}

func ParseCreateSecretResult

func ParseCreateSecretResult(rsp *http.Response) (*CreateSecretResult, error)

ParseCreateSecretResult parses an HTTP response from a CreateSecretWithResponse call

func (CreateSecretResult) ContentType

func (r CreateSecretResult) ContentType() string

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

func (CreateSecretResult) GetApplicationproblemJSON400

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

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

func (CreateSecretResult) GetApplicationproblemJSON401

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

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

func (CreateSecretResult) GetApplicationproblemJSON403

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

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

func (CreateSecretResult) GetApplicationproblemJSON409

func (r CreateSecretResult) GetApplicationproblemJSON409() *externalRef0.ErrorResponse

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (CreateSecretResult) GetApplicationproblemJSON413 added in v2.1.0

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

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

func (CreateSecretResult) GetApplicationproblemJSON422

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

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

func (CreateSecretResult) GetApplicationproblemJSON429

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

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

func (CreateSecretResult) GetApplicationproblemJSONDefault

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

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

func (CreateSecretResult) GetBody

func (r CreateSecretResult) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateSecretResult) GetJSON201

func (r CreateSecretResult) GetJSON201() *externalRef0.Secret

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

func (CreateSecretResult) Status

func (r CreateSecretResult) Status() string

Status returns HTTPResponse.Status

func (CreateSecretResult) StatusCode

func (r CreateSecretResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSecretResult201Headers

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

CreateSecretResult201Headers the declared response headers of an HTTP 201 response for CreateSecret

type CreateSecretResult400Headers

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

CreateSecretResult400Headers the declared response headers of an HTTP 400 response for CreateSecret

type CreateSecretResult403Headers

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

CreateSecretResult403Headers the declared response headers of an HTTP 403 response for CreateSecret

type CreateSecretResult413Headers added in v2.1.0

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

CreateSecretResult413Headers the declared response headers of an HTTP 413 response for CreateSecret

type CreateSecretResult422Headers

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

CreateSecretResult422Headers the declared response headers of an HTTP 422 response for CreateSecret

type CreateSecretResult429Headers

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

CreateSecretResult429Headers the declared response headers of an HTTP 429 response for CreateSecret

type CreateSecretResultDefaultHeaders

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

CreateSecretResultDefaultHeaders the declared response headers of an HTTP default response for CreateSecret

type DeleteSecretResult

type DeleteSecretResult 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
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteSecretResult204Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *DeleteSecretResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteSecretResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteSecretResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *DeleteSecretResultDefaultHeaders
}

func ParseDeleteSecretResult

func ParseDeleteSecretResult(rsp *http.Response) (*DeleteSecretResult, error)

ParseDeleteSecretResult parses an HTTP response from a DeleteSecretWithResponse call

func (DeleteSecretResult) ContentType

func (r DeleteSecretResult) ContentType() string

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

func (DeleteSecretResult) GetApplicationproblemJSON401

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

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

func (DeleteSecretResult) GetApplicationproblemJSON403

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

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

func (DeleteSecretResult) GetApplicationproblemJSON404

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

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

func (DeleteSecretResult) GetApplicationproblemJSON429

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

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

func (DeleteSecretResult) GetApplicationproblemJSONDefault

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

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

func (DeleteSecretResult) GetBody

func (r DeleteSecretResult) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteSecretResult) Status

func (r DeleteSecretResult) Status() string

Status returns HTTPResponse.Status

func (DeleteSecretResult) StatusCode

func (r DeleteSecretResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSecretResult204Headers

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

DeleteSecretResult204Headers the declared response headers of an HTTP 204 response for DeleteSecret

type DeleteSecretResult403Headers

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

DeleteSecretResult403Headers the declared response headers of an HTTP 403 response for DeleteSecret

type DeleteSecretResult404Headers

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

DeleteSecretResult404Headers the declared response headers of an HTTP 404 response for DeleteSecret

type DeleteSecretResult429Headers

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

DeleteSecretResult429Headers the declared response headers of an HTTP 429 response for DeleteSecret

type DeleteSecretResultDefaultHeaders

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

DeleteSecretResultDefaultHeaders the declared response headers of an HTTP default response for DeleteSecret

type GetAccountResult added in v2.2.0

type GetAccountResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.Account
	// 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
	// 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
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetAccountResult200Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetAccountResult403Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetAccountResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *GetAccountResultDefaultHeaders
}

func ParseGetAccountResult added in v2.2.0

func ParseGetAccountResult(rsp *http.Response) (*GetAccountResult, error)

ParseGetAccountResult parses an HTTP response from a GetAccountWithResponse call

func (GetAccountResult) ContentType added in v2.2.0

func (r GetAccountResult) ContentType() string

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

func (GetAccountResult) GetApplicationproblemJSON401 added in v2.2.0

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

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

func (GetAccountResult) GetApplicationproblemJSON403 added in v2.2.0

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

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

func (GetAccountResult) GetApplicationproblemJSON429 added in v2.2.0

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

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

func (GetAccountResult) GetApplicationproblemJSONDefault added in v2.2.0

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

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

func (GetAccountResult) GetBody added in v2.2.0

func (r GetAccountResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAccountResult) GetJSON200 added in v2.2.0

func (r GetAccountResult) GetJSON200() *externalRef0.Account

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

func (GetAccountResult) Status added in v2.2.0

func (r GetAccountResult) Status() string

Status returns HTTPResponse.Status

func (GetAccountResult) StatusCode added in v2.2.0

func (r GetAccountResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAccountResult200Headers added in v2.2.0

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

GetAccountResult200Headers the declared response headers of an HTTP 200 response for GetAccount

type GetAccountResult403Headers added in v2.2.0

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

GetAccountResult403Headers the declared response headers of an HTTP 403 response for GetAccount

type GetAccountResult429Headers added in v2.2.0

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

GetAccountResult429Headers the declared response headers of an HTTP 429 response for GetAccount

type GetAccountResultDefaultHeaders added in v2.2.0

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

GetAccountResultDefaultHeaders the declared response headers of an HTTP default response for GetAccount

type GetSecretResult

type GetSecretResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.Secret
	// 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
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetSecretResult200Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetSecretResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetSecretResult404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSecretResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *GetSecretResultDefaultHeaders
}

func ParseGetSecretResult

func ParseGetSecretResult(rsp *http.Response) (*GetSecretResult, error)

ParseGetSecretResult parses an HTTP response from a GetSecretWithResponse call

func (GetSecretResult) ContentType

func (r GetSecretResult) ContentType() string

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

func (GetSecretResult) GetApplicationproblemJSON401

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

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

func (GetSecretResult) GetApplicationproblemJSON403

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

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

func (GetSecretResult) GetApplicationproblemJSON404

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

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

func (GetSecretResult) GetApplicationproblemJSON429

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

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

func (GetSecretResult) GetApplicationproblemJSONDefault

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

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

func (GetSecretResult) GetBody

func (r GetSecretResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSecretResult) GetJSON200

func (r GetSecretResult) GetJSON200() *externalRef0.Secret

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

func (GetSecretResult) Status

func (r GetSecretResult) Status() string

Status returns HTTPResponse.Status

func (GetSecretResult) StatusCode

func (r GetSecretResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSecretResult200Headers

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

GetSecretResult200Headers the declared response headers of an HTTP 200 response for GetSecret

type GetSecretResult403Headers

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

GetSecretResult403Headers the declared response headers of an HTTP 403 response for GetSecret

type GetSecretResult404Headers

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

GetSecretResult404Headers the declared response headers of an HTTP 404 response for GetSecret

type GetSecretResult429Headers

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

GetSecretResult429Headers the declared response headers of an HTTP 429 response for GetSecret

type GetSecretResultDefaultHeaders

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

GetSecretResultDefaultHeaders the declared response headers of an HTTP default response for GetSecret

type GetSshKeysResult

type GetSshKeysResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.SshKeys
	// 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
	// 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
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetSshKeysResult200Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *GetSshKeysResult403Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSshKeysResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *GetSshKeysResultDefaultHeaders
}

func ParseGetSshKeysResult

func ParseGetSshKeysResult(rsp *http.Response) (*GetSshKeysResult, error)

ParseGetSshKeysResult parses an HTTP response from a GetSshKeysWithResponse call

func (GetSshKeysResult) ContentType

func (r GetSshKeysResult) ContentType() string

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

func (GetSshKeysResult) GetApplicationproblemJSON401

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

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

func (GetSshKeysResult) GetApplicationproblemJSON403

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

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

func (GetSshKeysResult) GetApplicationproblemJSON429

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

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

func (GetSshKeysResult) GetApplicationproblemJSONDefault

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

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

func (GetSshKeysResult) GetBody

func (r GetSshKeysResult) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSshKeysResult) GetJSON200

func (r GetSshKeysResult) GetJSON200() *externalRef0.SshKeys

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

func (GetSshKeysResult) Status

func (r GetSshKeysResult) Status() string

Status returns HTTPResponse.Status

func (GetSshKeysResult) StatusCode

func (r GetSshKeysResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSshKeysResult200Headers

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

GetSshKeysResult200Headers the declared response headers of an HTTP 200 response for GetSshKeys

type GetSshKeysResult403Headers

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

GetSshKeysResult403Headers the declared response headers of an HTTP 403 response for GetSshKeys

type GetSshKeysResult429Headers

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

GetSshKeysResult429Headers the declared response headers of an HTTP 429 response for GetSshKeys

type GetSshKeysResultDefaultHeaders

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

GetSshKeysResultDefaultHeaders the declared response headers of an HTTP default response for GetSshKeys

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ListSecretsParams

type ListSecretsParams struct {
	// Name When provided, returns only the secret with this name (case-insensitive).
	Name *string `form:"name,omitempty" json:"name,omitempty"`
}

ListSecretsParams defines parameters for ListSecrets.

type ListSecretsResult

type ListSecretsResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.ListSecretsResponse
	// 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
	// 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
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListSecretsResult200Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *ListSecretsResult403Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListSecretsResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *ListSecretsResultDefaultHeaders
}

func ParseListSecretsResult

func ParseListSecretsResult(rsp *http.Response) (*ListSecretsResult, error)

ParseListSecretsResult parses an HTTP response from a ListSecretsWithResponse call

func (ListSecretsResult) ContentType

func (r ListSecretsResult) ContentType() string

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

func (ListSecretsResult) GetApplicationproblemJSON401

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

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

func (ListSecretsResult) GetApplicationproblemJSON403

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

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

func (ListSecretsResult) GetApplicationproblemJSON429

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

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

func (ListSecretsResult) GetApplicationproblemJSONDefault

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

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

func (ListSecretsResult) GetBody

func (r ListSecretsResult) GetBody() []byte

GetBody returns the raw response body bytes

func (ListSecretsResult) GetJSON200

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

func (ListSecretsResult) Status

func (r ListSecretsResult) Status() string

Status returns HTTPResponse.Status

func (ListSecretsResult) StatusCode

func (r ListSecretsResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSecretsResult200Headers

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

ListSecretsResult200Headers the declared response headers of an HTTP 200 response for ListSecrets

type ListSecretsResult403Headers

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

ListSecretsResult403Headers the declared response headers of an HTTP 403 response for ListSecrets

type ListSecretsResult429Headers

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

ListSecretsResult429Headers the declared response headers of an HTTP 429 response for ListSecrets

type ListSecretsResultDefaultHeaders

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

ListSecretsResultDefaultHeaders the declared response headers of an HTTP default response for ListSecrets

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type UpdateSecretJSONRequestBody

type UpdateSecretJSONRequestBody = externalRef0.UpdateSecretRequest

UpdateSecretJSONRequestBody defines body for UpdateSecret for application/json ContentType.

type UpdateSecretResult

type UpdateSecretResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.Secret
	// 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
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateSecretResult200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *UpdateSecretResult400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *UpdateSecretResult403Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateSecretResult404Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *UpdateSecretResult413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateSecretResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateSecretResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *UpdateSecretResultDefaultHeaders
}

func ParseUpdateSecretResult

func ParseUpdateSecretResult(rsp *http.Response) (*UpdateSecretResult, error)

ParseUpdateSecretResult parses an HTTP response from a UpdateSecretWithResponse call

func (UpdateSecretResult) ContentType

func (r UpdateSecretResult) ContentType() string

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

func (UpdateSecretResult) GetApplicationproblemJSON400

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

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

func (UpdateSecretResult) GetApplicationproblemJSON401

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

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

func (UpdateSecretResult) GetApplicationproblemJSON403

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

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

func (UpdateSecretResult) GetApplicationproblemJSON404

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

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

func (UpdateSecretResult) GetApplicationproblemJSON413 added in v2.1.0

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

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

func (UpdateSecretResult) GetApplicationproblemJSON422

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

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

func (UpdateSecretResult) GetApplicationproblemJSON429

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

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

func (UpdateSecretResult) GetApplicationproblemJSONDefault

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

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

func (UpdateSecretResult) GetBody

func (r UpdateSecretResult) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateSecretResult) GetJSON200

func (r UpdateSecretResult) GetJSON200() *externalRef0.Secret

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

func (UpdateSecretResult) Status

func (r UpdateSecretResult) Status() string

Status returns HTTPResponse.Status

func (UpdateSecretResult) StatusCode

func (r UpdateSecretResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSecretResult200Headers

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

UpdateSecretResult200Headers the declared response headers of an HTTP 200 response for UpdateSecret

type UpdateSecretResult400Headers

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

UpdateSecretResult400Headers the declared response headers of an HTTP 400 response for UpdateSecret

type UpdateSecretResult403Headers

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

UpdateSecretResult403Headers the declared response headers of an HTTP 403 response for UpdateSecret

type UpdateSecretResult404Headers

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

UpdateSecretResult404Headers the declared response headers of an HTTP 404 response for UpdateSecret

type UpdateSecretResult413Headers added in v2.1.0

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

UpdateSecretResult413Headers the declared response headers of an HTTP 413 response for UpdateSecret

type UpdateSecretResult422Headers

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

UpdateSecretResult422Headers the declared response headers of an HTTP 422 response for UpdateSecret

type UpdateSecretResult429Headers

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

UpdateSecretResult429Headers the declared response headers of an HTTP 429 response for UpdateSecret

type UpdateSecretResultDefaultHeaders

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

UpdateSecretResultDefaultHeaders the declared response headers of an HTTP default response for UpdateSecret

type UpdateSshKeysJSONRequestBody

type UpdateSshKeysJSONRequestBody = externalRef0.UpdateSshKeysRequest

UpdateSshKeysJSONRequestBody defines body for UpdateSshKeys for application/json ContentType.

type UpdateSshKeysResult

type UpdateSshKeysResult struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *externalRef0.SshKeys
	// 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
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateSshKeysResult200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *UpdateSshKeysResult400Headers
	// Headers403 the parsed response headers for an HTTP 403 response
	Headers403 *UpdateSshKeysResult403Headers
	// Headers413 the parsed response headers for an HTTP 413 response
	Headers413 *UpdateSshKeysResult413Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateSshKeysResult422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateSshKeysResult429Headers
	// HeadersDefault the parsed response headers for an HTTP default response
	HeadersDefault *UpdateSshKeysResultDefaultHeaders
}

func ParseUpdateSshKeysResult

func ParseUpdateSshKeysResult(rsp *http.Response) (*UpdateSshKeysResult, error)

ParseUpdateSshKeysResult parses an HTTP response from a UpdateSshKeysWithResponse call

func (UpdateSshKeysResult) ContentType

func (r UpdateSshKeysResult) ContentType() string

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

func (UpdateSshKeysResult) GetApplicationproblemJSON400 added in v2.1.0

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

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

func (UpdateSshKeysResult) GetApplicationproblemJSON401

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

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

func (UpdateSshKeysResult) GetApplicationproblemJSON403

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

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

func (UpdateSshKeysResult) GetApplicationproblemJSON413 added in v2.1.0

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

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

func (UpdateSshKeysResult) GetApplicationproblemJSON422

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

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

func (UpdateSshKeysResult) GetApplicationproblemJSON429

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

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

func (UpdateSshKeysResult) GetApplicationproblemJSONDefault

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

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

func (UpdateSshKeysResult) GetBody

func (r UpdateSshKeysResult) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateSshKeysResult) GetJSON200

func (r UpdateSshKeysResult) GetJSON200() *externalRef0.SshKeys

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

func (UpdateSshKeysResult) Status

func (r UpdateSshKeysResult) Status() string

Status returns HTTPResponse.Status

func (UpdateSshKeysResult) StatusCode

func (r UpdateSshKeysResult) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSshKeysResult200Headers

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

UpdateSshKeysResult200Headers the declared response headers of an HTTP 200 response for UpdateSshKeys

type UpdateSshKeysResult400Headers added in v2.1.0

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

UpdateSshKeysResult400Headers the declared response headers of an HTTP 400 response for UpdateSshKeys

type UpdateSshKeysResult403Headers

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

UpdateSshKeysResult403Headers the declared response headers of an HTTP 403 response for UpdateSshKeys

type UpdateSshKeysResult413Headers added in v2.1.0

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

UpdateSshKeysResult413Headers the declared response headers of an HTTP 413 response for UpdateSshKeys

type UpdateSshKeysResult422Headers

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

UpdateSshKeysResult422Headers the declared response headers of an HTTP 422 response for UpdateSshKeys

type UpdateSshKeysResult429Headers

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

UpdateSshKeysResult429Headers the declared response headers of an HTTP 429 response for UpdateSshKeys

type UpdateSshKeysResultDefaultHeaders

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

UpdateSshKeysResultDefaultHeaders the declared response headers of an HTTP default response for UpdateSshKeys

Jump to

Keyboard shortcuts

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