certificate_info

package
v0.0.0-...-af0b780 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for certificate info API

func (*Client) CreateSelfSignedCert

func (a *Client) CreateSelfSignedCert(params *CreateSelfSignedCertParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSelfSignedCertOK, error)

CreateSelfSignedCert creates a self signed certificate

func (*Client) DeleteCertificate

func (a *Client) DeleteCertificate(params *DeleteCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCertificateOK, error)

DeleteCertificate deletes a certificate

func (*Client) EditCertificate

func (a *Client) EditCertificate(params *EditCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditCertificateOK, error)

EditCertificate edits TLS certificate config details

func (*Client) GetCertificate

func (a *Client) GetCertificate(params *GetCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCertificateOK, error)

GetCertificate gets a certificate s UUID

func (*Client) GetClientCert

func (a *Client) GetClientCert(params *GetClientCertParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClientCertOK, error)

GetClientCert adds a client certificate

func (*Client) GetListOfCertificate

func (a *Client) GetListOfCertificate(params *GetListOfCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetListOfCertificateOK, error)

GetListOfCertificate lists a customer s certificates

func (*Client) GetRootCert

func (a *Client) GetRootCert(params *GetRootCertParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRootCertOK, error)

GetRootCert gets a customer s root certificate

UNOFFICIAL ADDITION: Add root certificate to return value

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateEmptyCustomCert

func (a *Client) UpdateEmptyCustomCert(params *UpdateEmptyCustomCertParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEmptyCustomCertOK, error)

UpdateEmptyCustomCert updates an empty certificate

func (*Client) Upload

func (a *Client) Upload(params *UploadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadOK, error)

Upload restores a certificate from backup

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateSelfSignedCert(params *CreateSelfSignedCertParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSelfSignedCertOK, error)

	DeleteCertificate(params *DeleteCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteCertificateOK, error)

	EditCertificate(params *EditCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EditCertificateOK, error)

	GetCertificate(params *GetCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCertificateOK, error)

	GetClientCert(params *GetClientCertParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClientCertOK, error)

	GetListOfCertificate(params *GetListOfCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetListOfCertificateOK, error)

	GetRootCert(params *GetRootCertParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRootCertOK, error)

	UpdateEmptyCustomCert(params *UpdateEmptyCustomCertParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEmptyCustomCertOK, error)

	Upload(params *UploadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new certificate info API client.

type CreateSelfSignedCertOK

type CreateSelfSignedCertOK struct {
	Payload strfmt.UUID
}
CreateSelfSignedCertOK describes a response with status code 200, with default header values.

successful operation

func NewCreateSelfSignedCertOK

func NewCreateSelfSignedCertOK() *CreateSelfSignedCertOK

NewCreateSelfSignedCertOK creates a CreateSelfSignedCertOK with default headers values

func (*CreateSelfSignedCertOK) Error

func (o *CreateSelfSignedCertOK) Error() string

func (*CreateSelfSignedCertOK) GetPayload

func (o *CreateSelfSignedCertOK) GetPayload() strfmt.UUID

type CreateSelfSignedCertParams

type CreateSelfSignedCertParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	/* Label.

	   certificate label
	*/
	Label string

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

CreateSelfSignedCertParams contains all the parameters to send to the API endpoint

for the create self signed cert operation.

Typically these are written to a http.Request.

func NewCreateSelfSignedCertParams

func NewCreateSelfSignedCertParams() *CreateSelfSignedCertParams

NewCreateSelfSignedCertParams creates a new CreateSelfSignedCertParams 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 NewCreateSelfSignedCertParamsWithContext

func NewCreateSelfSignedCertParamsWithContext(ctx context.Context) *CreateSelfSignedCertParams

NewCreateSelfSignedCertParamsWithContext creates a new CreateSelfSignedCertParams object with the ability to set a context for a request.

func NewCreateSelfSignedCertParamsWithHTTPClient

func NewCreateSelfSignedCertParamsWithHTTPClient(client *http.Client) *CreateSelfSignedCertParams

NewCreateSelfSignedCertParamsWithHTTPClient creates a new CreateSelfSignedCertParams object with the ability to set a custom HTTPClient for a request.

func NewCreateSelfSignedCertParamsWithTimeout

func NewCreateSelfSignedCertParamsWithTimeout(timeout time.Duration) *CreateSelfSignedCertParams

NewCreateSelfSignedCertParamsWithTimeout creates a new CreateSelfSignedCertParams object with the ability to set a timeout on a request.

func (*CreateSelfSignedCertParams) SetCUUID

func (o *CreateSelfSignedCertParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the create self signed cert params

func (*CreateSelfSignedCertParams) SetContext

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

SetContext adds the context to the create self signed cert params

func (*CreateSelfSignedCertParams) SetDefaults

func (o *CreateSelfSignedCertParams) SetDefaults()

SetDefaults hydrates default values in the create self signed cert params (not the query body).

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

func (*CreateSelfSignedCertParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create self signed cert params

func (*CreateSelfSignedCertParams) SetLabel

func (o *CreateSelfSignedCertParams) SetLabel(label string)

SetLabel adds the label to the create self signed cert params

func (*CreateSelfSignedCertParams) SetTimeout

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

SetTimeout adds the timeout to the create self signed cert params

func (*CreateSelfSignedCertParams) WithCUUID

WithCUUID adds the cUUID to the create self signed cert params

func (*CreateSelfSignedCertParams) WithContext

WithContext adds the context to the create self signed cert params

func (*CreateSelfSignedCertParams) WithDefaults

WithDefaults hydrates default values in the create self signed cert params (not the query body).

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

func (*CreateSelfSignedCertParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create self signed cert params

func (*CreateSelfSignedCertParams) WithLabel

WithLabel adds the label to the create self signed cert params

func (*CreateSelfSignedCertParams) WithTimeout

WithTimeout adds the timeout to the create self signed cert params

func (*CreateSelfSignedCertParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSelfSignedCertReader

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

CreateSelfSignedCertReader is a Reader for the CreateSelfSignedCert structure.

func (*CreateSelfSignedCertReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteCertificateOK

type DeleteCertificateOK struct {
	Payload *models.YBPSuccess
}
DeleteCertificateOK describes a response with status code 200, with default header values.

successful operation

func NewDeleteCertificateOK

func NewDeleteCertificateOK() *DeleteCertificateOK

NewDeleteCertificateOK creates a DeleteCertificateOK with default headers values

func (*DeleteCertificateOK) Error

func (o *DeleteCertificateOK) Error() string

func (*DeleteCertificateOK) GetPayload

func (o *DeleteCertificateOK) GetPayload() *models.YBPSuccess

type DeleteCertificateParams

type DeleteCertificateParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// RUUID.
	//
	// Format: uuid
	RUUID strfmt.UUID

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

DeleteCertificateParams contains all the parameters to send to the API endpoint

for the delete certificate operation.

Typically these are written to a http.Request.

func NewDeleteCertificateParams

func NewDeleteCertificateParams() *DeleteCertificateParams

NewDeleteCertificateParams creates a new DeleteCertificateParams 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 NewDeleteCertificateParamsWithContext

func NewDeleteCertificateParamsWithContext(ctx context.Context) *DeleteCertificateParams

NewDeleteCertificateParamsWithContext creates a new DeleteCertificateParams object with the ability to set a context for a request.

func NewDeleteCertificateParamsWithHTTPClient

func NewDeleteCertificateParamsWithHTTPClient(client *http.Client) *DeleteCertificateParams

NewDeleteCertificateParamsWithHTTPClient creates a new DeleteCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteCertificateParamsWithTimeout

func NewDeleteCertificateParamsWithTimeout(timeout time.Duration) *DeleteCertificateParams

NewDeleteCertificateParamsWithTimeout creates a new DeleteCertificateParams object with the ability to set a timeout on a request.

func (*DeleteCertificateParams) SetCUUID

func (o *DeleteCertificateParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the delete certificate params

func (*DeleteCertificateParams) SetContext

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

SetContext adds the context to the delete certificate params

func (*DeleteCertificateParams) SetDefaults

func (o *DeleteCertificateParams) SetDefaults()

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

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

func (*DeleteCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete certificate params

func (*DeleteCertificateParams) SetRUUID

func (o *DeleteCertificateParams) SetRUUID(rUUID strfmt.UUID)

SetRUUID adds the rUuid to the delete certificate params

func (*DeleteCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the delete certificate params

func (*DeleteCertificateParams) WithCUUID

WithCUUID adds the cUUID to the delete certificate params

func (*DeleteCertificateParams) WithContext

WithContext adds the context to the delete certificate params

func (*DeleteCertificateParams) WithDefaults

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

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

func (*DeleteCertificateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete certificate params

func (*DeleteCertificateParams) WithRUUID

WithRUUID adds the rUUID to the delete certificate params

func (*DeleteCertificateParams) WithTimeout

WithTimeout adds the timeout to the delete certificate params

func (*DeleteCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteCertificateReader

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

DeleteCertificateReader is a Reader for the DeleteCertificate structure.

func (*DeleteCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EditCertificateOK

type EditCertificateOK struct {
	Payload *models.YBPSuccess
}
EditCertificateOK describes a response with status code 200, with default header values.

successful operation

func NewEditCertificateOK

func NewEditCertificateOK() *EditCertificateOK

NewEditCertificateOK creates a EditCertificateOK with default headers values

func (*EditCertificateOK) Error

func (o *EditCertificateOK) Error() string

func (*EditCertificateOK) GetPayload

func (o *EditCertificateOK) GetPayload() *models.YBPSuccess

type EditCertificateParams

type EditCertificateParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// RUUID.
	//
	// Format: uuid
	RUUID strfmt.UUID

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

EditCertificateParams contains all the parameters to send to the API endpoint

for the edit certificate operation.

Typically these are written to a http.Request.

func NewEditCertificateParams

func NewEditCertificateParams() *EditCertificateParams

NewEditCertificateParams creates a new EditCertificateParams 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 NewEditCertificateParamsWithContext

func NewEditCertificateParamsWithContext(ctx context.Context) *EditCertificateParams

NewEditCertificateParamsWithContext creates a new EditCertificateParams object with the ability to set a context for a request.

func NewEditCertificateParamsWithHTTPClient

func NewEditCertificateParamsWithHTTPClient(client *http.Client) *EditCertificateParams

NewEditCertificateParamsWithHTTPClient creates a new EditCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewEditCertificateParamsWithTimeout

func NewEditCertificateParamsWithTimeout(timeout time.Duration) *EditCertificateParams

NewEditCertificateParamsWithTimeout creates a new EditCertificateParams object with the ability to set a timeout on a request.

func (*EditCertificateParams) SetCUUID

func (o *EditCertificateParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the edit certificate params

func (*EditCertificateParams) SetContext

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

SetContext adds the context to the edit certificate params

func (*EditCertificateParams) SetDefaults

func (o *EditCertificateParams) SetDefaults()

SetDefaults hydrates default values in the edit certificate params (not the query body).

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

func (*EditCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the edit certificate params

func (*EditCertificateParams) SetRUUID

func (o *EditCertificateParams) SetRUUID(rUUID strfmt.UUID)

SetRUUID adds the rUuid to the edit certificate params

func (*EditCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the edit certificate params

func (*EditCertificateParams) WithCUUID

WithCUUID adds the cUUID to the edit certificate params

func (*EditCertificateParams) WithContext

WithContext adds the context to the edit certificate params

func (*EditCertificateParams) WithDefaults

func (o *EditCertificateParams) WithDefaults() *EditCertificateParams

WithDefaults hydrates default values in the edit certificate params (not the query body).

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

func (*EditCertificateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the edit certificate params

func (*EditCertificateParams) WithRUUID

WithRUUID adds the rUUID to the edit certificate params

func (*EditCertificateParams) WithTimeout

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

WithTimeout adds the timeout to the edit certificate params

func (*EditCertificateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EditCertificateReader

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

EditCertificateReader is a Reader for the EditCertificate structure.

func (*EditCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCertificateOK

type GetCertificateOK struct {
	Payload strfmt.UUID
}
GetCertificateOK describes a response with status code 200, with default header values.

successful operation

func NewGetCertificateOK

func NewGetCertificateOK() *GetCertificateOK

NewGetCertificateOK creates a GetCertificateOK with default headers values

func (*GetCertificateOK) Error

func (o *GetCertificateOK) Error() string

func (*GetCertificateOK) GetPayload

func (o *GetCertificateOK) GetPayload() strfmt.UUID

type GetCertificateParams

type GetCertificateParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// Name.
	Name string

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

GetCertificateParams contains all the parameters to send to the API endpoint

for the get certificate operation.

Typically these are written to a http.Request.

func NewGetCertificateParams

func NewGetCertificateParams() *GetCertificateParams

NewGetCertificateParams creates a new GetCertificateParams 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 NewGetCertificateParamsWithContext

func NewGetCertificateParamsWithContext(ctx context.Context) *GetCertificateParams

NewGetCertificateParamsWithContext creates a new GetCertificateParams object with the ability to set a context for a request.

func NewGetCertificateParamsWithHTTPClient

func NewGetCertificateParamsWithHTTPClient(client *http.Client) *GetCertificateParams

NewGetCertificateParamsWithHTTPClient creates a new GetCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewGetCertificateParamsWithTimeout

func NewGetCertificateParamsWithTimeout(timeout time.Duration) *GetCertificateParams

NewGetCertificateParamsWithTimeout creates a new GetCertificateParams object with the ability to set a timeout on a request.

func (*GetCertificateParams) SetCUUID

func (o *GetCertificateParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the get certificate params

func (*GetCertificateParams) SetContext

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

SetContext adds the context to the get certificate params

func (*GetCertificateParams) SetDefaults

func (o *GetCertificateParams) SetDefaults()

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

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

func (*GetCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get certificate params

func (*GetCertificateParams) SetName

func (o *GetCertificateParams) SetName(name string)

SetName adds the name to the get certificate params

func (*GetCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the get certificate params

func (*GetCertificateParams) WithCUUID

WithCUUID adds the cUUID to the get certificate params

func (*GetCertificateParams) WithContext

WithContext adds the context to the get certificate params

func (*GetCertificateParams) WithDefaults

func (o *GetCertificateParams) WithDefaults() *GetCertificateParams

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

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

func (*GetCertificateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get certificate params

func (*GetCertificateParams) WithName

WithName adds the name to the get certificate params

func (*GetCertificateParams) WithTimeout

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

WithTimeout adds the timeout to the get certificate params

func (*GetCertificateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetCertificateReader

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

GetCertificateReader is a Reader for the GetCertificate structure.

func (*GetCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetClientCertOK

type GetClientCertOK struct {
	Payload *models.CertificateDetails
}
GetClientCertOK describes a response with status code 200, with default header values.

successful operation

func NewGetClientCertOK

func NewGetClientCertOK() *GetClientCertOK

NewGetClientCertOK creates a GetClientCertOK with default headers values

func (*GetClientCertOK) Error

func (o *GetClientCertOK) Error() string

func (*GetClientCertOK) GetPayload

func (o *GetClientCertOK) GetPayload() *models.CertificateDetails

type GetClientCertParams

type GetClientCertParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	/* Certificate.

	   post certificate info
	*/
	Certificate *models.ClientCertParams

	// RUUID.
	//
	// Format: uuid
	RUUID strfmt.UUID

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

GetClientCertParams contains all the parameters to send to the API endpoint

for the get client cert operation.

Typically these are written to a http.Request.

func NewGetClientCertParams

func NewGetClientCertParams() *GetClientCertParams

NewGetClientCertParams creates a new GetClientCertParams 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 NewGetClientCertParamsWithContext

func NewGetClientCertParamsWithContext(ctx context.Context) *GetClientCertParams

NewGetClientCertParamsWithContext creates a new GetClientCertParams object with the ability to set a context for a request.

func NewGetClientCertParamsWithHTTPClient

func NewGetClientCertParamsWithHTTPClient(client *http.Client) *GetClientCertParams

NewGetClientCertParamsWithHTTPClient creates a new GetClientCertParams object with the ability to set a custom HTTPClient for a request.

func NewGetClientCertParamsWithTimeout

func NewGetClientCertParamsWithTimeout(timeout time.Duration) *GetClientCertParams

NewGetClientCertParamsWithTimeout creates a new GetClientCertParams object with the ability to set a timeout on a request.

func (*GetClientCertParams) SetCUUID

func (o *GetClientCertParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the get client cert params

func (*GetClientCertParams) SetCertificate

func (o *GetClientCertParams) SetCertificate(certificate *models.ClientCertParams)

SetCertificate adds the certificate to the get client cert params

func (*GetClientCertParams) SetContext

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

SetContext adds the context to the get client cert params

func (*GetClientCertParams) SetDefaults

func (o *GetClientCertParams) SetDefaults()

SetDefaults hydrates default values in the get client cert params (not the query body).

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

func (*GetClientCertParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get client cert params

func (*GetClientCertParams) SetRUUID

func (o *GetClientCertParams) SetRUUID(rUUID strfmt.UUID)

SetRUUID adds the rUuid to the get client cert params

func (*GetClientCertParams) SetTimeout

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

SetTimeout adds the timeout to the get client cert params

func (*GetClientCertParams) WithCUUID

func (o *GetClientCertParams) WithCUUID(cUUID strfmt.UUID) *GetClientCertParams

WithCUUID adds the cUUID to the get client cert params

func (*GetClientCertParams) WithCertificate

func (o *GetClientCertParams) WithCertificate(certificate *models.ClientCertParams) *GetClientCertParams

WithCertificate adds the certificate to the get client cert params

func (*GetClientCertParams) WithContext

WithContext adds the context to the get client cert params

func (*GetClientCertParams) WithDefaults

func (o *GetClientCertParams) WithDefaults() *GetClientCertParams

WithDefaults hydrates default values in the get client cert params (not the query body).

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

func (*GetClientCertParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get client cert params

func (*GetClientCertParams) WithRUUID

func (o *GetClientCertParams) WithRUUID(rUUID strfmt.UUID) *GetClientCertParams

WithRUUID adds the rUUID to the get client cert params

func (*GetClientCertParams) WithTimeout

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

WithTimeout adds the timeout to the get client cert params

func (*GetClientCertParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetClientCertReader

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

GetClientCertReader is a Reader for the GetClientCert structure.

func (*GetClientCertReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetListOfCertificateInternalServerError

type GetListOfCertificateInternalServerError struct {
	Payload *models.YBPError
}
GetListOfCertificateInternalServerError describes a response with status code 500, with default header values.

If there was a server or database issue when listing the regions

func NewGetListOfCertificateInternalServerError

func NewGetListOfCertificateInternalServerError() *GetListOfCertificateInternalServerError

NewGetListOfCertificateInternalServerError creates a GetListOfCertificateInternalServerError with default headers values

func (*GetListOfCertificateInternalServerError) Error

func (*GetListOfCertificateInternalServerError) GetPayload

type GetListOfCertificateOK

type GetListOfCertificateOK struct {
	Payload []*models.CertificateInfo
}
GetListOfCertificateOK describes a response with status code 200, with default header values.

successful operation

func NewGetListOfCertificateOK

func NewGetListOfCertificateOK() *GetListOfCertificateOK

NewGetListOfCertificateOK creates a GetListOfCertificateOK with default headers values

func (*GetListOfCertificateOK) Error

func (o *GetListOfCertificateOK) Error() string

func (*GetListOfCertificateOK) GetPayload

func (o *GetListOfCertificateOK) GetPayload() []*models.CertificateInfo

type GetListOfCertificateParams

type GetListOfCertificateParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

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

GetListOfCertificateParams contains all the parameters to send to the API endpoint

for the get list of certificate operation.

Typically these are written to a http.Request.

func NewGetListOfCertificateParams

func NewGetListOfCertificateParams() *GetListOfCertificateParams

NewGetListOfCertificateParams creates a new GetListOfCertificateParams 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 NewGetListOfCertificateParamsWithContext

func NewGetListOfCertificateParamsWithContext(ctx context.Context) *GetListOfCertificateParams

NewGetListOfCertificateParamsWithContext creates a new GetListOfCertificateParams object with the ability to set a context for a request.

func NewGetListOfCertificateParamsWithHTTPClient

func NewGetListOfCertificateParamsWithHTTPClient(client *http.Client) *GetListOfCertificateParams

NewGetListOfCertificateParamsWithHTTPClient creates a new GetListOfCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewGetListOfCertificateParamsWithTimeout

func NewGetListOfCertificateParamsWithTimeout(timeout time.Duration) *GetListOfCertificateParams

NewGetListOfCertificateParamsWithTimeout creates a new GetListOfCertificateParams object with the ability to set a timeout on a request.

func (*GetListOfCertificateParams) SetCUUID

func (o *GetListOfCertificateParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the get list of certificate params

func (*GetListOfCertificateParams) SetContext

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

SetContext adds the context to the get list of certificate params

func (*GetListOfCertificateParams) SetDefaults

func (o *GetListOfCertificateParams) SetDefaults()

SetDefaults hydrates default values in the get list of certificate params (not the query body).

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

func (*GetListOfCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get list of certificate params

func (*GetListOfCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the get list of certificate params

func (*GetListOfCertificateParams) WithCUUID

WithCUUID adds the cUUID to the get list of certificate params

func (*GetListOfCertificateParams) WithContext

WithContext adds the context to the get list of certificate params

func (*GetListOfCertificateParams) WithDefaults

WithDefaults hydrates default values in the get list of certificate params (not the query body).

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

func (*GetListOfCertificateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get list of certificate params

func (*GetListOfCertificateParams) WithTimeout

WithTimeout adds the timeout to the get list of certificate params

func (*GetListOfCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetListOfCertificateReader

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

GetListOfCertificateReader is a Reader for the GetListOfCertificate structure.

func (*GetListOfCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRootCertOK

type GetRootCertOK struct {
	Payload *models.CertificateRoot
}
GetRootCertOK describes a response with status code 200, with default header values.

successful operation

func NewGetRootCertOK

func NewGetRootCertOK() *GetRootCertOK

NewGetRootCertOK creates a GetRootCertOK with default headers values

func (*GetRootCertOK) Error

func (o *GetRootCertOK) Error() string

func (*GetRootCertOK) GetPayload

func (o *GetRootCertOK) GetPayload() *models.CertificateRoot

type GetRootCertParams

type GetRootCertParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// RUUID.
	//
	// Format: uuid
	RUUID strfmt.UUID

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

GetRootCertParams contains all the parameters to send to the API endpoint

for the get root cert operation.

Typically these are written to a http.Request.

func NewGetRootCertParams

func NewGetRootCertParams() *GetRootCertParams

NewGetRootCertParams creates a new GetRootCertParams 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 NewGetRootCertParamsWithContext

func NewGetRootCertParamsWithContext(ctx context.Context) *GetRootCertParams

NewGetRootCertParamsWithContext creates a new GetRootCertParams object with the ability to set a context for a request.

func NewGetRootCertParamsWithHTTPClient

func NewGetRootCertParamsWithHTTPClient(client *http.Client) *GetRootCertParams

NewGetRootCertParamsWithHTTPClient creates a new GetRootCertParams object with the ability to set a custom HTTPClient for a request.

func NewGetRootCertParamsWithTimeout

func NewGetRootCertParamsWithTimeout(timeout time.Duration) *GetRootCertParams

NewGetRootCertParamsWithTimeout creates a new GetRootCertParams object with the ability to set a timeout on a request.

func (*GetRootCertParams) SetCUUID

func (o *GetRootCertParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the get root cert params

func (*GetRootCertParams) SetContext

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

SetContext adds the context to the get root cert params

func (*GetRootCertParams) SetDefaults

func (o *GetRootCertParams) SetDefaults()

SetDefaults hydrates default values in the get root cert params (not the query body).

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

func (*GetRootCertParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get root cert params

func (*GetRootCertParams) SetRUUID

func (o *GetRootCertParams) SetRUUID(rUUID strfmt.UUID)

SetRUUID adds the rUuid to the get root cert params

func (*GetRootCertParams) SetTimeout

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

SetTimeout adds the timeout to the get root cert params

func (*GetRootCertParams) WithCUUID

func (o *GetRootCertParams) WithCUUID(cUUID strfmt.UUID) *GetRootCertParams

WithCUUID adds the cUUID to the get root cert params

func (*GetRootCertParams) WithContext

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

WithContext adds the context to the get root cert params

func (*GetRootCertParams) WithDefaults

func (o *GetRootCertParams) WithDefaults() *GetRootCertParams

WithDefaults hydrates default values in the get root cert params (not the query body).

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

func (*GetRootCertParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get root cert params

func (*GetRootCertParams) WithRUUID

func (o *GetRootCertParams) WithRUUID(rUUID strfmt.UUID) *GetRootCertParams

WithRUUID adds the rUUID to the get root cert params

func (*GetRootCertParams) WithTimeout

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

WithTimeout adds the timeout to the get root cert params

func (*GetRootCertParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRootCertReader

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

GetRootCertReader is a Reader for the GetRootCert structure.

func (*GetRootCertReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateEmptyCustomCertOK

type UpdateEmptyCustomCertOK struct {
	Payload *models.CertificateInfo
}
UpdateEmptyCustomCertOK describes a response with status code 200, with default header values.

successful operation

func NewUpdateEmptyCustomCertOK

func NewUpdateEmptyCustomCertOK() *UpdateEmptyCustomCertOK

NewUpdateEmptyCustomCertOK creates a UpdateEmptyCustomCertOK with default headers values

func (*UpdateEmptyCustomCertOK) Error

func (o *UpdateEmptyCustomCertOK) Error() string

func (*UpdateEmptyCustomCertOK) GetPayload

type UpdateEmptyCustomCertParams

type UpdateEmptyCustomCertParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	// RUUID.
	//
	// Format: uuid
	RUUID strfmt.UUID

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

UpdateEmptyCustomCertParams contains all the parameters to send to the API endpoint

for the update empty custom cert operation.

Typically these are written to a http.Request.

func NewUpdateEmptyCustomCertParams

func NewUpdateEmptyCustomCertParams() *UpdateEmptyCustomCertParams

NewUpdateEmptyCustomCertParams creates a new UpdateEmptyCustomCertParams 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 NewUpdateEmptyCustomCertParamsWithContext

func NewUpdateEmptyCustomCertParamsWithContext(ctx context.Context) *UpdateEmptyCustomCertParams

NewUpdateEmptyCustomCertParamsWithContext creates a new UpdateEmptyCustomCertParams object with the ability to set a context for a request.

func NewUpdateEmptyCustomCertParamsWithHTTPClient

func NewUpdateEmptyCustomCertParamsWithHTTPClient(client *http.Client) *UpdateEmptyCustomCertParams

NewUpdateEmptyCustomCertParamsWithHTTPClient creates a new UpdateEmptyCustomCertParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateEmptyCustomCertParamsWithTimeout

func NewUpdateEmptyCustomCertParamsWithTimeout(timeout time.Duration) *UpdateEmptyCustomCertParams

NewUpdateEmptyCustomCertParamsWithTimeout creates a new UpdateEmptyCustomCertParams object with the ability to set a timeout on a request.

func (*UpdateEmptyCustomCertParams) SetCUUID

func (o *UpdateEmptyCustomCertParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the update empty custom cert params

func (*UpdateEmptyCustomCertParams) SetContext

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

SetContext adds the context to the update empty custom cert params

func (*UpdateEmptyCustomCertParams) SetDefaults

func (o *UpdateEmptyCustomCertParams) SetDefaults()

SetDefaults hydrates default values in the update empty custom cert params (not the query body).

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

func (*UpdateEmptyCustomCertParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update empty custom cert params

func (*UpdateEmptyCustomCertParams) SetRUUID

func (o *UpdateEmptyCustomCertParams) SetRUUID(rUUID strfmt.UUID)

SetRUUID adds the rUuid to the update empty custom cert params

func (*UpdateEmptyCustomCertParams) SetTimeout

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

SetTimeout adds the timeout to the update empty custom cert params

func (*UpdateEmptyCustomCertParams) WithCUUID

WithCUUID adds the cUUID to the update empty custom cert params

func (*UpdateEmptyCustomCertParams) WithContext

WithContext adds the context to the update empty custom cert params

func (*UpdateEmptyCustomCertParams) WithDefaults

WithDefaults hydrates default values in the update empty custom cert params (not the query body).

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

func (*UpdateEmptyCustomCertParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update empty custom cert params

func (*UpdateEmptyCustomCertParams) WithRUUID

WithRUUID adds the rUUID to the update empty custom cert params

func (*UpdateEmptyCustomCertParams) WithTimeout

WithTimeout adds the timeout to the update empty custom cert params

func (*UpdateEmptyCustomCertParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateEmptyCustomCertReader

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

UpdateEmptyCustomCertReader is a Reader for the UpdateEmptyCustomCert structure.

func (*UpdateEmptyCustomCertReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadOK

type UploadOK struct {
	Payload strfmt.UUID
}
UploadOK describes a response with status code 200, with default header values.

successful operation

func NewUploadOK

func NewUploadOK() *UploadOK

NewUploadOK creates a UploadOK with default headers values

func (*UploadOK) Error

func (o *UploadOK) Error() string

func (*UploadOK) GetPayload

func (o *UploadOK) GetPayload() strfmt.UUID

type UploadParams

type UploadParams struct {

	// CUUID.
	//
	// Format: uuid
	CUUID strfmt.UUID

	/* Certificate.

	   certificate params of the backup to be restored
	*/
	Certificate *models.CertificateParams

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

UploadParams contains all the parameters to send to the API endpoint

for the upload operation.

Typically these are written to a http.Request.

func NewUploadParams

func NewUploadParams() *UploadParams

NewUploadParams creates a new UploadParams 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 NewUploadParamsWithContext

func NewUploadParamsWithContext(ctx context.Context) *UploadParams

NewUploadParamsWithContext creates a new UploadParams object with the ability to set a context for a request.

func NewUploadParamsWithHTTPClient

func NewUploadParamsWithHTTPClient(client *http.Client) *UploadParams

NewUploadParamsWithHTTPClient creates a new UploadParams object with the ability to set a custom HTTPClient for a request.

func NewUploadParamsWithTimeout

func NewUploadParamsWithTimeout(timeout time.Duration) *UploadParams

NewUploadParamsWithTimeout creates a new UploadParams object with the ability to set a timeout on a request.

func (*UploadParams) SetCUUID

func (o *UploadParams) SetCUUID(cUUID strfmt.UUID)

SetCUUID adds the cUuid to the upload params

func (*UploadParams) SetCertificate

func (o *UploadParams) SetCertificate(certificate *models.CertificateParams)

SetCertificate adds the certificate to the upload params

func (*UploadParams) SetContext

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

SetContext adds the context to the upload params

func (*UploadParams) SetDefaults

func (o *UploadParams) SetDefaults()

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

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

func (*UploadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload params

func (*UploadParams) SetTimeout

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

SetTimeout adds the timeout to the upload params

func (*UploadParams) WithCUUID

func (o *UploadParams) WithCUUID(cUUID strfmt.UUID) *UploadParams

WithCUUID adds the cUUID to the upload params

func (*UploadParams) WithCertificate

func (o *UploadParams) WithCertificate(certificate *models.CertificateParams) *UploadParams

WithCertificate adds the certificate to the upload params

func (*UploadParams) WithContext

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

WithContext adds the context to the upload params

func (*UploadParams) WithDefaults

func (o *UploadParams) WithDefaults() *UploadParams

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

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

func (*UploadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload params

func (*UploadParams) WithTimeout

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

WithTimeout adds the timeout to the upload params

func (*UploadParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UploadReader

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

UploadReader is a Reader for the Upload structure.

func (*UploadReader) ReadResponse

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