api

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package api 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 NewGetCaPublicKeyEndpointRequest

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

NewGetCaPublicKeyEndpointRequest constructs an http.Request for the GetCaPublicKeyEndpoint method

func NewGetCaPublicKeyEndpointV2Request

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

NewGetCaPublicKeyEndpointV2Request constructs an http.Request for the GetCaPublicKeyEndpointV2 method

func NewGetRevocationListEndpointRequest

func NewGetRevocationListEndpointRequest(server string, certificateType GetRevocationListEndpointParamsCertificateType) (*http.Request, error)

NewGetRevocationListEndpointRequest constructs an http.Request for the GetRevocationListEndpoint method

func NewPostCertificateRequestEndpointV2Request

func NewPostCertificateRequestEndpointV2Request(server string, params *PostCertificateRequestEndpointV2Params, body PostCertificateRequestEndpointV2JSONRequestBody) (*http.Request, error)

NewPostCertificateRequestEndpointV2Request calls the generic PostCertificateRequestEndpointV2 builder with application/json body

func NewPostCertificateRequestEndpointV2RequestWithBody

func NewPostCertificateRequestEndpointV2RequestWithBody(server string, params *PostCertificateRequestEndpointV2Params, contentType string, body io.Reader) (*http.Request, error)

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

func NewPostHostCertificateRenewEndpointRequest

func NewPostHostCertificateRenewEndpointRequest(server string, body PostHostCertificateRenewEndpointJSONRequestBody) (*http.Request, error)

NewPostHostCertificateRenewEndpointRequest calls the generic PostHostCertificateRenewEndpoint builder with application/json body

func NewPostHostCertificateRenewEndpointRequestWithBody

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

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

func NewPostHostCertificateRenewEndpointV2Request

func NewPostHostCertificateRenewEndpointV2Request(server string, body PostHostCertificateRenewEndpointV2JSONRequestBody) (*http.Request, error)

NewPostHostCertificateRenewEndpointV2Request calls the generic PostHostCertificateRenewEndpointV2 builder with application/json body

func NewPostHostCertificateRenewEndpointV2RequestWithBody

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

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

func NewPostHostCertificateRequestEndpointRequest

func NewPostHostCertificateRequestEndpointRequest(server string, params *PostHostCertificateRequestEndpointParams, body PostHostCertificateRequestEndpointJSONRequestBody) (*http.Request, error)

NewPostHostCertificateRequestEndpointRequest calls the generic PostHostCertificateRequestEndpoint builder with application/json body

func NewPostHostCertificateRequestEndpointRequestWithBody

func NewPostHostCertificateRequestEndpointRequestWithBody(server string, params *PostHostCertificateRequestEndpointParams, contentType string, body io.Reader) (*http.Request, error)

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

func NewPostHostCertificateRequestEndpointV2Request

func NewPostHostCertificateRequestEndpointV2Request(server string, params *PostHostCertificateRequestEndpointV2Params, body PostHostCertificateRequestEndpointV2JSONRequestBody) (*http.Request, error)

NewPostHostCertificateRequestEndpointV2Request calls the generic PostHostCertificateRequestEndpointV2 builder with application/json body

func NewPostHostCertificateRequestEndpointV2RequestWithBody

func NewPostHostCertificateRequestEndpointV2RequestWithBody(server string, params *PostHostCertificateRequestEndpointV2Params, contentType string, body io.Reader) (*http.Request, error)

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

func NewPostRevokeCertificateEndpointRequest

func NewPostRevokeCertificateEndpointRequest(server string, certificateType PostRevokeCertificateEndpointParamsCertificateType, body PostRevokeCertificateEndpointJSONRequestBody) (*http.Request, error)

NewPostRevokeCertificateEndpointRequest calls the generic PostRevokeCertificateEndpoint builder with application/json body

func NewPostRevokeCertificateEndpointRequestWithBody

func NewPostRevokeCertificateEndpointRequestWithBody(server string, certificateType PostRevokeCertificateEndpointParamsCertificateType, contentType string, body io.Reader) (*http.Request, error)

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

func NewPostUserCertificateRequestEndpointRequest

func NewPostUserCertificateRequestEndpointRequest(server string, params *PostUserCertificateRequestEndpointParams, body PostUserCertificateRequestEndpointJSONRequestBody) (*http.Request, error)

NewPostUserCertificateRequestEndpointRequest calls the generic PostUserCertificateRequestEndpoint builder with application/json body

func NewPostUserCertificateRequestEndpointRequestWithBody

func NewPostUserCertificateRequestEndpointRequestWithBody(server string, params *PostUserCertificateRequestEndpointParams, contentType string, body io.Reader) (*http.Request, error)

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

Types

type CertificateResponse

type CertificateResponse struct {
	// Certificate Issued Certificate
	Certificate []byte `json:"certificate"`
}

CertificateResponse defines model for Certificate Response.

type CertificateRevocation

type CertificateRevocation struct {
	// Proof Proof of possession comprising of ${timestamp}.${fingerprint}.${signature}
	Proof string `json:"proof"`

	// PublicKey SSH public key to sign
	PublicKey []byte `json:"public_key"`

	// Serial Serial number of certificate to revoke
	Serial string `json:"serial"`
}

CertificateRevocation defines model for Certificate Revocation.

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

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

GetCaPublicKeyEndpoint performs a GET /api/v3/ca (the `GetCaPublicKeyEndpoint` operationId) request.

func (*Client) GetCaPublicKeyEndpointV2

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

GetCaPublicKeyEndpointV2 performs a GET /api/v2/ca (the `GetCaPublicKeyEndpointV2` operationId) request. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) GetRevocationListEndpoint

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

GetRevocationListEndpoint performs a GET /api/v3/{certificateType}/krl (the `GetRevocationListEndpoint` operationId) request.

func (*Client) PostCertificateRequestEndpointV2

func (c *Client) PostCertificateRequestEndpointV2(ctx context.Context, params *PostCertificateRequestEndpointV2Params, body PostCertificateRequestEndpointV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostCertificateRequestEndpointV2 performs a POST /api/v2/certificate (the `PostCertificateRequestEndpointV2` operationId) request. Takes a body of the `application/json` content type. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostCertificateRequestEndpointV2WithBody

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

PostCertificateRequestEndpointV2WithBody performs a POST /api/v2/certificate (the `PostCertificateRequestEndpointV2` operationId) request, with any type of body and a specified content type. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostHostCertificateRenewEndpoint

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

PostHostCertificateRenewEndpoint performs a POST /api/v3/host/renew (the `PostHostCertificateRenewEndpoint` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostHostCertificateRenewEndpointV2

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

PostHostCertificateRenewEndpointV2 performs a POST /api/v2/host/renew (the `PostHostCertificateRenewEndpointV2` operationId) request. Takes a body of the `application/json` content type. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostHostCertificateRenewEndpointV2WithBody

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

PostHostCertificateRenewEndpointV2WithBody performs a POST /api/v2/host/renew (the `PostHostCertificateRenewEndpointV2` operationId) request, with any type of body and a specified content type. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostHostCertificateRenewEndpointWithBody

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

PostHostCertificateRenewEndpointWithBody performs a POST /api/v3/host/renew (the `PostHostCertificateRenewEndpoint` operationId) request, with any type of body and a specified content type.

func (*Client) PostHostCertificateRequestEndpoint

func (c *Client) PostHostCertificateRequestEndpoint(ctx context.Context, params *PostHostCertificateRequestEndpointParams, body PostHostCertificateRequestEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostHostCertificateRequestEndpoint performs a POST /api/v3/host/certificate (the `PostHostCertificateRequestEndpoint` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostHostCertificateRequestEndpointV2

PostHostCertificateRequestEndpointV2 performs a POST /api/v2/host/request (the `PostHostCertificateRequestEndpointV2` operationId) request. Takes a body of the `application/json` content type. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostHostCertificateRequestEndpointV2WithBody

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

PostHostCertificateRequestEndpointV2WithBody performs a POST /api/v2/host/request (the `PostHostCertificateRequestEndpointV2` operationId) request, with any type of body and a specified content type. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) PostHostCertificateRequestEndpointWithBody

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

PostHostCertificateRequestEndpointWithBody performs a POST /api/v3/host/certificate (the `PostHostCertificateRequestEndpoint` operationId) request, with any type of body and a specified content type.

func (*Client) PostRevokeCertificateEndpoint

PostRevokeCertificateEndpoint performs a POST /api/v3/{certificateType}/revoke (the `PostRevokeCertificateEndpoint` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostRevokeCertificateEndpointWithBody

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

PostRevokeCertificateEndpointWithBody performs a POST /api/v3/{certificateType}/revoke (the `PostRevokeCertificateEndpoint` operationId) request, with any type of body and a specified content type.

func (*Client) PostUserCertificateRequestEndpoint

func (c *Client) PostUserCertificateRequestEndpoint(ctx context.Context, params *PostUserCertificateRequestEndpointParams, body PostUserCertificateRequestEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostUserCertificateRequestEndpoint performs a POST /api/v3/user/certificate (the `PostUserCertificateRequestEndpoint` operationId) request. Takes a body of the `application/json` content type.

func (*Client) PostUserCertificateRequestEndpointWithBody

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

PostUserCertificateRequestEndpointWithBody performs a POST /api/v3/user/certificate (the `PostUserCertificateRequestEndpoint` operationId) request, with any type of body and a specified content type.

type ClientInterface

type ClientInterface interface {

	// GetCaPublicKeyEndpointV2 performs a GET /api/v2/ca (the `GetCaPublicKeyEndpointV2` operationId) request.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	GetCaPublicKeyEndpointV2(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCertificateRequestEndpointV2WithBody performs a POST /api/v2/certificate (the `PostCertificateRequestEndpointV2` operationId) request,
	// with any type of body and a specified content type.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostCertificateRequestEndpointV2WithBody(ctx context.Context, params *PostCertificateRequestEndpointV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostCertificateRequestEndpointV2 performs a POST /api/v2/certificate (the `PostCertificateRequestEndpointV2` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostCertificateRequestEndpointV2(ctx context.Context, params *PostCertificateRequestEndpointV2Params, body PostCertificateRequestEndpointV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostHostCertificateRenewEndpointV2WithBody performs a POST /api/v2/host/renew (the `PostHostCertificateRenewEndpointV2` operationId) request,
	// with any type of body and a specified content type.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostHostCertificateRenewEndpointV2WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostHostCertificateRenewEndpointV2 performs a POST /api/v2/host/renew (the `PostHostCertificateRenewEndpointV2` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostHostCertificateRenewEndpointV2(ctx context.Context, body PostHostCertificateRenewEndpointV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostHostCertificateRequestEndpointV2WithBody performs a POST /api/v2/host/request (the `PostHostCertificateRequestEndpointV2` operationId) request,
	// with any type of body and a specified content type.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostHostCertificateRequestEndpointV2WithBody(ctx context.Context, params *PostHostCertificateRequestEndpointV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostHostCertificateRequestEndpointV2 performs a POST /api/v2/host/request (the `PostHostCertificateRequestEndpointV2` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostHostCertificateRequestEndpointV2(ctx context.Context, params *PostHostCertificateRequestEndpointV2Params, body PostHostCertificateRequestEndpointV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCaPublicKeyEndpoint performs a GET /api/v3/ca (the `GetCaPublicKeyEndpoint` operationId) request.
	GetCaPublicKeyEndpoint(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostHostCertificateRequestEndpointWithBody performs a POST /api/v3/host/certificate (the `PostHostCertificateRequestEndpoint` operationId) request,
	// with any type of body and a specified content type.
	PostHostCertificateRequestEndpointWithBody(ctx context.Context, params *PostHostCertificateRequestEndpointParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostHostCertificateRequestEndpoint performs a POST /api/v3/host/certificate (the `PostHostCertificateRequestEndpoint` operationId) request.
	// Takes a body of the `application/json` content type.
	PostHostCertificateRequestEndpoint(ctx context.Context, params *PostHostCertificateRequestEndpointParams, body PostHostCertificateRequestEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostHostCertificateRenewEndpointWithBody performs a POST /api/v3/host/renew (the `PostHostCertificateRenewEndpoint` operationId) request,
	// with any type of body and a specified content type.
	PostHostCertificateRenewEndpointWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostHostCertificateRenewEndpoint performs a POST /api/v3/host/renew (the `PostHostCertificateRenewEndpoint` operationId) request.
	// Takes a body of the `application/json` content type.
	PostHostCertificateRenewEndpoint(ctx context.Context, body PostHostCertificateRenewEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUserCertificateRequestEndpointWithBody performs a POST /api/v3/user/certificate (the `PostUserCertificateRequestEndpoint` operationId) request,
	// with any type of body and a specified content type.
	PostUserCertificateRequestEndpointWithBody(ctx context.Context, params *PostUserCertificateRequestEndpointParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostUserCertificateRequestEndpoint performs a POST /api/v3/user/certificate (the `PostUserCertificateRequestEndpoint` operationId) request.
	// Takes a body of the `application/json` content type.
	PostUserCertificateRequestEndpoint(ctx context.Context, params *PostUserCertificateRequestEndpointParams, body PostUserCertificateRequestEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRevocationListEndpoint performs a GET /api/v3/{certificateType}/krl (the `GetRevocationListEndpoint` operationId) request.
	GetRevocationListEndpoint(ctx context.Context, certificateType GetRevocationListEndpointParamsCertificateType, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostRevokeCertificateEndpointWithBody performs a POST /api/v3/{certificateType}/revoke (the `PostRevokeCertificateEndpoint` operationId) request,
	// with any type of body and a specified content type.
	PostRevokeCertificateEndpointWithBody(ctx context.Context, certificateType PostRevokeCertificateEndpointParamsCertificateType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostRevokeCertificateEndpoint performs a POST /api/v3/{certificateType}/revoke (the `PostRevokeCertificateEndpoint` operationId) request.
	// Takes a body of the `application/json` content type.
	PostRevokeCertificateEndpoint(ctx context.Context, certificateType PostRevokeCertificateEndpointParamsCertificateType, body PostRevokeCertificateEndpointJSONRequestBody, 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) GetCaPublicKeyEndpointV2WithResponse deprecated

func (c *ClientWithResponses) GetCaPublicKeyEndpointV2WithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCaPublicKeyEndpointV2Response, error)

GetCaPublicKeyEndpointV2WithResponse performs a GET /api/v2/ca (the `GetCaPublicKeyEndpointV2` operationId) request.

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

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) GetCaPublicKeyEndpointWithResponse

func (c *ClientWithResponses) GetCaPublicKeyEndpointWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCaPublicKeyEndpointResponse, error)

GetCaPublicKeyEndpointWithResponse performs a GET /api/v3/ca (the `GetCaPublicKeyEndpoint` operationId) request.

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

func (*ClientWithResponses) GetRevocationListEndpointWithResponse

func (c *ClientWithResponses) GetRevocationListEndpointWithResponse(ctx context.Context, certificateType GetRevocationListEndpointParamsCertificateType, reqEditors ...RequestEditorFn) (*GetRevocationListEndpointResponse, error)

GetRevocationListEndpointWithResponse performs a GET /api/v3/{certificateType}/krl (the `GetRevocationListEndpoint` operationId) request.

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

func (*ClientWithResponses) PostCertificateRequestEndpointV2WithBodyWithResponse deprecated

func (c *ClientWithResponses) PostCertificateRequestEndpointV2WithBodyWithResponse(ctx context.Context, params *PostCertificateRequestEndpointV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCertificateRequestEndpointV2Response, error)

PostCertificateRequestEndpointV2WithBodyWithResponse performs a POST /api/v2/certificate (the `PostCertificateRequestEndpointV2` operationId) request, with any type of body and a specified content type.

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

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostCertificateRequestEndpointV2WithResponse

PostCertificateRequestEndpointV2WithResponse performs a POST /api/v2/certificate (the `PostCertificateRequestEndpointV2` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostHostCertificateRenewEndpointV2WithBodyWithResponse deprecated

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

PostHostCertificateRenewEndpointV2WithBodyWithResponse performs a POST /api/v2/host/renew (the `PostHostCertificateRenewEndpointV2` operationId) request, with any type of body and a specified content type.

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

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostHostCertificateRenewEndpointV2WithResponse

PostHostCertificateRenewEndpointV2WithResponse performs a POST /api/v2/host/renew (the `PostHostCertificateRenewEndpointV2` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostHostCertificateRenewEndpointWithBodyWithResponse

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

PostHostCertificateRenewEndpointWithBodyWithResponse performs a POST /api/v3/host/renew (the `PostHostCertificateRenewEndpoint` operationId) request, with any type of body and a specified content type.

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

func (*ClientWithResponses) PostHostCertificateRenewEndpointWithResponse

PostHostCertificateRenewEndpointWithResponse performs a POST /api/v3/host/renew (the `PostHostCertificateRenewEndpoint` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostHostCertificateRequestEndpointV2WithBodyWithResponse deprecated

func (c *ClientWithResponses) PostHostCertificateRequestEndpointV2WithBodyWithResponse(ctx context.Context, params *PostHostCertificateRequestEndpointV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostHostCertificateRequestEndpointV2Response, error)

PostHostCertificateRequestEndpointV2WithBodyWithResponse performs a POST /api/v2/host/request (the `PostHostCertificateRequestEndpointV2` operationId) request, with any type of body and a specified content type.

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

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostHostCertificateRequestEndpointV2WithResponse

PostHostCertificateRequestEndpointV2WithResponse performs a POST /api/v2/host/request (the `PostHostCertificateRequestEndpointV2` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) PostHostCertificateRequestEndpointWithBodyWithResponse

func (c *ClientWithResponses) PostHostCertificateRequestEndpointWithBodyWithResponse(ctx context.Context, params *PostHostCertificateRequestEndpointParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostHostCertificateRequestEndpointResponse, error)

PostHostCertificateRequestEndpointWithBodyWithResponse performs a POST /api/v3/host/certificate (the `PostHostCertificateRequestEndpoint` operationId) request, with any type of body and a specified content type.

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

func (*ClientWithResponses) PostHostCertificateRequestEndpointWithResponse

PostHostCertificateRequestEndpointWithResponse performs a POST /api/v3/host/certificate (the `PostHostCertificateRequestEndpoint` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostRevokeCertificateEndpointWithBodyWithResponse

func (c *ClientWithResponses) PostRevokeCertificateEndpointWithBodyWithResponse(ctx context.Context, certificateType PostRevokeCertificateEndpointParamsCertificateType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRevokeCertificateEndpointResponse, error)

PostRevokeCertificateEndpointWithBodyWithResponse performs a POST /api/v3/{certificateType}/revoke (the `PostRevokeCertificateEndpoint` operationId) request, with any type of body and a specified content type.

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

func (*ClientWithResponses) PostRevokeCertificateEndpointWithResponse

PostRevokeCertificateEndpointWithResponse performs a POST /api/v3/{certificateType}/revoke (the `PostRevokeCertificateEndpoint` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PostUserCertificateRequestEndpointWithBodyWithResponse

func (c *ClientWithResponses) PostUserCertificateRequestEndpointWithBodyWithResponse(ctx context.Context, params *PostUserCertificateRequestEndpointParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUserCertificateRequestEndpointResponse, error)

PostUserCertificateRequestEndpointWithBodyWithResponse performs a POST /api/v3/user/certificate (the `PostUserCertificateRequestEndpoint` operationId) request, with any type of body and a specified content type.

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

func (*ClientWithResponses) PostUserCertificateRequestEndpointWithResponse

PostUserCertificateRequestEndpointWithResponse performs a POST /api/v3/user/certificate (the `PostUserCertificateRequestEndpoint` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// GetCaPublicKeyEndpointV2WithResponse performs a GET /api/v2/ca (the `GetCaPublicKeyEndpointV2` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	GetCaPublicKeyEndpointV2WithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCaPublicKeyEndpointV2Response, error)

	// PostCertificateRequestEndpointV2WithBodyWithResponse performs a POST /api/v2/certificate (the `PostCertificateRequestEndpointV2` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostCertificateRequestEndpointV2WithBodyWithResponse(ctx context.Context, params *PostCertificateRequestEndpointV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCertificateRequestEndpointV2Response, error)

	// PostCertificateRequestEndpointV2WithResponse performs a POST /api/v2/certificate (the `PostCertificateRequestEndpointV2` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostCertificateRequestEndpointV2WithResponse(ctx context.Context, params *PostCertificateRequestEndpointV2Params, body PostCertificateRequestEndpointV2JSONRequestBody, reqEditors ...RequestEditorFn) (*PostCertificateRequestEndpointV2Response, error)

	// PostHostCertificateRenewEndpointV2WithBodyWithResponse performs a POST /api/v2/host/renew (the `PostHostCertificateRenewEndpointV2` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostHostCertificateRenewEndpointV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostHostCertificateRenewEndpointV2Response, error)

	// PostHostCertificateRenewEndpointV2WithResponse performs a POST /api/v2/host/renew (the `PostHostCertificateRenewEndpointV2` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostHostCertificateRenewEndpointV2WithResponse(ctx context.Context, body PostHostCertificateRenewEndpointV2JSONRequestBody, reqEditors ...RequestEditorFn) (*PostHostCertificateRenewEndpointV2Response, error)

	// PostHostCertificateRequestEndpointV2WithBodyWithResponse performs a POST /api/v2/host/request (the `PostHostCertificateRequestEndpointV2` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostHostCertificateRequestEndpointV2WithBodyWithResponse(ctx context.Context, params *PostHostCertificateRequestEndpointV2Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostHostCertificateRequestEndpointV2Response, error)

	// PostHostCertificateRequestEndpointV2WithResponse performs a POST /api/v2/host/request (the `PostHostCertificateRequestEndpointV2` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	PostHostCertificateRequestEndpointV2WithResponse(ctx context.Context, params *PostHostCertificateRequestEndpointV2Params, body PostHostCertificateRequestEndpointV2JSONRequestBody, reqEditors ...RequestEditorFn) (*PostHostCertificateRequestEndpointV2Response, error)

	// GetCaPublicKeyEndpointWithResponse performs a GET /api/v3/ca (the `GetCaPublicKeyEndpoint` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetCaPublicKeyEndpointWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCaPublicKeyEndpointResponse, error)

	// PostHostCertificateRequestEndpointWithBodyWithResponse performs a POST /api/v3/host/certificate (the `PostHostCertificateRequestEndpoint` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostHostCertificateRequestEndpointWithBodyWithResponse(ctx context.Context, params *PostHostCertificateRequestEndpointParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostHostCertificateRequestEndpointResponse, error)

	// PostHostCertificateRequestEndpointWithResponse performs a POST /api/v3/host/certificate (the `PostHostCertificateRequestEndpoint` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostHostCertificateRequestEndpointWithResponse(ctx context.Context, params *PostHostCertificateRequestEndpointParams, body PostHostCertificateRequestEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*PostHostCertificateRequestEndpointResponse, error)

	// PostHostCertificateRenewEndpointWithBodyWithResponse performs a POST /api/v3/host/renew (the `PostHostCertificateRenewEndpoint` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostHostCertificateRenewEndpointWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostHostCertificateRenewEndpointResponse, error)

	// PostHostCertificateRenewEndpointWithResponse performs a POST /api/v3/host/renew (the `PostHostCertificateRenewEndpoint` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostHostCertificateRenewEndpointWithResponse(ctx context.Context, body PostHostCertificateRenewEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*PostHostCertificateRenewEndpointResponse, error)

	// PostUserCertificateRequestEndpointWithBodyWithResponse performs a POST /api/v3/user/certificate (the `PostUserCertificateRequestEndpoint` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostUserCertificateRequestEndpointWithBodyWithResponse(ctx context.Context, params *PostUserCertificateRequestEndpointParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostUserCertificateRequestEndpointResponse, error)

	// PostUserCertificateRequestEndpointWithResponse performs a POST /api/v3/user/certificate (the `PostUserCertificateRequestEndpoint` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostUserCertificateRequestEndpointWithResponse(ctx context.Context, params *PostUserCertificateRequestEndpointParams, body PostUserCertificateRequestEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*PostUserCertificateRequestEndpointResponse, error)

	// GetRevocationListEndpointWithResponse performs a GET /api/v3/{certificateType}/krl (the `GetRevocationListEndpoint` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	GetRevocationListEndpointWithResponse(ctx context.Context, certificateType GetRevocationListEndpointParamsCertificateType, reqEditors ...RequestEditorFn) (*GetRevocationListEndpointResponse, error)

	// PostRevokeCertificateEndpointWithBodyWithResponse performs a POST /api/v3/{certificateType}/revoke (the `PostRevokeCertificateEndpoint` operationId) request,
	// with any type of body and a specified content type.
	//
	// Returns a wrapper object for the known response body format(s).
	PostRevokeCertificateEndpointWithBodyWithResponse(ctx context.Context, certificateType PostRevokeCertificateEndpointParamsCertificateType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRevokeCertificateEndpointResponse, error)

	// PostRevokeCertificateEndpointWithResponse performs a POST /api/v3/{certificateType}/revoke (the `PostRevokeCertificateEndpoint` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	PostRevokeCertificateEndpointWithResponse(ctx context.Context, certificateType PostRevokeCertificateEndpointParamsCertificateType, body PostRevokeCertificateEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*PostRevokeCertificateEndpointResponse, error)
}

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

type GetCaPublicKeyEndpoint500JSONResponseBodySuccess added in v0.19.0

type GetCaPublicKeyEndpoint500JSONResponseBodySuccess bool

GetCaPublicKeyEndpoint500JSONResponseBodySuccess defines parameters for GetCaPublicKeyEndpoint.

const (
	GetCaPublicKeyEndpoint500JSONResponseBodySuccessFalse GetCaPublicKeyEndpoint500JSONResponseBodySuccess = false
)

Defines values for GetCaPublicKeyEndpoint500JSONResponseBodySuccess.

func (GetCaPublicKeyEndpoint500JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the GetCaPublicKeyEndpoint500JSONResponseBodySuccess enum.

type GetCaPublicKeyEndpointResponse

type GetCaPublicKeyEndpointResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success GetCaPublicKeyEndpoint500JSONResponseBodySuccess `json:"success"`
	}
}

func ParseGetCaPublicKeyEndpointResponse

func ParseGetCaPublicKeyEndpointResponse(rsp *http.Response) (*GetCaPublicKeyEndpointResponse, error)

ParseGetCaPublicKeyEndpointResponse parses an HTTP response from a GetCaPublicKeyEndpointWithResponse call

func (GetCaPublicKeyEndpointResponse) ContentType added in v0.19.0

func (r GetCaPublicKeyEndpointResponse) ContentType() string

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

func (GetCaPublicKeyEndpointResponse) GetBody added in v0.19.0

func (r GetCaPublicKeyEndpointResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetCaPublicKeyEndpointResponse) GetJSON500 added in v0.19.0

func (r GetCaPublicKeyEndpointResponse) GetJSON500() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success GetCaPublicKeyEndpoint500JSONResponseBodySuccess `json:"success"`
}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetCaPublicKeyEndpointResponse) Status

Status returns HTTPResponse.Status

func (GetCaPublicKeyEndpointResponse) StatusCode

func (r GetCaPublicKeyEndpointResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCaPublicKeyEndpointV2Response

type GetCaPublicKeyEndpointV2Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success GetCaPublicKeyEndpointV2500JSONResponseBodySuccess `json:"success"`
	}
}

func ParseGetCaPublicKeyEndpointV2Response

func ParseGetCaPublicKeyEndpointV2Response(rsp *http.Response) (*GetCaPublicKeyEndpointV2Response, error)

ParseGetCaPublicKeyEndpointV2Response parses an HTTP response from a GetCaPublicKeyEndpointV2WithResponse call

func (GetCaPublicKeyEndpointV2Response) ContentType added in v0.19.0

func (r GetCaPublicKeyEndpointV2Response) ContentType() string

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

func (GetCaPublicKeyEndpointV2Response) GetBody added in v0.19.0

func (r GetCaPublicKeyEndpointV2Response) GetBody() []byte

GetBody returns the raw response body bytes

func (GetCaPublicKeyEndpointV2Response) GetJSON500 added in v0.19.0

func (r GetCaPublicKeyEndpointV2Response) GetJSON500() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success GetCaPublicKeyEndpointV2500JSONResponseBodySuccess `json:"success"`
}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetCaPublicKeyEndpointV2Response) Status

Status returns HTTPResponse.Status

func (GetCaPublicKeyEndpointV2Response) StatusCode

func (r GetCaPublicKeyEndpointV2Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCaPublicKeyEndpointV2500JSONResponseBodySuccess added in v0.19.0

type GetCaPublicKeyEndpointV2500JSONResponseBodySuccess bool

GetCaPublicKeyEndpointV2500JSONResponseBodySuccess defines parameters for GetCaPublicKeyEndpointV2.

const (
	GetCaPublicKeyEndpointV2500JSONResponseBodySuccessFalse GetCaPublicKeyEndpointV2500JSONResponseBodySuccess = false
)

Defines values for GetCaPublicKeyEndpointV2500JSONResponseBodySuccess.

func (GetCaPublicKeyEndpointV2500JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the GetCaPublicKeyEndpointV2500JSONResponseBodySuccess enum.

type GetRevocationListEndpoint500JSONResponseBodySuccess added in v0.19.0

type GetRevocationListEndpoint500JSONResponseBodySuccess bool

GetRevocationListEndpoint500JSONResponseBodySuccess defines parameters for GetRevocationListEndpoint.

const (
	GetRevocationListEndpoint500JSONResponseBodySuccessFalse GetRevocationListEndpoint500JSONResponseBodySuccess = false
)

Defines values for GetRevocationListEndpoint500JSONResponseBodySuccess.

func (GetRevocationListEndpoint500JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the GetRevocationListEndpoint500JSONResponseBodySuccess enum.

type GetRevocationListEndpointParamsCertificateType

type GetRevocationListEndpointParamsCertificateType string

GetRevocationListEndpointParamsCertificateType defines parameters for GetRevocationListEndpoint.

const (
	GetRevocationListEndpointParamsCertificateTypeHost GetRevocationListEndpointParamsCertificateType = "host"
	GetRevocationListEndpointParamsCertificateTypeUser GetRevocationListEndpointParamsCertificateType = "user"
)

Defines values for GetRevocationListEndpointParamsCertificateType.

func (GetRevocationListEndpointParamsCertificateType) Valid

Valid indicates whether the value is a known member of the GetRevocationListEndpointParamsCertificateType enum.

type GetRevocationListEndpointResponse

type GetRevocationListEndpointResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *KeyRevocationListResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success GetRevocationListEndpoint500JSONResponseBodySuccess `json:"success"`
	}
}

func ParseGetRevocationListEndpointResponse

func ParseGetRevocationListEndpointResponse(rsp *http.Response) (*GetRevocationListEndpointResponse, error)

ParseGetRevocationListEndpointResponse parses an HTTP response from a GetRevocationListEndpointWithResponse call

func (GetRevocationListEndpointResponse) ContentType added in v0.19.0

func (r GetRevocationListEndpointResponse) ContentType() string

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

func (GetRevocationListEndpointResponse) GetBody added in v0.19.0

GetBody returns the raw response body bytes

func (GetRevocationListEndpointResponse) GetJSON200 added in v0.19.0

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

func (GetRevocationListEndpointResponse) GetJSON500 added in v0.19.0

func (r GetRevocationListEndpointResponse) GetJSON500() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success GetRevocationListEndpoint500JSONResponseBodySuccess `json:"success"`
}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetRevocationListEndpointResponse) Status

Status returns HTTPResponse.Status

func (GetRevocationListEndpointResponse) StatusCode

func (r GetRevocationListEndpointResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HostCertificateRenew

type HostCertificateRenew struct {
	// Certificate SSH certificate to renew
	Certificate []byte `json:"certificate"`

	// Lifetime Lifetime of renewed Host SSH certificate
	Lifetime *int `json:"lifetime,omitempty"`

	// Proof Proof of possession comprising of ${timestamp}.${fingerprint}.${signature}
	Proof string `json:"proof"`

	// PublicKey SSH public key to sign
	PublicKey []byte `json:"public_key"`
}

HostCertificateRenew defines model for Host Certificate Renew.

type HostCertificateRequest

type HostCertificateRequest struct {
	// Identity Identity Token JWT from OIDC IdP
	Identity string `json:"identity"`

	// Lifetime Lifetime of issued Host SSH certificate
	Lifetime *int `json:"lifetime,omitempty"`

	// Principals List of principals to include on the issued certificate
	Principals []string `json:"principals"`

	// Proof Proof of possession comprising of ${timestamp}.${fingerprint}.${signature}
	Proof string `json:"proof"`

	// PublicKey SSH public key to sign
	PublicKey []byte `json:"public_key"`
}

HostCertificateRequest defines model for Host Certificate Request.

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type KeyRevocationListResponse

type KeyRevocationListResponse struct {
	// Krl Key Revocation List
	Krl       []byte `json:"krl"`
	Signature string `json:"signature"`
}

KeyRevocationListResponse defines model for Key Revocation List Response.

type PostCertificateRequestEndpointV2JSONBody

type PostCertificateRequestEndpointV2JSONBody struct {
	// Extensions Extensions to include in issued SSH certificate in seconds
	Extensions *[]string `json:"extensions,omitempty"`

	// Identity Identity Token JWT from OIDC IdP
	Identity string `json:"identity"`

	// Lifetime Lifetime of issued SSH certificate
	Lifetime *float32 `json:"lifetime,omitempty"`

	// Nonce Proof of possession comprising of ${timestamp}.${fingerprint}.${format}:${signature}
	Nonce string `json:"nonce"`

	// PublicKey SSH public key to sign
	PublicKey string `json:"public_key"`
}

PostCertificateRequestEndpointV2JSONBody defines parameters for PostCertificateRequestEndpointV2.

type PostCertificateRequestEndpointV2JSONRequestBody deprecated

type PostCertificateRequestEndpointV2JSONRequestBody PostCertificateRequestEndpointV2JSONBody

PostCertificateRequestEndpointV2JSONRequestBody defines body for PostCertificateRequestEndpointV2 for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type PostCertificateRequestEndpointV2Params

type PostCertificateRequestEndpointV2Params struct {
	// Authorization Access Token JWT from OIDC IdP
	Authorization string `json:"Authorization"`
}

PostCertificateRequestEndpointV2Params defines parameters for PostCertificateRequestEndpointV2.

type PostCertificateRequestEndpointV2Response

type PostCertificateRequestEndpointV2Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Certificate string `json:"certificate"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		Errors []struct {
			Code    float32  `json:"code"`
			Message string   `json:"message"`
			Path    []string `json:"path"`
		} `json:"errors"`
		Success PostCertificateRequestEndpointV2400JSONResponseBodySuccess `json:"success"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *struct {
		Error PostCertificateRequestEndpointV2401JSONResponseBodyError `json:"error"`
	}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostCertificateRequestEndpointV2403JSONResponseBodySuccess `json:"success"`
	}
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *struct {
		Errors []struct {
			Code    float32  `json:"code"`
			Message string   `json:"message"`
			Path    []string `json:"path"`
		} `json:"errors"`
		Success PostCertificateRequestEndpointV2422JSONResponseBodySuccess `json:"success"`
	}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostCertificateRequestEndpointV2500JSONResponseBodySuccess `json:"success"`
	}
}

func ParsePostCertificateRequestEndpointV2Response

func ParsePostCertificateRequestEndpointV2Response(rsp *http.Response) (*PostCertificateRequestEndpointV2Response, error)

ParsePostCertificateRequestEndpointV2Response parses an HTTP response from a PostCertificateRequestEndpointV2WithResponse call

func (PostCertificateRequestEndpointV2Response) ContentType added in v0.19.0

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

func (PostCertificateRequestEndpointV2Response) GetBody added in v0.19.0

GetBody returns the raw response body bytes

func (PostCertificateRequestEndpointV2Response) GetJSON200 added in v0.19.0

func (r PostCertificateRequestEndpointV2Response) GetJSON200() *struct {
	Certificate string `json:"certificate"`
}

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

func (PostCertificateRequestEndpointV2Response) GetJSON400 added in v0.19.0

func (r PostCertificateRequestEndpointV2Response) GetJSON400() *struct {
	Errors []struct {
		Code    float32  `json:"code"`
		Message string   `json:"message"`
		Path    []string `json:"path"`
	} `json:"errors"`
	Success PostCertificateRequestEndpointV2400JSONResponseBodySuccess `json:"success"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostCertificateRequestEndpointV2Response) GetJSON401 added in v0.19.0

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostCertificateRequestEndpointV2Response) GetJSON403 added in v0.19.0

func (r PostCertificateRequestEndpointV2Response) GetJSON403() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostCertificateRequestEndpointV2403JSONResponseBodySuccess `json:"success"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostCertificateRequestEndpointV2Response) GetJSON422 added in v0.19.0

func (r PostCertificateRequestEndpointV2Response) GetJSON422() *struct {
	Errors []struct {
		Code    float32  `json:"code"`
		Message string   `json:"message"`
		Path    []string `json:"path"`
	} `json:"errors"`
	Success PostCertificateRequestEndpointV2422JSONResponseBodySuccess `json:"success"`
}

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostCertificateRequestEndpointV2Response) GetJSON500 added in v0.19.0

func (r PostCertificateRequestEndpointV2Response) GetJSON500() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostCertificateRequestEndpointV2500JSONResponseBodySuccess `json:"success"`
}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostCertificateRequestEndpointV2Response) Status

Status returns HTTPResponse.Status

func (PostCertificateRequestEndpointV2Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostCertificateRequestEndpointV2400JSONResponseBodySuccess added in v0.19.0

type PostCertificateRequestEndpointV2400JSONResponseBodySuccess bool

PostCertificateRequestEndpointV2400JSONResponseBodySuccess defines parameters for PostCertificateRequestEndpointV2.

const (
	PostCertificateRequestEndpointV2400JSONResponseBodySuccessFalse PostCertificateRequestEndpointV2400JSONResponseBodySuccess = false
)

Defines values for PostCertificateRequestEndpointV2400JSONResponseBodySuccess.

func (PostCertificateRequestEndpointV2400JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostCertificateRequestEndpointV2400JSONResponseBodySuccess enum.

type PostCertificateRequestEndpointV2401JSONResponseBodyError added in v0.19.0

type PostCertificateRequestEndpointV2401JSONResponseBodyError string

PostCertificateRequestEndpointV2401JSONResponseBodyError defines parameters for PostCertificateRequestEndpointV2.

const (
	PostCertificateRequestEndpointV2401JSONResponseBodyErrorUnauthorized PostCertificateRequestEndpointV2401JSONResponseBodyError = "Unauthorized"
)

Defines values for PostCertificateRequestEndpointV2401JSONResponseBodyError.

func (PostCertificateRequestEndpointV2401JSONResponseBodyError) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostCertificateRequestEndpointV2401JSONResponseBodyError enum.

type PostCertificateRequestEndpointV2403JSONResponseBodySuccess added in v0.19.0

type PostCertificateRequestEndpointV2403JSONResponseBodySuccess bool

PostCertificateRequestEndpointV2403JSONResponseBodySuccess defines parameters for PostCertificateRequestEndpointV2.

const (
	PostCertificateRequestEndpointV2403JSONResponseBodySuccessFalse PostCertificateRequestEndpointV2403JSONResponseBodySuccess = false
)

Defines values for PostCertificateRequestEndpointV2403JSONResponseBodySuccess.

func (PostCertificateRequestEndpointV2403JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostCertificateRequestEndpointV2403JSONResponseBodySuccess enum.

type PostCertificateRequestEndpointV2422JSONResponseBodySuccess added in v0.19.0

type PostCertificateRequestEndpointV2422JSONResponseBodySuccess bool

PostCertificateRequestEndpointV2422JSONResponseBodySuccess defines parameters for PostCertificateRequestEndpointV2.

const (
	PostCertificateRequestEndpointV2422JSONResponseBodySuccessFalse PostCertificateRequestEndpointV2422JSONResponseBodySuccess = false
)

Defines values for PostCertificateRequestEndpointV2422JSONResponseBodySuccess.

func (PostCertificateRequestEndpointV2422JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostCertificateRequestEndpointV2422JSONResponseBodySuccess enum.

type PostCertificateRequestEndpointV2500JSONResponseBodySuccess added in v0.19.0

type PostCertificateRequestEndpointV2500JSONResponseBodySuccess bool

PostCertificateRequestEndpointV2500JSONResponseBodySuccess defines parameters for PostCertificateRequestEndpointV2.

const (
	PostCertificateRequestEndpointV2500JSONResponseBodySuccessFalse PostCertificateRequestEndpointV2500JSONResponseBodySuccess = false
)

Defines values for PostCertificateRequestEndpointV2500JSONResponseBodySuccess.

func (PostCertificateRequestEndpointV2500JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostCertificateRequestEndpointV2500JSONResponseBodySuccess enum.

type PostHostCertificateRenewEndpoint400JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRenewEndpoint400JSONResponseBodySuccess bool

PostHostCertificateRenewEndpoint400JSONResponseBodySuccess defines parameters for PostHostCertificateRenewEndpoint.

const (
	PostHostCertificateRenewEndpoint400JSONResponseBodySuccessFalse PostHostCertificateRenewEndpoint400JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRenewEndpoint400JSONResponseBodySuccess.

func (PostHostCertificateRenewEndpoint400JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRenewEndpoint400JSONResponseBodySuccess enum.

type PostHostCertificateRenewEndpoint401JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRenewEndpoint401JSONResponseBodySuccess bool

PostHostCertificateRenewEndpoint401JSONResponseBodySuccess defines parameters for PostHostCertificateRenewEndpoint.

const (
	PostHostCertificateRenewEndpoint401JSONResponseBodySuccessFalse PostHostCertificateRenewEndpoint401JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRenewEndpoint401JSONResponseBodySuccess.

func (PostHostCertificateRenewEndpoint401JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRenewEndpoint401JSONResponseBodySuccess enum.

type PostHostCertificateRenewEndpoint403JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRenewEndpoint403JSONResponseBodySuccess bool

PostHostCertificateRenewEndpoint403JSONResponseBodySuccess defines parameters for PostHostCertificateRenewEndpoint.

const (
	PostHostCertificateRenewEndpoint403JSONResponseBodySuccessFalse PostHostCertificateRenewEndpoint403JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRenewEndpoint403JSONResponseBodySuccess.

func (PostHostCertificateRenewEndpoint403JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRenewEndpoint403JSONResponseBodySuccess enum.

type PostHostCertificateRenewEndpoint422JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRenewEndpoint422JSONResponseBodySuccess bool

PostHostCertificateRenewEndpoint422JSONResponseBodySuccess defines parameters for PostHostCertificateRenewEndpoint.

const (
	PostHostCertificateRenewEndpoint422JSONResponseBodySuccessFalse PostHostCertificateRenewEndpoint422JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRenewEndpoint422JSONResponseBodySuccess.

func (PostHostCertificateRenewEndpoint422JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRenewEndpoint422JSONResponseBodySuccess enum.

type PostHostCertificateRenewEndpoint500JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRenewEndpoint500JSONResponseBodySuccess bool

PostHostCertificateRenewEndpoint500JSONResponseBodySuccess defines parameters for PostHostCertificateRenewEndpoint.

const (
	PostHostCertificateRenewEndpoint500JSONResponseBodySuccessFalse PostHostCertificateRenewEndpoint500JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRenewEndpoint500JSONResponseBodySuccess.

func (PostHostCertificateRenewEndpoint500JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRenewEndpoint500JSONResponseBodySuccess enum.

type PostHostCertificateRenewEndpointJSONRequestBody

type PostHostCertificateRenewEndpointJSONRequestBody = HostCertificateRenew

PostHostCertificateRenewEndpointJSONRequestBody defines body for PostHostCertificateRenewEndpoint for application/json ContentType.

type PostHostCertificateRenewEndpointResponse

type PostHostCertificateRenewEndpointResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CertificateResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		Errors []struct {
			Code    float32  `json:"code"`
			Message string   `json:"message"`
			Path    []string `json:"path"`
		} `json:"errors"`
		Success PostHostCertificateRenewEndpoint400JSONResponseBodySuccess `json:"success"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostHostCertificateRenewEndpoint401JSONResponseBodySuccess `json:"success"`
	}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostHostCertificateRenewEndpoint403JSONResponseBodySuccess `json:"success"`
	}
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *struct {
		Errors []struct {
			Code    float32  `json:"code"`
			Message string   `json:"message"`
			Path    []string `json:"path"`
		} `json:"errors"`
		Success PostHostCertificateRenewEndpoint422JSONResponseBodySuccess `json:"success"`
	}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostHostCertificateRenewEndpoint500JSONResponseBodySuccess `json:"success"`
	}
}

func ParsePostHostCertificateRenewEndpointResponse

func ParsePostHostCertificateRenewEndpointResponse(rsp *http.Response) (*PostHostCertificateRenewEndpointResponse, error)

ParsePostHostCertificateRenewEndpointResponse parses an HTTP response from a PostHostCertificateRenewEndpointWithResponse call

func (PostHostCertificateRenewEndpointResponse) ContentType added in v0.19.0

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

func (PostHostCertificateRenewEndpointResponse) GetBody added in v0.19.0

GetBody returns the raw response body bytes

func (PostHostCertificateRenewEndpointResponse) GetJSON200 added in v0.19.0

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

func (PostHostCertificateRenewEndpointResponse) GetJSON400 added in v0.19.0

func (r PostHostCertificateRenewEndpointResponse) GetJSON400() *struct {
	Errors []struct {
		Code    float32  `json:"code"`
		Message string   `json:"message"`
		Path    []string `json:"path"`
	} `json:"errors"`
	Success PostHostCertificateRenewEndpoint400JSONResponseBodySuccess `json:"success"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostHostCertificateRenewEndpointResponse) GetJSON401 added in v0.19.0

func (r PostHostCertificateRenewEndpointResponse) GetJSON401() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostHostCertificateRenewEndpoint401JSONResponseBodySuccess `json:"success"`
}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostHostCertificateRenewEndpointResponse) GetJSON403 added in v0.19.0

func (r PostHostCertificateRenewEndpointResponse) GetJSON403() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostHostCertificateRenewEndpoint403JSONResponseBodySuccess `json:"success"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostHostCertificateRenewEndpointResponse) GetJSON422 added in v0.19.0

func (r PostHostCertificateRenewEndpointResponse) GetJSON422() *struct {
	Errors []struct {
		Code    float32  `json:"code"`
		Message string   `json:"message"`
		Path    []string `json:"path"`
	} `json:"errors"`
	Success PostHostCertificateRenewEndpoint422JSONResponseBodySuccess `json:"success"`
}

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostHostCertificateRenewEndpointResponse) GetJSON500 added in v0.19.0

func (r PostHostCertificateRenewEndpointResponse) GetJSON500() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostHostCertificateRenewEndpoint500JSONResponseBodySuccess `json:"success"`
}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostHostCertificateRenewEndpointResponse) Status

Status returns HTTPResponse.Status

func (PostHostCertificateRenewEndpointResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostHostCertificateRenewEndpointV2JSONBody

type PostHostCertificateRenewEndpointV2JSONBody struct {
	// Certificate SSH certificate to renew
	Certificate string `json:"certificate"`

	// Lifetime Lifetime of renewed Host SSH certificate
	Lifetime *float32 `json:"lifetime,omitempty"`

	// Nonce Proof of possession comprising of ${timestamp}.${keyfingerprint}.${format}:${signature}
	Nonce string `json:"nonce"`

	// PublicKey SSH public key of certificate to be renewed
	PublicKey string `json:"public_key"`
}

PostHostCertificateRenewEndpointV2JSONBody defines parameters for PostHostCertificateRenewEndpointV2.

type PostHostCertificateRenewEndpointV2JSONRequestBody deprecated

type PostHostCertificateRenewEndpointV2JSONRequestBody PostHostCertificateRenewEndpointV2JSONBody

PostHostCertificateRenewEndpointV2JSONRequestBody defines body for PostHostCertificateRenewEndpointV2 for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type PostHostCertificateRenewEndpointV2Response

type PostHostCertificateRenewEndpointV2Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Certificate string `json:"certificate"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		Errors []struct {
			Code    float32  `json:"code"`
			Message string   `json:"message"`
			Path    []string `json:"path"`
		} `json:"errors"`
		Success PostHostCertificateRenewEndpointV2400JSONResponseBodySuccess `json:"success"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *struct {
		Error  PostHostCertificateRenewEndpointV2401JSONResponseBodyError  `json:"error"`
		Status PostHostCertificateRenewEndpointV2401JSONResponseBodyStatus `json:"status"`
	}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostHostCertificateRenewEndpointV2403JSONResponseBodySuccess `json:"success"`
	}
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *struct {
		Errors []struct {
			Code    float32  `json:"code"`
			Message string   `json:"message"`
			Path    []string `json:"path"`
		} `json:"errors"`
		Success PostHostCertificateRenewEndpointV2422JSONResponseBodySuccess `json:"success"`
	}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostHostCertificateRenewEndpointV2500JSONResponseBodySuccess `json:"success"`
	}
}

func ParsePostHostCertificateRenewEndpointV2Response

func ParsePostHostCertificateRenewEndpointV2Response(rsp *http.Response) (*PostHostCertificateRenewEndpointV2Response, error)

ParsePostHostCertificateRenewEndpointV2Response parses an HTTP response from a PostHostCertificateRenewEndpointV2WithResponse call

func (PostHostCertificateRenewEndpointV2Response) ContentType added in v0.19.0

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

func (PostHostCertificateRenewEndpointV2Response) GetBody added in v0.19.0

GetBody returns the raw response body bytes

func (PostHostCertificateRenewEndpointV2Response) GetJSON200 added in v0.19.0

func (r PostHostCertificateRenewEndpointV2Response) GetJSON200() *struct {
	Certificate string `json:"certificate"`
}

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

func (PostHostCertificateRenewEndpointV2Response) GetJSON400 added in v0.19.0

func (r PostHostCertificateRenewEndpointV2Response) GetJSON400() *struct {
	Errors []struct {
		Code    float32  `json:"code"`
		Message string   `json:"message"`
		Path    []string `json:"path"`
	} `json:"errors"`
	Success PostHostCertificateRenewEndpointV2400JSONResponseBodySuccess `json:"success"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostHostCertificateRenewEndpointV2Response) GetJSON401 added in v0.19.0

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostHostCertificateRenewEndpointV2Response) GetJSON403 added in v0.19.0

func (r PostHostCertificateRenewEndpointV2Response) GetJSON403() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostHostCertificateRenewEndpointV2403JSONResponseBodySuccess `json:"success"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostHostCertificateRenewEndpointV2Response) GetJSON422 added in v0.19.0

func (r PostHostCertificateRenewEndpointV2Response) GetJSON422() *struct {
	Errors []struct {
		Code    float32  `json:"code"`
		Message string   `json:"message"`
		Path    []string `json:"path"`
	} `json:"errors"`
	Success PostHostCertificateRenewEndpointV2422JSONResponseBodySuccess `json:"success"`
}

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostHostCertificateRenewEndpointV2Response) GetJSON500 added in v0.19.0

func (r PostHostCertificateRenewEndpointV2Response) GetJSON500() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostHostCertificateRenewEndpointV2500JSONResponseBodySuccess `json:"success"`
}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostHostCertificateRenewEndpointV2Response) Status

Status returns HTTPResponse.Status

func (PostHostCertificateRenewEndpointV2Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostHostCertificateRenewEndpointV2400JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRenewEndpointV2400JSONResponseBodySuccess bool

PostHostCertificateRenewEndpointV2400JSONResponseBodySuccess defines parameters for PostHostCertificateRenewEndpointV2.

const (
	PostHostCertificateRenewEndpointV2400JSONResponseBodySuccessFalse PostHostCertificateRenewEndpointV2400JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRenewEndpointV2400JSONResponseBodySuccess.

func (PostHostCertificateRenewEndpointV2400JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRenewEndpointV2400JSONResponseBodySuccess enum.

type PostHostCertificateRenewEndpointV2401JSONResponseBodyError added in v0.19.0

type PostHostCertificateRenewEndpointV2401JSONResponseBodyError string

PostHostCertificateRenewEndpointV2401JSONResponseBodyError defines parameters for PostHostCertificateRenewEndpointV2.

const (
	PostHostCertificateRenewEndpointV2401JSONResponseBodyErrorUnauthorized PostHostCertificateRenewEndpointV2401JSONResponseBodyError = "Unauthorized"
)

Defines values for PostHostCertificateRenewEndpointV2401JSONResponseBodyError.

func (PostHostCertificateRenewEndpointV2401JSONResponseBodyError) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRenewEndpointV2401JSONResponseBodyError enum.

type PostHostCertificateRenewEndpointV2401JSONResponseBodyStatus added in v0.19.0

type PostHostCertificateRenewEndpointV2401JSONResponseBodyStatus float32

PostHostCertificateRenewEndpointV2401JSONResponseBodyStatus defines parameters for PostHostCertificateRenewEndpointV2.

const (
	PostHostCertificateRenewEndpointV2401JSONResponseBodyStatusN401 PostHostCertificateRenewEndpointV2401JSONResponseBodyStatus = 401
)

Defines values for PostHostCertificateRenewEndpointV2401JSONResponseBodyStatus.

func (PostHostCertificateRenewEndpointV2401JSONResponseBodyStatus) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRenewEndpointV2401JSONResponseBodyStatus enum.

type PostHostCertificateRenewEndpointV2403JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRenewEndpointV2403JSONResponseBodySuccess bool

PostHostCertificateRenewEndpointV2403JSONResponseBodySuccess defines parameters for PostHostCertificateRenewEndpointV2.

const (
	PostHostCertificateRenewEndpointV2403JSONResponseBodySuccessFalse PostHostCertificateRenewEndpointV2403JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRenewEndpointV2403JSONResponseBodySuccess.

func (PostHostCertificateRenewEndpointV2403JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRenewEndpointV2403JSONResponseBodySuccess enum.

type PostHostCertificateRenewEndpointV2422JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRenewEndpointV2422JSONResponseBodySuccess bool

PostHostCertificateRenewEndpointV2422JSONResponseBodySuccess defines parameters for PostHostCertificateRenewEndpointV2.

const (
	PostHostCertificateRenewEndpointV2422JSONResponseBodySuccessFalse PostHostCertificateRenewEndpointV2422JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRenewEndpointV2422JSONResponseBodySuccess.

func (PostHostCertificateRenewEndpointV2422JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRenewEndpointV2422JSONResponseBodySuccess enum.

type PostHostCertificateRenewEndpointV2500JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRenewEndpointV2500JSONResponseBodySuccess bool

PostHostCertificateRenewEndpointV2500JSONResponseBodySuccess defines parameters for PostHostCertificateRenewEndpointV2.

const (
	PostHostCertificateRenewEndpointV2500JSONResponseBodySuccessFalse PostHostCertificateRenewEndpointV2500JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRenewEndpointV2500JSONResponseBodySuccess.

func (PostHostCertificateRenewEndpointV2500JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRenewEndpointV2500JSONResponseBodySuccess enum.

type PostHostCertificateRequestEndpoint400JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRequestEndpoint400JSONResponseBodySuccess bool

PostHostCertificateRequestEndpoint400JSONResponseBodySuccess defines parameters for PostHostCertificateRequestEndpoint.

const (
	PostHostCertificateRequestEndpoint400JSONResponseBodySuccessFalse PostHostCertificateRequestEndpoint400JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRequestEndpoint400JSONResponseBodySuccess.

func (PostHostCertificateRequestEndpoint400JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRequestEndpoint400JSONResponseBodySuccess enum.

type PostHostCertificateRequestEndpoint401JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRequestEndpoint401JSONResponseBodySuccess bool

PostHostCertificateRequestEndpoint401JSONResponseBodySuccess defines parameters for PostHostCertificateRequestEndpoint.

const (
	PostHostCertificateRequestEndpoint401JSONResponseBodySuccessFalse PostHostCertificateRequestEndpoint401JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRequestEndpoint401JSONResponseBodySuccess.

func (PostHostCertificateRequestEndpoint401JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRequestEndpoint401JSONResponseBodySuccess enum.

type PostHostCertificateRequestEndpoint403JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRequestEndpoint403JSONResponseBodySuccess bool

PostHostCertificateRequestEndpoint403JSONResponseBodySuccess defines parameters for PostHostCertificateRequestEndpoint.

const (
	PostHostCertificateRequestEndpoint403JSONResponseBodySuccessFalse PostHostCertificateRequestEndpoint403JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRequestEndpoint403JSONResponseBodySuccess.

func (PostHostCertificateRequestEndpoint403JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRequestEndpoint403JSONResponseBodySuccess enum.

type PostHostCertificateRequestEndpoint422JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRequestEndpoint422JSONResponseBodySuccess bool

PostHostCertificateRequestEndpoint422JSONResponseBodySuccess defines parameters for PostHostCertificateRequestEndpoint.

const (
	PostHostCertificateRequestEndpoint422JSONResponseBodySuccessFalse PostHostCertificateRequestEndpoint422JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRequestEndpoint422JSONResponseBodySuccess.

func (PostHostCertificateRequestEndpoint422JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRequestEndpoint422JSONResponseBodySuccess enum.

type PostHostCertificateRequestEndpoint500JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRequestEndpoint500JSONResponseBodySuccess bool

PostHostCertificateRequestEndpoint500JSONResponseBodySuccess defines parameters for PostHostCertificateRequestEndpoint.

const (
	PostHostCertificateRequestEndpoint500JSONResponseBodySuccessFalse PostHostCertificateRequestEndpoint500JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRequestEndpoint500JSONResponseBodySuccess.

func (PostHostCertificateRequestEndpoint500JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRequestEndpoint500JSONResponseBodySuccess enum.

type PostHostCertificateRequestEndpointJSONRequestBody

type PostHostCertificateRequestEndpointJSONRequestBody = HostCertificateRequest

PostHostCertificateRequestEndpointJSONRequestBody defines body for PostHostCertificateRequestEndpoint for application/json ContentType.

type PostHostCertificateRequestEndpointParams

type PostHostCertificateRequestEndpointParams struct {
	// Authorization Access Token JWT from OIDC IdP
	Authorization string `json:"Authorization"`
}

PostHostCertificateRequestEndpointParams defines parameters for PostHostCertificateRequestEndpoint.

type PostHostCertificateRequestEndpointResponse

type PostHostCertificateRequestEndpointResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CertificateResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		Errors []struct {
			Code    float32  `json:"code"`
			Message string   `json:"message"`
			Path    []string `json:"path"`
		} `json:"errors"`
		Success PostHostCertificateRequestEndpoint400JSONResponseBodySuccess `json:"success"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostHostCertificateRequestEndpoint401JSONResponseBodySuccess `json:"success"`
	}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostHostCertificateRequestEndpoint403JSONResponseBodySuccess `json:"success"`
	}
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *struct {
		Errors []struct {
			Code    float32  `json:"code"`
			Message string   `json:"message"`
			Path    []string `json:"path"`
		} `json:"errors"`
		Success PostHostCertificateRequestEndpoint422JSONResponseBodySuccess `json:"success"`
	}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostHostCertificateRequestEndpoint500JSONResponseBodySuccess `json:"success"`
	}
}

func ParsePostHostCertificateRequestEndpointResponse

func ParsePostHostCertificateRequestEndpointResponse(rsp *http.Response) (*PostHostCertificateRequestEndpointResponse, error)

ParsePostHostCertificateRequestEndpointResponse parses an HTTP response from a PostHostCertificateRequestEndpointWithResponse call

func (PostHostCertificateRequestEndpointResponse) ContentType added in v0.19.0

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

func (PostHostCertificateRequestEndpointResponse) GetBody added in v0.19.0

GetBody returns the raw response body bytes

func (PostHostCertificateRequestEndpointResponse) GetJSON200 added in v0.19.0

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

func (PostHostCertificateRequestEndpointResponse) GetJSON400 added in v0.19.0

func (r PostHostCertificateRequestEndpointResponse) GetJSON400() *struct {
	Errors []struct {
		Code    float32  `json:"code"`
		Message string   `json:"message"`
		Path    []string `json:"path"`
	} `json:"errors"`
	Success PostHostCertificateRequestEndpoint400JSONResponseBodySuccess `json:"success"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostHostCertificateRequestEndpointResponse) GetJSON401 added in v0.19.0

func (r PostHostCertificateRequestEndpointResponse) GetJSON401() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostHostCertificateRequestEndpoint401JSONResponseBodySuccess `json:"success"`
}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostHostCertificateRequestEndpointResponse) GetJSON403 added in v0.19.0

func (r PostHostCertificateRequestEndpointResponse) GetJSON403() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostHostCertificateRequestEndpoint403JSONResponseBodySuccess `json:"success"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostHostCertificateRequestEndpointResponse) GetJSON422 added in v0.19.0

func (r PostHostCertificateRequestEndpointResponse) GetJSON422() *struct {
	Errors []struct {
		Code    float32  `json:"code"`
		Message string   `json:"message"`
		Path    []string `json:"path"`
	} `json:"errors"`
	Success PostHostCertificateRequestEndpoint422JSONResponseBodySuccess `json:"success"`
}

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostHostCertificateRequestEndpointResponse) GetJSON500 added in v0.19.0

func (r PostHostCertificateRequestEndpointResponse) GetJSON500() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostHostCertificateRequestEndpoint500JSONResponseBodySuccess `json:"success"`
}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostHostCertificateRequestEndpointResponse) Status

Status returns HTTPResponse.Status

func (PostHostCertificateRequestEndpointResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostHostCertificateRequestEndpointV2JSONBody

type PostHostCertificateRequestEndpointV2JSONBody struct {
	// Lifetime Lifetime of issued Host SSH certificate
	Lifetime *float32 `json:"lifetime,omitempty"`

	// Nonce Proof of possession comprising of ${timestamp}.${fingerprint}.${format}:${signature}
	Nonce string `json:"nonce"`

	// Principals List of principals to include on the issued certificate
	Principals []string `json:"principals"`

	// PublicKey SSH public key to sign
	PublicKey string `json:"public_key"`
}

PostHostCertificateRequestEndpointV2JSONBody defines parameters for PostHostCertificateRequestEndpointV2.

type PostHostCertificateRequestEndpointV2JSONRequestBody deprecated

type PostHostCertificateRequestEndpointV2JSONRequestBody PostHostCertificateRequestEndpointV2JSONBody

PostHostCertificateRequestEndpointV2JSONRequestBody defines body for PostHostCertificateRequestEndpointV2 for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type PostHostCertificateRequestEndpointV2Params

type PostHostCertificateRequestEndpointV2Params struct {
	// Authorization Access Token JWT from OIDC IdP
	Authorization string `json:"Authorization"`
}

PostHostCertificateRequestEndpointV2Params defines parameters for PostHostCertificateRequestEndpointV2.

type PostHostCertificateRequestEndpointV2Response

type PostHostCertificateRequestEndpointV2Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Certificate string `json:"certificate"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		Errors []struct {
			Code    float32  `json:"code"`
			Message string   `json:"message"`
			Path    []string `json:"path"`
		} `json:"errors"`
		Success PostHostCertificateRequestEndpointV2400JSONResponseBodySuccess `json:"success"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *struct {
		Error  PostHostCertificateRequestEndpointV2401JSONResponseBodyError  `json:"error"`
		Status PostHostCertificateRequestEndpointV2401JSONResponseBodyStatus `json:"status"`
	}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostHostCertificateRequestEndpointV2403JSONResponseBodySuccess `json:"success"`
	}
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *struct {
		Errors []struct {
			Code    float32  `json:"code"`
			Message string   `json:"message"`
			Path    []string `json:"path"`
		} `json:"errors"`
		Success PostHostCertificateRequestEndpointV2422JSONResponseBodySuccess `json:"success"`
	}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostHostCertificateRequestEndpointV2500JSONResponseBodySuccess `json:"success"`
	}
}

func ParsePostHostCertificateRequestEndpointV2Response

func ParsePostHostCertificateRequestEndpointV2Response(rsp *http.Response) (*PostHostCertificateRequestEndpointV2Response, error)

ParsePostHostCertificateRequestEndpointV2Response parses an HTTP response from a PostHostCertificateRequestEndpointV2WithResponse call

func (PostHostCertificateRequestEndpointV2Response) ContentType added in v0.19.0

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

func (PostHostCertificateRequestEndpointV2Response) GetBody added in v0.19.0

GetBody returns the raw response body bytes

func (PostHostCertificateRequestEndpointV2Response) GetJSON200 added in v0.19.0

func (r PostHostCertificateRequestEndpointV2Response) GetJSON200() *struct {
	Certificate string `json:"certificate"`
}

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

func (PostHostCertificateRequestEndpointV2Response) GetJSON400 added in v0.19.0

func (r PostHostCertificateRequestEndpointV2Response) GetJSON400() *struct {
	Errors []struct {
		Code    float32  `json:"code"`
		Message string   `json:"message"`
		Path    []string `json:"path"`
	} `json:"errors"`
	Success PostHostCertificateRequestEndpointV2400JSONResponseBodySuccess `json:"success"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostHostCertificateRequestEndpointV2Response) GetJSON401 added in v0.19.0

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostHostCertificateRequestEndpointV2Response) GetJSON403 added in v0.19.0

func (r PostHostCertificateRequestEndpointV2Response) GetJSON403() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostHostCertificateRequestEndpointV2403JSONResponseBodySuccess `json:"success"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostHostCertificateRequestEndpointV2Response) GetJSON422 added in v0.19.0

func (r PostHostCertificateRequestEndpointV2Response) GetJSON422() *struct {
	Errors []struct {
		Code    float32  `json:"code"`
		Message string   `json:"message"`
		Path    []string `json:"path"`
	} `json:"errors"`
	Success PostHostCertificateRequestEndpointV2422JSONResponseBodySuccess `json:"success"`
}

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostHostCertificateRequestEndpointV2Response) GetJSON500 added in v0.19.0

func (r PostHostCertificateRequestEndpointV2Response) GetJSON500() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostHostCertificateRequestEndpointV2500JSONResponseBodySuccess `json:"success"`
}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostHostCertificateRequestEndpointV2Response) Status

Status returns HTTPResponse.Status

func (PostHostCertificateRequestEndpointV2Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostHostCertificateRequestEndpointV2400JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRequestEndpointV2400JSONResponseBodySuccess bool

PostHostCertificateRequestEndpointV2400JSONResponseBodySuccess defines parameters for PostHostCertificateRequestEndpointV2.

const (
	PostHostCertificateRequestEndpointV2400JSONResponseBodySuccessFalse PostHostCertificateRequestEndpointV2400JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRequestEndpointV2400JSONResponseBodySuccess.

func (PostHostCertificateRequestEndpointV2400JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRequestEndpointV2400JSONResponseBodySuccess enum.

type PostHostCertificateRequestEndpointV2401JSONResponseBodyError added in v0.19.0

type PostHostCertificateRequestEndpointV2401JSONResponseBodyError string

PostHostCertificateRequestEndpointV2401JSONResponseBodyError defines parameters for PostHostCertificateRequestEndpointV2.

const (
	PostHostCertificateRequestEndpointV2401JSONResponseBodyErrorUnauthorized PostHostCertificateRequestEndpointV2401JSONResponseBodyError = "Unauthorized"
)

Defines values for PostHostCertificateRequestEndpointV2401JSONResponseBodyError.

func (PostHostCertificateRequestEndpointV2401JSONResponseBodyError) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRequestEndpointV2401JSONResponseBodyError enum.

type PostHostCertificateRequestEndpointV2401JSONResponseBodyStatus added in v0.19.0

type PostHostCertificateRequestEndpointV2401JSONResponseBodyStatus float32

PostHostCertificateRequestEndpointV2401JSONResponseBodyStatus defines parameters for PostHostCertificateRequestEndpointV2.

const (
	PostHostCertificateRequestEndpointV2401JSONResponseBodyStatusN401 PostHostCertificateRequestEndpointV2401JSONResponseBodyStatus = 401
)

Defines values for PostHostCertificateRequestEndpointV2401JSONResponseBodyStatus.

func (PostHostCertificateRequestEndpointV2401JSONResponseBodyStatus) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRequestEndpointV2401JSONResponseBodyStatus enum.

type PostHostCertificateRequestEndpointV2403JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRequestEndpointV2403JSONResponseBodySuccess bool

PostHostCertificateRequestEndpointV2403JSONResponseBodySuccess defines parameters for PostHostCertificateRequestEndpointV2.

const (
	PostHostCertificateRequestEndpointV2403JSONResponseBodySuccessFalse PostHostCertificateRequestEndpointV2403JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRequestEndpointV2403JSONResponseBodySuccess.

func (PostHostCertificateRequestEndpointV2403JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRequestEndpointV2403JSONResponseBodySuccess enum.

type PostHostCertificateRequestEndpointV2422JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRequestEndpointV2422JSONResponseBodySuccess bool

PostHostCertificateRequestEndpointV2422JSONResponseBodySuccess defines parameters for PostHostCertificateRequestEndpointV2.

const (
	PostHostCertificateRequestEndpointV2422JSONResponseBodySuccessFalse PostHostCertificateRequestEndpointV2422JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRequestEndpointV2422JSONResponseBodySuccess.

func (PostHostCertificateRequestEndpointV2422JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRequestEndpointV2422JSONResponseBodySuccess enum.

type PostHostCertificateRequestEndpointV2500JSONResponseBodySuccess added in v0.19.0

type PostHostCertificateRequestEndpointV2500JSONResponseBodySuccess bool

PostHostCertificateRequestEndpointV2500JSONResponseBodySuccess defines parameters for PostHostCertificateRequestEndpointV2.

const (
	PostHostCertificateRequestEndpointV2500JSONResponseBodySuccessFalse PostHostCertificateRequestEndpointV2500JSONResponseBodySuccess = false
)

Defines values for PostHostCertificateRequestEndpointV2500JSONResponseBodySuccess.

func (PostHostCertificateRequestEndpointV2500JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostHostCertificateRequestEndpointV2500JSONResponseBodySuccess enum.

type PostRevokeCertificateEndpoint400JSONResponseBodySuccess added in v0.19.0

type PostRevokeCertificateEndpoint400JSONResponseBodySuccess bool

PostRevokeCertificateEndpoint400JSONResponseBodySuccess defines parameters for PostRevokeCertificateEndpoint.

const (
	PostRevokeCertificateEndpoint400JSONResponseBodySuccessFalse PostRevokeCertificateEndpoint400JSONResponseBodySuccess = false
)

Defines values for PostRevokeCertificateEndpoint400JSONResponseBodySuccess.

func (PostRevokeCertificateEndpoint400JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostRevokeCertificateEndpoint400JSONResponseBodySuccess enum.

type PostRevokeCertificateEndpoint401JSONResponseBodySuccess added in v0.19.0

type PostRevokeCertificateEndpoint401JSONResponseBodySuccess bool

PostRevokeCertificateEndpoint401JSONResponseBodySuccess defines parameters for PostRevokeCertificateEndpoint.

const (
	PostRevokeCertificateEndpoint401JSONResponseBodySuccessFalse PostRevokeCertificateEndpoint401JSONResponseBodySuccess = false
)

Defines values for PostRevokeCertificateEndpoint401JSONResponseBodySuccess.

func (PostRevokeCertificateEndpoint401JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostRevokeCertificateEndpoint401JSONResponseBodySuccess enum.

type PostRevokeCertificateEndpoint403JSONResponseBodySuccess added in v0.19.0

type PostRevokeCertificateEndpoint403JSONResponseBodySuccess bool

PostRevokeCertificateEndpoint403JSONResponseBodySuccess defines parameters for PostRevokeCertificateEndpoint.

const (
	PostRevokeCertificateEndpoint403JSONResponseBodySuccessFalse PostRevokeCertificateEndpoint403JSONResponseBodySuccess = false
)

Defines values for PostRevokeCertificateEndpoint403JSONResponseBodySuccess.

func (PostRevokeCertificateEndpoint403JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostRevokeCertificateEndpoint403JSONResponseBodySuccess enum.

type PostRevokeCertificateEndpoint409JSONResponseBodySuccess added in v0.19.0

type PostRevokeCertificateEndpoint409JSONResponseBodySuccess bool

PostRevokeCertificateEndpoint409JSONResponseBodySuccess defines parameters for PostRevokeCertificateEndpoint.

const (
	PostRevokeCertificateEndpoint409JSONResponseBodySuccessFalse PostRevokeCertificateEndpoint409JSONResponseBodySuccess = false
)

Defines values for PostRevokeCertificateEndpoint409JSONResponseBodySuccess.

func (PostRevokeCertificateEndpoint409JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostRevokeCertificateEndpoint409JSONResponseBodySuccess enum.

type PostRevokeCertificateEndpoint422JSONResponseBodySuccess added in v0.19.0

type PostRevokeCertificateEndpoint422JSONResponseBodySuccess bool

PostRevokeCertificateEndpoint422JSONResponseBodySuccess defines parameters for PostRevokeCertificateEndpoint.

const (
	PostRevokeCertificateEndpoint422JSONResponseBodySuccessFalse PostRevokeCertificateEndpoint422JSONResponseBodySuccess = false
)

Defines values for PostRevokeCertificateEndpoint422JSONResponseBodySuccess.

func (PostRevokeCertificateEndpoint422JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostRevokeCertificateEndpoint422JSONResponseBodySuccess enum.

type PostRevokeCertificateEndpoint500JSONResponseBodySuccess added in v0.19.0

type PostRevokeCertificateEndpoint500JSONResponseBodySuccess bool

PostRevokeCertificateEndpoint500JSONResponseBodySuccess defines parameters for PostRevokeCertificateEndpoint.

const (
	PostRevokeCertificateEndpoint500JSONResponseBodySuccessFalse PostRevokeCertificateEndpoint500JSONResponseBodySuccess = false
)

Defines values for PostRevokeCertificateEndpoint500JSONResponseBodySuccess.

func (PostRevokeCertificateEndpoint500JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostRevokeCertificateEndpoint500JSONResponseBodySuccess enum.

type PostRevokeCertificateEndpointJSONRequestBody

type PostRevokeCertificateEndpointJSONRequestBody = CertificateRevocation

PostRevokeCertificateEndpointJSONRequestBody defines body for PostRevokeCertificateEndpoint for application/json ContentType.

type PostRevokeCertificateEndpointParamsCertificateType

type PostRevokeCertificateEndpointParamsCertificateType string

PostRevokeCertificateEndpointParamsCertificateType defines parameters for PostRevokeCertificateEndpoint.

const (
	PostRevokeCertificateEndpointParamsCertificateTypeHost PostRevokeCertificateEndpointParamsCertificateType = "host"
	PostRevokeCertificateEndpointParamsCertificateTypeUser PostRevokeCertificateEndpointParamsCertificateType = "user"
)

Defines values for PostRevokeCertificateEndpointParamsCertificateType.

func (PostRevokeCertificateEndpointParamsCertificateType) Valid

Valid indicates whether the value is a known member of the PostRevokeCertificateEndpointParamsCertificateType enum.

type PostRevokeCertificateEndpointResponse

type PostRevokeCertificateEndpointResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RevocationResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		Errors []struct {
			Code    float32  `json:"code"`
			Message string   `json:"message"`
			Path    []string `json:"path"`
		} `json:"errors"`
		Success PostRevokeCertificateEndpoint400JSONResponseBodySuccess `json:"success"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostRevokeCertificateEndpoint401JSONResponseBodySuccess `json:"success"`
	}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostRevokeCertificateEndpoint403JSONResponseBodySuccess `json:"success"`
	}
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostRevokeCertificateEndpoint409JSONResponseBodySuccess `json:"success"`
	}
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *struct {
		Errors []struct {
			Code    float32  `json:"code"`
			Message string   `json:"message"`
			Path    []string `json:"path"`
		} `json:"errors"`
		Success PostRevokeCertificateEndpoint422JSONResponseBodySuccess `json:"success"`
	}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostRevokeCertificateEndpoint500JSONResponseBodySuccess `json:"success"`
	}
}

func ParsePostRevokeCertificateEndpointResponse

func ParsePostRevokeCertificateEndpointResponse(rsp *http.Response) (*PostRevokeCertificateEndpointResponse, error)

ParsePostRevokeCertificateEndpointResponse parses an HTTP response from a PostRevokeCertificateEndpointWithResponse call

func (PostRevokeCertificateEndpointResponse) ContentType added in v0.19.0

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

func (PostRevokeCertificateEndpointResponse) GetBody added in v0.19.0

GetBody returns the raw response body bytes

func (PostRevokeCertificateEndpointResponse) GetJSON200 added in v0.19.0

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

func (PostRevokeCertificateEndpointResponse) GetJSON400 added in v0.19.0

func (r PostRevokeCertificateEndpointResponse) GetJSON400() *struct {
	Errors []struct {
		Code    float32  `json:"code"`
		Message string   `json:"message"`
		Path    []string `json:"path"`
	} `json:"errors"`
	Success PostRevokeCertificateEndpoint400JSONResponseBodySuccess `json:"success"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostRevokeCertificateEndpointResponse) GetJSON401 added in v0.19.0

func (r PostRevokeCertificateEndpointResponse) GetJSON401() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostRevokeCertificateEndpoint401JSONResponseBodySuccess `json:"success"`
}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostRevokeCertificateEndpointResponse) GetJSON403 added in v0.19.0

func (r PostRevokeCertificateEndpointResponse) GetJSON403() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostRevokeCertificateEndpoint403JSONResponseBodySuccess `json:"success"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostRevokeCertificateEndpointResponse) GetJSON409 added in v0.19.0

func (r PostRevokeCertificateEndpointResponse) GetJSON409() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostRevokeCertificateEndpoint409JSONResponseBodySuccess `json:"success"`
}

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostRevokeCertificateEndpointResponse) GetJSON422 added in v0.19.0

func (r PostRevokeCertificateEndpointResponse) GetJSON422() *struct {
	Errors []struct {
		Code    float32  `json:"code"`
		Message string   `json:"message"`
		Path    []string `json:"path"`
	} `json:"errors"`
	Success PostRevokeCertificateEndpoint422JSONResponseBodySuccess `json:"success"`
}

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostRevokeCertificateEndpointResponse) GetJSON500 added in v0.19.0

func (r PostRevokeCertificateEndpointResponse) GetJSON500() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostRevokeCertificateEndpoint500JSONResponseBodySuccess `json:"success"`
}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostRevokeCertificateEndpointResponse) Status

Status returns HTTPResponse.Status

func (PostRevokeCertificateEndpointResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostUserCertificateRequestEndpoint400JSONResponseBodySuccess added in v0.19.0

type PostUserCertificateRequestEndpoint400JSONResponseBodySuccess bool

PostUserCertificateRequestEndpoint400JSONResponseBodySuccess defines parameters for PostUserCertificateRequestEndpoint.

const (
	PostUserCertificateRequestEndpoint400JSONResponseBodySuccessFalse PostUserCertificateRequestEndpoint400JSONResponseBodySuccess = false
)

Defines values for PostUserCertificateRequestEndpoint400JSONResponseBodySuccess.

func (PostUserCertificateRequestEndpoint400JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostUserCertificateRequestEndpoint400JSONResponseBodySuccess enum.

type PostUserCertificateRequestEndpoint401JSONResponseBodySuccess added in v0.19.0

type PostUserCertificateRequestEndpoint401JSONResponseBodySuccess bool

PostUserCertificateRequestEndpoint401JSONResponseBodySuccess defines parameters for PostUserCertificateRequestEndpoint.

const (
	PostUserCertificateRequestEndpoint401JSONResponseBodySuccessFalse PostUserCertificateRequestEndpoint401JSONResponseBodySuccess = false
)

Defines values for PostUserCertificateRequestEndpoint401JSONResponseBodySuccess.

func (PostUserCertificateRequestEndpoint401JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostUserCertificateRequestEndpoint401JSONResponseBodySuccess enum.

type PostUserCertificateRequestEndpoint403JSONResponseBodySuccess added in v0.19.0

type PostUserCertificateRequestEndpoint403JSONResponseBodySuccess bool

PostUserCertificateRequestEndpoint403JSONResponseBodySuccess defines parameters for PostUserCertificateRequestEndpoint.

const (
	PostUserCertificateRequestEndpoint403JSONResponseBodySuccessFalse PostUserCertificateRequestEndpoint403JSONResponseBodySuccess = false
)

Defines values for PostUserCertificateRequestEndpoint403JSONResponseBodySuccess.

func (PostUserCertificateRequestEndpoint403JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostUserCertificateRequestEndpoint403JSONResponseBodySuccess enum.

type PostUserCertificateRequestEndpoint422JSONResponseBodySuccess added in v0.19.0

type PostUserCertificateRequestEndpoint422JSONResponseBodySuccess bool

PostUserCertificateRequestEndpoint422JSONResponseBodySuccess defines parameters for PostUserCertificateRequestEndpoint.

const (
	PostUserCertificateRequestEndpoint422JSONResponseBodySuccessFalse PostUserCertificateRequestEndpoint422JSONResponseBodySuccess = false
)

Defines values for PostUserCertificateRequestEndpoint422JSONResponseBodySuccess.

func (PostUserCertificateRequestEndpoint422JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostUserCertificateRequestEndpoint422JSONResponseBodySuccess enum.

type PostUserCertificateRequestEndpoint500JSONResponseBodySuccess added in v0.19.0

type PostUserCertificateRequestEndpoint500JSONResponseBodySuccess bool

PostUserCertificateRequestEndpoint500JSONResponseBodySuccess defines parameters for PostUserCertificateRequestEndpoint.

const (
	PostUserCertificateRequestEndpoint500JSONResponseBodySuccessFalse PostUserCertificateRequestEndpoint500JSONResponseBodySuccess = false
)

Defines values for PostUserCertificateRequestEndpoint500JSONResponseBodySuccess.

func (PostUserCertificateRequestEndpoint500JSONResponseBodySuccess) Valid added in v0.19.0

Valid indicates whether the value is a known member of the PostUserCertificateRequestEndpoint500JSONResponseBodySuccess enum.

type PostUserCertificateRequestEndpointJSONRequestBody

type PostUserCertificateRequestEndpointJSONRequestBody = UserCertificateRequest

PostUserCertificateRequestEndpointJSONRequestBody defines body for PostUserCertificateRequestEndpoint for application/json ContentType.

type PostUserCertificateRequestEndpointParams

type PostUserCertificateRequestEndpointParams struct {
	// Authorization Access Token JWT from OIDC IdP
	Authorization string `json:"Authorization"`
}

PostUserCertificateRequestEndpointParams defines parameters for PostUserCertificateRequestEndpoint.

type PostUserCertificateRequestEndpointResponse

type PostUserCertificateRequestEndpointResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CertificateResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		Errors []struct {
			Code    float32  `json:"code"`
			Message string   `json:"message"`
			Path    []string `json:"path"`
		} `json:"errors"`
		Success PostUserCertificateRequestEndpoint400JSONResponseBodySuccess `json:"success"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostUserCertificateRequestEndpoint401JSONResponseBodySuccess `json:"success"`
	}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostUserCertificateRequestEndpoint403JSONResponseBodySuccess `json:"success"`
	}
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *struct {
		Errors []struct {
			Code    float32  `json:"code"`
			Message string   `json:"message"`
			Path    []string `json:"path"`
		} `json:"errors"`
		Success PostUserCertificateRequestEndpoint422JSONResponseBodySuccess `json:"success"`
	}
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *struct {
		Errors []struct {
			Code    float32 `json:"code"`
			Message string  `json:"message"`
		} `json:"errors"`
		Success PostUserCertificateRequestEndpoint500JSONResponseBodySuccess `json:"success"`
	}
}

func ParsePostUserCertificateRequestEndpointResponse

func ParsePostUserCertificateRequestEndpointResponse(rsp *http.Response) (*PostUserCertificateRequestEndpointResponse, error)

ParsePostUserCertificateRequestEndpointResponse parses an HTTP response from a PostUserCertificateRequestEndpointWithResponse call

func (PostUserCertificateRequestEndpointResponse) ContentType added in v0.19.0

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

func (PostUserCertificateRequestEndpointResponse) GetBody added in v0.19.0

GetBody returns the raw response body bytes

func (PostUserCertificateRequestEndpointResponse) GetJSON200 added in v0.19.0

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

func (PostUserCertificateRequestEndpointResponse) GetJSON400 added in v0.19.0

func (r PostUserCertificateRequestEndpointResponse) GetJSON400() *struct {
	Errors []struct {
		Code    float32  `json:"code"`
		Message string   `json:"message"`
		Path    []string `json:"path"`
	} `json:"errors"`
	Success PostUserCertificateRequestEndpoint400JSONResponseBodySuccess `json:"success"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostUserCertificateRequestEndpointResponse) GetJSON401 added in v0.19.0

func (r PostUserCertificateRequestEndpointResponse) GetJSON401() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostUserCertificateRequestEndpoint401JSONResponseBodySuccess `json:"success"`
}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PostUserCertificateRequestEndpointResponse) GetJSON403 added in v0.19.0

func (r PostUserCertificateRequestEndpointResponse) GetJSON403() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostUserCertificateRequestEndpoint403JSONResponseBodySuccess `json:"success"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PostUserCertificateRequestEndpointResponse) GetJSON422 added in v0.19.0

func (r PostUserCertificateRequestEndpointResponse) GetJSON422() *struct {
	Errors []struct {
		Code    float32  `json:"code"`
		Message string   `json:"message"`
		Path    []string `json:"path"`
	} `json:"errors"`
	Success PostUserCertificateRequestEndpoint422JSONResponseBodySuccess `json:"success"`
}

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostUserCertificateRequestEndpointResponse) GetJSON500 added in v0.19.0

func (r PostUserCertificateRequestEndpointResponse) GetJSON500() *struct {
	Errors []struct {
		Code    float32 `json:"code"`
		Message string  `json:"message"`
	} `json:"errors"`
	Success PostUserCertificateRequestEndpoint500JSONResponseBodySuccess `json:"success"`
}

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (PostUserCertificateRequestEndpointResponse) Status

Status returns HTTPResponse.Status

func (PostUserCertificateRequestEndpointResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type RevocationResponse

type RevocationResponse struct {
	RevokedAt time.Time `json:"revoked_at"`
}

RevocationResponse defines model for Revocation Response.

type UserCertificateRequest

type UserCertificateRequest struct {
	// Extensions Extensions to include in the issued SSH certificate
	Extensions *[]string `json:"extensions,omitempty"`

	// Identity Identity Token JWT from OIDC IdP
	Identity string `json:"identity"`

	// Lifetime Lifetime of issued SSH certificate
	Lifetime *int `json:"lifetime,omitempty"`

	// Proof Proof of possession comprising of ${timestamp}.${fingerprint}.${signature}
	Proof string `json:"proof"`

	// PublicKey SSH public key to sign
	PublicKey []byte `json:"public_key"`
}

UserCertificateRequest defines model for User Certificate Request.

Jump to

Keyboard shortcuts

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