p_k_i

package
v0.0.0-...-cfedc03 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 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 p k i API

func (*Client) LeafParams

func (a *Client) LeafParams(params *LeafParamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LeafParamsOK, error)

LeafParams creates leaf certificate and private key

Create and return a signed certificate with a private key based on a registered root CA.

func (*Client) RegisterRoot

func (a *Client) RegisterRoot(params *RegisterRootParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegisterRootCreated, error)

RegisterRoot registers root c a

Register a root CA as a secret.

func (*Client) RootCARegistration

func (a *Client) RootCARegistration(params *RootCARegistrationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RootCARegistrationOK, error)

RootCARegistration generates root certificate

Create and return a new root certificate.

func (*Client) SSHCertParams

func (a *Client) SSHCertParams(params *SSHCertParamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SSHCertParamsOK, error)
SSHCertParams creates SSH certificate

Create, store and return a signed SSH certificate using a root private key and SHH-compatible

leaf public key.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) SignCertificate

func (a *Client) SignCertificate(params *SignCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SignCertificateOK, error)

SignCertificate creates signed certificate

Create and return a signed certificate based on a registered root CA with a given CSR.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	LeafParams(params *LeafParamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LeafParamsOK, error)

	SSHCertParams(params *SSHCertParamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SSHCertParamsOK, error)

	RegisterRoot(params *RegisterRootParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegisterRootCreated, error)

	RootCARegistration(params *RootCARegistrationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RootCARegistrationOK, error)

	SignCertificate(params *SignCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SignCertificateOK, 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 p k i API client.

type LeafParamsBadRequest

type LeafParamsBadRequest struct {
	Payload *models.HTTPError
}
LeafParamsBadRequest describes a response with status code 400, with default header values.

bad request

func NewLeafParamsBadRequest

func NewLeafParamsBadRequest() *LeafParamsBadRequest

NewLeafParamsBadRequest creates a LeafParamsBadRequest with default headers values

func (*LeafParamsBadRequest) Error

func (o *LeafParamsBadRequest) Error() string

func (*LeafParamsBadRequest) GetPayload

func (o *LeafParamsBadRequest) GetPayload() *models.HTTPError

func (*LeafParamsBadRequest) IsClientError

func (o *LeafParamsBadRequest) IsClientError() bool

IsClientError returns true when this leaf params bad request response has a 4xx status code

func (*LeafParamsBadRequest) IsCode

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

IsCode returns true when this leaf params bad request response a status code equal to that given

func (*LeafParamsBadRequest) IsRedirect

func (o *LeafParamsBadRequest) IsRedirect() bool

IsRedirect returns true when this leaf params bad request response has a 3xx status code

func (*LeafParamsBadRequest) IsServerError

func (o *LeafParamsBadRequest) IsServerError() bool

IsServerError returns true when this leaf params bad request response has a 5xx status code

func (*LeafParamsBadRequest) IsSuccess

func (o *LeafParamsBadRequest) IsSuccess() bool

IsSuccess returns true when this leaf params bad request response has a 2xx status code

func (*LeafParamsBadRequest) String

func (o *LeafParamsBadRequest) String() string

type LeafParamsForbidden

type LeafParamsForbidden struct {
	Payload *models.HTTPError
}
LeafParamsForbidden describes a response with status code 403, with default header values.

forbidden

func NewLeafParamsForbidden

func NewLeafParamsForbidden() *LeafParamsForbidden

NewLeafParamsForbidden creates a LeafParamsForbidden with default headers values

func (*LeafParamsForbidden) Error

func (o *LeafParamsForbidden) Error() string

func (*LeafParamsForbidden) GetPayload

func (o *LeafParamsForbidden) GetPayload() *models.HTTPError

func (*LeafParamsForbidden) IsClientError

func (o *LeafParamsForbidden) IsClientError() bool

IsClientError returns true when this leaf params forbidden response has a 4xx status code

func (*LeafParamsForbidden) IsCode

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

IsCode returns true when this leaf params forbidden response a status code equal to that given

func (*LeafParamsForbidden) IsRedirect

func (o *LeafParamsForbidden) IsRedirect() bool

IsRedirect returns true when this leaf params forbidden response has a 3xx status code

func (*LeafParamsForbidden) IsServerError

func (o *LeafParamsForbidden) IsServerError() bool

IsServerError returns true when this leaf params forbidden response has a 5xx status code

func (*LeafParamsForbidden) IsSuccess

func (o *LeafParamsForbidden) IsSuccess() bool

IsSuccess returns true when this leaf params forbidden response has a 2xx status code

func (*LeafParamsForbidden) String

func (o *LeafParamsForbidden) String() string

type LeafParamsInternalServerError

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

server error

func NewLeafParamsInternalServerError

func NewLeafParamsInternalServerError() *LeafParamsInternalServerError

NewLeafParamsInternalServerError creates a LeafParamsInternalServerError with default headers values

func (*LeafParamsInternalServerError) Error

func (*LeafParamsInternalServerError) GetPayload

func (*LeafParamsInternalServerError) IsClientError

func (o *LeafParamsInternalServerError) IsClientError() bool

IsClientError returns true when this leaf params internal server error response has a 4xx status code

func (*LeafParamsInternalServerError) IsCode

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

IsCode returns true when this leaf params internal server error response a status code equal to that given

func (*LeafParamsInternalServerError) IsRedirect

func (o *LeafParamsInternalServerError) IsRedirect() bool

IsRedirect returns true when this leaf params internal server error response has a 3xx status code

func (*LeafParamsInternalServerError) IsServerError

func (o *LeafParamsInternalServerError) IsServerError() bool

IsServerError returns true when this leaf params internal server error response has a 5xx status code

func (*LeafParamsInternalServerError) IsSuccess

func (o *LeafParamsInternalServerError) IsSuccess() bool

IsSuccess returns true when this leaf params internal server error response has a 2xx status code

func (*LeafParamsInternalServerError) String

type LeafParamsOK

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

no error

func NewLeafParamsOK

func NewLeafParamsOK() *LeafParamsOK

NewLeafParamsOK creates a LeafParamsOK with default headers values

func (*LeafParamsOK) Error

func (o *LeafParamsOK) Error() string

func (*LeafParamsOK) GetPayload

func (o *LeafParamsOK) GetPayload() *models.ResponseCertificate

func (*LeafParamsOK) IsClientError

func (o *LeafParamsOK) IsClientError() bool

IsClientError returns true when this leaf params o k response has a 4xx status code

func (*LeafParamsOK) IsCode

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

IsCode returns true when this leaf params o k response a status code equal to that given

func (*LeafParamsOK) IsRedirect

func (o *LeafParamsOK) IsRedirect() bool

IsRedirect returns true when this leaf params o k response has a 3xx status code

func (*LeafParamsOK) IsServerError

func (o *LeafParamsOK) IsServerError() bool

IsServerError returns true when this leaf params o k response has a 5xx status code

func (*LeafParamsOK) IsSuccess

func (o *LeafParamsOK) IsSuccess() bool

IsSuccess returns true when this leaf params o k response has a 2xx status code

func (*LeafParamsOK) String

func (o *LeafParamsOK) String() string

type LeafParamsParams

type LeafParamsParams struct {

	// Body.
	Body *models.SigningRequestInformation

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

LeafParamsParams contains all the parameters to send to the API endpoint

for the leaf params operation.

Typically these are written to a http.Request.

func NewLeafParamsParams

func NewLeafParamsParams() *LeafParamsParams

NewLeafParamsParams creates a new LeafParamsParams 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 NewLeafParamsParamsWithContext

func NewLeafParamsParamsWithContext(ctx context.Context) *LeafParamsParams

NewLeafParamsParamsWithContext creates a new LeafParamsParams object with the ability to set a context for a request.

func NewLeafParamsParamsWithHTTPClient

func NewLeafParamsParamsWithHTTPClient(client *http.Client) *LeafParamsParams

NewLeafParamsParamsWithHTTPClient creates a new LeafParamsParams object with the ability to set a custom HTTPClient for a request.

func NewLeafParamsParamsWithTimeout

func NewLeafParamsParamsWithTimeout(timeout time.Duration) *LeafParamsParams

NewLeafParamsParamsWithTimeout creates a new LeafParamsParams object with the ability to set a timeout on a request.

func (*LeafParamsParams) SetBody

SetBody adds the body to the leaf params params

func (*LeafParamsParams) SetContext

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

SetContext adds the context to the leaf params params

func (*LeafParamsParams) SetDefaults

func (o *LeafParamsParams) SetDefaults()

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

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

func (*LeafParamsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the leaf params params

func (*LeafParamsParams) SetTimeout

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

SetTimeout adds the timeout to the leaf params params

func (*LeafParamsParams) WithBody

WithBody adds the body to the leaf params params

func (*LeafParamsParams) WithContext

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

WithContext adds the context to the leaf params params

func (*LeafParamsParams) WithDefaults

func (o *LeafParamsParams) WithDefaults() *LeafParamsParams

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

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

func (*LeafParamsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the leaf params params

func (*LeafParamsParams) WithTimeout

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

WithTimeout adds the timeout to the leaf params params

func (*LeafParamsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type LeafParamsReader

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

LeafParamsReader is a Reader for the LeafParams structure.

func (*LeafParamsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LeafParamsUnauthorized

type LeafParamsUnauthorized struct {
	Payload *models.HTTPError
}
LeafParamsUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewLeafParamsUnauthorized

func NewLeafParamsUnauthorized() *LeafParamsUnauthorized

NewLeafParamsUnauthorized creates a LeafParamsUnauthorized with default headers values

func (*LeafParamsUnauthorized) Error

func (o *LeafParamsUnauthorized) Error() string

func (*LeafParamsUnauthorized) GetPayload

func (o *LeafParamsUnauthorized) GetPayload() *models.HTTPError

func (*LeafParamsUnauthorized) IsClientError

func (o *LeafParamsUnauthorized) IsClientError() bool

IsClientError returns true when this leaf params unauthorized response has a 4xx status code

func (*LeafParamsUnauthorized) IsCode

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

IsCode returns true when this leaf params unauthorized response a status code equal to that given

func (*LeafParamsUnauthorized) IsRedirect

func (o *LeafParamsUnauthorized) IsRedirect() bool

IsRedirect returns true when this leaf params unauthorized response has a 3xx status code

func (*LeafParamsUnauthorized) IsServerError

func (o *LeafParamsUnauthorized) IsServerError() bool

IsServerError returns true when this leaf params unauthorized response has a 5xx status code

func (*LeafParamsUnauthorized) IsSuccess

func (o *LeafParamsUnauthorized) IsSuccess() bool

IsSuccess returns true when this leaf params unauthorized response has a 2xx status code

func (*LeafParamsUnauthorized) String

func (o *LeafParamsUnauthorized) String() string

type RegisterRootBadRequest

type RegisterRootBadRequest struct {
	Payload *models.HTTPError
}
RegisterRootBadRequest describes a response with status code 400, with default header values.

bad request

func NewRegisterRootBadRequest

func NewRegisterRootBadRequest() *RegisterRootBadRequest

NewRegisterRootBadRequest creates a RegisterRootBadRequest with default headers values

func (*RegisterRootBadRequest) Error

func (o *RegisterRootBadRequest) Error() string

func (*RegisterRootBadRequest) GetPayload

func (o *RegisterRootBadRequest) GetPayload() *models.HTTPError

func (*RegisterRootBadRequest) IsClientError

func (o *RegisterRootBadRequest) IsClientError() bool

IsClientError returns true when this register root bad request response has a 4xx status code

func (*RegisterRootBadRequest) IsCode

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

IsCode returns true when this register root bad request response a status code equal to that given

func (*RegisterRootBadRequest) IsRedirect

func (o *RegisterRootBadRequest) IsRedirect() bool

IsRedirect returns true when this register root bad request response has a 3xx status code

func (*RegisterRootBadRequest) IsServerError

func (o *RegisterRootBadRequest) IsServerError() bool

IsServerError returns true when this register root bad request response has a 5xx status code

func (*RegisterRootBadRequest) IsSuccess

func (o *RegisterRootBadRequest) IsSuccess() bool

IsSuccess returns true when this register root bad request response has a 2xx status code

func (*RegisterRootBadRequest) String

func (o *RegisterRootBadRequest) String() string

type RegisterRootCreated

type RegisterRootCreated struct {
	Payload *models.ResponseRootCertificate
}
RegisterRootCreated describes a response with status code 201, with default header values.

no error

func NewRegisterRootCreated

func NewRegisterRootCreated() *RegisterRootCreated

NewRegisterRootCreated creates a RegisterRootCreated with default headers values

func (*RegisterRootCreated) Error

func (o *RegisterRootCreated) Error() string

func (*RegisterRootCreated) GetPayload

func (*RegisterRootCreated) IsClientError

func (o *RegisterRootCreated) IsClientError() bool

IsClientError returns true when this register root created response has a 4xx status code

func (*RegisterRootCreated) IsCode

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

IsCode returns true when this register root created response a status code equal to that given

func (*RegisterRootCreated) IsRedirect

func (o *RegisterRootCreated) IsRedirect() bool

IsRedirect returns true when this register root created response has a 3xx status code

func (*RegisterRootCreated) IsServerError

func (o *RegisterRootCreated) IsServerError() bool

IsServerError returns true when this register root created response has a 5xx status code

func (*RegisterRootCreated) IsSuccess

func (o *RegisterRootCreated) IsSuccess() bool

IsSuccess returns true when this register root created response has a 2xx status code

func (*RegisterRootCreated) String

func (o *RegisterRootCreated) String() string

type RegisterRootForbidden

type RegisterRootForbidden struct {
	Payload *models.HTTPError
}
RegisterRootForbidden describes a response with status code 403, with default header values.

forbidden

func NewRegisterRootForbidden

func NewRegisterRootForbidden() *RegisterRootForbidden

NewRegisterRootForbidden creates a RegisterRootForbidden with default headers values

func (*RegisterRootForbidden) Error

func (o *RegisterRootForbidden) Error() string

func (*RegisterRootForbidden) GetPayload

func (o *RegisterRootForbidden) GetPayload() *models.HTTPError

func (*RegisterRootForbidden) IsClientError

func (o *RegisterRootForbidden) IsClientError() bool

IsClientError returns true when this register root forbidden response has a 4xx status code

func (*RegisterRootForbidden) IsCode

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

IsCode returns true when this register root forbidden response a status code equal to that given

func (*RegisterRootForbidden) IsRedirect

func (o *RegisterRootForbidden) IsRedirect() bool

IsRedirect returns true when this register root forbidden response has a 3xx status code

func (*RegisterRootForbidden) IsServerError

func (o *RegisterRootForbidden) IsServerError() bool

IsServerError returns true when this register root forbidden response has a 5xx status code

func (*RegisterRootForbidden) IsSuccess

func (o *RegisterRootForbidden) IsSuccess() bool

IsSuccess returns true when this register root forbidden response has a 2xx status code

func (*RegisterRootForbidden) String

func (o *RegisterRootForbidden) String() string

type RegisterRootInternalServerError

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

server error

func NewRegisterRootInternalServerError

func NewRegisterRootInternalServerError() *RegisterRootInternalServerError

NewRegisterRootInternalServerError creates a RegisterRootInternalServerError with default headers values

func (*RegisterRootInternalServerError) Error

func (*RegisterRootInternalServerError) GetPayload

func (*RegisterRootInternalServerError) IsClientError

func (o *RegisterRootInternalServerError) IsClientError() bool

IsClientError returns true when this register root internal server error response has a 4xx status code

func (*RegisterRootInternalServerError) IsCode

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

IsCode returns true when this register root internal server error response a status code equal to that given

func (*RegisterRootInternalServerError) IsRedirect

func (o *RegisterRootInternalServerError) IsRedirect() bool

IsRedirect returns true when this register root internal server error response has a 3xx status code

func (*RegisterRootInternalServerError) IsServerError

func (o *RegisterRootInternalServerError) IsServerError() bool

IsServerError returns true when this register root internal server error response has a 5xx status code

func (*RegisterRootInternalServerError) IsSuccess

func (o *RegisterRootInternalServerError) IsSuccess() bool

IsSuccess returns true when this register root internal server error response has a 2xx status code

func (*RegisterRootInternalServerError) String

type RegisterRootParams

type RegisterRootParams struct {

	// Body.
	Body *models.RootCASecret

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

RegisterRootParams contains all the parameters to send to the API endpoint

for the register root operation.

Typically these are written to a http.Request.

func NewRegisterRootParams

func NewRegisterRootParams() *RegisterRootParams

NewRegisterRootParams creates a new RegisterRootParams 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 NewRegisterRootParamsWithContext

func NewRegisterRootParamsWithContext(ctx context.Context) *RegisterRootParams

NewRegisterRootParamsWithContext creates a new RegisterRootParams object with the ability to set a context for a request.

func NewRegisterRootParamsWithHTTPClient

func NewRegisterRootParamsWithHTTPClient(client *http.Client) *RegisterRootParams

NewRegisterRootParamsWithHTTPClient creates a new RegisterRootParams object with the ability to set a custom HTTPClient for a request.

func NewRegisterRootParamsWithTimeout

func NewRegisterRootParamsWithTimeout(timeout time.Duration) *RegisterRootParams

NewRegisterRootParamsWithTimeout creates a new RegisterRootParams object with the ability to set a timeout on a request.

func (*RegisterRootParams) SetBody

func (o *RegisterRootParams) SetBody(body *models.RootCASecret)

SetBody adds the body to the register root params

func (*RegisterRootParams) SetContext

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

SetContext adds the context to the register root params

func (*RegisterRootParams) SetDefaults

func (o *RegisterRootParams) SetDefaults()

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

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

func (*RegisterRootParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the register root params

func (*RegisterRootParams) SetTimeout

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

SetTimeout adds the timeout to the register root params

func (*RegisterRootParams) WithBody

WithBody adds the body to the register root params

func (*RegisterRootParams) WithContext

WithContext adds the context to the register root params

func (*RegisterRootParams) WithDefaults

func (o *RegisterRootParams) WithDefaults() *RegisterRootParams

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

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

func (*RegisterRootParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the register root params

func (*RegisterRootParams) WithTimeout

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

WithTimeout adds the timeout to the register root params

func (*RegisterRootParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RegisterRootReader

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

RegisterRootReader is a Reader for the RegisterRoot structure.

func (*RegisterRootReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RegisterRootUnauthorized

type RegisterRootUnauthorized struct {
	Payload *models.HTTPError
}
RegisterRootUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewRegisterRootUnauthorized

func NewRegisterRootUnauthorized() *RegisterRootUnauthorized

NewRegisterRootUnauthorized creates a RegisterRootUnauthorized with default headers values

func (*RegisterRootUnauthorized) Error

func (o *RegisterRootUnauthorized) Error() string

func (*RegisterRootUnauthorized) GetPayload

func (o *RegisterRootUnauthorized) GetPayload() *models.HTTPError

func (*RegisterRootUnauthorized) IsClientError

func (o *RegisterRootUnauthorized) IsClientError() bool

IsClientError returns true when this register root unauthorized response has a 4xx status code

func (*RegisterRootUnauthorized) IsCode

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

IsCode returns true when this register root unauthorized response a status code equal to that given

func (*RegisterRootUnauthorized) IsRedirect

func (o *RegisterRootUnauthorized) IsRedirect() bool

IsRedirect returns true when this register root unauthorized response has a 3xx status code

func (*RegisterRootUnauthorized) IsServerError

func (o *RegisterRootUnauthorized) IsServerError() bool

IsServerError returns true when this register root unauthorized response has a 5xx status code

func (*RegisterRootUnauthorized) IsSuccess

func (o *RegisterRootUnauthorized) IsSuccess() bool

IsSuccess returns true when this register root unauthorized response has a 2xx status code

func (*RegisterRootUnauthorized) String

func (o *RegisterRootUnauthorized) String() string

type RootCARegistrationBadRequest

type RootCARegistrationBadRequest struct {
	Payload *models.HTTPError
}
RootCARegistrationBadRequest describes a response with status code 400, with default header values.

bad request

func NewRootCARegistrationBadRequest

func NewRootCARegistrationBadRequest() *RootCARegistrationBadRequest

NewRootCARegistrationBadRequest creates a RootCARegistrationBadRequest with default headers values

func (*RootCARegistrationBadRequest) Error

func (*RootCARegistrationBadRequest) GetPayload

func (*RootCARegistrationBadRequest) IsClientError

func (o *RootCARegistrationBadRequest) IsClientError() bool

IsClientError returns true when this root c a registration bad request response has a 4xx status code

func (*RootCARegistrationBadRequest) IsCode

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

IsCode returns true when this root c a registration bad request response a status code equal to that given

func (*RootCARegistrationBadRequest) IsRedirect

func (o *RootCARegistrationBadRequest) IsRedirect() bool

IsRedirect returns true when this root c a registration bad request response has a 3xx status code

func (*RootCARegistrationBadRequest) IsServerError

func (o *RootCARegistrationBadRequest) IsServerError() bool

IsServerError returns true when this root c a registration bad request response has a 5xx status code

func (*RootCARegistrationBadRequest) IsSuccess

func (o *RootCARegistrationBadRequest) IsSuccess() bool

IsSuccess returns true when this root c a registration bad request response has a 2xx status code

func (*RootCARegistrationBadRequest) String

type RootCARegistrationForbidden

type RootCARegistrationForbidden struct {
	Payload *models.HTTPError
}
RootCARegistrationForbidden describes a response with status code 403, with default header values.

forbidden

func NewRootCARegistrationForbidden

func NewRootCARegistrationForbidden() *RootCARegistrationForbidden

NewRootCARegistrationForbidden creates a RootCARegistrationForbidden with default headers values

func (*RootCARegistrationForbidden) Error

func (*RootCARegistrationForbidden) GetPayload

func (o *RootCARegistrationForbidden) GetPayload() *models.HTTPError

func (*RootCARegistrationForbidden) IsClientError

func (o *RootCARegistrationForbidden) IsClientError() bool

IsClientError returns true when this root c a registration forbidden response has a 4xx status code

func (*RootCARegistrationForbidden) IsCode

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

IsCode returns true when this root c a registration forbidden response a status code equal to that given

func (*RootCARegistrationForbidden) IsRedirect

func (o *RootCARegistrationForbidden) IsRedirect() bool

IsRedirect returns true when this root c a registration forbidden response has a 3xx status code

func (*RootCARegistrationForbidden) IsServerError

func (o *RootCARegistrationForbidden) IsServerError() bool

IsServerError returns true when this root c a registration forbidden response has a 5xx status code

func (*RootCARegistrationForbidden) IsSuccess

func (o *RootCARegistrationForbidden) IsSuccess() bool

IsSuccess returns true when this root c a registration forbidden response has a 2xx status code

func (*RootCARegistrationForbidden) String

func (o *RootCARegistrationForbidden) String() string

type RootCARegistrationInternalServerError

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

server error

func NewRootCARegistrationInternalServerError

func NewRootCARegistrationInternalServerError() *RootCARegistrationInternalServerError

NewRootCARegistrationInternalServerError creates a RootCARegistrationInternalServerError with default headers values

func (*RootCARegistrationInternalServerError) Error

func (*RootCARegistrationInternalServerError) GetPayload

func (*RootCARegistrationInternalServerError) IsClientError

func (o *RootCARegistrationInternalServerError) IsClientError() bool

IsClientError returns true when this root c a registration internal server error response has a 4xx status code

func (*RootCARegistrationInternalServerError) IsCode

IsCode returns true when this root c a registration internal server error response a status code equal to that given

func (*RootCARegistrationInternalServerError) IsRedirect

IsRedirect returns true when this root c a registration internal server error response has a 3xx status code

func (*RootCARegistrationInternalServerError) IsServerError

func (o *RootCARegistrationInternalServerError) IsServerError() bool

IsServerError returns true when this root c a registration internal server error response has a 5xx status code

func (*RootCARegistrationInternalServerError) IsSuccess

IsSuccess returns true when this root c a registration internal server error response has a 2xx status code

func (*RootCARegistrationInternalServerError) String

type RootCARegistrationOK

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

no error

func NewRootCARegistrationOK

func NewRootCARegistrationOK() *RootCARegistrationOK

NewRootCARegistrationOK creates a RootCARegistrationOK with default headers values

func (*RootCARegistrationOK) Error

func (o *RootCARegistrationOK) Error() string

func (*RootCARegistrationOK) GetPayload

func (*RootCARegistrationOK) IsClientError

func (o *RootCARegistrationOK) IsClientError() bool

IsClientError returns true when this root c a registration o k response has a 4xx status code

func (*RootCARegistrationOK) IsCode

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

IsCode returns true when this root c a registration o k response a status code equal to that given

func (*RootCARegistrationOK) IsRedirect

func (o *RootCARegistrationOK) IsRedirect() bool

IsRedirect returns true when this root c a registration o k response has a 3xx status code

func (*RootCARegistrationOK) IsServerError

func (o *RootCARegistrationOK) IsServerError() bool

IsServerError returns true when this root c a registration o k response has a 5xx status code

func (*RootCARegistrationOK) IsSuccess

func (o *RootCARegistrationOK) IsSuccess() bool

IsSuccess returns true when this root c a registration o k response has a 2xx status code

func (*RootCARegistrationOK) String

func (o *RootCARegistrationOK) String() string

type RootCARegistrationParams

type RootCARegistrationParams struct {

	// Body.
	Body *models.RootCARegistration

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

RootCARegistrationParams contains all the parameters to send to the API endpoint

for the root c a registration operation.

Typically these are written to a http.Request.

func NewRootCARegistrationParams

func NewRootCARegistrationParams() *RootCARegistrationParams

NewRootCARegistrationParams creates a new RootCARegistrationParams 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 NewRootCARegistrationParamsWithContext

func NewRootCARegistrationParamsWithContext(ctx context.Context) *RootCARegistrationParams

NewRootCARegistrationParamsWithContext creates a new RootCARegistrationParams object with the ability to set a context for a request.

func NewRootCARegistrationParamsWithHTTPClient

func NewRootCARegistrationParamsWithHTTPClient(client *http.Client) *RootCARegistrationParams

NewRootCARegistrationParamsWithHTTPClient creates a new RootCARegistrationParams object with the ability to set a custom HTTPClient for a request.

func NewRootCARegistrationParamsWithTimeout

func NewRootCARegistrationParamsWithTimeout(timeout time.Duration) *RootCARegistrationParams

NewRootCARegistrationParamsWithTimeout creates a new RootCARegistrationParams object with the ability to set a timeout on a request.

func (*RootCARegistrationParams) SetBody

SetBody adds the body to the root c a registration params

func (*RootCARegistrationParams) SetContext

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

SetContext adds the context to the root c a registration params

func (*RootCARegistrationParams) SetDefaults

func (o *RootCARegistrationParams) SetDefaults()

SetDefaults hydrates default values in the root c a registration params (not the query body).

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

func (*RootCARegistrationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the root c a registration params

func (*RootCARegistrationParams) SetTimeout

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

SetTimeout adds the timeout to the root c a registration params

func (*RootCARegistrationParams) WithBody

WithBody adds the body to the root c a registration params

func (*RootCARegistrationParams) WithContext

WithContext adds the context to the root c a registration params

func (*RootCARegistrationParams) WithDefaults

WithDefaults hydrates default values in the root c a registration params (not the query body).

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

func (*RootCARegistrationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the root c a registration params

func (*RootCARegistrationParams) WithTimeout

WithTimeout adds the timeout to the root c a registration params

func (*RootCARegistrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RootCARegistrationReader

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

RootCARegistrationReader is a Reader for the RootCARegistration structure.

func (*RootCARegistrationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RootCARegistrationUnauthorized

type RootCARegistrationUnauthorized struct {
	Payload *models.HTTPError
}
RootCARegistrationUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewRootCARegistrationUnauthorized

func NewRootCARegistrationUnauthorized() *RootCARegistrationUnauthorized

NewRootCARegistrationUnauthorized creates a RootCARegistrationUnauthorized with default headers values

func (*RootCARegistrationUnauthorized) Error

func (*RootCARegistrationUnauthorized) GetPayload

func (*RootCARegistrationUnauthorized) IsClientError

func (o *RootCARegistrationUnauthorized) IsClientError() bool

IsClientError returns true when this root c a registration unauthorized response has a 4xx status code

func (*RootCARegistrationUnauthorized) IsCode

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

IsCode returns true when this root c a registration unauthorized response a status code equal to that given

func (*RootCARegistrationUnauthorized) IsRedirect

func (o *RootCARegistrationUnauthorized) IsRedirect() bool

IsRedirect returns true when this root c a registration unauthorized response has a 3xx status code

func (*RootCARegistrationUnauthorized) IsServerError

func (o *RootCARegistrationUnauthorized) IsServerError() bool

IsServerError returns true when this root c a registration unauthorized response has a 5xx status code

func (*RootCARegistrationUnauthorized) IsSuccess

func (o *RootCARegistrationUnauthorized) IsSuccess() bool

IsSuccess returns true when this root c a registration unauthorized response has a 2xx status code

func (*RootCARegistrationUnauthorized) String

type SSHCertParamsBadRequest

type SSHCertParamsBadRequest struct {
	Payload *models.HTTPError
}
SSHCertParamsBadRequest describes a response with status code 400, with default header values.

bad request

func NewSSHCertParamsBadRequest

func NewSSHCertParamsBadRequest() *SSHCertParamsBadRequest

NewSSHCertParamsBadRequest creates a SSHCertParamsBadRequest with default headers values

func (*SSHCertParamsBadRequest) Error

func (o *SSHCertParamsBadRequest) Error() string

func (*SSHCertParamsBadRequest) GetPayload

func (o *SSHCertParamsBadRequest) GetPayload() *models.HTTPError

func (*SSHCertParamsBadRequest) IsClientError

func (o *SSHCertParamsBadRequest) IsClientError() bool

IsClientError returns true when this ssh cert params bad request response has a 4xx status code

func (*SSHCertParamsBadRequest) IsCode

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

IsCode returns true when this ssh cert params bad request response a status code equal to that given

func (*SSHCertParamsBadRequest) IsRedirect

func (o *SSHCertParamsBadRequest) IsRedirect() bool

IsRedirect returns true when this ssh cert params bad request response has a 3xx status code

func (*SSHCertParamsBadRequest) IsServerError

func (o *SSHCertParamsBadRequest) IsServerError() bool

IsServerError returns true when this ssh cert params bad request response has a 5xx status code

func (*SSHCertParamsBadRequest) IsSuccess

func (o *SSHCertParamsBadRequest) IsSuccess() bool

IsSuccess returns true when this ssh cert params bad request response has a 2xx status code

func (*SSHCertParamsBadRequest) String

func (o *SSHCertParamsBadRequest) String() string

type SSHCertParamsForbidden

type SSHCertParamsForbidden struct {
	Payload *models.HTTPError
}
SSHCertParamsForbidden describes a response with status code 403, with default header values.

forbidden

func NewSSHCertParamsForbidden

func NewSSHCertParamsForbidden() *SSHCertParamsForbidden

NewSSHCertParamsForbidden creates a SSHCertParamsForbidden with default headers values

func (*SSHCertParamsForbidden) Error

func (o *SSHCertParamsForbidden) Error() string

func (*SSHCertParamsForbidden) GetPayload

func (o *SSHCertParamsForbidden) GetPayload() *models.HTTPError

func (*SSHCertParamsForbidden) IsClientError

func (o *SSHCertParamsForbidden) IsClientError() bool

IsClientError returns true when this ssh cert params forbidden response has a 4xx status code

func (*SSHCertParamsForbidden) IsCode

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

IsCode returns true when this ssh cert params forbidden response a status code equal to that given

func (*SSHCertParamsForbidden) IsRedirect

func (o *SSHCertParamsForbidden) IsRedirect() bool

IsRedirect returns true when this ssh cert params forbidden response has a 3xx status code

func (*SSHCertParamsForbidden) IsServerError

func (o *SSHCertParamsForbidden) IsServerError() bool

IsServerError returns true when this ssh cert params forbidden response has a 5xx status code

func (*SSHCertParamsForbidden) IsSuccess

func (o *SSHCertParamsForbidden) IsSuccess() bool

IsSuccess returns true when this ssh cert params forbidden response has a 2xx status code

func (*SSHCertParamsForbidden) String

func (o *SSHCertParamsForbidden) String() string

type SSHCertParamsInternalServerError

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

server error

func NewSSHCertParamsInternalServerError

func NewSSHCertParamsInternalServerError() *SSHCertParamsInternalServerError

NewSSHCertParamsInternalServerError creates a SSHCertParamsInternalServerError with default headers values

func (*SSHCertParamsInternalServerError) Error

func (*SSHCertParamsInternalServerError) GetPayload

func (*SSHCertParamsInternalServerError) IsClientError

func (o *SSHCertParamsInternalServerError) IsClientError() bool

IsClientError returns true when this ssh cert params internal server error response has a 4xx status code

func (*SSHCertParamsInternalServerError) IsCode

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

IsCode returns true when this ssh cert params internal server error response a status code equal to that given

func (*SSHCertParamsInternalServerError) IsRedirect

func (o *SSHCertParamsInternalServerError) IsRedirect() bool

IsRedirect returns true when this ssh cert params internal server error response has a 3xx status code

func (*SSHCertParamsInternalServerError) IsServerError

func (o *SSHCertParamsInternalServerError) IsServerError() bool

IsServerError returns true when this ssh cert params internal server error response has a 5xx status code

func (*SSHCertParamsInternalServerError) IsSuccess

func (o *SSHCertParamsInternalServerError) IsSuccess() bool

IsSuccess returns true when this ssh cert params internal server error response has a 2xx status code

func (*SSHCertParamsInternalServerError) String

type SSHCertParamsOK

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

no error

func NewSSHCertParamsOK

func NewSSHCertParamsOK() *SSHCertParamsOK

NewSSHCertParamsOK creates a SSHCertParamsOK with default headers values

func (*SSHCertParamsOK) Error

func (o *SSHCertParamsOK) Error() string

func (*SSHCertParamsOK) GetPayload

func (*SSHCertParamsOK) IsClientError

func (o *SSHCertParamsOK) IsClientError() bool

IsClientError returns true when this ssh cert params o k response has a 4xx status code

func (*SSHCertParamsOK) IsCode

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

IsCode returns true when this ssh cert params o k response a status code equal to that given

func (*SSHCertParamsOK) IsRedirect

func (o *SSHCertParamsOK) IsRedirect() bool

IsRedirect returns true when this ssh cert params o k response has a 3xx status code

func (*SSHCertParamsOK) IsServerError

func (o *SSHCertParamsOK) IsServerError() bool

IsServerError returns true when this ssh cert params o k response has a 5xx status code

func (*SSHCertParamsOK) IsSuccess

func (o *SSHCertParamsOK) IsSuccess() bool

IsSuccess returns true when this ssh cert params o k response has a 2xx status code

func (*SSHCertParamsOK) String

func (o *SSHCertParamsOK) String() string

type SSHCertParamsParams

type SSHCertParamsParams struct {

	// Body.
	Body *models.SSHCertInformation

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

SSHCertParamsParams contains all the parameters to send to the API endpoint

for the SSH cert params operation.

Typically these are written to a http.Request.

func NewSSHCertParamsParams

func NewSSHCertParamsParams() *SSHCertParamsParams

NewSSHCertParamsParams creates a new SSHCertParamsParams 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 NewSSHCertParamsParamsWithContext

func NewSSHCertParamsParamsWithContext(ctx context.Context) *SSHCertParamsParams

NewSSHCertParamsParamsWithContext creates a new SSHCertParamsParams object with the ability to set a context for a request.

func NewSSHCertParamsParamsWithHTTPClient

func NewSSHCertParamsParamsWithHTTPClient(client *http.Client) *SSHCertParamsParams

NewSSHCertParamsParamsWithHTTPClient creates a new SSHCertParamsParams object with the ability to set a custom HTTPClient for a request.

func NewSSHCertParamsParamsWithTimeout

func NewSSHCertParamsParamsWithTimeout(timeout time.Duration) *SSHCertParamsParams

NewSSHCertParamsParamsWithTimeout creates a new SSHCertParamsParams object with the ability to set a timeout on a request.

func (*SSHCertParamsParams) SetBody

func (o *SSHCertParamsParams) SetBody(body *models.SSHCertInformation)

SetBody adds the body to the SSH cert params params

func (*SSHCertParamsParams) SetContext

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

SetContext adds the context to the SSH cert params params

func (*SSHCertParamsParams) SetDefaults

func (o *SSHCertParamsParams) SetDefaults()

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

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

func (*SSHCertParamsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the SSH cert params params

func (*SSHCertParamsParams) SetTimeout

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

SetTimeout adds the timeout to the SSH cert params params

func (*SSHCertParamsParams) WithBody

WithBody adds the body to the SSH cert params params

func (*SSHCertParamsParams) WithContext

WithContext adds the context to the SSH cert params params

func (*SSHCertParamsParams) WithDefaults

func (o *SSHCertParamsParams) WithDefaults() *SSHCertParamsParams

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

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

func (*SSHCertParamsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the SSH cert params params

func (*SSHCertParamsParams) WithTimeout

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

WithTimeout adds the timeout to the SSH cert params params

func (*SSHCertParamsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SSHCertParamsReader

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

SSHCertParamsReader is a Reader for the SSHCertParams structure.

func (*SSHCertParamsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SSHCertParamsUnauthorized

type SSHCertParamsUnauthorized struct {
	Payload *models.HTTPError
}
SSHCertParamsUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewSSHCertParamsUnauthorized

func NewSSHCertParamsUnauthorized() *SSHCertParamsUnauthorized

NewSSHCertParamsUnauthorized creates a SSHCertParamsUnauthorized with default headers values

func (*SSHCertParamsUnauthorized) Error

func (o *SSHCertParamsUnauthorized) Error() string

func (*SSHCertParamsUnauthorized) GetPayload

func (o *SSHCertParamsUnauthorized) GetPayload() *models.HTTPError

func (*SSHCertParamsUnauthorized) IsClientError

func (o *SSHCertParamsUnauthorized) IsClientError() bool

IsClientError returns true when this ssh cert params unauthorized response has a 4xx status code

func (*SSHCertParamsUnauthorized) IsCode

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

IsCode returns true when this ssh cert params unauthorized response a status code equal to that given

func (*SSHCertParamsUnauthorized) IsRedirect

func (o *SSHCertParamsUnauthorized) IsRedirect() bool

IsRedirect returns true when this ssh cert params unauthorized response has a 3xx status code

func (*SSHCertParamsUnauthorized) IsServerError

func (o *SSHCertParamsUnauthorized) IsServerError() bool

IsServerError returns true when this ssh cert params unauthorized response has a 5xx status code

func (*SSHCertParamsUnauthorized) IsSuccess

func (o *SSHCertParamsUnauthorized) IsSuccess() bool

IsSuccess returns true when this ssh cert params unauthorized response has a 2xx status code

func (*SSHCertParamsUnauthorized) String

func (o *SSHCertParamsUnauthorized) String() string

type SignCertificateBadRequest

type SignCertificateBadRequest struct {
	Payload *models.HTTPError
}
SignCertificateBadRequest describes a response with status code 400, with default header values.

bad request

func NewSignCertificateBadRequest

func NewSignCertificateBadRequest() *SignCertificateBadRequest

NewSignCertificateBadRequest creates a SignCertificateBadRequest with default headers values

func (*SignCertificateBadRequest) Error

func (o *SignCertificateBadRequest) Error() string

func (*SignCertificateBadRequest) GetPayload

func (o *SignCertificateBadRequest) GetPayload() *models.HTTPError

func (*SignCertificateBadRequest) IsClientError

func (o *SignCertificateBadRequest) IsClientError() bool

IsClientError returns true when this sign certificate bad request response has a 4xx status code

func (*SignCertificateBadRequest) IsCode

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

IsCode returns true when this sign certificate bad request response a status code equal to that given

func (*SignCertificateBadRequest) IsRedirect

func (o *SignCertificateBadRequest) IsRedirect() bool

IsRedirect returns true when this sign certificate bad request response has a 3xx status code

func (*SignCertificateBadRequest) IsServerError

func (o *SignCertificateBadRequest) IsServerError() bool

IsServerError returns true when this sign certificate bad request response has a 5xx status code

func (*SignCertificateBadRequest) IsSuccess

func (o *SignCertificateBadRequest) IsSuccess() bool

IsSuccess returns true when this sign certificate bad request response has a 2xx status code

func (*SignCertificateBadRequest) String

func (o *SignCertificateBadRequest) String() string

type SignCertificateForbidden

type SignCertificateForbidden struct {
	Payload *models.HTTPError
}
SignCertificateForbidden describes a response with status code 403, with default header values.

forbidden

func NewSignCertificateForbidden

func NewSignCertificateForbidden() *SignCertificateForbidden

NewSignCertificateForbidden creates a SignCertificateForbidden with default headers values

func (*SignCertificateForbidden) Error

func (o *SignCertificateForbidden) Error() string

func (*SignCertificateForbidden) GetPayload

func (o *SignCertificateForbidden) GetPayload() *models.HTTPError

func (*SignCertificateForbidden) IsClientError

func (o *SignCertificateForbidden) IsClientError() bool

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

func (*SignCertificateForbidden) IsCode

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

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

func (*SignCertificateForbidden) IsRedirect

func (o *SignCertificateForbidden) IsRedirect() bool

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

func (*SignCertificateForbidden) IsServerError

func (o *SignCertificateForbidden) IsServerError() bool

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

func (*SignCertificateForbidden) IsSuccess

func (o *SignCertificateForbidden) IsSuccess() bool

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

func (*SignCertificateForbidden) String

func (o *SignCertificateForbidden) String() string

type SignCertificateInternalServerError

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

server error

func NewSignCertificateInternalServerError

func NewSignCertificateInternalServerError() *SignCertificateInternalServerError

NewSignCertificateInternalServerError creates a SignCertificateInternalServerError with default headers values

func (*SignCertificateInternalServerError) Error

func (*SignCertificateInternalServerError) GetPayload

func (*SignCertificateInternalServerError) IsClientError

func (o *SignCertificateInternalServerError) IsClientError() bool

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

func (*SignCertificateInternalServerError) IsCode

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

func (*SignCertificateInternalServerError) IsRedirect

func (o *SignCertificateInternalServerError) IsRedirect() bool

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

func (*SignCertificateInternalServerError) IsServerError

func (o *SignCertificateInternalServerError) IsServerError() bool

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

func (*SignCertificateInternalServerError) IsSuccess

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

func (*SignCertificateInternalServerError) String

type SignCertificateOK

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

no error

func NewSignCertificateOK

func NewSignCertificateOK() *SignCertificateOK

NewSignCertificateOK creates a SignCertificateOK with default headers values

func (*SignCertificateOK) Error

func (o *SignCertificateOK) Error() string

func (*SignCertificateOK) GetPayload

func (*SignCertificateOK) IsClientError

func (o *SignCertificateOK) IsClientError() bool

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

func (*SignCertificateOK) IsCode

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

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

func (*SignCertificateOK) IsRedirect

func (o *SignCertificateOK) IsRedirect() bool

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

func (*SignCertificateOK) IsServerError

func (o *SignCertificateOK) IsServerError() bool

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

func (*SignCertificateOK) IsSuccess

func (o *SignCertificateOK) IsSuccess() bool

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

func (*SignCertificateOK) String

func (o *SignCertificateOK) String() string

type SignCertificateParams

type SignCertificateParams struct {

	// Body.
	Body *models.SigningRequest

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

SignCertificateParams contains all the parameters to send to the API endpoint

for the sign certificate operation.

Typically these are written to a http.Request.

func NewSignCertificateParams

func NewSignCertificateParams() *SignCertificateParams

NewSignCertificateParams creates a new SignCertificateParams 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 NewSignCertificateParamsWithContext

func NewSignCertificateParamsWithContext(ctx context.Context) *SignCertificateParams

NewSignCertificateParamsWithContext creates a new SignCertificateParams object with the ability to set a context for a request.

func NewSignCertificateParamsWithHTTPClient

func NewSignCertificateParamsWithHTTPClient(client *http.Client) *SignCertificateParams

NewSignCertificateParamsWithHTTPClient creates a new SignCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewSignCertificateParamsWithTimeout

func NewSignCertificateParamsWithTimeout(timeout time.Duration) *SignCertificateParams

NewSignCertificateParamsWithTimeout creates a new SignCertificateParams object with the ability to set a timeout on a request.

func (*SignCertificateParams) SetBody

func (o *SignCertificateParams) SetBody(body *models.SigningRequest)

SetBody adds the body to the sign certificate params

func (*SignCertificateParams) SetContext

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

SetContext adds the context to the sign certificate params

func (*SignCertificateParams) SetDefaults

func (o *SignCertificateParams) SetDefaults()

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

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

func (*SignCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the sign certificate params

func (*SignCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the sign certificate params

func (*SignCertificateParams) WithBody

WithBody adds the body to the sign certificate params

func (*SignCertificateParams) WithContext

WithContext adds the context to the sign certificate params

func (*SignCertificateParams) WithDefaults

func (o *SignCertificateParams) WithDefaults() *SignCertificateParams

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

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

func (*SignCertificateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the sign certificate params

func (*SignCertificateParams) WithTimeout

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

WithTimeout adds the timeout to the sign certificate params

func (*SignCertificateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SignCertificateReader

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

SignCertificateReader is a Reader for the SignCertificate structure.

func (*SignCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SignCertificateUnauthorized

type SignCertificateUnauthorized struct {
	Payload *models.HTTPError
}
SignCertificateUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewSignCertificateUnauthorized

func NewSignCertificateUnauthorized() *SignCertificateUnauthorized

NewSignCertificateUnauthorized creates a SignCertificateUnauthorized with default headers values

func (*SignCertificateUnauthorized) Error

func (*SignCertificateUnauthorized) GetPayload

func (o *SignCertificateUnauthorized) GetPayload() *models.HTTPError

func (*SignCertificateUnauthorized) IsClientError

func (o *SignCertificateUnauthorized) IsClientError() bool

IsClientError returns true when this sign certificate unauthorized response has a 4xx status code

func (*SignCertificateUnauthorized) IsCode

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

IsCode returns true when this sign certificate unauthorized response a status code equal to that given

func (*SignCertificateUnauthorized) IsRedirect

func (o *SignCertificateUnauthorized) IsRedirect() bool

IsRedirect returns true when this sign certificate unauthorized response has a 3xx status code

func (*SignCertificateUnauthorized) IsServerError

func (o *SignCertificateUnauthorized) IsServerError() bool

IsServerError returns true when this sign certificate unauthorized response has a 5xx status code

func (*SignCertificateUnauthorized) IsSuccess

func (o *SignCertificateUnauthorized) IsSuccess() bool

IsSuccess returns true when this sign certificate unauthorized response has a 2xx status code

func (*SignCertificateUnauthorized) String

func (o *SignCertificateUnauthorized) String() string

Jump to

Keyboard shortcuts

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