certificates

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: 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 certificates API

func (*Client) GetCertificateInfo

func (a *Client) GetCertificateInfo(params *GetCertificateInfoParams, opts ...ClientOption) (*GetCertificateInfoOK, error)

GetCertificateInfo gets certificate info

Get certificate info

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 {
	GetCertificateInfo(params *GetCertificateInfoParams, opts ...ClientOption) (*GetCertificateInfoOK, 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 certificates API client.

type GetCertificateInfoForbidden

type GetCertificateInfoForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetCertificateInfoForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetCertificateInfoForbidden

func NewGetCertificateInfoForbidden() *GetCertificateInfoForbidden

NewGetCertificateInfoForbidden creates a GetCertificateInfoForbidden with default headers values

func (*GetCertificateInfoForbidden) Error

func (*GetCertificateInfoForbidden) GetPayload

func (*GetCertificateInfoForbidden) IsClientError added in v0.5.0

func (o *GetCertificateInfoForbidden) IsClientError() bool

IsClientError returns true when this get certificate info forbidden response has a 4xx status code

func (*GetCertificateInfoForbidden) IsCode added in v0.5.0

func (o *GetCertificateInfoForbidden) IsCode(code int) bool

IsCode returns true when this get certificate info forbidden response a status code equal to that given

func (*GetCertificateInfoForbidden) IsRedirect added in v0.5.0

func (o *GetCertificateInfoForbidden) IsRedirect() bool

IsRedirect returns true when this get certificate info forbidden response has a 3xx status code

func (*GetCertificateInfoForbidden) IsServerError added in v0.5.0

func (o *GetCertificateInfoForbidden) IsServerError() bool

IsServerError returns true when this get certificate info forbidden response has a 5xx status code

func (*GetCertificateInfoForbidden) IsSuccess added in v0.5.0

func (o *GetCertificateInfoForbidden) IsSuccess() bool

IsSuccess returns true when this get certificate info forbidden response has a 2xx status code

func (*GetCertificateInfoForbidden) String added in v0.5.0

func (o *GetCertificateInfoForbidden) String() string

type GetCertificateInfoNotFound

type GetCertificateInfoNotFound struct {
	Payload *models.Error
}

GetCertificateInfoNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetCertificateInfoNotFound

func NewGetCertificateInfoNotFound() *GetCertificateInfoNotFound

NewGetCertificateInfoNotFound creates a GetCertificateInfoNotFound with default headers values

func (*GetCertificateInfoNotFound) Error

func (*GetCertificateInfoNotFound) GetPayload

func (o *GetCertificateInfoNotFound) GetPayload() *models.Error

func (*GetCertificateInfoNotFound) IsClientError added in v0.5.0

func (o *GetCertificateInfoNotFound) IsClientError() bool

IsClientError returns true when this get certificate info not found response has a 4xx status code

func (*GetCertificateInfoNotFound) IsCode added in v0.5.0

func (o *GetCertificateInfoNotFound) IsCode(code int) bool

IsCode returns true when this get certificate info not found response a status code equal to that given

func (*GetCertificateInfoNotFound) IsRedirect added in v0.5.0

func (o *GetCertificateInfoNotFound) IsRedirect() bool

IsRedirect returns true when this get certificate info not found response has a 3xx status code

func (*GetCertificateInfoNotFound) IsServerError added in v0.5.0

func (o *GetCertificateInfoNotFound) IsServerError() bool

IsServerError returns true when this get certificate info not found response has a 5xx status code

func (*GetCertificateInfoNotFound) IsSuccess added in v0.5.0

func (o *GetCertificateInfoNotFound) IsSuccess() bool

IsSuccess returns true when this get certificate info not found response has a 2xx status code

func (*GetCertificateInfoNotFound) String added in v0.5.0

func (o *GetCertificateInfoNotFound) String() string

type GetCertificateInfoOK

type GetCertificateInfoOK struct {
	Payload *models.CertificateInfo
}

GetCertificateInfoOK describes a response with status code 200, with default header values.

successful operation

func NewGetCertificateInfoOK

func NewGetCertificateInfoOK() *GetCertificateInfoOK

NewGetCertificateInfoOK creates a GetCertificateInfoOK with default headers values

func (*GetCertificateInfoOK) Error

func (o *GetCertificateInfoOK) Error() string

func (*GetCertificateInfoOK) GetPayload

func (o *GetCertificateInfoOK) GetPayload() *models.CertificateInfo

func (*GetCertificateInfoOK) IsClientError added in v0.5.0

func (o *GetCertificateInfoOK) IsClientError() bool

IsClientError returns true when this get certificate info o k response has a 4xx status code

func (*GetCertificateInfoOK) IsCode added in v0.5.0

func (o *GetCertificateInfoOK) IsCode(code int) bool

IsCode returns true when this get certificate info o k response a status code equal to that given

func (*GetCertificateInfoOK) IsRedirect added in v0.5.0

func (o *GetCertificateInfoOK) IsRedirect() bool

IsRedirect returns true when this get certificate info o k response has a 3xx status code

func (*GetCertificateInfoOK) IsServerError added in v0.5.0

func (o *GetCertificateInfoOK) IsServerError() bool

IsServerError returns true when this get certificate info o k response has a 5xx status code

func (*GetCertificateInfoOK) IsSuccess added in v0.5.0

func (o *GetCertificateInfoOK) IsSuccess() bool

IsSuccess returns true when this get certificate info o k response has a 2xx status code

func (*GetCertificateInfoOK) String added in v0.5.0

func (o *GetCertificateInfoOK) String() string

type GetCertificateInfoParams

type GetCertificateInfoParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion string

	/* ID.

	   The ID of the EndpointCreationTaskState
	*/
	ID string

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

GetCertificateInfoParams contains all the parameters to send to the API endpoint

for the get certificate info operation.

Typically these are written to a http.Request.

func NewGetCertificateInfoParams

func NewGetCertificateInfoParams() *GetCertificateInfoParams

NewGetCertificateInfoParams creates a new GetCertificateInfoParams 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 NewGetCertificateInfoParamsWithContext

func NewGetCertificateInfoParamsWithContext(ctx context.Context) *GetCertificateInfoParams

NewGetCertificateInfoParamsWithContext creates a new GetCertificateInfoParams object with the ability to set a context for a request.

func NewGetCertificateInfoParamsWithHTTPClient

func NewGetCertificateInfoParamsWithHTTPClient(client *http.Client) *GetCertificateInfoParams

NewGetCertificateInfoParamsWithHTTPClient creates a new GetCertificateInfoParams object with the ability to set a custom HTTPClient for a request.

func NewGetCertificateInfoParamsWithTimeout

func NewGetCertificateInfoParamsWithTimeout(timeout time.Duration) *GetCertificateInfoParams

NewGetCertificateInfoParamsWithTimeout creates a new GetCertificateInfoParams object with the ability to set a timeout on a request.

func (*GetCertificateInfoParams) SetAPIVersion

func (o *GetCertificateInfoParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the get certificate info params

func (*GetCertificateInfoParams) SetContext

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

SetContext adds the context to the get certificate info params

func (*GetCertificateInfoParams) SetDefaults

func (o *GetCertificateInfoParams) SetDefaults()

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

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

func (*GetCertificateInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get certificate info params

func (*GetCertificateInfoParams) SetID

func (o *GetCertificateInfoParams) SetID(id string)

SetID adds the id to the get certificate info params

func (*GetCertificateInfoParams) SetTimeout

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

SetTimeout adds the timeout to the get certificate info params

func (*GetCertificateInfoParams) WithAPIVersion

func (o *GetCertificateInfoParams) WithAPIVersion(aPIVersion string) *GetCertificateInfoParams

WithAPIVersion adds the aPIVersion to the get certificate info params

func (*GetCertificateInfoParams) WithContext

WithContext adds the context to the get certificate info params

func (*GetCertificateInfoParams) WithDefaults

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

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

func (*GetCertificateInfoParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get certificate info params

func (*GetCertificateInfoParams) WithID

WithID adds the id to the get certificate info params

func (*GetCertificateInfoParams) WithTimeout

WithTimeout adds the timeout to the get certificate info params

func (*GetCertificateInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCertificateInfoReader

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

GetCertificateInfoReader is a Reader for the GetCertificateInfo structure.

func (*GetCertificateInfoReader) ReadResponse

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