trusted_certificates

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddTrustedCertificateBadRequest

type AddTrustedCertificateBadRequest struct {
	Payload *models.Error
}

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 (*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

type AddTrustedCertificateConflict

type AddTrustedCertificateConflict struct {
	Payload *models.Error
}

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 (*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

type AddTrustedCertificateInternalServerError

type AddTrustedCertificateInternalServerError struct {
	Payload *models.Error
}

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 (*AddTrustedCertificateInternalServerError) GetPayload

func (*AddTrustedCertificateInternalServerError) IsClientError

IsClientError returns true when this add trusted certificate internal server error response has a 4xx status code

func (*AddTrustedCertificateInternalServerError) IsCode

IsCode returns true when this add trusted certificate internal server error response a status code equal to that given

func (*AddTrustedCertificateInternalServerError) IsRedirect

IsRedirect returns true when this add trusted certificate internal server error response has a 3xx status code

func (*AddTrustedCertificateInternalServerError) IsServerError

IsServerError returns true when this add trusted certificate internal server error response has a 5xx status code

func (*AddTrustedCertificateInternalServerError) IsSuccess

IsSuccess returns true when this add trusted certificate internal server error response has a 2xx status code

func (*AddTrustedCertificateInternalServerError) 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

WithContext adds the context to the add trusted certificate params

func (*AddTrustedCertificateParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the add trusted certificate params

func (*AddTrustedCertificateParams) WithTimeout

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

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

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

type DeleteTrustedCertificateInternalServerError struct {
	Payload *models.Error
}

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 (*DeleteTrustedCertificateInternalServerError) GetPayload added in v0.2.0

func (*DeleteTrustedCertificateInternalServerError) IsClientError added in v0.2.0

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

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

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

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

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

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 (*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

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 (*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

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 (*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

WithAlias adds the alias to the delete trusted certificate params

func (*DeleteTrustedCertificateParams) WithContext added in v0.2.0

WithContext adds the context to the delete trusted certificate params

func (*DeleteTrustedCertificateParams) WithDefaults added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the delete trusted certificate params

func (*DeleteTrustedCertificateParams) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the delete trusted certificate params

func (*DeleteTrustedCertificateParams) WriteToRequest added in v0.2.0

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

type GetTrustedCertificatesInternalServerError struct {
	Payload *models.Error
}

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 (*GetTrustedCertificatesInternalServerError) GetPayload added in v0.2.0

func (*GetTrustedCertificatesInternalServerError) IsClientError added in v0.2.0

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

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

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

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

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

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 (*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

WithContext adds the context to the get trusted certificates params

func (*GetTrustedCertificatesParams) WithDefaults added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the get trusted certificates params

func (*GetTrustedCertificatesParams) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the get trusted certificates params

func (*GetTrustedCertificatesParams) WriteToRequest added in v0.2.0

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.

Jump to

Keyboard shortcuts

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