Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateCa(params *CreateCaParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCaOK, error)
- func (a *Client) DeleteCa(params *DeleteCaParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCaOK, error)
- func (a *Client) DetailCa(params *DetailCaParams, authInfo runtime.ClientAuthInfoWriter) (*DetailCaOK, error)
- func (a *Client) GetCaJwt(params *GetCaJwtParams, authInfo runtime.ClientAuthInfoWriter) (*GetCaJwtOK, error)
- func (a *Client) ListCas(params *ListCasParams, authInfo runtime.ClientAuthInfoWriter) (*ListCasOK, error)
- func (a *Client) PatchCa(params *PatchCaParams, authInfo runtime.ClientAuthInfoWriter) (*PatchCaOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCa(params *UpdateCaParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCaOK, error)
- func (a *Client) VerifyCa(params *VerifyCaParams, authInfo runtime.ClientAuthInfoWriter) (*VerifyCaOK, error)
- type ClientService
- type CreateCaBadRequest
- type CreateCaOK
- type CreateCaParams
- func (o *CreateCaParams) SetBody(body *rest_model.CaCreate)
- func (o *CreateCaParams) SetContext(ctx context.Context)
- func (o *CreateCaParams) SetHTTPClient(client *http.Client)
- func (o *CreateCaParams) SetTimeout(timeout time.Duration)
- func (o *CreateCaParams) WithBody(body *rest_model.CaCreate) *CreateCaParams
- func (o *CreateCaParams) WithContext(ctx context.Context) *CreateCaParams
- func (o *CreateCaParams) WithHTTPClient(client *http.Client) *CreateCaParams
- func (o *CreateCaParams) WithTimeout(timeout time.Duration) *CreateCaParams
- func (o *CreateCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateCaReader
- type CreateCaUnauthorized
- type DeleteCaBadRequest
- type DeleteCaOK
- type DeleteCaParams
- func (o *DeleteCaParams) SetContext(ctx context.Context)
- func (o *DeleteCaParams) SetHTTPClient(client *http.Client)
- func (o *DeleteCaParams) SetID(id string)
- func (o *DeleteCaParams) SetTimeout(timeout time.Duration)
- func (o *DeleteCaParams) WithContext(ctx context.Context) *DeleteCaParams
- func (o *DeleteCaParams) WithHTTPClient(client *http.Client) *DeleteCaParams
- func (o *DeleteCaParams) WithID(id string) *DeleteCaParams
- func (o *DeleteCaParams) WithTimeout(timeout time.Duration) *DeleteCaParams
- func (o *DeleteCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteCaReader
- type DeleteCaUnauthorized
- type DetailCaNotFound
- type DetailCaOK
- type DetailCaParams
- func (o *DetailCaParams) SetContext(ctx context.Context)
- func (o *DetailCaParams) SetHTTPClient(client *http.Client)
- func (o *DetailCaParams) SetID(id string)
- func (o *DetailCaParams) SetTimeout(timeout time.Duration)
- func (o *DetailCaParams) WithContext(ctx context.Context) *DetailCaParams
- func (o *DetailCaParams) WithHTTPClient(client *http.Client) *DetailCaParams
- func (o *DetailCaParams) WithID(id string) *DetailCaParams
- func (o *DetailCaParams) WithTimeout(timeout time.Duration) *DetailCaParams
- func (o *DetailCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DetailCaReader
- type DetailCaUnauthorized
- type GetCaJwtNotFound
- type GetCaJwtOK
- type GetCaJwtParams
- func (o *GetCaJwtParams) SetContext(ctx context.Context)
- func (o *GetCaJwtParams) SetHTTPClient(client *http.Client)
- func (o *GetCaJwtParams) SetID(id string)
- func (o *GetCaJwtParams) SetTimeout(timeout time.Duration)
- func (o *GetCaJwtParams) WithContext(ctx context.Context) *GetCaJwtParams
- func (o *GetCaJwtParams) WithHTTPClient(client *http.Client) *GetCaJwtParams
- func (o *GetCaJwtParams) WithID(id string) *GetCaJwtParams
- func (o *GetCaJwtParams) WithTimeout(timeout time.Duration) *GetCaJwtParams
- func (o *GetCaJwtParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCaJwtReader
- type GetCaJwtUnauthorized
- type ListCasOK
- type ListCasParams
- func (o *ListCasParams) SetContext(ctx context.Context)
- func (o *ListCasParams) SetFilter(filter *string)
- func (o *ListCasParams) SetHTTPClient(client *http.Client)
- func (o *ListCasParams) SetLimit(limit *int64)
- func (o *ListCasParams) SetOffset(offset *int64)
- func (o *ListCasParams) SetTimeout(timeout time.Duration)
- func (o *ListCasParams) WithContext(ctx context.Context) *ListCasParams
- func (o *ListCasParams) WithFilter(filter *string) *ListCasParams
- func (o *ListCasParams) WithHTTPClient(client *http.Client) *ListCasParams
- func (o *ListCasParams) WithLimit(limit *int64) *ListCasParams
- func (o *ListCasParams) WithOffset(offset *int64) *ListCasParams
- func (o *ListCasParams) WithTimeout(timeout time.Duration) *ListCasParams
- func (o *ListCasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListCasReader
- type PatchCaBadRequest
- type PatchCaNotFound
- type PatchCaOK
- type PatchCaParams
- func (o *PatchCaParams) SetBody(body *rest_model.CaPatch)
- func (o *PatchCaParams) SetContext(ctx context.Context)
- func (o *PatchCaParams) SetHTTPClient(client *http.Client)
- func (o *PatchCaParams) SetID(id string)
- func (o *PatchCaParams) SetTimeout(timeout time.Duration)
- func (o *PatchCaParams) WithBody(body *rest_model.CaPatch) *PatchCaParams
- func (o *PatchCaParams) WithContext(ctx context.Context) *PatchCaParams
- func (o *PatchCaParams) WithHTTPClient(client *http.Client) *PatchCaParams
- func (o *PatchCaParams) WithID(id string) *PatchCaParams
- func (o *PatchCaParams) WithTimeout(timeout time.Duration) *PatchCaParams
- func (o *PatchCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchCaReader
- type PatchCaUnauthorized
- type UpdateCaBadRequest
- type UpdateCaNotFound
- type UpdateCaOK
- type UpdateCaParams
- func (o *UpdateCaParams) SetBody(body *rest_model.CaUpdate)
- func (o *UpdateCaParams) SetContext(ctx context.Context)
- func (o *UpdateCaParams) SetHTTPClient(client *http.Client)
- func (o *UpdateCaParams) SetID(id string)
- func (o *UpdateCaParams) SetTimeout(timeout time.Duration)
- func (o *UpdateCaParams) WithBody(body *rest_model.CaUpdate) *UpdateCaParams
- func (o *UpdateCaParams) WithContext(ctx context.Context) *UpdateCaParams
- func (o *UpdateCaParams) WithHTTPClient(client *http.Client) *UpdateCaParams
- func (o *UpdateCaParams) WithID(id string) *UpdateCaParams
- func (o *UpdateCaParams) WithTimeout(timeout time.Duration) *UpdateCaParams
- func (o *UpdateCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateCaReader
- type UpdateCaUnauthorized
- type VerifyCaBadRequest
- type VerifyCaNotFound
- type VerifyCaOK
- type VerifyCaParams
- func (o *VerifyCaParams) SetCertificate(certificate string)
- func (o *VerifyCaParams) SetContext(ctx context.Context)
- func (o *VerifyCaParams) SetHTTPClient(client *http.Client)
- func (o *VerifyCaParams) SetID(id string)
- func (o *VerifyCaParams) SetTimeout(timeout time.Duration)
- func (o *VerifyCaParams) WithCertificate(certificate string) *VerifyCaParams
- func (o *VerifyCaParams) WithContext(ctx context.Context) *VerifyCaParams
- func (o *VerifyCaParams) WithHTTPClient(client *http.Client) *VerifyCaParams
- func (o *VerifyCaParams) WithID(id string) *VerifyCaParams
- func (o *VerifyCaParams) WithTimeout(timeout time.Duration) *VerifyCaParams
- func (o *VerifyCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VerifyCaReader
- type VerifyCaUnauthorized
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) (*CreateCaOK, 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) (*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) (*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) (*GetCaJwtOK, error)
GetCaJwt retrieves the enrollment j w t 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) (*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) (*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) (*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) (*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 ClientService ¶
type ClientService interface { CreateCa(params *CreateCaParams, authInfo runtime.ClientAuthInfoWriter) (*CreateCaOK, error) DeleteCa(params *DeleteCaParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteCaOK, error) DetailCa(params *DetailCaParams, authInfo runtime.ClientAuthInfoWriter) (*DetailCaOK, error) GetCaJwt(params *GetCaJwtParams, authInfo runtime.ClientAuthInfoWriter) (*GetCaJwtOK, error) ListCas(params *ListCasParams, authInfo runtime.ClientAuthInfoWriter) (*ListCasOK, error) PatchCa(params *PatchCaParams, authInfo runtime.ClientAuthInfoWriter) (*PatchCaOK, error) UpdateCa(params *UpdateCaParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCaOK, error) VerifyCa(params *VerifyCaParams, authInfo runtime.ClientAuthInfoWriter) (*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 handles this case 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 ¶
func (o *CreateCaBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type CreateCaOK ¶
type CreateCaOK struct {
Payload *rest_model.CreateEnvelope
}
CreateCaOK handles this case with default header values.
The create request was successful and the resource has been added at the following location
func NewCreateCaOK ¶
func NewCreateCaOK() *CreateCaOK
NewCreateCaOK creates a CreateCaOK with default headers values
func (*CreateCaOK) Error ¶
func (o *CreateCaOK) Error() string
func (*CreateCaOK) GetPayload ¶
func (o *CreateCaOK) GetPayload() *rest_model.CreateEnvelope
type CreateCaParams ¶
type CreateCaParams struct { /*Body A CA to create */ Body *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 values initialized.
func NewCreateCaParamsWithContext ¶
func NewCreateCaParamsWithContext(ctx context.Context) *CreateCaParams
NewCreateCaParamsWithContext creates a new CreateCaParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*CreateCaParams) SetBody ¶
func (o *CreateCaParams) SetBody(body *rest_model.CaCreate)
SetBody adds the body 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) 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) WithBody ¶
func (o *CreateCaParams) WithBody(body *rest_model.CaCreate) *CreateCaParams
WithBody adds the body 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) 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 {
}CreateCaUnauthorized handles this case 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 ¶
func (o *CreateCaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DeleteCaBadRequest ¶
type DeleteCaBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
DeleteCaBadRequest handles this case 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 ¶
func (o *DeleteCaBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type DeleteCaOK ¶
type DeleteCaOK struct {
Payload *rest_model.Empty
}
DeleteCaOK handles this case 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 values initialized.
func NewDeleteCaParamsWithContext ¶
func NewDeleteCaParamsWithContext(ctx context.Context) *DeleteCaParams
NewDeleteCaParamsWithContext creates a new DeleteCaParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
}DeleteCaUnauthorized handles this case 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 ¶
func (o *DeleteCaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type DetailCaNotFound ¶
type DetailCaNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
DetailCaNotFound handles this case 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 handles this case 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 values initialized.
func NewDetailCaParamsWithContext ¶
func NewDetailCaParamsWithContext(ctx context.Context) *DetailCaParams
NewDetailCaParamsWithContext creates a new DetailCaParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
}DetailCaUnauthorized handles this case 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 ¶
func (o *DetailCaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type GetCaJwtNotFound ¶
type GetCaJwtNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
GetCaJwtNotFound handles this case 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 handles this case 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 values initialized.
func NewGetCaJwtParamsWithContext ¶
func NewGetCaJwtParamsWithContext(ctx context.Context) *GetCaJwtParams
NewGetCaJwtParamsWithContext creates a new GetCaJwtParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
}GetCaJwtUnauthorized handles this case 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 ¶
func (o *GetCaJwtUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type ListCasOK ¶
type ListCasOK struct {
Payload *rest_model.ListCasEnvelope
}
ListCasOK handles this case 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) 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 values initialized.
func NewListCasParamsWithContext ¶
func NewListCasParamsWithContext(ctx context.Context) *ListCasParams
NewListCasParamsWithContext creates a new ListCasParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 PatchCaBadRequest ¶
type PatchCaBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
PatchCaBadRequest handles this case 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 ¶
func (o *PatchCaBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type PatchCaNotFound ¶
type PatchCaNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
PatchCaNotFound handles this case 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 handles this case 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) GetPayload ¶
func (o *PatchCaOK) GetPayload() *rest_model.Empty
type PatchCaParams ¶
type PatchCaParams struct { /*Body A CA patch object */ Body *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 values initialized.
func NewPatchCaParamsWithContext ¶
func NewPatchCaParamsWithContext(ctx context.Context) *PatchCaParams
NewPatchCaParamsWithContext creates a new PatchCaParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*PatchCaParams) SetBody ¶
func (o *PatchCaParams) SetBody(body *rest_model.CaPatch)
SetBody adds the body 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) 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) WithBody ¶
func (o *PatchCaParams) WithBody(body *rest_model.CaPatch) *PatchCaParams
WithBody adds the body 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) 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 {
}PatchCaUnauthorized handles this case 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 ¶
func (o *PatchCaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type UpdateCaBadRequest ¶
type UpdateCaBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateCaBadRequest handles this case 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 ¶
func (o *UpdateCaBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type UpdateCaNotFound ¶
type UpdateCaNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
UpdateCaNotFound handles this case 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 handles this case 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 { /*Body A CA update object */ Body *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 values initialized.
func NewUpdateCaParamsWithContext ¶
func NewUpdateCaParamsWithContext(ctx context.Context) *UpdateCaParams
NewUpdateCaParamsWithContext creates a new UpdateCaParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request
func (*UpdateCaParams) SetBody ¶
func (o *UpdateCaParams) SetBody(body *rest_model.CaUpdate)
SetBody adds the body 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) 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) WithBody ¶
func (o *UpdateCaParams) WithBody(body *rest_model.CaUpdate) *UpdateCaParams
WithBody adds the body 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) 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 {
}UpdateCaUnauthorized handles this case 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 ¶
func (o *UpdateCaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
type VerifyCaBadRequest ¶
type VerifyCaBadRequest struct {
Payload *rest_model.APIErrorEnvelope
}
VerifyCaBadRequest handles this case 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 ¶
func (o *VerifyCaBadRequest) GetPayload() *rest_model.APIErrorEnvelope
type VerifyCaNotFound ¶
type VerifyCaNotFound struct {
Payload *rest_model.APIErrorEnvelope
}
VerifyCaNotFound handles this case 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 handles this case 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 values initialized.
func NewVerifyCaParamsWithContext ¶
func NewVerifyCaParamsWithContext(ctx context.Context) *VerifyCaParams
NewVerifyCaParamsWithContext creates a new VerifyCaParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
}VerifyCaUnauthorized handles this case 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 ¶
func (o *VerifyCaUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
Source Files ¶
- certificate_authority_client.go
- create_ca_parameters.go
- create_ca_responses.go
- delete_ca_parameters.go
- delete_ca_responses.go
- detail_ca_parameters.go
- detail_ca_responses.go
- get_ca_jwt_parameters.go
- get_ca_jwt_responses.go
- list_cas_parameters.go
- list_cas_responses.go
- patch_ca_parameters.go
- patch_ca_responses.go
- update_ca_parameters.go
- update_ca_responses.go
- verify_ca_parameters.go
- verify_ca_responses.go