certificate_authority

package
v0.25.10 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for certificate authority API

func (*Client) CreateCa

func (a *Client) CreateCa(params *CreateCaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCaCreated, error)

CreateCa creates a c a

Creates a CA in an unverified state. Requires admin access.

func (*Client) DeleteCa

func (a *Client) DeleteCa(params *DeleteCaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCaOK, error)
DeleteCa deletes a c a

Delete a CA by id. Deleting a CA will delete its associated certificate authenticators. This can make it

impossible for identities to authenticate if they no longer have any valid authenticators. Requires admin access.

func (*Client) DetailCa

func (a *Client) DetailCa(params *DetailCaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailCaOK, error)

DetailCa retrieves a single c a

Retrieves a single CA by id. Requires admin access.

func (*Client) GetCaJWT

func (a *Client) GetCaJWT(params *GetCaJWTParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCaJWTOK, error)
GetCaJWT retrieves the enrollment JWT for a c a

For CA auto enrollment, the enrollment JWT is static and provided on each CA resource. This endpoint provides

the jwt as a text response.

func (*Client) ListCas

func (a *Client) ListCas(params *ListCasParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCasOK, error)

ListCas lists c as

Retrieves a list of CA resources; supports filtering, sorting, and pagination. Requires admin access.

func (*Client) PatchCa

func (a *Client) PatchCa(params *PatchCaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchCaOK, error)

PatchCa updates the supplied fields on a c a

Update only the supplied fields on a CA by id. Requires admin access.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateCa

func (a *Client) UpdateCa(params *UpdateCaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCaOK, error)

UpdateCa updates all fields on a c a

Update all fields on a CA by id. Requires admin access.

func (*Client) VerifyCa

func (a *Client) VerifyCa(params *VerifyCaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VerifyCaOK, error)
VerifyCa verifies a c a

Allows a CA to become verified by submitting a certificate in PEM format that has been signed by the target CA.

The common name on the certificate must match the verificationToken property of the CA. Unverfieid CAs can not be used for enrollment/authentication. Requires admin access.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateCa(params *CreateCaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateCaCreated, error)

	DeleteCa(params *DeleteCaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCaOK, error)

	DetailCa(params *DetailCaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DetailCaOK, error)

	GetCaJWT(params *GetCaJWTParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCaJWTOK, error)

	ListCas(params *ListCasParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListCasOK, error)

	PatchCa(params *PatchCaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchCaOK, error)

	UpdateCa(params *UpdateCaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateCaOK, error)

	VerifyCa(params *VerifyCaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*VerifyCaOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new certificate authority API client.

type CreateCaBadRequest

type CreateCaBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
CreateCaBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewCreateCaBadRequest

func NewCreateCaBadRequest() *CreateCaBadRequest

NewCreateCaBadRequest creates a CreateCaBadRequest with default headers values

func (*CreateCaBadRequest) Error

func (o *CreateCaBadRequest) Error() string

func (*CreateCaBadRequest) GetPayload

type CreateCaCreated

type CreateCaCreated struct {
	Payload *rest_model.CreateEnvelope
}
CreateCaCreated describes a response with status code 201, with default header values.

The create request was successful and the resource has been added at the following location

func NewCreateCaCreated

func NewCreateCaCreated() *CreateCaCreated

NewCreateCaCreated creates a CreateCaCreated with default headers values

func (*CreateCaCreated) Error

func (o *CreateCaCreated) Error() string

func (*CreateCaCreated) GetPayload

func (o *CreateCaCreated) GetPayload() *rest_model.CreateEnvelope

type CreateCaParams

type CreateCaParams struct {

	/* Ca.

	   A CA to create
	*/
	Ca *rest_model.CaCreate

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateCaParams contains all the parameters to send to the API endpoint

for the create ca operation.

Typically these are written to a http.Request.

func NewCreateCaParams

func NewCreateCaParams() *CreateCaParams

NewCreateCaParams creates a new CreateCaParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateCaParamsWithContext

func NewCreateCaParamsWithContext(ctx context.Context) *CreateCaParams

NewCreateCaParamsWithContext creates a new CreateCaParams object with the ability to set a context for a request.

func NewCreateCaParamsWithHTTPClient

func NewCreateCaParamsWithHTTPClient(client *http.Client) *CreateCaParams

NewCreateCaParamsWithHTTPClient creates a new CreateCaParams object with the ability to set a custom HTTPClient for a request.

func NewCreateCaParamsWithTimeout

func NewCreateCaParamsWithTimeout(timeout time.Duration) *CreateCaParams

NewCreateCaParamsWithTimeout creates a new CreateCaParams object with the ability to set a timeout on a request.

func (*CreateCaParams) SetCa

func (o *CreateCaParams) SetCa(ca *rest_model.CaCreate)

SetCa adds the ca to the create ca params

func (*CreateCaParams) SetContext

func (o *CreateCaParams) SetContext(ctx context.Context)

SetContext adds the context to the create ca params

func (*CreateCaParams) SetDefaults

func (o *CreateCaParams) SetDefaults()

SetDefaults hydrates default values in the create ca params (not the query body).

All values with no default are reset to their zero value.

func (*CreateCaParams) SetHTTPClient

func (o *CreateCaParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create ca params

func (*CreateCaParams) SetTimeout

func (o *CreateCaParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create ca params

func (*CreateCaParams) WithCa

WithCa adds the ca to the create ca params

func (*CreateCaParams) WithContext

func (o *CreateCaParams) WithContext(ctx context.Context) *CreateCaParams

WithContext adds the context to the create ca params

func (*CreateCaParams) WithDefaults

func (o *CreateCaParams) WithDefaults() *CreateCaParams

WithDefaults hydrates default values in the create ca params (not the query body).

All values with no default are reset to their zero value.

func (*CreateCaParams) WithHTTPClient

func (o *CreateCaParams) WithHTTPClient(client *http.Client) *CreateCaParams

WithHTTPClient adds the HTTPClient to the create ca params

func (*CreateCaParams) WithTimeout

func (o *CreateCaParams) WithTimeout(timeout time.Duration) *CreateCaParams

WithTimeout adds the timeout to the create ca params

func (*CreateCaParams) WriteToRequest

func (o *CreateCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateCaReader

type CreateCaReader struct {
	// contains filtered or unexported fields
}

CreateCaReader is a Reader for the CreateCa structure.

func (*CreateCaReader) ReadResponse

func (o *CreateCaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateCaUnauthorized

type CreateCaUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
CreateCaUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewCreateCaUnauthorized

func NewCreateCaUnauthorized() *CreateCaUnauthorized

NewCreateCaUnauthorized creates a CreateCaUnauthorized with default headers values

func (*CreateCaUnauthorized) Error

func (o *CreateCaUnauthorized) Error() string

func (*CreateCaUnauthorized) GetPayload

type DeleteCaBadRequest

type DeleteCaBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteCaBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewDeleteCaBadRequest

func NewDeleteCaBadRequest() *DeleteCaBadRequest

NewDeleteCaBadRequest creates a DeleteCaBadRequest with default headers values

func (*DeleteCaBadRequest) Error

func (o *DeleteCaBadRequest) Error() string

func (*DeleteCaBadRequest) GetPayload

type DeleteCaOK

type DeleteCaOK struct {
	Payload *rest_model.Empty
}
DeleteCaOK describes a response with status code 200, with default header values.

The delete request was successful and the resource has been removed

func NewDeleteCaOK

func NewDeleteCaOK() *DeleteCaOK

NewDeleteCaOK creates a DeleteCaOK with default headers values

func (*DeleteCaOK) Error

func (o *DeleteCaOK) Error() string

func (*DeleteCaOK) GetPayload

func (o *DeleteCaOK) GetPayload() *rest_model.Empty

type DeleteCaParams

type DeleteCaParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteCaParams contains all the parameters to send to the API endpoint

for the delete ca operation.

Typically these are written to a http.Request.

func NewDeleteCaParams

func NewDeleteCaParams() *DeleteCaParams

NewDeleteCaParams creates a new DeleteCaParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteCaParamsWithContext

func NewDeleteCaParamsWithContext(ctx context.Context) *DeleteCaParams

NewDeleteCaParamsWithContext creates a new DeleteCaParams object with the ability to set a context for a request.

func NewDeleteCaParamsWithHTTPClient

func NewDeleteCaParamsWithHTTPClient(client *http.Client) *DeleteCaParams

NewDeleteCaParamsWithHTTPClient creates a new DeleteCaParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCaParamsWithTimeout

func NewDeleteCaParamsWithTimeout(timeout time.Duration) *DeleteCaParams

NewDeleteCaParamsWithTimeout creates a new DeleteCaParams object with the ability to set a timeout on a request.

func (*DeleteCaParams) SetContext

func (o *DeleteCaParams) SetContext(ctx context.Context)

SetContext adds the context to the delete ca params

func (*DeleteCaParams) SetDefaults

func (o *DeleteCaParams) SetDefaults()

SetDefaults hydrates default values in the delete ca params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteCaParams) SetHTTPClient

func (o *DeleteCaParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete ca params

func (*DeleteCaParams) SetID

func (o *DeleteCaParams) SetID(id string)

SetID adds the id to the delete ca params

func (*DeleteCaParams) SetTimeout

func (o *DeleteCaParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete ca params

func (*DeleteCaParams) WithContext

func (o *DeleteCaParams) WithContext(ctx context.Context) *DeleteCaParams

WithContext adds the context to the delete ca params

func (*DeleteCaParams) WithDefaults

func (o *DeleteCaParams) WithDefaults() *DeleteCaParams

WithDefaults hydrates default values in the delete ca params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteCaParams) WithHTTPClient

func (o *DeleteCaParams) WithHTTPClient(client *http.Client) *DeleteCaParams

WithHTTPClient adds the HTTPClient to the delete ca params

func (*DeleteCaParams) WithID

func (o *DeleteCaParams) WithID(id string) *DeleteCaParams

WithID adds the id to the delete ca params

func (*DeleteCaParams) WithTimeout

func (o *DeleteCaParams) WithTimeout(timeout time.Duration) *DeleteCaParams

WithTimeout adds the timeout to the delete ca params

func (*DeleteCaParams) WriteToRequest

func (o *DeleteCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteCaReader

type DeleteCaReader struct {
	// contains filtered or unexported fields
}

DeleteCaReader is a Reader for the DeleteCa structure.

func (*DeleteCaReader) ReadResponse

func (o *DeleteCaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteCaUnauthorized

type DeleteCaUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
DeleteCaUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewDeleteCaUnauthorized

func NewDeleteCaUnauthorized() *DeleteCaUnauthorized

NewDeleteCaUnauthorized creates a DeleteCaUnauthorized with default headers values

func (*DeleteCaUnauthorized) Error

func (o *DeleteCaUnauthorized) Error() string

func (*DeleteCaUnauthorized) GetPayload

type DetailCaNotFound

type DetailCaNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
DetailCaNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewDetailCaNotFound

func NewDetailCaNotFound() *DetailCaNotFound

NewDetailCaNotFound creates a DetailCaNotFound with default headers values

func (*DetailCaNotFound) Error

func (o *DetailCaNotFound) Error() string

func (*DetailCaNotFound) GetPayload

func (o *DetailCaNotFound) GetPayload() *rest_model.APIErrorEnvelope

type DetailCaOK

type DetailCaOK struct {
	Payload *rest_model.DetailCaEnvelope
}
DetailCaOK describes a response with status code 200, with default header values.

A singular Certificate Authority (CA) resource

func NewDetailCaOK

func NewDetailCaOK() *DetailCaOK

NewDetailCaOK creates a DetailCaOK with default headers values

func (*DetailCaOK) Error

func (o *DetailCaOK) Error() string

func (*DetailCaOK) GetPayload

func (o *DetailCaOK) GetPayload() *rest_model.DetailCaEnvelope

type DetailCaParams

type DetailCaParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DetailCaParams contains all the parameters to send to the API endpoint

for the detail ca operation.

Typically these are written to a http.Request.

func NewDetailCaParams

func NewDetailCaParams() *DetailCaParams

NewDetailCaParams creates a new DetailCaParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDetailCaParamsWithContext

func NewDetailCaParamsWithContext(ctx context.Context) *DetailCaParams

NewDetailCaParamsWithContext creates a new DetailCaParams object with the ability to set a context for a request.

func NewDetailCaParamsWithHTTPClient

func NewDetailCaParamsWithHTTPClient(client *http.Client) *DetailCaParams

NewDetailCaParamsWithHTTPClient creates a new DetailCaParams object with the ability to set a custom HTTPClient for a request.

func NewDetailCaParamsWithTimeout

func NewDetailCaParamsWithTimeout(timeout time.Duration) *DetailCaParams

NewDetailCaParamsWithTimeout creates a new DetailCaParams object with the ability to set a timeout on a request.

func (*DetailCaParams) SetContext

func (o *DetailCaParams) SetContext(ctx context.Context)

SetContext adds the context to the detail ca params

func (*DetailCaParams) SetDefaults

func (o *DetailCaParams) SetDefaults()

SetDefaults hydrates default values in the detail ca params (not the query body).

All values with no default are reset to their zero value.

func (*DetailCaParams) SetHTTPClient

func (o *DetailCaParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the detail ca params

func (*DetailCaParams) SetID

func (o *DetailCaParams) SetID(id string)

SetID adds the id to the detail ca params

func (*DetailCaParams) SetTimeout

func (o *DetailCaParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the detail ca params

func (*DetailCaParams) WithContext

func (o *DetailCaParams) WithContext(ctx context.Context) *DetailCaParams

WithContext adds the context to the detail ca params

func (*DetailCaParams) WithDefaults

func (o *DetailCaParams) WithDefaults() *DetailCaParams

WithDefaults hydrates default values in the detail ca params (not the query body).

All values with no default are reset to their zero value.

func (*DetailCaParams) WithHTTPClient

func (o *DetailCaParams) WithHTTPClient(client *http.Client) *DetailCaParams

WithHTTPClient adds the HTTPClient to the detail ca params

func (*DetailCaParams) WithID

func (o *DetailCaParams) WithID(id string) *DetailCaParams

WithID adds the id to the detail ca params

func (*DetailCaParams) WithTimeout

func (o *DetailCaParams) WithTimeout(timeout time.Duration) *DetailCaParams

WithTimeout adds the timeout to the detail ca params

func (*DetailCaParams) WriteToRequest

func (o *DetailCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DetailCaReader

type DetailCaReader struct {
	// contains filtered or unexported fields
}

DetailCaReader is a Reader for the DetailCa structure.

func (*DetailCaReader) ReadResponse

func (o *DetailCaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DetailCaUnauthorized

type DetailCaUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
DetailCaUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewDetailCaUnauthorized

func NewDetailCaUnauthorized() *DetailCaUnauthorized

NewDetailCaUnauthorized creates a DetailCaUnauthorized with default headers values

func (*DetailCaUnauthorized) Error

func (o *DetailCaUnauthorized) Error() string

func (*DetailCaUnauthorized) GetPayload

type GetCaJWTNotFound

type GetCaJWTNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
GetCaJWTNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewGetCaJWTNotFound

func NewGetCaJWTNotFound() *GetCaJWTNotFound

NewGetCaJWTNotFound creates a GetCaJWTNotFound with default headers values

func (*GetCaJWTNotFound) Error

func (o *GetCaJWTNotFound) Error() string

func (*GetCaJWTNotFound) GetPayload

func (o *GetCaJWTNotFound) GetPayload() *rest_model.APIErrorEnvelope

type GetCaJWTOK

type GetCaJWTOK struct {
	Payload string
}
GetCaJWTOK describes a response with status code 200, with default header values.

The result is the JWT text to validate the CA

func NewGetCaJWTOK

func NewGetCaJWTOK() *GetCaJWTOK

NewGetCaJWTOK creates a GetCaJWTOK with default headers values

func (*GetCaJWTOK) Error

func (o *GetCaJWTOK) Error() string

func (*GetCaJWTOK) GetPayload

func (o *GetCaJWTOK) GetPayload() string

type GetCaJWTParams

type GetCaJWTParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetCaJWTParams contains all the parameters to send to the API endpoint

for the get ca Jwt operation.

Typically these are written to a http.Request.

func NewGetCaJWTParams

func NewGetCaJWTParams() *GetCaJWTParams

NewGetCaJWTParams creates a new GetCaJWTParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetCaJWTParamsWithContext

func NewGetCaJWTParamsWithContext(ctx context.Context) *GetCaJWTParams

NewGetCaJWTParamsWithContext creates a new GetCaJWTParams object with the ability to set a context for a request.

func NewGetCaJWTParamsWithHTTPClient

func NewGetCaJWTParamsWithHTTPClient(client *http.Client) *GetCaJWTParams

NewGetCaJWTParamsWithHTTPClient creates a new GetCaJWTParams object with the ability to set a custom HTTPClient for a request.

func NewGetCaJWTParamsWithTimeout

func NewGetCaJWTParamsWithTimeout(timeout time.Duration) *GetCaJWTParams

NewGetCaJWTParamsWithTimeout creates a new GetCaJWTParams object with the ability to set a timeout on a request.

func (*GetCaJWTParams) SetContext

func (o *GetCaJWTParams) SetContext(ctx context.Context)

SetContext adds the context to the get ca Jwt params

func (*GetCaJWTParams) SetDefaults

func (o *GetCaJWTParams) SetDefaults()

SetDefaults hydrates default values in the get ca Jwt params (not the query body).

All values with no default are reset to their zero value.

func (*GetCaJWTParams) SetHTTPClient

func (o *GetCaJWTParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get ca Jwt params

func (*GetCaJWTParams) SetID

func (o *GetCaJWTParams) SetID(id string)

SetID adds the id to the get ca Jwt params

func (*GetCaJWTParams) SetTimeout

func (o *GetCaJWTParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get ca Jwt params

func (*GetCaJWTParams) WithContext

func (o *GetCaJWTParams) WithContext(ctx context.Context) *GetCaJWTParams

WithContext adds the context to the get ca Jwt params

func (*GetCaJWTParams) WithDefaults

func (o *GetCaJWTParams) WithDefaults() *GetCaJWTParams

WithDefaults hydrates default values in the get ca Jwt params (not the query body).

All values with no default are reset to their zero value.

func (*GetCaJWTParams) WithHTTPClient

func (o *GetCaJWTParams) WithHTTPClient(client *http.Client) *GetCaJWTParams

WithHTTPClient adds the HTTPClient to the get ca Jwt params

func (*GetCaJWTParams) WithID

func (o *GetCaJWTParams) WithID(id string) *GetCaJWTParams

WithID adds the id to the get ca Jwt params

func (*GetCaJWTParams) WithTimeout

func (o *GetCaJWTParams) WithTimeout(timeout time.Duration) *GetCaJWTParams

WithTimeout adds the timeout to the get ca Jwt params

func (*GetCaJWTParams) WriteToRequest

func (o *GetCaJWTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetCaJWTReader

type GetCaJWTReader struct {
	// contains filtered or unexported fields
}

GetCaJWTReader is a Reader for the GetCaJWT structure.

func (*GetCaJWTReader) ReadResponse

func (o *GetCaJWTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetCaJWTUnauthorized

type GetCaJWTUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
GetCaJWTUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewGetCaJWTUnauthorized

func NewGetCaJWTUnauthorized() *GetCaJWTUnauthorized

NewGetCaJWTUnauthorized creates a GetCaJWTUnauthorized with default headers values

func (*GetCaJWTUnauthorized) Error

func (o *GetCaJWTUnauthorized) Error() string

func (*GetCaJWTUnauthorized) GetPayload

type ListCasBadRequest

type ListCasBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
ListCasBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewListCasBadRequest

func NewListCasBadRequest() *ListCasBadRequest

NewListCasBadRequest creates a ListCasBadRequest with default headers values

func (*ListCasBadRequest) Error

func (o *ListCasBadRequest) Error() string

func (*ListCasBadRequest) GetPayload

type ListCasOK

type ListCasOK struct {
	Payload *rest_model.ListCasEnvelope
}
ListCasOK describes a response with status code 200, with default header values.

A list of Certificate Authorities (CAs)

func NewListCasOK

func NewListCasOK() *ListCasOK

NewListCasOK creates a ListCasOK with default headers values

func (*ListCasOK) Error

func (o *ListCasOK) Error() string

func (*ListCasOK) GetPayload

func (o *ListCasOK) GetPayload() *rest_model.ListCasEnvelope

type ListCasParams

type ListCasParams struct {

	// Filter.
	Filter *string

	// Limit.
	Limit *int64

	// Offset.
	Offset *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListCasParams contains all the parameters to send to the API endpoint

for the list cas operation.

Typically these are written to a http.Request.

func NewListCasParams

func NewListCasParams() *ListCasParams

NewListCasParams creates a new ListCasParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListCasParamsWithContext

func NewListCasParamsWithContext(ctx context.Context) *ListCasParams

NewListCasParamsWithContext creates a new ListCasParams object with the ability to set a context for a request.

func NewListCasParamsWithHTTPClient

func NewListCasParamsWithHTTPClient(client *http.Client) *ListCasParams

NewListCasParamsWithHTTPClient creates a new ListCasParams object with the ability to set a custom HTTPClient for a request.

func NewListCasParamsWithTimeout

func NewListCasParamsWithTimeout(timeout time.Duration) *ListCasParams

NewListCasParamsWithTimeout creates a new ListCasParams object with the ability to set a timeout on a request.

func (*ListCasParams) SetContext

func (o *ListCasParams) SetContext(ctx context.Context)

SetContext adds the context to the list cas params

func (*ListCasParams) SetDefaults

func (o *ListCasParams) SetDefaults()

SetDefaults hydrates default values in the list cas params (not the query body).

All values with no default are reset to their zero value.

func (*ListCasParams) SetFilter

func (o *ListCasParams) SetFilter(filter *string)

SetFilter adds the filter to the list cas params

func (*ListCasParams) SetHTTPClient

func (o *ListCasParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list cas params

func (*ListCasParams) SetLimit

func (o *ListCasParams) SetLimit(limit *int64)

SetLimit adds the limit to the list cas params

func (*ListCasParams) SetOffset

func (o *ListCasParams) SetOffset(offset *int64)

SetOffset adds the offset to the list cas params

func (*ListCasParams) SetTimeout

func (o *ListCasParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list cas params

func (*ListCasParams) WithContext

func (o *ListCasParams) WithContext(ctx context.Context) *ListCasParams

WithContext adds the context to the list cas params

func (*ListCasParams) WithDefaults

func (o *ListCasParams) WithDefaults() *ListCasParams

WithDefaults hydrates default values in the list cas params (not the query body).

All values with no default are reset to their zero value.

func (*ListCasParams) WithFilter

func (o *ListCasParams) WithFilter(filter *string) *ListCasParams

WithFilter adds the filter to the list cas params

func (*ListCasParams) WithHTTPClient

func (o *ListCasParams) WithHTTPClient(client *http.Client) *ListCasParams

WithHTTPClient adds the HTTPClient to the list cas params

func (*ListCasParams) WithLimit

func (o *ListCasParams) WithLimit(limit *int64) *ListCasParams

WithLimit adds the limit to the list cas params

func (*ListCasParams) WithOffset

func (o *ListCasParams) WithOffset(offset *int64) *ListCasParams

WithOffset adds the offset to the list cas params

func (*ListCasParams) WithTimeout

func (o *ListCasParams) WithTimeout(timeout time.Duration) *ListCasParams

WithTimeout adds the timeout to the list cas params

func (*ListCasParams) WriteToRequest

func (o *ListCasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListCasReader

type ListCasReader struct {
	// contains filtered or unexported fields
}

ListCasReader is a Reader for the ListCas structure.

func (*ListCasReader) ReadResponse

func (o *ListCasReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListCasUnauthorized

type ListCasUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
ListCasUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewListCasUnauthorized

func NewListCasUnauthorized() *ListCasUnauthorized

NewListCasUnauthorized creates a ListCasUnauthorized with default headers values

func (*ListCasUnauthorized) Error

func (o *ListCasUnauthorized) Error() string

func (*ListCasUnauthorized) GetPayload

type PatchCaBadRequest

type PatchCaBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchCaBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewPatchCaBadRequest

func NewPatchCaBadRequest() *PatchCaBadRequest

NewPatchCaBadRequest creates a PatchCaBadRequest with default headers values

func (*PatchCaBadRequest) Error

func (o *PatchCaBadRequest) Error() string

func (*PatchCaBadRequest) GetPayload

type PatchCaNotFound

type PatchCaNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchCaNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewPatchCaNotFound

func NewPatchCaNotFound() *PatchCaNotFound

NewPatchCaNotFound creates a PatchCaNotFound with default headers values

func (*PatchCaNotFound) Error

func (o *PatchCaNotFound) Error() string

func (*PatchCaNotFound) GetPayload

func (o *PatchCaNotFound) GetPayload() *rest_model.APIErrorEnvelope

type PatchCaOK

type PatchCaOK struct {
	Payload *rest_model.Empty
}
PatchCaOK describes a response with status code 200, with default header values.

The patch request was successful and the resource has been altered

func NewPatchCaOK

func NewPatchCaOK() *PatchCaOK

NewPatchCaOK creates a PatchCaOK with default headers values

func (*PatchCaOK) Error

func (o *PatchCaOK) Error() string

func (*PatchCaOK) GetPayload

func (o *PatchCaOK) GetPayload() *rest_model.Empty

type PatchCaParams

type PatchCaParams struct {

	/* Ca.

	   A CA patch object
	*/
	Ca *rest_model.CaPatch

	/* ID.

	   The id of the requested resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchCaParams contains all the parameters to send to the API endpoint

for the patch ca operation.

Typically these are written to a http.Request.

func NewPatchCaParams

func NewPatchCaParams() *PatchCaParams

NewPatchCaParams creates a new PatchCaParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchCaParamsWithContext

func NewPatchCaParamsWithContext(ctx context.Context) *PatchCaParams

NewPatchCaParamsWithContext creates a new PatchCaParams object with the ability to set a context for a request.

func NewPatchCaParamsWithHTTPClient

func NewPatchCaParamsWithHTTPClient(client *http.Client) *PatchCaParams

NewPatchCaParamsWithHTTPClient creates a new PatchCaParams object with the ability to set a custom HTTPClient for a request.

func NewPatchCaParamsWithTimeout

func NewPatchCaParamsWithTimeout(timeout time.Duration) *PatchCaParams

NewPatchCaParamsWithTimeout creates a new PatchCaParams object with the ability to set a timeout on a request.

func (*PatchCaParams) SetCa

func (o *PatchCaParams) SetCa(ca *rest_model.CaPatch)

SetCa adds the ca to the patch ca params

func (*PatchCaParams) SetContext

func (o *PatchCaParams) SetContext(ctx context.Context)

SetContext adds the context to the patch ca params

func (*PatchCaParams) SetDefaults

func (o *PatchCaParams) SetDefaults()

SetDefaults hydrates default values in the patch ca params (not the query body).

All values with no default are reset to their zero value.

func (*PatchCaParams) SetHTTPClient

func (o *PatchCaParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch ca params

func (*PatchCaParams) SetID

func (o *PatchCaParams) SetID(id string)

SetID adds the id to the patch ca params

func (*PatchCaParams) SetTimeout

func (o *PatchCaParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch ca params

func (*PatchCaParams) WithCa

WithCa adds the ca to the patch ca params

func (*PatchCaParams) WithContext

func (o *PatchCaParams) WithContext(ctx context.Context) *PatchCaParams

WithContext adds the context to the patch ca params

func (*PatchCaParams) WithDefaults

func (o *PatchCaParams) WithDefaults() *PatchCaParams

WithDefaults hydrates default values in the patch ca params (not the query body).

All values with no default are reset to their zero value.

func (*PatchCaParams) WithHTTPClient

func (o *PatchCaParams) WithHTTPClient(client *http.Client) *PatchCaParams

WithHTTPClient adds the HTTPClient to the patch ca params

func (*PatchCaParams) WithID

func (o *PatchCaParams) WithID(id string) *PatchCaParams

WithID adds the id to the patch ca params

func (*PatchCaParams) WithTimeout

func (o *PatchCaParams) WithTimeout(timeout time.Duration) *PatchCaParams

WithTimeout adds the timeout to the patch ca params

func (*PatchCaParams) WriteToRequest

func (o *PatchCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PatchCaReader

type PatchCaReader struct {
	// contains filtered or unexported fields
}

PatchCaReader is a Reader for the PatchCa structure.

func (*PatchCaReader) ReadResponse

func (o *PatchCaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchCaUnauthorized

type PatchCaUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
PatchCaUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewPatchCaUnauthorized

func NewPatchCaUnauthorized() *PatchCaUnauthorized

NewPatchCaUnauthorized creates a PatchCaUnauthorized with default headers values

func (*PatchCaUnauthorized) Error

func (o *PatchCaUnauthorized) Error() string

func (*PatchCaUnauthorized) GetPayload

type UpdateCaBadRequest

type UpdateCaBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateCaBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewUpdateCaBadRequest

func NewUpdateCaBadRequest() *UpdateCaBadRequest

NewUpdateCaBadRequest creates a UpdateCaBadRequest with default headers values

func (*UpdateCaBadRequest) Error

func (o *UpdateCaBadRequest) Error() string

func (*UpdateCaBadRequest) GetPayload

type UpdateCaNotFound

type UpdateCaNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateCaNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewUpdateCaNotFound

func NewUpdateCaNotFound() *UpdateCaNotFound

NewUpdateCaNotFound creates a UpdateCaNotFound with default headers values

func (*UpdateCaNotFound) Error

func (o *UpdateCaNotFound) Error() string

func (*UpdateCaNotFound) GetPayload

func (o *UpdateCaNotFound) GetPayload() *rest_model.APIErrorEnvelope

type UpdateCaOK

type UpdateCaOK struct {
	Payload *rest_model.Empty
}
UpdateCaOK describes a response with status code 200, with default header values.

The update request was successful and the resource has been altered

func NewUpdateCaOK

func NewUpdateCaOK() *UpdateCaOK

NewUpdateCaOK creates a UpdateCaOK with default headers values

func (*UpdateCaOK) Error

func (o *UpdateCaOK) Error() string

func (*UpdateCaOK) GetPayload

func (o *UpdateCaOK) GetPayload() *rest_model.Empty

type UpdateCaParams

type UpdateCaParams struct {

	/* Ca.

	   A CA update object
	*/
	Ca *rest_model.CaUpdate

	/* ID.

	   The id of the requested resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateCaParams contains all the parameters to send to the API endpoint

for the update ca operation.

Typically these are written to a http.Request.

func NewUpdateCaParams

func NewUpdateCaParams() *UpdateCaParams

NewUpdateCaParams creates a new UpdateCaParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateCaParamsWithContext

func NewUpdateCaParamsWithContext(ctx context.Context) *UpdateCaParams

NewUpdateCaParamsWithContext creates a new UpdateCaParams object with the ability to set a context for a request.

func NewUpdateCaParamsWithHTTPClient

func NewUpdateCaParamsWithHTTPClient(client *http.Client) *UpdateCaParams

NewUpdateCaParamsWithHTTPClient creates a new UpdateCaParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateCaParamsWithTimeout

func NewUpdateCaParamsWithTimeout(timeout time.Duration) *UpdateCaParams

NewUpdateCaParamsWithTimeout creates a new UpdateCaParams object with the ability to set a timeout on a request.

func (*UpdateCaParams) SetCa

func (o *UpdateCaParams) SetCa(ca *rest_model.CaUpdate)

SetCa adds the ca to the update ca params

func (*UpdateCaParams) SetContext

func (o *UpdateCaParams) SetContext(ctx context.Context)

SetContext adds the context to the update ca params

func (*UpdateCaParams) SetDefaults

func (o *UpdateCaParams) SetDefaults()

SetDefaults hydrates default values in the update ca params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateCaParams) SetHTTPClient

func (o *UpdateCaParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update ca params

func (*UpdateCaParams) SetID

func (o *UpdateCaParams) SetID(id string)

SetID adds the id to the update ca params

func (*UpdateCaParams) SetTimeout

func (o *UpdateCaParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update ca params

func (*UpdateCaParams) WithCa

WithCa adds the ca to the update ca params

func (*UpdateCaParams) WithContext

func (o *UpdateCaParams) WithContext(ctx context.Context) *UpdateCaParams

WithContext adds the context to the update ca params

func (*UpdateCaParams) WithDefaults

func (o *UpdateCaParams) WithDefaults() *UpdateCaParams

WithDefaults hydrates default values in the update ca params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateCaParams) WithHTTPClient

func (o *UpdateCaParams) WithHTTPClient(client *http.Client) *UpdateCaParams

WithHTTPClient adds the HTTPClient to the update ca params

func (*UpdateCaParams) WithID

func (o *UpdateCaParams) WithID(id string) *UpdateCaParams

WithID adds the id to the update ca params

func (*UpdateCaParams) WithTimeout

func (o *UpdateCaParams) WithTimeout(timeout time.Duration) *UpdateCaParams

WithTimeout adds the timeout to the update ca params

func (*UpdateCaParams) WriteToRequest

func (o *UpdateCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateCaReader

type UpdateCaReader struct {
	// contains filtered or unexported fields
}

UpdateCaReader is a Reader for the UpdateCa structure.

func (*UpdateCaReader) ReadResponse

func (o *UpdateCaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateCaUnauthorized

type UpdateCaUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
UpdateCaUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewUpdateCaUnauthorized

func NewUpdateCaUnauthorized() *UpdateCaUnauthorized

NewUpdateCaUnauthorized creates a UpdateCaUnauthorized with default headers values

func (*UpdateCaUnauthorized) Error

func (o *UpdateCaUnauthorized) Error() string

func (*UpdateCaUnauthorized) GetPayload

type VerifyCaBadRequest

type VerifyCaBadRequest struct {
	Payload *rest_model.APIErrorEnvelope
}
VerifyCaBadRequest describes a response with status code 400, with default header values.

The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

func NewVerifyCaBadRequest

func NewVerifyCaBadRequest() *VerifyCaBadRequest

NewVerifyCaBadRequest creates a VerifyCaBadRequest with default headers values

func (*VerifyCaBadRequest) Error

func (o *VerifyCaBadRequest) Error() string

func (*VerifyCaBadRequest) GetPayload

type VerifyCaNotFound

type VerifyCaNotFound struct {
	Payload *rest_model.APIErrorEnvelope
}
VerifyCaNotFound describes a response with status code 404, with default header values.

The requested resource does not exist

func NewVerifyCaNotFound

func NewVerifyCaNotFound() *VerifyCaNotFound

NewVerifyCaNotFound creates a VerifyCaNotFound with default headers values

func (*VerifyCaNotFound) Error

func (o *VerifyCaNotFound) Error() string

func (*VerifyCaNotFound) GetPayload

func (o *VerifyCaNotFound) GetPayload() *rest_model.APIErrorEnvelope

type VerifyCaOK

type VerifyCaOK struct {
	Payload *rest_model.Empty
}
VerifyCaOK describes a response with status code 200, with default header values.

Base empty response

func NewVerifyCaOK

func NewVerifyCaOK() *VerifyCaOK

NewVerifyCaOK creates a VerifyCaOK with default headers values

func (*VerifyCaOK) Error

func (o *VerifyCaOK) Error() string

func (*VerifyCaOK) GetPayload

func (o *VerifyCaOK) GetPayload() *rest_model.Empty

type VerifyCaParams

type VerifyCaParams struct {

	/* Certificate.

	   A PEM formatted certificate signed by the target CA with the common name matching the CA's validationToken
	*/
	Certificate string

	/* ID.

	   The id of the requested resource
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

VerifyCaParams contains all the parameters to send to the API endpoint

for the verify ca operation.

Typically these are written to a http.Request.

func NewVerifyCaParams

func NewVerifyCaParams() *VerifyCaParams

NewVerifyCaParams creates a new VerifyCaParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewVerifyCaParamsWithContext

func NewVerifyCaParamsWithContext(ctx context.Context) *VerifyCaParams

NewVerifyCaParamsWithContext creates a new VerifyCaParams object with the ability to set a context for a request.

func NewVerifyCaParamsWithHTTPClient

func NewVerifyCaParamsWithHTTPClient(client *http.Client) *VerifyCaParams

NewVerifyCaParamsWithHTTPClient creates a new VerifyCaParams object with the ability to set a custom HTTPClient for a request.

func NewVerifyCaParamsWithTimeout

func NewVerifyCaParamsWithTimeout(timeout time.Duration) *VerifyCaParams

NewVerifyCaParamsWithTimeout creates a new VerifyCaParams object with the ability to set a timeout on a request.

func (*VerifyCaParams) SetCertificate

func (o *VerifyCaParams) SetCertificate(certificate string)

SetCertificate adds the certificate to the verify ca params

func (*VerifyCaParams) SetContext

func (o *VerifyCaParams) SetContext(ctx context.Context)

SetContext adds the context to the verify ca params

func (*VerifyCaParams) SetDefaults

func (o *VerifyCaParams) SetDefaults()

SetDefaults hydrates default values in the verify ca params (not the query body).

All values with no default are reset to their zero value.

func (*VerifyCaParams) SetHTTPClient

func (o *VerifyCaParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the verify ca params

func (*VerifyCaParams) SetID

func (o *VerifyCaParams) SetID(id string)

SetID adds the id to the verify ca params

func (*VerifyCaParams) SetTimeout

func (o *VerifyCaParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the verify ca params

func (*VerifyCaParams) WithCertificate

func (o *VerifyCaParams) WithCertificate(certificate string) *VerifyCaParams

WithCertificate adds the certificate to the verify ca params

func (*VerifyCaParams) WithContext

func (o *VerifyCaParams) WithContext(ctx context.Context) *VerifyCaParams

WithContext adds the context to the verify ca params

func (*VerifyCaParams) WithDefaults

func (o *VerifyCaParams) WithDefaults() *VerifyCaParams

WithDefaults hydrates default values in the verify ca params (not the query body).

All values with no default are reset to their zero value.

func (*VerifyCaParams) WithHTTPClient

func (o *VerifyCaParams) WithHTTPClient(client *http.Client) *VerifyCaParams

WithHTTPClient adds the HTTPClient to the verify ca params

func (*VerifyCaParams) WithID

func (o *VerifyCaParams) WithID(id string) *VerifyCaParams

WithID adds the id to the verify ca params

func (*VerifyCaParams) WithTimeout

func (o *VerifyCaParams) WithTimeout(timeout time.Duration) *VerifyCaParams

WithTimeout adds the timeout to the verify ca params

func (*VerifyCaParams) WriteToRequest

func (o *VerifyCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type VerifyCaReader

type VerifyCaReader struct {
	// contains filtered or unexported fields
}

VerifyCaReader is a Reader for the VerifyCa structure.

func (*VerifyCaReader) ReadResponse

func (o *VerifyCaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type VerifyCaUnauthorized

type VerifyCaUnauthorized struct {
	Payload *rest_model.APIErrorEnvelope
}
VerifyCaUnauthorized describes a response with status code 401, with default header values.

The currently supplied session does not have the correct access rights to request this resource

func NewVerifyCaUnauthorized

func NewVerifyCaUnauthorized() *VerifyCaUnauthorized

NewVerifyCaUnauthorized creates a VerifyCaUnauthorized with default headers values

func (*VerifyCaUnauthorized) Error

func (o *VerifyCaUnauthorized) Error() string

func (*VerifyCaUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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