Documentation ¶
Index ¶
- type AddCertificateConflict
- func (o *AddCertificateConflict) Code() int
- func (o *AddCertificateConflict) Error() string
- func (o *AddCertificateConflict) IsClientError() bool
- func (o *AddCertificateConflict) IsCode(code int) bool
- func (o *AddCertificateConflict) IsRedirect() bool
- func (o *AddCertificateConflict) IsServerError() bool
- func (o *AddCertificateConflict) IsSuccess() bool
- func (o *AddCertificateConflict) String() string
- type AddCertificateCreated
- func (o *AddCertificateCreated) Code() int
- func (o *AddCertificateCreated) Error() string
- func (o *AddCertificateCreated) GetPayload() *models.APICertificate
- func (o *AddCertificateCreated) IsClientError() bool
- func (o *AddCertificateCreated) IsCode(code int) bool
- func (o *AddCertificateCreated) IsRedirect() bool
- func (o *AddCertificateCreated) IsServerError() bool
- func (o *AddCertificateCreated) IsSuccess() bool
- func (o *AddCertificateCreated) String() string
- type AddCertificateForbidden
- func (o *AddCertificateForbidden) Code() int
- func (o *AddCertificateForbidden) Error() string
- func (o *AddCertificateForbidden) IsClientError() bool
- func (o *AddCertificateForbidden) IsCode(code int) bool
- func (o *AddCertificateForbidden) IsRedirect() bool
- func (o *AddCertificateForbidden) IsServerError() bool
- func (o *AddCertificateForbidden) IsSuccess() bool
- func (o *AddCertificateForbidden) String() string
- type AddCertificateParams
- func NewAddCertificateParams() *AddCertificateParams
- func NewAddCertificateParamsWithContext(ctx context.Context) *AddCertificateParams
- func NewAddCertificateParamsWithHTTPClient(client *http.Client) *AddCertificateParams
- func NewAddCertificateParamsWithTimeout(timeout time.Duration) *AddCertificateParams
- func (o *AddCertificateParams) SetBody(body string)
- func (o *AddCertificateParams) SetContext(ctx context.Context)
- func (o *AddCertificateParams) SetDefaults()
- func (o *AddCertificateParams) SetHTTPClient(client *http.Client)
- func (o *AddCertificateParams) SetTimeout(timeout time.Duration)
- func (o *AddCertificateParams) WithBody(body string) *AddCertificateParams
- func (o *AddCertificateParams) WithContext(ctx context.Context) *AddCertificateParams
- func (o *AddCertificateParams) WithDefaults() *AddCertificateParams
- func (o *AddCertificateParams) WithHTTPClient(client *http.Client) *AddCertificateParams
- func (o *AddCertificateParams) WithTimeout(timeout time.Duration) *AddCertificateParams
- func (o *AddCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddCertificateReader
- type Client
- func (a *Client) AddCertificate(params *AddCertificateParams, opts ...ClientOption) (*AddCertificateCreated, error)
- func (a *Client) GetTrustStoreCertificates(params *GetTrustStoreCertificatesParams, opts ...ClientOption) (*GetTrustStoreCertificatesOK, error)
- func (a *Client) RemoveCertificate(params *RemoveCertificateParams, opts ...ClientOption) error
- func (a *Client) RetrieveCertificate(params *RetrieveCertificateParams, opts ...ClientOption) (*RetrieveCertificateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetTrustStoreCertificatesForbidden
- func (o *GetTrustStoreCertificatesForbidden) Code() int
- func (o *GetTrustStoreCertificatesForbidden) Error() string
- func (o *GetTrustStoreCertificatesForbidden) IsClientError() bool
- func (o *GetTrustStoreCertificatesForbidden) IsCode(code int) bool
- func (o *GetTrustStoreCertificatesForbidden) IsRedirect() bool
- func (o *GetTrustStoreCertificatesForbidden) IsServerError() bool
- func (o *GetTrustStoreCertificatesForbidden) IsSuccess() bool
- func (o *GetTrustStoreCertificatesForbidden) String() string
- type GetTrustStoreCertificatesOK
- func (o *GetTrustStoreCertificatesOK) Code() int
- func (o *GetTrustStoreCertificatesOK) Error() string
- func (o *GetTrustStoreCertificatesOK) GetPayload() []*models.APICertificate
- func (o *GetTrustStoreCertificatesOK) IsClientError() bool
- func (o *GetTrustStoreCertificatesOK) IsCode(code int) bool
- func (o *GetTrustStoreCertificatesOK) IsRedirect() bool
- func (o *GetTrustStoreCertificatesOK) IsServerError() bool
- func (o *GetTrustStoreCertificatesOK) IsSuccess() bool
- func (o *GetTrustStoreCertificatesOK) String() string
- type GetTrustStoreCertificatesParams
- func NewGetTrustStoreCertificatesParams() *GetTrustStoreCertificatesParams
- func NewGetTrustStoreCertificatesParamsWithContext(ctx context.Context) *GetTrustStoreCertificatesParams
- func NewGetTrustStoreCertificatesParamsWithHTTPClient(client *http.Client) *GetTrustStoreCertificatesParams
- func NewGetTrustStoreCertificatesParamsWithTimeout(timeout time.Duration) *GetTrustStoreCertificatesParams
- func (o *GetTrustStoreCertificatesParams) SetContext(ctx context.Context)
- func (o *GetTrustStoreCertificatesParams) SetDefaults()
- func (o *GetTrustStoreCertificatesParams) SetHTTPClient(client *http.Client)
- func (o *GetTrustStoreCertificatesParams) SetTimeout(timeout time.Duration)
- func (o *GetTrustStoreCertificatesParams) WithContext(ctx context.Context) *GetTrustStoreCertificatesParams
- func (o *GetTrustStoreCertificatesParams) WithDefaults() *GetTrustStoreCertificatesParams
- func (o *GetTrustStoreCertificatesParams) WithHTTPClient(client *http.Client) *GetTrustStoreCertificatesParams
- func (o *GetTrustStoreCertificatesParams) WithTimeout(timeout time.Duration) *GetTrustStoreCertificatesParams
- func (o *GetTrustStoreCertificatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTrustStoreCertificatesReader
- type RemoveCertificateForbidden
- func (o *RemoveCertificateForbidden) Code() int
- func (o *RemoveCertificateForbidden) Error() string
- func (o *RemoveCertificateForbidden) IsClientError() bool
- func (o *RemoveCertificateForbidden) IsCode(code int) bool
- func (o *RemoveCertificateForbidden) IsRedirect() bool
- func (o *RemoveCertificateForbidden) IsServerError() bool
- func (o *RemoveCertificateForbidden) IsSuccess() bool
- func (o *RemoveCertificateForbidden) String() string
- type RemoveCertificateParams
- func NewRemoveCertificateParams() *RemoveCertificateParams
- func NewRemoveCertificateParamsWithContext(ctx context.Context) *RemoveCertificateParams
- func NewRemoveCertificateParamsWithHTTPClient(client *http.Client) *RemoveCertificateParams
- func NewRemoveCertificateParamsWithTimeout(timeout time.Duration) *RemoveCertificateParams
- func (o *RemoveCertificateParams) SetContext(ctx context.Context)
- func (o *RemoveCertificateParams) SetDefaults()
- func (o *RemoveCertificateParams) SetHTTPClient(client *http.Client)
- func (o *RemoveCertificateParams) SetID(id string)
- func (o *RemoveCertificateParams) SetTimeout(timeout time.Duration)
- func (o *RemoveCertificateParams) WithContext(ctx context.Context) *RemoveCertificateParams
- func (o *RemoveCertificateParams) WithDefaults() *RemoveCertificateParams
- func (o *RemoveCertificateParams) WithHTTPClient(client *http.Client) *RemoveCertificateParams
- func (o *RemoveCertificateParams) WithID(id string) *RemoveCertificateParams
- func (o *RemoveCertificateParams) WithTimeout(timeout time.Duration) *RemoveCertificateParams
- func (o *RemoveCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveCertificateReader
- type RetrieveCertificateBadRequest
- func (o *RetrieveCertificateBadRequest) Code() int
- func (o *RetrieveCertificateBadRequest) Error() string
- func (o *RetrieveCertificateBadRequest) IsClientError() bool
- func (o *RetrieveCertificateBadRequest) IsCode(code int) bool
- func (o *RetrieveCertificateBadRequest) IsRedirect() bool
- func (o *RetrieveCertificateBadRequest) IsServerError() bool
- func (o *RetrieveCertificateBadRequest) IsSuccess() bool
- func (o *RetrieveCertificateBadRequest) String() string
- type RetrieveCertificateForbidden
- func (o *RetrieveCertificateForbidden) Code() int
- func (o *RetrieveCertificateForbidden) Error() string
- func (o *RetrieveCertificateForbidden) IsClientError() bool
- func (o *RetrieveCertificateForbidden) IsCode(code int) bool
- func (o *RetrieveCertificateForbidden) IsRedirect() bool
- func (o *RetrieveCertificateForbidden) IsServerError() bool
- func (o *RetrieveCertificateForbidden) IsSuccess() bool
- func (o *RetrieveCertificateForbidden) String() string
- type RetrieveCertificateOK
- func (o *RetrieveCertificateOK) Code() int
- func (o *RetrieveCertificateOK) Error() string
- func (o *RetrieveCertificateOK) GetPayload() *models.APICertificate
- func (o *RetrieveCertificateOK) IsClientError() bool
- func (o *RetrieveCertificateOK) IsCode(code int) bool
- func (o *RetrieveCertificateOK) IsRedirect() bool
- func (o *RetrieveCertificateOK) IsServerError() bool
- func (o *RetrieveCertificateOK) IsSuccess() bool
- func (o *RetrieveCertificateOK) String() string
- type RetrieveCertificateParams
- func NewRetrieveCertificateParams() *RetrieveCertificateParams
- func NewRetrieveCertificateParamsWithContext(ctx context.Context) *RetrieveCertificateParams
- func NewRetrieveCertificateParamsWithHTTPClient(client *http.Client) *RetrieveCertificateParams
- func NewRetrieveCertificateParamsWithTimeout(timeout time.Duration) *RetrieveCertificateParams
- func (o *RetrieveCertificateParams) SetContext(ctx context.Context)
- func (o *RetrieveCertificateParams) SetDefaults()
- func (o *RetrieveCertificateParams) SetHTTPClient(client *http.Client)
- func (o *RetrieveCertificateParams) SetHost(host string)
- func (o *RetrieveCertificateParams) SetPort(port *int32)
- func (o *RetrieveCertificateParams) SetProtocolHint(protocolHint *string)
- func (o *RetrieveCertificateParams) SetTimeout(timeout time.Duration)
- func (o *RetrieveCertificateParams) WithContext(ctx context.Context) *RetrieveCertificateParams
- func (o *RetrieveCertificateParams) WithDefaults() *RetrieveCertificateParams
- func (o *RetrieveCertificateParams) WithHTTPClient(client *http.Client) *RetrieveCertificateParams
- func (o *RetrieveCertificateParams) WithHost(host string) *RetrieveCertificateParams
- func (o *RetrieveCertificateParams) WithPort(port *int32) *RetrieveCertificateParams
- func (o *RetrieveCertificateParams) WithProtocolHint(protocolHint *string) *RetrieveCertificateParams
- func (o *RetrieveCertificateParams) WithTimeout(timeout time.Duration) *RetrieveCertificateParams
- func (o *RetrieveCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RetrieveCertificateReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCertificateConflict ¶
type AddCertificateConflict struct { }
AddCertificateConflict describes a response with status code 409, with default header values.
The certificate already exists in the system.
func NewAddCertificateConflict ¶
func NewAddCertificateConflict() *AddCertificateConflict
NewAddCertificateConflict creates a AddCertificateConflict with default headers values
func (*AddCertificateConflict) Code ¶
func (o *AddCertificateConflict) Code() int
Code gets the status code for the add certificate conflict response
func (*AddCertificateConflict) Error ¶
func (o *AddCertificateConflict) Error() string
func (*AddCertificateConflict) IsClientError ¶
func (o *AddCertificateConflict) IsClientError() bool
IsClientError returns true when this add certificate conflict response has a 4xx status code
func (*AddCertificateConflict) IsCode ¶
func (o *AddCertificateConflict) IsCode(code int) bool
IsCode returns true when this add certificate conflict response a status code equal to that given
func (*AddCertificateConflict) IsRedirect ¶
func (o *AddCertificateConflict) IsRedirect() bool
IsRedirect returns true when this add certificate conflict response has a 3xx status code
func (*AddCertificateConflict) IsServerError ¶
func (o *AddCertificateConflict) IsServerError() bool
IsServerError returns true when this add certificate conflict response has a 5xx status code
func (*AddCertificateConflict) IsSuccess ¶
func (o *AddCertificateConflict) IsSuccess() bool
IsSuccess returns true when this add certificate conflict response has a 2xx status code
func (*AddCertificateConflict) String ¶
func (o *AddCertificateConflict) String() string
type AddCertificateCreated ¶
type AddCertificateCreated struct {
Payload *models.APICertificate
}
AddCertificateCreated describes a response with status code 201, with default header values.
The certificate was successfully added.
func NewAddCertificateCreated ¶
func NewAddCertificateCreated() *AddCertificateCreated
NewAddCertificateCreated creates a AddCertificateCreated with default headers values
func (*AddCertificateCreated) Code ¶
func (o *AddCertificateCreated) Code() int
Code gets the status code for the add certificate created response
func (*AddCertificateCreated) Error ¶
func (o *AddCertificateCreated) Error() string
func (*AddCertificateCreated) GetPayload ¶
func (o *AddCertificateCreated) GetPayload() *models.APICertificate
func (*AddCertificateCreated) IsClientError ¶
func (o *AddCertificateCreated) IsClientError() bool
IsClientError returns true when this add certificate created response has a 4xx status code
func (*AddCertificateCreated) IsCode ¶
func (o *AddCertificateCreated) IsCode(code int) bool
IsCode returns true when this add certificate created response a status code equal to that given
func (*AddCertificateCreated) IsRedirect ¶
func (o *AddCertificateCreated) IsRedirect() bool
IsRedirect returns true when this add certificate created response has a 3xx status code
func (*AddCertificateCreated) IsServerError ¶
func (o *AddCertificateCreated) IsServerError() bool
IsServerError returns true when this add certificate created response has a 5xx status code
func (*AddCertificateCreated) IsSuccess ¶
func (o *AddCertificateCreated) IsSuccess() bool
IsSuccess returns true when this add certificate created response has a 2xx status code
func (*AddCertificateCreated) String ¶
func (o *AddCertificateCreated) String() string
type AddCertificateForbidden ¶
type AddCertificateForbidden struct { }
AddCertificateForbidden describes a response with status code 403, with default header values.
Insufficient permissions to add certificate to the trust store.
func NewAddCertificateForbidden ¶
func NewAddCertificateForbidden() *AddCertificateForbidden
NewAddCertificateForbidden creates a AddCertificateForbidden with default headers values
func (*AddCertificateForbidden) Code ¶
func (o *AddCertificateForbidden) Code() int
Code gets the status code for the add certificate forbidden response
func (*AddCertificateForbidden) Error ¶
func (o *AddCertificateForbidden) Error() string
func (*AddCertificateForbidden) IsClientError ¶
func (o *AddCertificateForbidden) IsClientError() bool
IsClientError returns true when this add certificate forbidden response has a 4xx status code
func (*AddCertificateForbidden) IsCode ¶
func (o *AddCertificateForbidden) IsCode(code int) bool
IsCode returns true when this add certificate forbidden response a status code equal to that given
func (*AddCertificateForbidden) IsRedirect ¶
func (o *AddCertificateForbidden) IsRedirect() bool
IsRedirect returns true when this add certificate forbidden response has a 3xx status code
func (*AddCertificateForbidden) IsServerError ¶
func (o *AddCertificateForbidden) IsServerError() bool
IsServerError returns true when this add certificate forbidden response has a 5xx status code
func (*AddCertificateForbidden) IsSuccess ¶
func (o *AddCertificateForbidden) IsSuccess() bool
IsSuccess returns true when this add certificate forbidden response has a 2xx status code
func (*AddCertificateForbidden) String ¶
func (o *AddCertificateForbidden) String() string
type AddCertificateParams ¶
type AddCertificateParams struct { /* Body. The certificate to add encoded in PEM format */ Body string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddCertificateParams contains all the parameters to send to the API endpoint
for the add certificate operation. Typically these are written to a http.Request.
func NewAddCertificateParams ¶
func NewAddCertificateParams() *AddCertificateParams
NewAddCertificateParams creates a new AddCertificateParams 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 NewAddCertificateParamsWithContext ¶
func NewAddCertificateParamsWithContext(ctx context.Context) *AddCertificateParams
NewAddCertificateParamsWithContext creates a new AddCertificateParams object with the ability to set a context for a request.
func NewAddCertificateParamsWithHTTPClient ¶
func NewAddCertificateParamsWithHTTPClient(client *http.Client) *AddCertificateParams
NewAddCertificateParamsWithHTTPClient creates a new AddCertificateParams object with the ability to set a custom HTTPClient for a request.
func NewAddCertificateParamsWithTimeout ¶
func NewAddCertificateParamsWithTimeout(timeout time.Duration) *AddCertificateParams
NewAddCertificateParamsWithTimeout creates a new AddCertificateParams object with the ability to set a timeout on a request.
func (*AddCertificateParams) SetBody ¶
func (o *AddCertificateParams) SetBody(body string)
SetBody adds the body to the add certificate params
func (*AddCertificateParams) SetContext ¶
func (o *AddCertificateParams) SetContext(ctx context.Context)
SetContext adds the context to the add certificate params
func (*AddCertificateParams) SetDefaults ¶
func (o *AddCertificateParams) SetDefaults()
SetDefaults hydrates default values in the add certificate params (not the query body).
All values with no default are reset to their zero value.
func (*AddCertificateParams) SetHTTPClient ¶
func (o *AddCertificateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add certificate params
func (*AddCertificateParams) SetTimeout ¶
func (o *AddCertificateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add certificate params
func (*AddCertificateParams) WithBody ¶
func (o *AddCertificateParams) WithBody(body string) *AddCertificateParams
WithBody adds the body to the add certificate params
func (*AddCertificateParams) WithContext ¶
func (o *AddCertificateParams) WithContext(ctx context.Context) *AddCertificateParams
WithContext adds the context to the add certificate params
func (*AddCertificateParams) WithDefaults ¶
func (o *AddCertificateParams) WithDefaults() *AddCertificateParams
WithDefaults hydrates default values in the add certificate params (not the query body).
All values with no default are reset to their zero value.
func (*AddCertificateParams) WithHTTPClient ¶
func (o *AddCertificateParams) WithHTTPClient(client *http.Client) *AddCertificateParams
WithHTTPClient adds the HTTPClient to the add certificate params
func (*AddCertificateParams) WithTimeout ¶
func (o *AddCertificateParams) WithTimeout(timeout time.Duration) *AddCertificateParams
WithTimeout adds the timeout to the add certificate params
func (*AddCertificateParams) WriteToRequest ¶
func (o *AddCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddCertificateReader ¶
type AddCertificateReader struct {
// contains filtered or unexported fields
}
AddCertificateReader is a Reader for the AddCertificate structure.
func (*AddCertificateReader) ReadResponse ¶
func (o *AddCertificateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for security certificates API
func (*Client) AddCertificate ¶
func (a *Client) AddCertificate(params *AddCertificateParams, opts ...ClientOption) (*AddCertificateCreated, error)
AddCertificate adds a certificate to the trust store
func (*Client) GetTrustStoreCertificates ¶
func (a *Client) GetTrustStoreCertificates(params *GetTrustStoreCertificatesParams, opts ...ClientOption) (*GetTrustStoreCertificatesOK, error)
GetTrustStoreCertificates retrieves a list of certificates added to the trust store
func (*Client) RemoveCertificate ¶
func (a *Client) RemoveCertificate(params *RemoveCertificateParams, opts ...ClientOption) error
RemoveCertificate removes a certificate in the trust store
func (*Client) RetrieveCertificate ¶
func (a *Client) RetrieveCertificate(params *RetrieveCertificateParams, opts ...ClientOption) (*RetrieveCertificateOK, error)
RetrieveCertificate helpers method to retrieve certificate details from a remote system
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AddCertificate(params *AddCertificateParams, opts ...ClientOption) (*AddCertificateCreated, error) GetTrustStoreCertificates(params *GetTrustStoreCertificatesParams, opts ...ClientOption) (*GetTrustStoreCertificatesOK, error) RemoveCertificate(params *RemoveCertificateParams, opts ...ClientOption) error RetrieveCertificate(params *RetrieveCertificateParams, opts ...ClientOption) (*RetrieveCertificateOK, 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 security certificates API client.
type GetTrustStoreCertificatesForbidden ¶
type GetTrustStoreCertificatesForbidden struct { }
GetTrustStoreCertificatesForbidden describes a response with status code 403, with default header values.
Insufficient permissions to list certificates in the trust store.
func NewGetTrustStoreCertificatesForbidden ¶
func NewGetTrustStoreCertificatesForbidden() *GetTrustStoreCertificatesForbidden
NewGetTrustStoreCertificatesForbidden creates a GetTrustStoreCertificatesForbidden with default headers values
func (*GetTrustStoreCertificatesForbidden) Code ¶
func (o *GetTrustStoreCertificatesForbidden) Code() int
Code gets the status code for the get trust store certificates forbidden response
func (*GetTrustStoreCertificatesForbidden) Error ¶
func (o *GetTrustStoreCertificatesForbidden) Error() string
func (*GetTrustStoreCertificatesForbidden) IsClientError ¶
func (o *GetTrustStoreCertificatesForbidden) IsClientError() bool
IsClientError returns true when this get trust store certificates forbidden response has a 4xx status code
func (*GetTrustStoreCertificatesForbidden) IsCode ¶
func (o *GetTrustStoreCertificatesForbidden) IsCode(code int) bool
IsCode returns true when this get trust store certificates forbidden response a status code equal to that given
func (*GetTrustStoreCertificatesForbidden) IsRedirect ¶
func (o *GetTrustStoreCertificatesForbidden) IsRedirect() bool
IsRedirect returns true when this get trust store certificates forbidden response has a 3xx status code
func (*GetTrustStoreCertificatesForbidden) IsServerError ¶
func (o *GetTrustStoreCertificatesForbidden) IsServerError() bool
IsServerError returns true when this get trust store certificates forbidden response has a 5xx status code
func (*GetTrustStoreCertificatesForbidden) IsSuccess ¶
func (o *GetTrustStoreCertificatesForbidden) IsSuccess() bool
IsSuccess returns true when this get trust store certificates forbidden response has a 2xx status code
func (*GetTrustStoreCertificatesForbidden) String ¶
func (o *GetTrustStoreCertificatesForbidden) String() string
type GetTrustStoreCertificatesOK ¶
type GetTrustStoreCertificatesOK struct {
Payload []*models.APICertificate
}
GetTrustStoreCertificatesOK describes a response with status code 200, with default header values.
successful operation
func NewGetTrustStoreCertificatesOK ¶
func NewGetTrustStoreCertificatesOK() *GetTrustStoreCertificatesOK
NewGetTrustStoreCertificatesOK creates a GetTrustStoreCertificatesOK with default headers values
func (*GetTrustStoreCertificatesOK) Code ¶
func (o *GetTrustStoreCertificatesOK) Code() int
Code gets the status code for the get trust store certificates o k response
func (*GetTrustStoreCertificatesOK) Error ¶
func (o *GetTrustStoreCertificatesOK) Error() string
func (*GetTrustStoreCertificatesOK) GetPayload ¶
func (o *GetTrustStoreCertificatesOK) GetPayload() []*models.APICertificate
func (*GetTrustStoreCertificatesOK) IsClientError ¶
func (o *GetTrustStoreCertificatesOK) IsClientError() bool
IsClientError returns true when this get trust store certificates o k response has a 4xx status code
func (*GetTrustStoreCertificatesOK) IsCode ¶
func (o *GetTrustStoreCertificatesOK) IsCode(code int) bool
IsCode returns true when this get trust store certificates o k response a status code equal to that given
func (*GetTrustStoreCertificatesOK) IsRedirect ¶
func (o *GetTrustStoreCertificatesOK) IsRedirect() bool
IsRedirect returns true when this get trust store certificates o k response has a 3xx status code
func (*GetTrustStoreCertificatesOK) IsServerError ¶
func (o *GetTrustStoreCertificatesOK) IsServerError() bool
IsServerError returns true when this get trust store certificates o k response has a 5xx status code
func (*GetTrustStoreCertificatesOK) IsSuccess ¶
func (o *GetTrustStoreCertificatesOK) IsSuccess() bool
IsSuccess returns true when this get trust store certificates o k response has a 2xx status code
func (*GetTrustStoreCertificatesOK) String ¶
func (o *GetTrustStoreCertificatesOK) String() string
type GetTrustStoreCertificatesParams ¶
type GetTrustStoreCertificatesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTrustStoreCertificatesParams contains all the parameters to send to the API endpoint
for the get trust store certificates operation. Typically these are written to a http.Request.
func NewGetTrustStoreCertificatesParams ¶
func NewGetTrustStoreCertificatesParams() *GetTrustStoreCertificatesParams
NewGetTrustStoreCertificatesParams creates a new GetTrustStoreCertificatesParams 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 NewGetTrustStoreCertificatesParamsWithContext ¶
func NewGetTrustStoreCertificatesParamsWithContext(ctx context.Context) *GetTrustStoreCertificatesParams
NewGetTrustStoreCertificatesParamsWithContext creates a new GetTrustStoreCertificatesParams object with the ability to set a context for a request.
func NewGetTrustStoreCertificatesParamsWithHTTPClient ¶
func NewGetTrustStoreCertificatesParamsWithHTTPClient(client *http.Client) *GetTrustStoreCertificatesParams
NewGetTrustStoreCertificatesParamsWithHTTPClient creates a new GetTrustStoreCertificatesParams object with the ability to set a custom HTTPClient for a request.
func NewGetTrustStoreCertificatesParamsWithTimeout ¶
func NewGetTrustStoreCertificatesParamsWithTimeout(timeout time.Duration) *GetTrustStoreCertificatesParams
NewGetTrustStoreCertificatesParamsWithTimeout creates a new GetTrustStoreCertificatesParams object with the ability to set a timeout on a request.
func (*GetTrustStoreCertificatesParams) SetContext ¶
func (o *GetTrustStoreCertificatesParams) SetContext(ctx context.Context)
SetContext adds the context to the get trust store certificates params
func (*GetTrustStoreCertificatesParams) SetDefaults ¶
func (o *GetTrustStoreCertificatesParams) SetDefaults()
SetDefaults hydrates default values in the get trust store certificates params (not the query body).
All values with no default are reset to their zero value.
func (*GetTrustStoreCertificatesParams) SetHTTPClient ¶
func (o *GetTrustStoreCertificatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get trust store certificates params
func (*GetTrustStoreCertificatesParams) SetTimeout ¶
func (o *GetTrustStoreCertificatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get trust store certificates params
func (*GetTrustStoreCertificatesParams) WithContext ¶
func (o *GetTrustStoreCertificatesParams) WithContext(ctx context.Context) *GetTrustStoreCertificatesParams
WithContext adds the context to the get trust store certificates params
func (*GetTrustStoreCertificatesParams) WithDefaults ¶
func (o *GetTrustStoreCertificatesParams) WithDefaults() *GetTrustStoreCertificatesParams
WithDefaults hydrates default values in the get trust store certificates params (not the query body).
All values with no default are reset to their zero value.
func (*GetTrustStoreCertificatesParams) WithHTTPClient ¶
func (o *GetTrustStoreCertificatesParams) WithHTTPClient(client *http.Client) *GetTrustStoreCertificatesParams
WithHTTPClient adds the HTTPClient to the get trust store certificates params
func (*GetTrustStoreCertificatesParams) WithTimeout ¶
func (o *GetTrustStoreCertificatesParams) WithTimeout(timeout time.Duration) *GetTrustStoreCertificatesParams
WithTimeout adds the timeout to the get trust store certificates params
func (*GetTrustStoreCertificatesParams) WriteToRequest ¶
func (o *GetTrustStoreCertificatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTrustStoreCertificatesReader ¶
type GetTrustStoreCertificatesReader struct {
// contains filtered or unexported fields
}
GetTrustStoreCertificatesReader is a Reader for the GetTrustStoreCertificates structure.
func (*GetTrustStoreCertificatesReader) ReadResponse ¶
func (o *GetTrustStoreCertificatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveCertificateForbidden ¶
type RemoveCertificateForbidden struct { }
RemoveCertificateForbidden describes a response with status code 403, with default header values.
Insufficient permissions to remove certificate from the trust store
func NewRemoveCertificateForbidden ¶
func NewRemoveCertificateForbidden() *RemoveCertificateForbidden
NewRemoveCertificateForbidden creates a RemoveCertificateForbidden with default headers values
func (*RemoveCertificateForbidden) Code ¶
func (o *RemoveCertificateForbidden) Code() int
Code gets the status code for the remove certificate forbidden response
func (*RemoveCertificateForbidden) Error ¶
func (o *RemoveCertificateForbidden) Error() string
func (*RemoveCertificateForbidden) IsClientError ¶
func (o *RemoveCertificateForbidden) IsClientError() bool
IsClientError returns true when this remove certificate forbidden response has a 4xx status code
func (*RemoveCertificateForbidden) IsCode ¶
func (o *RemoveCertificateForbidden) IsCode(code int) bool
IsCode returns true when this remove certificate forbidden response a status code equal to that given
func (*RemoveCertificateForbidden) IsRedirect ¶
func (o *RemoveCertificateForbidden) IsRedirect() bool
IsRedirect returns true when this remove certificate forbidden response has a 3xx status code
func (*RemoveCertificateForbidden) IsServerError ¶
func (o *RemoveCertificateForbidden) IsServerError() bool
IsServerError returns true when this remove certificate forbidden response has a 5xx status code
func (*RemoveCertificateForbidden) IsSuccess ¶
func (o *RemoveCertificateForbidden) IsSuccess() bool
IsSuccess returns true when this remove certificate forbidden response has a 2xx status code
func (*RemoveCertificateForbidden) String ¶
func (o *RemoveCertificateForbidden) String() string
type RemoveCertificateParams ¶
type RemoveCertificateParams struct { /* ID. The id of the certificate that should be removed. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveCertificateParams contains all the parameters to send to the API endpoint
for the remove certificate operation. Typically these are written to a http.Request.
func NewRemoveCertificateParams ¶
func NewRemoveCertificateParams() *RemoveCertificateParams
NewRemoveCertificateParams creates a new RemoveCertificateParams 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 NewRemoveCertificateParamsWithContext ¶
func NewRemoveCertificateParamsWithContext(ctx context.Context) *RemoveCertificateParams
NewRemoveCertificateParamsWithContext creates a new RemoveCertificateParams object with the ability to set a context for a request.
func NewRemoveCertificateParamsWithHTTPClient ¶
func NewRemoveCertificateParamsWithHTTPClient(client *http.Client) *RemoveCertificateParams
NewRemoveCertificateParamsWithHTTPClient creates a new RemoveCertificateParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveCertificateParamsWithTimeout ¶
func NewRemoveCertificateParamsWithTimeout(timeout time.Duration) *RemoveCertificateParams
NewRemoveCertificateParamsWithTimeout creates a new RemoveCertificateParams object with the ability to set a timeout on a request.
func (*RemoveCertificateParams) SetContext ¶
func (o *RemoveCertificateParams) SetContext(ctx context.Context)
SetContext adds the context to the remove certificate params
func (*RemoveCertificateParams) SetDefaults ¶
func (o *RemoveCertificateParams) SetDefaults()
SetDefaults hydrates default values in the remove certificate params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveCertificateParams) SetHTTPClient ¶
func (o *RemoveCertificateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove certificate params
func (*RemoveCertificateParams) SetID ¶
func (o *RemoveCertificateParams) SetID(id string)
SetID adds the id to the remove certificate params
func (*RemoveCertificateParams) SetTimeout ¶
func (o *RemoveCertificateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove certificate params
func (*RemoveCertificateParams) WithContext ¶
func (o *RemoveCertificateParams) WithContext(ctx context.Context) *RemoveCertificateParams
WithContext adds the context to the remove certificate params
func (*RemoveCertificateParams) WithDefaults ¶
func (o *RemoveCertificateParams) WithDefaults() *RemoveCertificateParams
WithDefaults hydrates default values in the remove certificate params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveCertificateParams) WithHTTPClient ¶
func (o *RemoveCertificateParams) WithHTTPClient(client *http.Client) *RemoveCertificateParams
WithHTTPClient adds the HTTPClient to the remove certificate params
func (*RemoveCertificateParams) WithID ¶
func (o *RemoveCertificateParams) WithID(id string) *RemoveCertificateParams
WithID adds the id to the remove certificate params
func (*RemoveCertificateParams) WithTimeout ¶
func (o *RemoveCertificateParams) WithTimeout(timeout time.Duration) *RemoveCertificateParams
WithTimeout adds the timeout to the remove certificate params
func (*RemoveCertificateParams) WriteToRequest ¶
func (o *RemoveCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveCertificateReader ¶
type RemoveCertificateReader struct {
// contains filtered or unexported fields
}
RemoveCertificateReader is a Reader for the RemoveCertificate structure.
func (*RemoveCertificateReader) ReadResponse ¶
func (o *RemoveCertificateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RetrieveCertificateBadRequest ¶
type RetrieveCertificateBadRequest struct { }
RetrieveCertificateBadRequest describes a response with status code 400, with default header values.
A certificate could not be retrieved, see the message for details.
func NewRetrieveCertificateBadRequest ¶
func NewRetrieveCertificateBadRequest() *RetrieveCertificateBadRequest
NewRetrieveCertificateBadRequest creates a RetrieveCertificateBadRequest with default headers values
func (*RetrieveCertificateBadRequest) Code ¶
func (o *RetrieveCertificateBadRequest) Code() int
Code gets the status code for the retrieve certificate bad request response
func (*RetrieveCertificateBadRequest) Error ¶
func (o *RetrieveCertificateBadRequest) Error() string
func (*RetrieveCertificateBadRequest) IsClientError ¶
func (o *RetrieveCertificateBadRequest) IsClientError() bool
IsClientError returns true when this retrieve certificate bad request response has a 4xx status code
func (*RetrieveCertificateBadRequest) IsCode ¶
func (o *RetrieveCertificateBadRequest) IsCode(code int) bool
IsCode returns true when this retrieve certificate bad request response a status code equal to that given
func (*RetrieveCertificateBadRequest) IsRedirect ¶
func (o *RetrieveCertificateBadRequest) IsRedirect() bool
IsRedirect returns true when this retrieve certificate bad request response has a 3xx status code
func (*RetrieveCertificateBadRequest) IsServerError ¶
func (o *RetrieveCertificateBadRequest) IsServerError() bool
IsServerError returns true when this retrieve certificate bad request response has a 5xx status code
func (*RetrieveCertificateBadRequest) IsSuccess ¶
func (o *RetrieveCertificateBadRequest) IsSuccess() bool
IsSuccess returns true when this retrieve certificate bad request response has a 2xx status code
func (*RetrieveCertificateBadRequest) String ¶
func (o *RetrieveCertificateBadRequest) String() string
type RetrieveCertificateForbidden ¶
type RetrieveCertificateForbidden struct { }
RetrieveCertificateForbidden describes a response with status code 403, with default header values.
Insufficient permissions to retrieve remote certificate.
func NewRetrieveCertificateForbidden ¶
func NewRetrieveCertificateForbidden() *RetrieveCertificateForbidden
NewRetrieveCertificateForbidden creates a RetrieveCertificateForbidden with default headers values
func (*RetrieveCertificateForbidden) Code ¶
func (o *RetrieveCertificateForbidden) Code() int
Code gets the status code for the retrieve certificate forbidden response
func (*RetrieveCertificateForbidden) Error ¶
func (o *RetrieveCertificateForbidden) Error() string
func (*RetrieveCertificateForbidden) IsClientError ¶
func (o *RetrieveCertificateForbidden) IsClientError() bool
IsClientError returns true when this retrieve certificate forbidden response has a 4xx status code
func (*RetrieveCertificateForbidden) IsCode ¶
func (o *RetrieveCertificateForbidden) IsCode(code int) bool
IsCode returns true when this retrieve certificate forbidden response a status code equal to that given
func (*RetrieveCertificateForbidden) IsRedirect ¶
func (o *RetrieveCertificateForbidden) IsRedirect() bool
IsRedirect returns true when this retrieve certificate forbidden response has a 3xx status code
func (*RetrieveCertificateForbidden) IsServerError ¶
func (o *RetrieveCertificateForbidden) IsServerError() bool
IsServerError returns true when this retrieve certificate forbidden response has a 5xx status code
func (*RetrieveCertificateForbidden) IsSuccess ¶
func (o *RetrieveCertificateForbidden) IsSuccess() bool
IsSuccess returns true when this retrieve certificate forbidden response has a 2xx status code
func (*RetrieveCertificateForbidden) String ¶
func (o *RetrieveCertificateForbidden) String() string
type RetrieveCertificateOK ¶
type RetrieveCertificateOK struct {
Payload *models.APICertificate
}
RetrieveCertificateOK describes a response with status code 200, with default header values.
successful operation
func NewRetrieveCertificateOK ¶
func NewRetrieveCertificateOK() *RetrieveCertificateOK
NewRetrieveCertificateOK creates a RetrieveCertificateOK with default headers values
func (*RetrieveCertificateOK) Code ¶
func (o *RetrieveCertificateOK) Code() int
Code gets the status code for the retrieve certificate o k response
func (*RetrieveCertificateOK) Error ¶
func (o *RetrieveCertificateOK) Error() string
func (*RetrieveCertificateOK) GetPayload ¶
func (o *RetrieveCertificateOK) GetPayload() *models.APICertificate
func (*RetrieveCertificateOK) IsClientError ¶
func (o *RetrieveCertificateOK) IsClientError() bool
IsClientError returns true when this retrieve certificate o k response has a 4xx status code
func (*RetrieveCertificateOK) IsCode ¶
func (o *RetrieveCertificateOK) IsCode(code int) bool
IsCode returns true when this retrieve certificate o k response a status code equal to that given
func (*RetrieveCertificateOK) IsRedirect ¶
func (o *RetrieveCertificateOK) IsRedirect() bool
IsRedirect returns true when this retrieve certificate o k response has a 3xx status code
func (*RetrieveCertificateOK) IsServerError ¶
func (o *RetrieveCertificateOK) IsServerError() bool
IsServerError returns true when this retrieve certificate o k response has a 5xx status code
func (*RetrieveCertificateOK) IsSuccess ¶
func (o *RetrieveCertificateOK) IsSuccess() bool
IsSuccess returns true when this retrieve certificate o k response has a 2xx status code
func (*RetrieveCertificateOK) String ¶
func (o *RetrieveCertificateOK) String() string
type RetrieveCertificateParams ¶
type RetrieveCertificateParams struct { /* Host. The remote system's host name */ Host string /* Port. The port on the remote system to connect to Format: int32 Default: 443 */ Port *int32 /* ProtocolHint. An optional hint of the protocol to try for the connection */ ProtocolHint *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RetrieveCertificateParams contains all the parameters to send to the API endpoint
for the retrieve certificate operation. Typically these are written to a http.Request.
func NewRetrieveCertificateParams ¶
func NewRetrieveCertificateParams() *RetrieveCertificateParams
NewRetrieveCertificateParams creates a new RetrieveCertificateParams 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 NewRetrieveCertificateParamsWithContext ¶
func NewRetrieveCertificateParamsWithContext(ctx context.Context) *RetrieveCertificateParams
NewRetrieveCertificateParamsWithContext creates a new RetrieveCertificateParams object with the ability to set a context for a request.
func NewRetrieveCertificateParamsWithHTTPClient ¶
func NewRetrieveCertificateParamsWithHTTPClient(client *http.Client) *RetrieveCertificateParams
NewRetrieveCertificateParamsWithHTTPClient creates a new RetrieveCertificateParams object with the ability to set a custom HTTPClient for a request.
func NewRetrieveCertificateParamsWithTimeout ¶
func NewRetrieveCertificateParamsWithTimeout(timeout time.Duration) *RetrieveCertificateParams
NewRetrieveCertificateParamsWithTimeout creates a new RetrieveCertificateParams object with the ability to set a timeout on a request.
func (*RetrieveCertificateParams) SetContext ¶
func (o *RetrieveCertificateParams) SetContext(ctx context.Context)
SetContext adds the context to the retrieve certificate params
func (*RetrieveCertificateParams) SetDefaults ¶
func (o *RetrieveCertificateParams) SetDefaults()
SetDefaults hydrates default values in the retrieve certificate params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveCertificateParams) SetHTTPClient ¶
func (o *RetrieveCertificateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the retrieve certificate params
func (*RetrieveCertificateParams) SetHost ¶
func (o *RetrieveCertificateParams) SetHost(host string)
SetHost adds the host to the retrieve certificate params
func (*RetrieveCertificateParams) SetPort ¶
func (o *RetrieveCertificateParams) SetPort(port *int32)
SetPort adds the port to the retrieve certificate params
func (*RetrieveCertificateParams) SetProtocolHint ¶
func (o *RetrieveCertificateParams) SetProtocolHint(protocolHint *string)
SetProtocolHint adds the protocolHint to the retrieve certificate params
func (*RetrieveCertificateParams) SetTimeout ¶
func (o *RetrieveCertificateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the retrieve certificate params
func (*RetrieveCertificateParams) WithContext ¶
func (o *RetrieveCertificateParams) WithContext(ctx context.Context) *RetrieveCertificateParams
WithContext adds the context to the retrieve certificate params
func (*RetrieveCertificateParams) WithDefaults ¶
func (o *RetrieveCertificateParams) WithDefaults() *RetrieveCertificateParams
WithDefaults hydrates default values in the retrieve certificate params (not the query body).
All values with no default are reset to their zero value.
func (*RetrieveCertificateParams) WithHTTPClient ¶
func (o *RetrieveCertificateParams) WithHTTPClient(client *http.Client) *RetrieveCertificateParams
WithHTTPClient adds the HTTPClient to the retrieve certificate params
func (*RetrieveCertificateParams) WithHost ¶
func (o *RetrieveCertificateParams) WithHost(host string) *RetrieveCertificateParams
WithHost adds the host to the retrieve certificate params
func (*RetrieveCertificateParams) WithPort ¶
func (o *RetrieveCertificateParams) WithPort(port *int32) *RetrieveCertificateParams
WithPort adds the port to the retrieve certificate params
func (*RetrieveCertificateParams) WithProtocolHint ¶
func (o *RetrieveCertificateParams) WithProtocolHint(protocolHint *string) *RetrieveCertificateParams
WithProtocolHint adds the protocolHint to the retrieve certificate params
func (*RetrieveCertificateParams) WithTimeout ¶
func (o *RetrieveCertificateParams) WithTimeout(timeout time.Duration) *RetrieveCertificateParams
WithTimeout adds the timeout to the retrieve certificate params
func (*RetrieveCertificateParams) WriteToRequest ¶
func (o *RetrieveCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RetrieveCertificateReader ¶
type RetrieveCertificateReader struct {
// contains filtered or unexported fields
}
RetrieveCertificateReader is a Reader for the RetrieveCertificate structure.
func (*RetrieveCertificateReader) ReadResponse ¶
func (o *RetrieveCertificateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_certificate_parameters.go
- add_certificate_responses.go
- get_trust_store_certificates_parameters.go
- get_trust_store_certificates_responses.go
- remove_certificate_parameters.go
- remove_certificate_responses.go
- retrieve_certificate_parameters.go
- retrieve_certificate_responses.go
- security_certificates_client.go