Documentation ¶
Index ¶
- type AddTrustedCertificateBadRequest
- func (o *AddTrustedCertificateBadRequest) Error() string
- func (o *AddTrustedCertificateBadRequest) GetPayload() *models.Error
- func (o *AddTrustedCertificateBadRequest) IsClientError() bool
- func (o *AddTrustedCertificateBadRequest) IsCode(code int) bool
- func (o *AddTrustedCertificateBadRequest) IsRedirect() bool
- func (o *AddTrustedCertificateBadRequest) IsServerError() bool
- func (o *AddTrustedCertificateBadRequest) IsSuccess() bool
- func (o *AddTrustedCertificateBadRequest) String() string
- type AddTrustedCertificateConflict
- func (o *AddTrustedCertificateConflict) Error() string
- func (o *AddTrustedCertificateConflict) GetPayload() *models.Error
- func (o *AddTrustedCertificateConflict) IsClientError() bool
- func (o *AddTrustedCertificateConflict) IsCode(code int) bool
- func (o *AddTrustedCertificateConflict) IsRedirect() bool
- func (o *AddTrustedCertificateConflict) IsServerError() bool
- func (o *AddTrustedCertificateConflict) IsSuccess() bool
- func (o *AddTrustedCertificateConflict) String() string
- type AddTrustedCertificateInternalServerError
- func (o *AddTrustedCertificateInternalServerError) Error() string
- func (o *AddTrustedCertificateInternalServerError) GetPayload() *models.Error
- func (o *AddTrustedCertificateInternalServerError) IsClientError() bool
- func (o *AddTrustedCertificateInternalServerError) IsCode(code int) bool
- func (o *AddTrustedCertificateInternalServerError) IsRedirect() bool
- func (o *AddTrustedCertificateInternalServerError) IsServerError() bool
- func (o *AddTrustedCertificateInternalServerError) IsSuccess() bool
- func (o *AddTrustedCertificateInternalServerError) String() string
- type AddTrustedCertificateOK
- func (o *AddTrustedCertificateOK) Error() string
- func (o *AddTrustedCertificateOK) IsClientError() bool
- func (o *AddTrustedCertificateOK) IsCode(code int) bool
- func (o *AddTrustedCertificateOK) IsRedirect() bool
- func (o *AddTrustedCertificateOK) IsServerError() bool
- func (o *AddTrustedCertificateOK) IsSuccess() bool
- func (o *AddTrustedCertificateOK) String() string
- type AddTrustedCertificateParams
- func NewAddTrustedCertificateParams() *AddTrustedCertificateParams
- func NewAddTrustedCertificateParamsWithContext(ctx context.Context) *AddTrustedCertificateParams
- func NewAddTrustedCertificateParamsWithHTTPClient(client *http.Client) *AddTrustedCertificateParams
- func NewAddTrustedCertificateParamsWithTimeout(timeout time.Duration) *AddTrustedCertificateParams
- func (o *AddTrustedCertificateParams) SetContext(ctx context.Context)
- func (o *AddTrustedCertificateParams) SetDefaults()
- func (o *AddTrustedCertificateParams) SetHTTPClient(client *http.Client)
- func (o *AddTrustedCertificateParams) SetTimeout(timeout time.Duration)
- func (o *AddTrustedCertificateParams) SetTrustedCertificateSpec(trustedCertificateSpec *models.TrustedCertificateSpec)
- func (o *AddTrustedCertificateParams) WithContext(ctx context.Context) *AddTrustedCertificateParams
- func (o *AddTrustedCertificateParams) WithDefaults() *AddTrustedCertificateParams
- func (o *AddTrustedCertificateParams) WithHTTPClient(client *http.Client) *AddTrustedCertificateParams
- func (o *AddTrustedCertificateParams) WithTimeout(timeout time.Duration) *AddTrustedCertificateParams
- func (o *AddTrustedCertificateParams) WithTrustedCertificateSpec(trustedCertificateSpec *models.TrustedCertificateSpec) *AddTrustedCertificateParams
- func (o *AddTrustedCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddTrustedCertificateReader
- type Client
- func (a *Client) AddTrustedCertificate(params *AddTrustedCertificateParams, opts ...ClientOption) (*AddTrustedCertificateOK, error)
- func (a *Client) DeleteTrustedCertificate(params *DeleteTrustedCertificateParams, opts ...ClientOption) (*DeleteTrustedCertificateOK, *DeleteTrustedCertificateNoContent, error)
- func (a *Client) GetTrustedCertificates(params *GetTrustedCertificatesParams, opts ...ClientOption) (*GetTrustedCertificatesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteTrustedCertificateInternalServerError
- func (o *DeleteTrustedCertificateInternalServerError) Error() string
- func (o *DeleteTrustedCertificateInternalServerError) GetPayload() *models.Error
- func (o *DeleteTrustedCertificateInternalServerError) IsClientError() bool
- func (o *DeleteTrustedCertificateInternalServerError) IsCode(code int) bool
- func (o *DeleteTrustedCertificateInternalServerError) IsRedirect() bool
- func (o *DeleteTrustedCertificateInternalServerError) IsServerError() bool
- func (o *DeleteTrustedCertificateInternalServerError) IsSuccess() bool
- func (o *DeleteTrustedCertificateInternalServerError) String() string
- type DeleteTrustedCertificateNoContent
- func (o *DeleteTrustedCertificateNoContent) Error() string
- func (o *DeleteTrustedCertificateNoContent) IsClientError() bool
- func (o *DeleteTrustedCertificateNoContent) IsCode(code int) bool
- func (o *DeleteTrustedCertificateNoContent) IsRedirect() bool
- func (o *DeleteTrustedCertificateNoContent) IsServerError() bool
- func (o *DeleteTrustedCertificateNoContent) IsSuccess() bool
- func (o *DeleteTrustedCertificateNoContent) String() string
- type DeleteTrustedCertificateNotFound
- func (o *DeleteTrustedCertificateNotFound) Error() string
- func (o *DeleteTrustedCertificateNotFound) IsClientError() bool
- func (o *DeleteTrustedCertificateNotFound) IsCode(code int) bool
- func (o *DeleteTrustedCertificateNotFound) IsRedirect() bool
- func (o *DeleteTrustedCertificateNotFound) IsServerError() bool
- func (o *DeleteTrustedCertificateNotFound) IsSuccess() bool
- func (o *DeleteTrustedCertificateNotFound) String() string
- type DeleteTrustedCertificateOK
- func (o *DeleteTrustedCertificateOK) Error() string
- func (o *DeleteTrustedCertificateOK) IsClientError() bool
- func (o *DeleteTrustedCertificateOK) IsCode(code int) bool
- func (o *DeleteTrustedCertificateOK) IsRedirect() bool
- func (o *DeleteTrustedCertificateOK) IsServerError() bool
- func (o *DeleteTrustedCertificateOK) IsSuccess() bool
- func (o *DeleteTrustedCertificateOK) String() string
- type DeleteTrustedCertificateParams
- func NewDeleteTrustedCertificateParams() *DeleteTrustedCertificateParams
- func NewDeleteTrustedCertificateParamsWithContext(ctx context.Context) *DeleteTrustedCertificateParams
- func NewDeleteTrustedCertificateParamsWithHTTPClient(client *http.Client) *DeleteTrustedCertificateParams
- func NewDeleteTrustedCertificateParamsWithTimeout(timeout time.Duration) *DeleteTrustedCertificateParams
- func (o *DeleteTrustedCertificateParams) SetAlias(alias string)
- func (o *DeleteTrustedCertificateParams) SetContext(ctx context.Context)
- func (o *DeleteTrustedCertificateParams) SetDefaults()
- func (o *DeleteTrustedCertificateParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTrustedCertificateParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTrustedCertificateParams) WithAlias(alias string) *DeleteTrustedCertificateParams
- func (o *DeleteTrustedCertificateParams) WithContext(ctx context.Context) *DeleteTrustedCertificateParams
- func (o *DeleteTrustedCertificateParams) WithDefaults() *DeleteTrustedCertificateParams
- func (o *DeleteTrustedCertificateParams) WithHTTPClient(client *http.Client) *DeleteTrustedCertificateParams
- func (o *DeleteTrustedCertificateParams) WithTimeout(timeout time.Duration) *DeleteTrustedCertificateParams
- func (o *DeleteTrustedCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTrustedCertificateReader
- type GetTrustedCertificatesInternalServerError
- func (o *GetTrustedCertificatesInternalServerError) Error() string
- func (o *GetTrustedCertificatesInternalServerError) GetPayload() *models.Error
- func (o *GetTrustedCertificatesInternalServerError) IsClientError() bool
- func (o *GetTrustedCertificatesInternalServerError) IsCode(code int) bool
- func (o *GetTrustedCertificatesInternalServerError) IsRedirect() bool
- func (o *GetTrustedCertificatesInternalServerError) IsServerError() bool
- func (o *GetTrustedCertificatesInternalServerError) IsSuccess() bool
- func (o *GetTrustedCertificatesInternalServerError) String() string
- type GetTrustedCertificatesOK
- func (o *GetTrustedCertificatesOK) Error() string
- func (o *GetTrustedCertificatesOK) GetPayload() *models.PageOfTrustedCertificate
- func (o *GetTrustedCertificatesOK) IsClientError() bool
- func (o *GetTrustedCertificatesOK) IsCode(code int) bool
- func (o *GetTrustedCertificatesOK) IsRedirect() bool
- func (o *GetTrustedCertificatesOK) IsServerError() bool
- func (o *GetTrustedCertificatesOK) IsSuccess() bool
- func (o *GetTrustedCertificatesOK) String() string
- type GetTrustedCertificatesParams
- func NewGetTrustedCertificatesParams() *GetTrustedCertificatesParams
- func NewGetTrustedCertificatesParamsWithContext(ctx context.Context) *GetTrustedCertificatesParams
- func NewGetTrustedCertificatesParamsWithHTTPClient(client *http.Client) *GetTrustedCertificatesParams
- func NewGetTrustedCertificatesParamsWithTimeout(timeout time.Duration) *GetTrustedCertificatesParams
- func (o *GetTrustedCertificatesParams) SetContext(ctx context.Context)
- func (o *GetTrustedCertificatesParams) SetDefaults()
- func (o *GetTrustedCertificatesParams) SetHTTPClient(client *http.Client)
- func (o *GetTrustedCertificatesParams) SetTimeout(timeout time.Duration)
- func (o *GetTrustedCertificatesParams) WithContext(ctx context.Context) *GetTrustedCertificatesParams
- func (o *GetTrustedCertificatesParams) WithDefaults() *GetTrustedCertificatesParams
- func (o *GetTrustedCertificatesParams) WithHTTPClient(client *http.Client) *GetTrustedCertificatesParams
- func (o *GetTrustedCertificatesParams) WithTimeout(timeout time.Duration) *GetTrustedCertificatesParams
- func (o *GetTrustedCertificatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTrustedCertificatesReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTrustedCertificateBadRequest ¶
AddTrustedCertificateBadRequest describes a response with status code 400, with default header values.
Bad request
func NewAddTrustedCertificateBadRequest ¶
func NewAddTrustedCertificateBadRequest() *AddTrustedCertificateBadRequest
NewAddTrustedCertificateBadRequest creates a AddTrustedCertificateBadRequest with default headers values
func (*AddTrustedCertificateBadRequest) Error ¶
func (o *AddTrustedCertificateBadRequest) Error() string
func (*AddTrustedCertificateBadRequest) GetPayload ¶
func (o *AddTrustedCertificateBadRequest) GetPayload() *models.Error
func (*AddTrustedCertificateBadRequest) IsClientError ¶
func (o *AddTrustedCertificateBadRequest) IsClientError() bool
IsClientError returns true when this add trusted certificate bad request response has a 4xx status code
func (*AddTrustedCertificateBadRequest) IsCode ¶
func (o *AddTrustedCertificateBadRequest) IsCode(code int) bool
IsCode returns true when this add trusted certificate bad request response a status code equal to that given
func (*AddTrustedCertificateBadRequest) IsRedirect ¶
func (o *AddTrustedCertificateBadRequest) IsRedirect() bool
IsRedirect returns true when this add trusted certificate bad request response has a 3xx status code
func (*AddTrustedCertificateBadRequest) IsServerError ¶
func (o *AddTrustedCertificateBadRequest) IsServerError() bool
IsServerError returns true when this add trusted certificate bad request response has a 5xx status code
func (*AddTrustedCertificateBadRequest) IsSuccess ¶
func (o *AddTrustedCertificateBadRequest) IsSuccess() bool
IsSuccess returns true when this add trusted certificate bad request response has a 2xx status code
func (*AddTrustedCertificateBadRequest) String ¶
func (o *AddTrustedCertificateBadRequest) String() string
type AddTrustedCertificateConflict ¶
AddTrustedCertificateConflict describes a response with status code 409, with default header values.
Trusted certificate already exists
func NewAddTrustedCertificateConflict ¶
func NewAddTrustedCertificateConflict() *AddTrustedCertificateConflict
NewAddTrustedCertificateConflict creates a AddTrustedCertificateConflict with default headers values
func (*AddTrustedCertificateConflict) Error ¶
func (o *AddTrustedCertificateConflict) Error() string
func (*AddTrustedCertificateConflict) GetPayload ¶
func (o *AddTrustedCertificateConflict) GetPayload() *models.Error
func (*AddTrustedCertificateConflict) IsClientError ¶
func (o *AddTrustedCertificateConflict) IsClientError() bool
IsClientError returns true when this add trusted certificate conflict response has a 4xx status code
func (*AddTrustedCertificateConflict) IsCode ¶
func (o *AddTrustedCertificateConflict) IsCode(code int) bool
IsCode returns true when this add trusted certificate conflict response a status code equal to that given
func (*AddTrustedCertificateConflict) IsRedirect ¶
func (o *AddTrustedCertificateConflict) IsRedirect() bool
IsRedirect returns true when this add trusted certificate conflict response has a 3xx status code
func (*AddTrustedCertificateConflict) IsServerError ¶
func (o *AddTrustedCertificateConflict) IsServerError() bool
IsServerError returns true when this add trusted certificate conflict response has a 5xx status code
func (*AddTrustedCertificateConflict) IsSuccess ¶
func (o *AddTrustedCertificateConflict) IsSuccess() bool
IsSuccess returns true when this add trusted certificate conflict response has a 2xx status code
func (*AddTrustedCertificateConflict) String ¶
func (o *AddTrustedCertificateConflict) String() string
type AddTrustedCertificateInternalServerError ¶
AddTrustedCertificateInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewAddTrustedCertificateInternalServerError ¶
func NewAddTrustedCertificateInternalServerError() *AddTrustedCertificateInternalServerError
NewAddTrustedCertificateInternalServerError creates a AddTrustedCertificateInternalServerError with default headers values
func (*AddTrustedCertificateInternalServerError) Error ¶
func (o *AddTrustedCertificateInternalServerError) Error() string
func (*AddTrustedCertificateInternalServerError) GetPayload ¶
func (o *AddTrustedCertificateInternalServerError) GetPayload() *models.Error
func (*AddTrustedCertificateInternalServerError) IsClientError ¶
func (o *AddTrustedCertificateInternalServerError) IsClientError() bool
IsClientError returns true when this add trusted certificate internal server error response has a 4xx status code
func (*AddTrustedCertificateInternalServerError) IsCode ¶
func (o *AddTrustedCertificateInternalServerError) IsCode(code int) bool
IsCode returns true when this add trusted certificate internal server error response a status code equal to that given
func (*AddTrustedCertificateInternalServerError) IsRedirect ¶
func (o *AddTrustedCertificateInternalServerError) IsRedirect() bool
IsRedirect returns true when this add trusted certificate internal server error response has a 3xx status code
func (*AddTrustedCertificateInternalServerError) IsServerError ¶
func (o *AddTrustedCertificateInternalServerError) IsServerError() bool
IsServerError returns true when this add trusted certificate internal server error response has a 5xx status code
func (*AddTrustedCertificateInternalServerError) IsSuccess ¶
func (o *AddTrustedCertificateInternalServerError) IsSuccess() bool
IsSuccess returns true when this add trusted certificate internal server error response has a 2xx status code
func (*AddTrustedCertificateInternalServerError) String ¶
func (o *AddTrustedCertificateInternalServerError) String() string
type AddTrustedCertificateOK ¶
type AddTrustedCertificateOK struct { }
AddTrustedCertificateOK describes a response with status code 200, with default header values.
OK
func NewAddTrustedCertificateOK ¶
func NewAddTrustedCertificateOK() *AddTrustedCertificateOK
NewAddTrustedCertificateOK creates a AddTrustedCertificateOK with default headers values
func (*AddTrustedCertificateOK) Error ¶
func (o *AddTrustedCertificateOK) Error() string
func (*AddTrustedCertificateOK) IsClientError ¶
func (o *AddTrustedCertificateOK) IsClientError() bool
IsClientError returns true when this add trusted certificate o k response has a 4xx status code
func (*AddTrustedCertificateOK) IsCode ¶
func (o *AddTrustedCertificateOK) IsCode(code int) bool
IsCode returns true when this add trusted certificate o k response a status code equal to that given
func (*AddTrustedCertificateOK) IsRedirect ¶
func (o *AddTrustedCertificateOK) IsRedirect() bool
IsRedirect returns true when this add trusted certificate o k response has a 3xx status code
func (*AddTrustedCertificateOK) IsServerError ¶
func (o *AddTrustedCertificateOK) IsServerError() bool
IsServerError returns true when this add trusted certificate o k response has a 5xx status code
func (*AddTrustedCertificateOK) IsSuccess ¶
func (o *AddTrustedCertificateOK) IsSuccess() bool
IsSuccess returns true when this add trusted certificate o k response has a 2xx status code
func (*AddTrustedCertificateOK) String ¶
func (o *AddTrustedCertificateOK) String() string
type AddTrustedCertificateParams ¶
type AddTrustedCertificateParams struct { /* TrustedCertificateSpec. trustedCertificateSpec */ TrustedCertificateSpec *models.TrustedCertificateSpec Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddTrustedCertificateParams contains all the parameters to send to the API endpoint
for the add trusted certificate operation. Typically these are written to a http.Request.
func NewAddTrustedCertificateParams ¶
func NewAddTrustedCertificateParams() *AddTrustedCertificateParams
NewAddTrustedCertificateParams creates a new AddTrustedCertificateParams 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 NewAddTrustedCertificateParamsWithContext ¶
func NewAddTrustedCertificateParamsWithContext(ctx context.Context) *AddTrustedCertificateParams
NewAddTrustedCertificateParamsWithContext creates a new AddTrustedCertificateParams object with the ability to set a context for a request.
func NewAddTrustedCertificateParamsWithHTTPClient ¶
func NewAddTrustedCertificateParamsWithHTTPClient(client *http.Client) *AddTrustedCertificateParams
NewAddTrustedCertificateParamsWithHTTPClient creates a new AddTrustedCertificateParams object with the ability to set a custom HTTPClient for a request.
func NewAddTrustedCertificateParamsWithTimeout ¶
func NewAddTrustedCertificateParamsWithTimeout(timeout time.Duration) *AddTrustedCertificateParams
NewAddTrustedCertificateParamsWithTimeout creates a new AddTrustedCertificateParams object with the ability to set a timeout on a request.
func (*AddTrustedCertificateParams) SetContext ¶
func (o *AddTrustedCertificateParams) SetContext(ctx context.Context)
SetContext adds the context to the add trusted certificate params
func (*AddTrustedCertificateParams) SetDefaults ¶
func (o *AddTrustedCertificateParams) SetDefaults()
SetDefaults hydrates default values in the add trusted certificate params (not the query body).
All values with no default are reset to their zero value.
func (*AddTrustedCertificateParams) SetHTTPClient ¶
func (o *AddTrustedCertificateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add trusted certificate params
func (*AddTrustedCertificateParams) SetTimeout ¶
func (o *AddTrustedCertificateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add trusted certificate params
func (*AddTrustedCertificateParams) SetTrustedCertificateSpec ¶
func (o *AddTrustedCertificateParams) SetTrustedCertificateSpec(trustedCertificateSpec *models.TrustedCertificateSpec)
SetTrustedCertificateSpec adds the trustedCertificateSpec to the add trusted certificate params
func (*AddTrustedCertificateParams) WithContext ¶
func (o *AddTrustedCertificateParams) WithContext(ctx context.Context) *AddTrustedCertificateParams
WithContext adds the context to the add trusted certificate params
func (*AddTrustedCertificateParams) WithDefaults ¶
func (o *AddTrustedCertificateParams) WithDefaults() *AddTrustedCertificateParams
WithDefaults hydrates default values in the add trusted certificate params (not the query body).
All values with no default are reset to their zero value.
func (*AddTrustedCertificateParams) WithHTTPClient ¶
func (o *AddTrustedCertificateParams) WithHTTPClient(client *http.Client) *AddTrustedCertificateParams
WithHTTPClient adds the HTTPClient to the add trusted certificate params
func (*AddTrustedCertificateParams) WithTimeout ¶
func (o *AddTrustedCertificateParams) WithTimeout(timeout time.Duration) *AddTrustedCertificateParams
WithTimeout adds the timeout to the add trusted certificate params
func (*AddTrustedCertificateParams) WithTrustedCertificateSpec ¶
func (o *AddTrustedCertificateParams) WithTrustedCertificateSpec(trustedCertificateSpec *models.TrustedCertificateSpec) *AddTrustedCertificateParams
WithTrustedCertificateSpec adds the trustedCertificateSpec to the add trusted certificate params
func (*AddTrustedCertificateParams) WriteToRequest ¶
func (o *AddTrustedCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddTrustedCertificateReader ¶
type AddTrustedCertificateReader struct {
// contains filtered or unexported fields
}
AddTrustedCertificateReader is a Reader for the AddTrustedCertificate structure.
func (*AddTrustedCertificateReader) ReadResponse ¶
func (o *AddTrustedCertificateReader) 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 trusted certificates API
func (*Client) AddTrustedCertificate ¶
func (a *Client) AddTrustedCertificate(params *AddTrustedCertificateParams, opts ...ClientOption) (*AddTrustedCertificateOK, error)
AddTrustedCertificate adds a trusted certificate to the SDDC manager
Add a trusted certificate to the SDDC Manager
func (*Client) DeleteTrustedCertificate ¶ added in v0.2.0
func (a *Client) DeleteTrustedCertificate(params *DeleteTrustedCertificateParams, opts ...ClientOption) (*DeleteTrustedCertificateOK, *DeleteTrustedCertificateNoContent, error)
DeleteTrustedCertificate deletes a trusted certificate from the SDDC manager
Delete a trusted certificate from the SDDC Manager. Restart the services to reflect the changes.
func (*Client) GetTrustedCertificates ¶ added in v0.2.0
func (a *Client) GetTrustedCertificates(params *GetTrustedCertificatesParams, opts ...ClientOption) (*GetTrustedCertificatesOK, error)
GetTrustedCertificates gets the trusted certificates from the SDDC manager
Get the trusted certificates from the SDDC Manager
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 { AddTrustedCertificate(params *AddTrustedCertificateParams, opts ...ClientOption) (*AddTrustedCertificateOK, error) DeleteTrustedCertificate(params *DeleteTrustedCertificateParams, opts ...ClientOption) (*DeleteTrustedCertificateOK, *DeleteTrustedCertificateNoContent, error) GetTrustedCertificates(params *GetTrustedCertificatesParams, opts ...ClientOption) (*GetTrustedCertificatesOK, 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 trusted certificates API client.
type DeleteTrustedCertificateInternalServerError ¶ added in v0.2.0
DeleteTrustedCertificateInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteTrustedCertificateInternalServerError ¶ added in v0.2.0
func NewDeleteTrustedCertificateInternalServerError() *DeleteTrustedCertificateInternalServerError
NewDeleteTrustedCertificateInternalServerError creates a DeleteTrustedCertificateInternalServerError with default headers values
func (*DeleteTrustedCertificateInternalServerError) Error ¶ added in v0.2.0
func (o *DeleteTrustedCertificateInternalServerError) Error() string
func (*DeleteTrustedCertificateInternalServerError) GetPayload ¶ added in v0.2.0
func (o *DeleteTrustedCertificateInternalServerError) GetPayload() *models.Error
func (*DeleteTrustedCertificateInternalServerError) IsClientError ¶ added in v0.2.0
func (o *DeleteTrustedCertificateInternalServerError) IsClientError() bool
IsClientError returns true when this delete trusted certificate internal server error response has a 4xx status code
func (*DeleteTrustedCertificateInternalServerError) IsCode ¶ added in v0.2.0
func (o *DeleteTrustedCertificateInternalServerError) IsCode(code int) bool
IsCode returns true when this delete trusted certificate internal server error response a status code equal to that given
func (*DeleteTrustedCertificateInternalServerError) IsRedirect ¶ added in v0.2.0
func (o *DeleteTrustedCertificateInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete trusted certificate internal server error response has a 3xx status code
func (*DeleteTrustedCertificateInternalServerError) IsServerError ¶ added in v0.2.0
func (o *DeleteTrustedCertificateInternalServerError) IsServerError() bool
IsServerError returns true when this delete trusted certificate internal server error response has a 5xx status code
func (*DeleteTrustedCertificateInternalServerError) IsSuccess ¶ added in v0.2.0
func (o *DeleteTrustedCertificateInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete trusted certificate internal server error response has a 2xx status code
func (*DeleteTrustedCertificateInternalServerError) String ¶ added in v0.2.0
func (o *DeleteTrustedCertificateInternalServerError) String() string
type DeleteTrustedCertificateNoContent ¶ added in v0.2.0
type DeleteTrustedCertificateNoContent struct { }
DeleteTrustedCertificateNoContent describes a response with status code 204, with default header values.
No Content
func NewDeleteTrustedCertificateNoContent ¶ added in v0.2.0
func NewDeleteTrustedCertificateNoContent() *DeleteTrustedCertificateNoContent
NewDeleteTrustedCertificateNoContent creates a DeleteTrustedCertificateNoContent with default headers values
func (*DeleteTrustedCertificateNoContent) Error ¶ added in v0.2.0
func (o *DeleteTrustedCertificateNoContent) Error() string
func (*DeleteTrustedCertificateNoContent) IsClientError ¶ added in v0.2.0
func (o *DeleteTrustedCertificateNoContent) IsClientError() bool
IsClientError returns true when this delete trusted certificate no content response has a 4xx status code
func (*DeleteTrustedCertificateNoContent) IsCode ¶ added in v0.2.0
func (o *DeleteTrustedCertificateNoContent) IsCode(code int) bool
IsCode returns true when this delete trusted certificate no content response a status code equal to that given
func (*DeleteTrustedCertificateNoContent) IsRedirect ¶ added in v0.2.0
func (o *DeleteTrustedCertificateNoContent) IsRedirect() bool
IsRedirect returns true when this delete trusted certificate no content response has a 3xx status code
func (*DeleteTrustedCertificateNoContent) IsServerError ¶ added in v0.2.0
func (o *DeleteTrustedCertificateNoContent) IsServerError() bool
IsServerError returns true when this delete trusted certificate no content response has a 5xx status code
func (*DeleteTrustedCertificateNoContent) IsSuccess ¶ added in v0.2.0
func (o *DeleteTrustedCertificateNoContent) IsSuccess() bool
IsSuccess returns true when this delete trusted certificate no content response has a 2xx status code
func (*DeleteTrustedCertificateNoContent) String ¶ added in v0.2.0
func (o *DeleteTrustedCertificateNoContent) String() string
type DeleteTrustedCertificateNotFound ¶ added in v0.2.0
type DeleteTrustedCertificateNotFound struct { }
DeleteTrustedCertificateNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteTrustedCertificateNotFound ¶ added in v0.2.0
func NewDeleteTrustedCertificateNotFound() *DeleteTrustedCertificateNotFound
NewDeleteTrustedCertificateNotFound creates a DeleteTrustedCertificateNotFound with default headers values
func (*DeleteTrustedCertificateNotFound) Error ¶ added in v0.2.0
func (o *DeleteTrustedCertificateNotFound) Error() string
func (*DeleteTrustedCertificateNotFound) IsClientError ¶ added in v0.2.0
func (o *DeleteTrustedCertificateNotFound) IsClientError() bool
IsClientError returns true when this delete trusted certificate not found response has a 4xx status code
func (*DeleteTrustedCertificateNotFound) IsCode ¶ added in v0.2.0
func (o *DeleteTrustedCertificateNotFound) IsCode(code int) bool
IsCode returns true when this delete trusted certificate not found response a status code equal to that given
func (*DeleteTrustedCertificateNotFound) IsRedirect ¶ added in v0.2.0
func (o *DeleteTrustedCertificateNotFound) IsRedirect() bool
IsRedirect returns true when this delete trusted certificate not found response has a 3xx status code
func (*DeleteTrustedCertificateNotFound) IsServerError ¶ added in v0.2.0
func (o *DeleteTrustedCertificateNotFound) IsServerError() bool
IsServerError returns true when this delete trusted certificate not found response has a 5xx status code
func (*DeleteTrustedCertificateNotFound) IsSuccess ¶ added in v0.2.0
func (o *DeleteTrustedCertificateNotFound) IsSuccess() bool
IsSuccess returns true when this delete trusted certificate not found response has a 2xx status code
func (*DeleteTrustedCertificateNotFound) String ¶ added in v0.2.0
func (o *DeleteTrustedCertificateNotFound) String() string
type DeleteTrustedCertificateOK ¶ added in v0.2.0
type DeleteTrustedCertificateOK struct { }
DeleteTrustedCertificateOK describes a response with status code 200, with default header values.
OK
func NewDeleteTrustedCertificateOK ¶ added in v0.2.0
func NewDeleteTrustedCertificateOK() *DeleteTrustedCertificateOK
NewDeleteTrustedCertificateOK creates a DeleteTrustedCertificateOK with default headers values
func (*DeleteTrustedCertificateOK) Error ¶ added in v0.2.0
func (o *DeleteTrustedCertificateOK) Error() string
func (*DeleteTrustedCertificateOK) IsClientError ¶ added in v0.2.0
func (o *DeleteTrustedCertificateOK) IsClientError() bool
IsClientError returns true when this delete trusted certificate o k response has a 4xx status code
func (*DeleteTrustedCertificateOK) IsCode ¶ added in v0.2.0
func (o *DeleteTrustedCertificateOK) IsCode(code int) bool
IsCode returns true when this delete trusted certificate o k response a status code equal to that given
func (*DeleteTrustedCertificateOK) IsRedirect ¶ added in v0.2.0
func (o *DeleteTrustedCertificateOK) IsRedirect() bool
IsRedirect returns true when this delete trusted certificate o k response has a 3xx status code
func (*DeleteTrustedCertificateOK) IsServerError ¶ added in v0.2.0
func (o *DeleteTrustedCertificateOK) IsServerError() bool
IsServerError returns true when this delete trusted certificate o k response has a 5xx status code
func (*DeleteTrustedCertificateOK) IsSuccess ¶ added in v0.2.0
func (o *DeleteTrustedCertificateOK) IsSuccess() bool
IsSuccess returns true when this delete trusted certificate o k response has a 2xx status code
func (*DeleteTrustedCertificateOK) String ¶ added in v0.2.0
func (o *DeleteTrustedCertificateOK) String() string
type DeleteTrustedCertificateParams ¶ added in v0.2.0
type DeleteTrustedCertificateParams struct { /* Alias. Certificate Alias */ Alias string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTrustedCertificateParams contains all the parameters to send to the API endpoint
for the delete trusted certificate operation. Typically these are written to a http.Request.
func NewDeleteTrustedCertificateParams ¶ added in v0.2.0
func NewDeleteTrustedCertificateParams() *DeleteTrustedCertificateParams
NewDeleteTrustedCertificateParams creates a new DeleteTrustedCertificateParams 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 NewDeleteTrustedCertificateParamsWithContext ¶ added in v0.2.0
func NewDeleteTrustedCertificateParamsWithContext(ctx context.Context) *DeleteTrustedCertificateParams
NewDeleteTrustedCertificateParamsWithContext creates a new DeleteTrustedCertificateParams object with the ability to set a context for a request.
func NewDeleteTrustedCertificateParamsWithHTTPClient ¶ added in v0.2.0
func NewDeleteTrustedCertificateParamsWithHTTPClient(client *http.Client) *DeleteTrustedCertificateParams
NewDeleteTrustedCertificateParamsWithHTTPClient creates a new DeleteTrustedCertificateParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTrustedCertificateParamsWithTimeout ¶ added in v0.2.0
func NewDeleteTrustedCertificateParamsWithTimeout(timeout time.Duration) *DeleteTrustedCertificateParams
NewDeleteTrustedCertificateParamsWithTimeout creates a new DeleteTrustedCertificateParams object with the ability to set a timeout on a request.
func (*DeleteTrustedCertificateParams) SetAlias ¶ added in v0.2.0
func (o *DeleteTrustedCertificateParams) SetAlias(alias string)
SetAlias adds the alias to the delete trusted certificate params
func (*DeleteTrustedCertificateParams) SetContext ¶ added in v0.2.0
func (o *DeleteTrustedCertificateParams) SetContext(ctx context.Context)
SetContext adds the context to the delete trusted certificate params
func (*DeleteTrustedCertificateParams) SetDefaults ¶ added in v0.2.0
func (o *DeleteTrustedCertificateParams) SetDefaults()
SetDefaults hydrates default values in the delete trusted certificate params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTrustedCertificateParams) SetHTTPClient ¶ added in v0.2.0
func (o *DeleteTrustedCertificateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete trusted certificate params
func (*DeleteTrustedCertificateParams) SetTimeout ¶ added in v0.2.0
func (o *DeleteTrustedCertificateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete trusted certificate params
func (*DeleteTrustedCertificateParams) WithAlias ¶ added in v0.2.0
func (o *DeleteTrustedCertificateParams) WithAlias(alias string) *DeleteTrustedCertificateParams
WithAlias adds the alias to the delete trusted certificate params
func (*DeleteTrustedCertificateParams) WithContext ¶ added in v0.2.0
func (o *DeleteTrustedCertificateParams) WithContext(ctx context.Context) *DeleteTrustedCertificateParams
WithContext adds the context to the delete trusted certificate params
func (*DeleteTrustedCertificateParams) WithDefaults ¶ added in v0.2.0
func (o *DeleteTrustedCertificateParams) WithDefaults() *DeleteTrustedCertificateParams
WithDefaults hydrates default values in the delete trusted certificate params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTrustedCertificateParams) WithHTTPClient ¶ added in v0.2.0
func (o *DeleteTrustedCertificateParams) WithHTTPClient(client *http.Client) *DeleteTrustedCertificateParams
WithHTTPClient adds the HTTPClient to the delete trusted certificate params
func (*DeleteTrustedCertificateParams) WithTimeout ¶ added in v0.2.0
func (o *DeleteTrustedCertificateParams) WithTimeout(timeout time.Duration) *DeleteTrustedCertificateParams
WithTimeout adds the timeout to the delete trusted certificate params
func (*DeleteTrustedCertificateParams) WriteToRequest ¶ added in v0.2.0
func (o *DeleteTrustedCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTrustedCertificateReader ¶ added in v0.2.0
type DeleteTrustedCertificateReader struct {
// contains filtered or unexported fields
}
DeleteTrustedCertificateReader is a Reader for the DeleteTrustedCertificate structure.
func (*DeleteTrustedCertificateReader) ReadResponse ¶ added in v0.2.0
func (o *DeleteTrustedCertificateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTrustedCertificatesInternalServerError ¶ added in v0.2.0
GetTrustedCertificatesInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetTrustedCertificatesInternalServerError ¶ added in v0.2.0
func NewGetTrustedCertificatesInternalServerError() *GetTrustedCertificatesInternalServerError
NewGetTrustedCertificatesInternalServerError creates a GetTrustedCertificatesInternalServerError with default headers values
func (*GetTrustedCertificatesInternalServerError) Error ¶ added in v0.2.0
func (o *GetTrustedCertificatesInternalServerError) Error() string
func (*GetTrustedCertificatesInternalServerError) GetPayload ¶ added in v0.2.0
func (o *GetTrustedCertificatesInternalServerError) GetPayload() *models.Error
func (*GetTrustedCertificatesInternalServerError) IsClientError ¶ added in v0.2.0
func (o *GetTrustedCertificatesInternalServerError) IsClientError() bool
IsClientError returns true when this get trusted certificates internal server error response has a 4xx status code
func (*GetTrustedCertificatesInternalServerError) IsCode ¶ added in v0.2.0
func (o *GetTrustedCertificatesInternalServerError) IsCode(code int) bool
IsCode returns true when this get trusted certificates internal server error response a status code equal to that given
func (*GetTrustedCertificatesInternalServerError) IsRedirect ¶ added in v0.2.0
func (o *GetTrustedCertificatesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get trusted certificates internal server error response has a 3xx status code
func (*GetTrustedCertificatesInternalServerError) IsServerError ¶ added in v0.2.0
func (o *GetTrustedCertificatesInternalServerError) IsServerError() bool
IsServerError returns true when this get trusted certificates internal server error response has a 5xx status code
func (*GetTrustedCertificatesInternalServerError) IsSuccess ¶ added in v0.2.0
func (o *GetTrustedCertificatesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get trusted certificates internal server error response has a 2xx status code
func (*GetTrustedCertificatesInternalServerError) String ¶ added in v0.2.0
func (o *GetTrustedCertificatesInternalServerError) String() string
type GetTrustedCertificatesOK ¶ added in v0.2.0
type GetTrustedCertificatesOK struct {
Payload *models.PageOfTrustedCertificate
}
GetTrustedCertificatesOK describes a response with status code 200, with default header values.
OK
func NewGetTrustedCertificatesOK ¶ added in v0.2.0
func NewGetTrustedCertificatesOK() *GetTrustedCertificatesOK
NewGetTrustedCertificatesOK creates a GetTrustedCertificatesOK with default headers values
func (*GetTrustedCertificatesOK) Error ¶ added in v0.2.0
func (o *GetTrustedCertificatesOK) Error() string
func (*GetTrustedCertificatesOK) GetPayload ¶ added in v0.2.0
func (o *GetTrustedCertificatesOK) GetPayload() *models.PageOfTrustedCertificate
func (*GetTrustedCertificatesOK) IsClientError ¶ added in v0.2.0
func (o *GetTrustedCertificatesOK) IsClientError() bool
IsClientError returns true when this get trusted certificates o k response has a 4xx status code
func (*GetTrustedCertificatesOK) IsCode ¶ added in v0.2.0
func (o *GetTrustedCertificatesOK) IsCode(code int) bool
IsCode returns true when this get trusted certificates o k response a status code equal to that given
func (*GetTrustedCertificatesOK) IsRedirect ¶ added in v0.2.0
func (o *GetTrustedCertificatesOK) IsRedirect() bool
IsRedirect returns true when this get trusted certificates o k response has a 3xx status code
func (*GetTrustedCertificatesOK) IsServerError ¶ added in v0.2.0
func (o *GetTrustedCertificatesOK) IsServerError() bool
IsServerError returns true when this get trusted certificates o k response has a 5xx status code
func (*GetTrustedCertificatesOK) IsSuccess ¶ added in v0.2.0
func (o *GetTrustedCertificatesOK) IsSuccess() bool
IsSuccess returns true when this get trusted certificates o k response has a 2xx status code
func (*GetTrustedCertificatesOK) String ¶ added in v0.2.0
func (o *GetTrustedCertificatesOK) String() string
type GetTrustedCertificatesParams ¶ added in v0.2.0
type GetTrustedCertificatesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTrustedCertificatesParams contains all the parameters to send to the API endpoint
for the get trusted certificates operation. Typically these are written to a http.Request.
func NewGetTrustedCertificatesParams ¶ added in v0.2.0
func NewGetTrustedCertificatesParams() *GetTrustedCertificatesParams
NewGetTrustedCertificatesParams creates a new GetTrustedCertificatesParams 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 NewGetTrustedCertificatesParamsWithContext ¶ added in v0.2.0
func NewGetTrustedCertificatesParamsWithContext(ctx context.Context) *GetTrustedCertificatesParams
NewGetTrustedCertificatesParamsWithContext creates a new GetTrustedCertificatesParams object with the ability to set a context for a request.
func NewGetTrustedCertificatesParamsWithHTTPClient ¶ added in v0.2.0
func NewGetTrustedCertificatesParamsWithHTTPClient(client *http.Client) *GetTrustedCertificatesParams
NewGetTrustedCertificatesParamsWithHTTPClient creates a new GetTrustedCertificatesParams object with the ability to set a custom HTTPClient for a request.
func NewGetTrustedCertificatesParamsWithTimeout ¶ added in v0.2.0
func NewGetTrustedCertificatesParamsWithTimeout(timeout time.Duration) *GetTrustedCertificatesParams
NewGetTrustedCertificatesParamsWithTimeout creates a new GetTrustedCertificatesParams object with the ability to set a timeout on a request.
func (*GetTrustedCertificatesParams) SetContext ¶ added in v0.2.0
func (o *GetTrustedCertificatesParams) SetContext(ctx context.Context)
SetContext adds the context to the get trusted certificates params
func (*GetTrustedCertificatesParams) SetDefaults ¶ added in v0.2.0
func (o *GetTrustedCertificatesParams) SetDefaults()
SetDefaults hydrates default values in the get trusted certificates params (not the query body).
All values with no default are reset to their zero value.
func (*GetTrustedCertificatesParams) SetHTTPClient ¶ added in v0.2.0
func (o *GetTrustedCertificatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get trusted certificates params
func (*GetTrustedCertificatesParams) SetTimeout ¶ added in v0.2.0
func (o *GetTrustedCertificatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get trusted certificates params
func (*GetTrustedCertificatesParams) WithContext ¶ added in v0.2.0
func (o *GetTrustedCertificatesParams) WithContext(ctx context.Context) *GetTrustedCertificatesParams
WithContext adds the context to the get trusted certificates params
func (*GetTrustedCertificatesParams) WithDefaults ¶ added in v0.2.0
func (o *GetTrustedCertificatesParams) WithDefaults() *GetTrustedCertificatesParams
WithDefaults hydrates default values in the get trusted certificates params (not the query body).
All values with no default are reset to their zero value.
func (*GetTrustedCertificatesParams) WithHTTPClient ¶ added in v0.2.0
func (o *GetTrustedCertificatesParams) WithHTTPClient(client *http.Client) *GetTrustedCertificatesParams
WithHTTPClient adds the HTTPClient to the get trusted certificates params
func (*GetTrustedCertificatesParams) WithTimeout ¶ added in v0.2.0
func (o *GetTrustedCertificatesParams) WithTimeout(timeout time.Duration) *GetTrustedCertificatesParams
WithTimeout adds the timeout to the get trusted certificates params
func (*GetTrustedCertificatesParams) WriteToRequest ¶ added in v0.2.0
func (o *GetTrustedCertificatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTrustedCertificatesReader ¶ added in v0.2.0
type GetTrustedCertificatesReader struct {
// contains filtered or unexported fields
}
GetTrustedCertificatesReader is a Reader for the GetTrustedCertificates structure.
func (*GetTrustedCertificatesReader) ReadResponse ¶ added in v0.2.0
func (o *GetTrustedCertificatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.