Documentation
¶
Index ¶
- type Client
- func (a *Client) LeafParams(params *LeafParamsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*LeafParamsOK, error)
- func (a *Client) RegisterRoot(params *RegisterRootParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RegisterRootCreated, error)
- func (a *Client) RootCARegistration(params *RootCARegistrationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RootCARegistrationOK, error)
- func (a *Client) SSHCertParams(params *SSHCertParamsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SSHCertParamsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SignCertificate(params *SignCertificateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SignCertificateOK, error)
- type ClientOption
- type ClientService
- type LeafParamsBadRequest
- func (o *LeafParamsBadRequest) Error() string
- func (o *LeafParamsBadRequest) GetPayload() *models.HTTPError
- func (o *LeafParamsBadRequest) IsClientError() bool
- func (o *LeafParamsBadRequest) IsCode(code int) bool
- func (o *LeafParamsBadRequest) IsRedirect() bool
- func (o *LeafParamsBadRequest) IsServerError() bool
- func (o *LeafParamsBadRequest) IsSuccess() bool
- func (o *LeafParamsBadRequest) String() string
- type LeafParamsForbidden
- func (o *LeafParamsForbidden) Error() string
- func (o *LeafParamsForbidden) GetPayload() *models.HTTPError
- func (o *LeafParamsForbidden) IsClientError() bool
- func (o *LeafParamsForbidden) IsCode(code int) bool
- func (o *LeafParamsForbidden) IsRedirect() bool
- func (o *LeafParamsForbidden) IsServerError() bool
- func (o *LeafParamsForbidden) IsSuccess() bool
- func (o *LeafParamsForbidden) String() string
- type LeafParamsInternalServerError
- func (o *LeafParamsInternalServerError) Error() string
- func (o *LeafParamsInternalServerError) GetPayload() *models.HTTPError
- func (o *LeafParamsInternalServerError) IsClientError() bool
- func (o *LeafParamsInternalServerError) IsCode(code int) bool
- func (o *LeafParamsInternalServerError) IsRedirect() bool
- func (o *LeafParamsInternalServerError) IsServerError() bool
- func (o *LeafParamsInternalServerError) IsSuccess() bool
- func (o *LeafParamsInternalServerError) String() string
- type LeafParamsOK
- func (o *LeafParamsOK) Error() string
- func (o *LeafParamsOK) GetPayload() *models.ResponseCertificate
- func (o *LeafParamsOK) IsClientError() bool
- func (o *LeafParamsOK) IsCode(code int) bool
- func (o *LeafParamsOK) IsRedirect() bool
- func (o *LeafParamsOK) IsServerError() bool
- func (o *LeafParamsOK) IsSuccess() bool
- func (o *LeafParamsOK) String() string
- type LeafParamsParams
- func (o *LeafParamsParams) SetBody(body *models.SigningRequestInformation)
- func (o *LeafParamsParams) SetContext(ctx context.Context)
- func (o *LeafParamsParams) SetDefaults()
- func (o *LeafParamsParams) SetHTTPClient(client *http.Client)
- func (o *LeafParamsParams) SetTimeout(timeout time.Duration)
- func (o *LeafParamsParams) WithBody(body *models.SigningRequestInformation) *LeafParamsParams
- func (o *LeafParamsParams) WithContext(ctx context.Context) *LeafParamsParams
- func (o *LeafParamsParams) WithDefaults() *LeafParamsParams
- func (o *LeafParamsParams) WithHTTPClient(client *http.Client) *LeafParamsParams
- func (o *LeafParamsParams) WithTimeout(timeout time.Duration) *LeafParamsParams
- func (o *LeafParamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LeafParamsReader
- type LeafParamsUnauthorized
- func (o *LeafParamsUnauthorized) Error() string
- func (o *LeafParamsUnauthorized) GetPayload() *models.HTTPError
- func (o *LeafParamsUnauthorized) IsClientError() bool
- func (o *LeafParamsUnauthorized) IsCode(code int) bool
- func (o *LeafParamsUnauthorized) IsRedirect() bool
- func (o *LeafParamsUnauthorized) IsServerError() bool
- func (o *LeafParamsUnauthorized) IsSuccess() bool
- func (o *LeafParamsUnauthorized) String() string
- type RegisterRootBadRequest
- func (o *RegisterRootBadRequest) Error() string
- func (o *RegisterRootBadRequest) GetPayload() *models.HTTPError
- func (o *RegisterRootBadRequest) IsClientError() bool
- func (o *RegisterRootBadRequest) IsCode(code int) bool
- func (o *RegisterRootBadRequest) IsRedirect() bool
- func (o *RegisterRootBadRequest) IsServerError() bool
- func (o *RegisterRootBadRequest) IsSuccess() bool
- func (o *RegisterRootBadRequest) String() string
- type RegisterRootCreated
- func (o *RegisterRootCreated) Error() string
- func (o *RegisterRootCreated) GetPayload() *models.ResponseRootCertificate
- func (o *RegisterRootCreated) IsClientError() bool
- func (o *RegisterRootCreated) IsCode(code int) bool
- func (o *RegisterRootCreated) IsRedirect() bool
- func (o *RegisterRootCreated) IsServerError() bool
- func (o *RegisterRootCreated) IsSuccess() bool
- func (o *RegisterRootCreated) String() string
- type RegisterRootForbidden
- func (o *RegisterRootForbidden) Error() string
- func (o *RegisterRootForbidden) GetPayload() *models.HTTPError
- func (o *RegisterRootForbidden) IsClientError() bool
- func (o *RegisterRootForbidden) IsCode(code int) bool
- func (o *RegisterRootForbidden) IsRedirect() bool
- func (o *RegisterRootForbidden) IsServerError() bool
- func (o *RegisterRootForbidden) IsSuccess() bool
- func (o *RegisterRootForbidden) String() string
- type RegisterRootInternalServerError
- func (o *RegisterRootInternalServerError) Error() string
- func (o *RegisterRootInternalServerError) GetPayload() *models.HTTPError
- func (o *RegisterRootInternalServerError) IsClientError() bool
- func (o *RegisterRootInternalServerError) IsCode(code int) bool
- func (o *RegisterRootInternalServerError) IsRedirect() bool
- func (o *RegisterRootInternalServerError) IsServerError() bool
- func (o *RegisterRootInternalServerError) IsSuccess() bool
- func (o *RegisterRootInternalServerError) String() string
- type RegisterRootParams
- func (o *RegisterRootParams) SetBody(body *models.RootCASecret)
- func (o *RegisterRootParams) SetContext(ctx context.Context)
- func (o *RegisterRootParams) SetDefaults()
- func (o *RegisterRootParams) SetHTTPClient(client *http.Client)
- func (o *RegisterRootParams) SetTimeout(timeout time.Duration)
- func (o *RegisterRootParams) WithBody(body *models.RootCASecret) *RegisterRootParams
- func (o *RegisterRootParams) WithContext(ctx context.Context) *RegisterRootParams
- func (o *RegisterRootParams) WithDefaults() *RegisterRootParams
- func (o *RegisterRootParams) WithHTTPClient(client *http.Client) *RegisterRootParams
- func (o *RegisterRootParams) WithTimeout(timeout time.Duration) *RegisterRootParams
- func (o *RegisterRootParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegisterRootReader
- type RegisterRootUnauthorized
- func (o *RegisterRootUnauthorized) Error() string
- func (o *RegisterRootUnauthorized) GetPayload() *models.HTTPError
- func (o *RegisterRootUnauthorized) IsClientError() bool
- func (o *RegisterRootUnauthorized) IsCode(code int) bool
- func (o *RegisterRootUnauthorized) IsRedirect() bool
- func (o *RegisterRootUnauthorized) IsServerError() bool
- func (o *RegisterRootUnauthorized) IsSuccess() bool
- func (o *RegisterRootUnauthorized) String() string
- type RootCARegistrationBadRequest
- func (o *RootCARegistrationBadRequest) Error() string
- func (o *RootCARegistrationBadRequest) GetPayload() *models.HTTPError
- func (o *RootCARegistrationBadRequest) IsClientError() bool
- func (o *RootCARegistrationBadRequest) IsCode(code int) bool
- func (o *RootCARegistrationBadRequest) IsRedirect() bool
- func (o *RootCARegistrationBadRequest) IsServerError() bool
- func (o *RootCARegistrationBadRequest) IsSuccess() bool
- func (o *RootCARegistrationBadRequest) String() string
- type RootCARegistrationForbidden
- func (o *RootCARegistrationForbidden) Error() string
- func (o *RootCARegistrationForbidden) GetPayload() *models.HTTPError
- func (o *RootCARegistrationForbidden) IsClientError() bool
- func (o *RootCARegistrationForbidden) IsCode(code int) bool
- func (o *RootCARegistrationForbidden) IsRedirect() bool
- func (o *RootCARegistrationForbidden) IsServerError() bool
- func (o *RootCARegistrationForbidden) IsSuccess() bool
- func (o *RootCARegistrationForbidden) String() string
- type RootCARegistrationInternalServerError
- func (o *RootCARegistrationInternalServerError) Error() string
- func (o *RootCARegistrationInternalServerError) GetPayload() *models.HTTPError
- func (o *RootCARegistrationInternalServerError) IsClientError() bool
- func (o *RootCARegistrationInternalServerError) IsCode(code int) bool
- func (o *RootCARegistrationInternalServerError) IsRedirect() bool
- func (o *RootCARegistrationInternalServerError) IsServerError() bool
- func (o *RootCARegistrationInternalServerError) IsSuccess() bool
- func (o *RootCARegistrationInternalServerError) String() string
- type RootCARegistrationOK
- func (o *RootCARegistrationOK) Error() string
- func (o *RootCARegistrationOK) GetPayload() *models.ResponseCertificate
- func (o *RootCARegistrationOK) IsClientError() bool
- func (o *RootCARegistrationOK) IsCode(code int) bool
- func (o *RootCARegistrationOK) IsRedirect() bool
- func (o *RootCARegistrationOK) IsServerError() bool
- func (o *RootCARegistrationOK) IsSuccess() bool
- func (o *RootCARegistrationOK) String() string
- type RootCARegistrationParams
- func NewRootCARegistrationParams() *RootCARegistrationParams
- func NewRootCARegistrationParamsWithContext(ctx context.Context) *RootCARegistrationParams
- func NewRootCARegistrationParamsWithHTTPClient(client *http.Client) *RootCARegistrationParams
- func NewRootCARegistrationParamsWithTimeout(timeout time.Duration) *RootCARegistrationParams
- func (o *RootCARegistrationParams) SetBody(body *models.RootCARegistration)
- func (o *RootCARegistrationParams) SetContext(ctx context.Context)
- func (o *RootCARegistrationParams) SetDefaults()
- func (o *RootCARegistrationParams) SetHTTPClient(client *http.Client)
- func (o *RootCARegistrationParams) SetTimeout(timeout time.Duration)
- func (o *RootCARegistrationParams) WithBody(body *models.RootCARegistration) *RootCARegistrationParams
- func (o *RootCARegistrationParams) WithContext(ctx context.Context) *RootCARegistrationParams
- func (o *RootCARegistrationParams) WithDefaults() *RootCARegistrationParams
- func (o *RootCARegistrationParams) WithHTTPClient(client *http.Client) *RootCARegistrationParams
- func (o *RootCARegistrationParams) WithTimeout(timeout time.Duration) *RootCARegistrationParams
- func (o *RootCARegistrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RootCARegistrationReader
- type RootCARegistrationUnauthorized
- func (o *RootCARegistrationUnauthorized) Error() string
- func (o *RootCARegistrationUnauthorized) GetPayload() *models.HTTPError
- func (o *RootCARegistrationUnauthorized) IsClientError() bool
- func (o *RootCARegistrationUnauthorized) IsCode(code int) bool
- func (o *RootCARegistrationUnauthorized) IsRedirect() bool
- func (o *RootCARegistrationUnauthorized) IsServerError() bool
- func (o *RootCARegistrationUnauthorized) IsSuccess() bool
- func (o *RootCARegistrationUnauthorized) String() string
- type SSHCertParamsBadRequest
- func (o *SSHCertParamsBadRequest) Error() string
- func (o *SSHCertParamsBadRequest) GetPayload() *models.HTTPError
- func (o *SSHCertParamsBadRequest) IsClientError() bool
- func (o *SSHCertParamsBadRequest) IsCode(code int) bool
- func (o *SSHCertParamsBadRequest) IsRedirect() bool
- func (o *SSHCertParamsBadRequest) IsServerError() bool
- func (o *SSHCertParamsBadRequest) IsSuccess() bool
- func (o *SSHCertParamsBadRequest) String() string
- type SSHCertParamsForbidden
- func (o *SSHCertParamsForbidden) Error() string
- func (o *SSHCertParamsForbidden) GetPayload() *models.HTTPError
- func (o *SSHCertParamsForbidden) IsClientError() bool
- func (o *SSHCertParamsForbidden) IsCode(code int) bool
- func (o *SSHCertParamsForbidden) IsRedirect() bool
- func (o *SSHCertParamsForbidden) IsServerError() bool
- func (o *SSHCertParamsForbidden) IsSuccess() bool
- func (o *SSHCertParamsForbidden) String() string
- type SSHCertParamsInternalServerError
- func (o *SSHCertParamsInternalServerError) Error() string
- func (o *SSHCertParamsInternalServerError) GetPayload() *models.HTTPError
- func (o *SSHCertParamsInternalServerError) IsClientError() bool
- func (o *SSHCertParamsInternalServerError) IsCode(code int) bool
- func (o *SSHCertParamsInternalServerError) IsRedirect() bool
- func (o *SSHCertParamsInternalServerError) IsServerError() bool
- func (o *SSHCertParamsInternalServerError) IsSuccess() bool
- func (o *SSHCertParamsInternalServerError) String() string
- type SSHCertParamsOK
- func (o *SSHCertParamsOK) Error() string
- func (o *SSHCertParamsOK) GetPayload() *models.ResponseSSHCertificate
- func (o *SSHCertParamsOK) IsClientError() bool
- func (o *SSHCertParamsOK) IsCode(code int) bool
- func (o *SSHCertParamsOK) IsRedirect() bool
- func (o *SSHCertParamsOK) IsServerError() bool
- func (o *SSHCertParamsOK) IsSuccess() bool
- func (o *SSHCertParamsOK) String() string
- type SSHCertParamsParams
- func (o *SSHCertParamsParams) SetBody(body *models.SSHCertInformation)
- func (o *SSHCertParamsParams) SetContext(ctx context.Context)
- func (o *SSHCertParamsParams) SetDefaults()
- func (o *SSHCertParamsParams) SetHTTPClient(client *http.Client)
- func (o *SSHCertParamsParams) SetTimeout(timeout time.Duration)
- func (o *SSHCertParamsParams) WithBody(body *models.SSHCertInformation) *SSHCertParamsParams
- func (o *SSHCertParamsParams) WithContext(ctx context.Context) *SSHCertParamsParams
- func (o *SSHCertParamsParams) WithDefaults() *SSHCertParamsParams
- func (o *SSHCertParamsParams) WithHTTPClient(client *http.Client) *SSHCertParamsParams
- func (o *SSHCertParamsParams) WithTimeout(timeout time.Duration) *SSHCertParamsParams
- func (o *SSHCertParamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SSHCertParamsReader
- type SSHCertParamsUnauthorized
- func (o *SSHCertParamsUnauthorized) Error() string
- func (o *SSHCertParamsUnauthorized) GetPayload() *models.HTTPError
- func (o *SSHCertParamsUnauthorized) IsClientError() bool
- func (o *SSHCertParamsUnauthorized) IsCode(code int) bool
- func (o *SSHCertParamsUnauthorized) IsRedirect() bool
- func (o *SSHCertParamsUnauthorized) IsServerError() bool
- func (o *SSHCertParamsUnauthorized) IsSuccess() bool
- func (o *SSHCertParamsUnauthorized) String() string
- type SignCertificateBadRequest
- func (o *SignCertificateBadRequest) Error() string
- func (o *SignCertificateBadRequest) GetPayload() *models.HTTPError
- func (o *SignCertificateBadRequest) IsClientError() bool
- func (o *SignCertificateBadRequest) IsCode(code int) bool
- func (o *SignCertificateBadRequest) IsRedirect() bool
- func (o *SignCertificateBadRequest) IsServerError() bool
- func (o *SignCertificateBadRequest) IsSuccess() bool
- func (o *SignCertificateBadRequest) String() string
- type SignCertificateForbidden
- func (o *SignCertificateForbidden) Error() string
- func (o *SignCertificateForbidden) GetPayload() *models.HTTPError
- func (o *SignCertificateForbidden) IsClientError() bool
- func (o *SignCertificateForbidden) IsCode(code int) bool
- func (o *SignCertificateForbidden) IsRedirect() bool
- func (o *SignCertificateForbidden) IsServerError() bool
- func (o *SignCertificateForbidden) IsSuccess() bool
- func (o *SignCertificateForbidden) String() string
- type SignCertificateInternalServerError
- func (o *SignCertificateInternalServerError) Error() string
- func (o *SignCertificateInternalServerError) GetPayload() *models.HTTPError
- func (o *SignCertificateInternalServerError) IsClientError() bool
- func (o *SignCertificateInternalServerError) IsCode(code int) bool
- func (o *SignCertificateInternalServerError) IsRedirect() bool
- func (o *SignCertificateInternalServerError) IsServerError() bool
- func (o *SignCertificateInternalServerError) IsSuccess() bool
- func (o *SignCertificateInternalServerError) String() string
- type SignCertificateOK
- func (o *SignCertificateOK) Error() string
- func (o *SignCertificateOK) GetPayload() *models.SignedLeafCertificate
- func (o *SignCertificateOK) IsClientError() bool
- func (o *SignCertificateOK) IsCode(code int) bool
- func (o *SignCertificateOK) IsRedirect() bool
- func (o *SignCertificateOK) IsServerError() bool
- func (o *SignCertificateOK) IsSuccess() bool
- func (o *SignCertificateOK) String() string
- type SignCertificateParams
- func NewSignCertificateParams() *SignCertificateParams
- func NewSignCertificateParamsWithContext(ctx context.Context) *SignCertificateParams
- func NewSignCertificateParamsWithHTTPClient(client *http.Client) *SignCertificateParams
- func NewSignCertificateParamsWithTimeout(timeout time.Duration) *SignCertificateParams
- func (o *SignCertificateParams) SetBody(body *models.SigningRequest)
- func (o *SignCertificateParams) SetContext(ctx context.Context)
- func (o *SignCertificateParams) SetDefaults()
- func (o *SignCertificateParams) SetHTTPClient(client *http.Client)
- func (o *SignCertificateParams) SetTimeout(timeout time.Duration)
- func (o *SignCertificateParams) WithBody(body *models.SigningRequest) *SignCertificateParams
- func (o *SignCertificateParams) WithContext(ctx context.Context) *SignCertificateParams
- func (o *SignCertificateParams) WithDefaults() *SignCertificateParams
- func (o *SignCertificateParams) WithHTTPClient(client *http.Client) *SignCertificateParams
- func (o *SignCertificateParams) WithTimeout(timeout time.Duration) *SignCertificateParams
- func (o *SignCertificateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SignCertificateReader
- type SignCertificateUnauthorized
- func (o *SignCertificateUnauthorized) Error() string
- func (o *SignCertificateUnauthorized) GetPayload() *models.HTTPError
- func (o *SignCertificateUnauthorized) IsClientError() bool
- func (o *SignCertificateUnauthorized) IsCode(code int) bool
- func (o *SignCertificateUnauthorized) IsRedirect() bool
- func (o *SignCertificateUnauthorized) IsServerError() bool
- func (o *SignCertificateUnauthorized) IsSuccess() bool
- func (o *SignCertificateUnauthorized) String() string
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 ¶
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 ¶
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 ¶
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 (o *LeafParamsInternalServerError) Error() string
func (*LeafParamsInternalServerError) GetPayload ¶
func (o *LeafParamsInternalServerError) GetPayload() *models.HTTPError
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 ¶
func (o *LeafParamsInternalServerError) String() 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 ¶
func (o *LeafParamsParams) SetBody(body *models.SigningRequestInformation)
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 ¶
func (o *LeafParamsParams) WithBody(body *models.SigningRequestInformation) *LeafParamsParams
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 {
}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 ¶
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 (o *RegisterRootCreated) GetPayload() *models.ResponseRootCertificate
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 ¶
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 ¶
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 (o *RegisterRootInternalServerError) Error() string
func (*RegisterRootInternalServerError) GetPayload ¶
func (o *RegisterRootInternalServerError) GetPayload() *models.HTTPError
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 ¶
func (o *RegisterRootInternalServerError) String() 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 ¶
func (o *RegisterRootParams) WithBody(body *models.RootCASecret) *RegisterRootParams
WithBody adds the body to the register root params
func (*RegisterRootParams) WithContext ¶
func (o *RegisterRootParams) WithContext(ctx context.Context) *RegisterRootParams
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 {
}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 ¶
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 (o *RootCARegistrationBadRequest) Error() string
func (*RootCARegistrationBadRequest) GetPayload ¶
func (o *RootCARegistrationBadRequest) GetPayload() *models.HTTPError
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 ¶
func (o *RootCARegistrationBadRequest) String() string
type RootCARegistrationForbidden ¶
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 (o *RootCARegistrationForbidden) Error() string
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 ¶
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 (o *RootCARegistrationInternalServerError) Error() string
func (*RootCARegistrationInternalServerError) GetPayload ¶
func (o *RootCARegistrationInternalServerError) GetPayload() *models.HTTPError
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 ¶
func (o *RootCARegistrationInternalServerError) IsCode(code int) bool
IsCode returns true when this root c a registration internal server error response a status code equal to that given
func (*RootCARegistrationInternalServerError) IsRedirect ¶
func (o *RootCARegistrationInternalServerError) IsRedirect() bool
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 ¶
func (o *RootCARegistrationInternalServerError) IsSuccess() bool
IsSuccess returns true when this root c a registration internal server error response has a 2xx status code
func (*RootCARegistrationInternalServerError) String ¶
func (o *RootCARegistrationInternalServerError) String() 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 (o *RootCARegistrationOK) GetPayload() *models.ResponseCertificate
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 ¶
func (o *RootCARegistrationParams) SetBody(body *models.RootCARegistration)
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 ¶
func (o *RootCARegistrationParams) WithBody(body *models.RootCARegistration) *RootCARegistrationParams
WithBody adds the body to the root c a registration params
func (*RootCARegistrationParams) WithContext ¶
func (o *RootCARegistrationParams) WithContext(ctx context.Context) *RootCARegistrationParams
WithContext adds the context to the root c a registration params
func (*RootCARegistrationParams) WithDefaults ¶
func (o *RootCARegistrationParams) WithDefaults() *RootCARegistrationParams
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 ¶
func (o *RootCARegistrationParams) WithTimeout(timeout time.Duration) *RootCARegistrationParams
WithTimeout adds the timeout to the root c a registration params
func (*RootCARegistrationParams) WriteToRequest ¶
func (o *RootCARegistrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *RootCARegistrationUnauthorized) Error() string
func (*RootCARegistrationUnauthorized) GetPayload ¶
func (o *RootCARegistrationUnauthorized) GetPayload() *models.HTTPError
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 ¶
func (o *RootCARegistrationUnauthorized) String() string
type SSHCertParamsBadRequest ¶
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 ¶
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 ¶
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 (o *SSHCertParamsInternalServerError) Error() string
func (*SSHCertParamsInternalServerError) GetPayload ¶
func (o *SSHCertParamsInternalServerError) GetPayload() *models.HTTPError
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 ¶
func (o *SSHCertParamsInternalServerError) String() 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 (o *SSHCertParamsOK) GetPayload() *models.ResponseSSHCertificate
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 ¶
func (o *SSHCertParamsParams) WithBody(body *models.SSHCertInformation) *SSHCertParamsParams
WithBody adds the body to the SSH cert params params
func (*SSHCertParamsParams) WithContext ¶
func (o *SSHCertParamsParams) WithContext(ctx context.Context) *SSHCertParamsParams
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 {
}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 ¶
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 ¶
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 ¶
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 (o *SignCertificateInternalServerError) Error() string
func (*SignCertificateInternalServerError) GetPayload ¶
func (o *SignCertificateInternalServerError) GetPayload() *models.HTTPError
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 ¶
func (o *SignCertificateInternalServerError) IsCode(code int) bool
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 ¶
func (o *SignCertificateInternalServerError) IsSuccess() bool
IsSuccess returns true when this sign certificate internal server error response has a 2xx status code
func (*SignCertificateInternalServerError) String ¶
func (o *SignCertificateInternalServerError) String() 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 (o *SignCertificateOK) GetPayload() *models.SignedLeafCertificate
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 ¶
func (o *SignCertificateParams) WithBody(body *models.SigningRequest) *SignCertificateParams
WithBody adds the body to the sign certificate params
func (*SignCertificateParams) WithContext ¶
func (o *SignCertificateParams) WithContext(ctx context.Context) *SignCertificateParams
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 {
}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 (o *SignCertificateUnauthorized) Error() string
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
Source Files
¶
- leaf_params_parameters.go
- leaf_params_responses.go
- pki_client.go
- register_root_parameters.go
- register_root_responses.go
- root_c_a_registration_parameters.go
- root_c_a_registration_responses.go
- sign_certificate_parameters.go
- sign_certificate_responses.go
- ssh_cert_params_parameters.go
- ssh_cert_params_responses.go