Documentation ¶
Index ¶
- Constants
- type CreateCa
- type CreateCaBadRequest
- type CreateCaCreated
- type CreateCaHandler
- type CreateCaHandlerFunc
- type CreateCaParams
- type CreateCaTooManyRequests
- type CreateCaURL
- func (o *CreateCaURL) Build() (*url.URL, error)
- func (o *CreateCaURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateCaURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateCaURL) SetBasePath(bp string)
- func (o *CreateCaURL) String() string
- func (o *CreateCaURL) StringFull(scheme, host string) string
- func (o *CreateCaURL) WithBasePath(bp string) *CreateCaURL
- type CreateCaUnauthorized
- type DeleteCa
- type DeleteCaBadRequest
- type DeleteCaHandler
- type DeleteCaHandlerFunc
- type DeleteCaOK
- type DeleteCaParams
- type DeleteCaTooManyRequests
- type DeleteCaURL
- func (o *DeleteCaURL) Build() (*url.URL, error)
- func (o *DeleteCaURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteCaURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteCaURL) SetBasePath(bp string)
- func (o *DeleteCaURL) String() string
- func (o *DeleteCaURL) StringFull(scheme, host string) string
- func (o *DeleteCaURL) WithBasePath(bp string) *DeleteCaURL
- type DeleteCaUnauthorized
- type DetailCa
- type DetailCaHandler
- type DetailCaHandlerFunc
- type DetailCaNotFound
- type DetailCaOK
- type DetailCaParams
- type DetailCaTooManyRequests
- type DetailCaURL
- func (o *DetailCaURL) Build() (*url.URL, error)
- func (o *DetailCaURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailCaURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailCaURL) SetBasePath(bp string)
- func (o *DetailCaURL) String() string
- func (o *DetailCaURL) StringFull(scheme, host string) string
- func (o *DetailCaURL) WithBasePath(bp string) *DetailCaURL
- type DetailCaUnauthorized
- type GetCaJWT
- type GetCaJWTHandler
- type GetCaJWTHandlerFunc
- type GetCaJWTNotFound
- type GetCaJWTOK
- type GetCaJWTParams
- type GetCaJWTTooManyRequests
- type GetCaJWTURL
- func (o *GetCaJWTURL) Build() (*url.URL, error)
- func (o *GetCaJWTURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetCaJWTURL) Must(u *url.URL, err error) *url.URL
- func (o *GetCaJWTURL) SetBasePath(bp string)
- func (o *GetCaJWTURL) String() string
- func (o *GetCaJWTURL) StringFull(scheme, host string) string
- func (o *GetCaJWTURL) WithBasePath(bp string) *GetCaJWTURL
- type GetCaJWTUnauthorized
- type ListCas
- type ListCasBadRequest
- type ListCasHandler
- type ListCasHandlerFunc
- type ListCasOK
- type ListCasParams
- type ListCasTooManyRequests
- type ListCasURL
- func (o *ListCasURL) Build() (*url.URL, error)
- func (o *ListCasURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListCasURL) Must(u *url.URL, err error) *url.URL
- func (o *ListCasURL) SetBasePath(bp string)
- func (o *ListCasURL) String() string
- func (o *ListCasURL) StringFull(scheme, host string) string
- func (o *ListCasURL) WithBasePath(bp string) *ListCasURL
- type ListCasUnauthorized
- type PatchCa
- type PatchCaBadRequest
- type PatchCaHandler
- type PatchCaHandlerFunc
- type PatchCaNotFound
- type PatchCaOK
- type PatchCaParams
- type PatchCaTooManyRequests
- type PatchCaURL
- func (o *PatchCaURL) Build() (*url.URL, error)
- func (o *PatchCaURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchCaURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchCaURL) SetBasePath(bp string)
- func (o *PatchCaURL) String() string
- func (o *PatchCaURL) StringFull(scheme, host string) string
- func (o *PatchCaURL) WithBasePath(bp string) *PatchCaURL
- type PatchCaUnauthorized
- type UpdateCa
- type UpdateCaBadRequest
- type UpdateCaHandler
- type UpdateCaHandlerFunc
- type UpdateCaNotFound
- type UpdateCaOK
- type UpdateCaParams
- type UpdateCaTooManyRequests
- type UpdateCaURL
- func (o *UpdateCaURL) Build() (*url.URL, error)
- func (o *UpdateCaURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateCaURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateCaURL) SetBasePath(bp string)
- func (o *UpdateCaURL) String() string
- func (o *UpdateCaURL) StringFull(scheme, host string) string
- func (o *UpdateCaURL) WithBasePath(bp string) *UpdateCaURL
- type UpdateCaUnauthorized
- type VerifyCa
- type VerifyCaBadRequest
- type VerifyCaHandler
- type VerifyCaHandlerFunc
- type VerifyCaNotFound
- type VerifyCaOK
- type VerifyCaParams
- type VerifyCaTooManyRequests
- type VerifyCaURL
- func (o *VerifyCaURL) Build() (*url.URL, error)
- func (o *VerifyCaURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *VerifyCaURL) Must(u *url.URL, err error) *url.URL
- func (o *VerifyCaURL) SetBasePath(bp string)
- func (o *VerifyCaURL) String() string
- func (o *VerifyCaURL) StringFull(scheme, host string) string
- func (o *VerifyCaURL) WithBasePath(bp string) *VerifyCaURL
- type VerifyCaUnauthorized
Constants ¶
const CreateCaBadRequestCode int = 400
CreateCaBadRequestCode is the HTTP code returned for type CreateCaBadRequest
const CreateCaCreatedCode int = 201
CreateCaCreatedCode is the HTTP code returned for type CreateCaCreated
const CreateCaTooManyRequestsCode int = 429
CreateCaTooManyRequestsCode is the HTTP code returned for type CreateCaTooManyRequests
CreateCaUnauthorizedCode is the HTTP code returned for type CreateCaUnauthorized
const DeleteCaBadRequestCode int = 400
DeleteCaBadRequestCode is the HTTP code returned for type DeleteCaBadRequest
const DeleteCaOKCode int = 200
DeleteCaOKCode is the HTTP code returned for type DeleteCaOK
const DeleteCaTooManyRequestsCode int = 429
DeleteCaTooManyRequestsCode is the HTTP code returned for type DeleteCaTooManyRequests
DeleteCaUnauthorizedCode is the HTTP code returned for type DeleteCaUnauthorized
const DetailCaNotFoundCode int = 404
DetailCaNotFoundCode is the HTTP code returned for type DetailCaNotFound
const DetailCaOKCode int = 200
DetailCaOKCode is the HTTP code returned for type DetailCaOK
const DetailCaTooManyRequestsCode int = 429
DetailCaTooManyRequestsCode is the HTTP code returned for type DetailCaTooManyRequests
DetailCaUnauthorizedCode is the HTTP code returned for type DetailCaUnauthorized
const GetCaJWTNotFoundCode int = 404
GetCaJWTNotFoundCode is the HTTP code returned for type GetCaJWTNotFound
const GetCaJWTOKCode int = 200
GetCaJWTOKCode is the HTTP code returned for type GetCaJWTOK
const GetCaJWTTooManyRequestsCode int = 429
GetCaJWTTooManyRequestsCode is the HTTP code returned for type GetCaJWTTooManyRequests
GetCaJWTUnauthorizedCode is the HTTP code returned for type GetCaJWTUnauthorized
const ListCasBadRequestCode int = 400
ListCasBadRequestCode is the HTTP code returned for type ListCasBadRequest
const ListCasOKCode int = 200
ListCasOKCode is the HTTP code returned for type ListCasOK
const ListCasTooManyRequestsCode int = 429
ListCasTooManyRequestsCode is the HTTP code returned for type ListCasTooManyRequests
ListCasUnauthorizedCode is the HTTP code returned for type ListCasUnauthorized
const PatchCaBadRequestCode int = 400
PatchCaBadRequestCode is the HTTP code returned for type PatchCaBadRequest
const PatchCaNotFoundCode int = 404
PatchCaNotFoundCode is the HTTP code returned for type PatchCaNotFound
const PatchCaOKCode int = 200
PatchCaOKCode is the HTTP code returned for type PatchCaOK
const PatchCaTooManyRequestsCode int = 429
PatchCaTooManyRequestsCode is the HTTP code returned for type PatchCaTooManyRequests
PatchCaUnauthorizedCode is the HTTP code returned for type PatchCaUnauthorized
const UpdateCaBadRequestCode int = 400
UpdateCaBadRequestCode is the HTTP code returned for type UpdateCaBadRequest
const UpdateCaNotFoundCode int = 404
UpdateCaNotFoundCode is the HTTP code returned for type UpdateCaNotFound
const UpdateCaOKCode int = 200
UpdateCaOKCode is the HTTP code returned for type UpdateCaOK
const UpdateCaTooManyRequestsCode int = 429
UpdateCaTooManyRequestsCode is the HTTP code returned for type UpdateCaTooManyRequests
UpdateCaUnauthorizedCode is the HTTP code returned for type UpdateCaUnauthorized
const VerifyCaBadRequestCode int = 400
VerifyCaBadRequestCode is the HTTP code returned for type VerifyCaBadRequest
const VerifyCaNotFoundCode int = 404
VerifyCaNotFoundCode is the HTTP code returned for type VerifyCaNotFound
const VerifyCaOKCode int = 200
VerifyCaOKCode is the HTTP code returned for type VerifyCaOK
const VerifyCaTooManyRequestsCode int = 429
VerifyCaTooManyRequestsCode is the HTTP code returned for type VerifyCaTooManyRequests
VerifyCaUnauthorizedCode is the HTTP code returned for type VerifyCaUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCa ¶
type CreateCa struct { Context *middleware.Context Handler CreateCaHandler }
CreateCa swagger:route POST /cas Certificate Authority createCa
Creates a CA ¶
Creates a CA in an unverified state. Requires admin access.
func NewCreateCa ¶
func NewCreateCa(ctx *middleware.Context, handler CreateCaHandler) *CreateCa
NewCreateCa creates a new http.Handler for the create ca operation
type CreateCaBadRequest ¶
type CreateCaBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreateCaBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response createCaBadRequest
func NewCreateCaBadRequest ¶
func NewCreateCaBadRequest() *CreateCaBadRequest
NewCreateCaBadRequest creates CreateCaBadRequest with default headers values
func (*CreateCaBadRequest) SetPayload ¶
func (o *CreateCaBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create ca bad request response
func (*CreateCaBadRequest) WithPayload ¶
func (o *CreateCaBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateCaBadRequest
WithPayload adds the payload to the create ca bad request response
func (*CreateCaBadRequest) WriteResponse ¶
func (o *CreateCaBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateCaCreated ¶
type CreateCaCreated struct { /* In: Body */ Payload *rest_model.CreateEnvelope `json:"body,omitempty"` }
CreateCaCreated The create request was successful and the resource has been added at the following location
swagger:response createCaCreated
func NewCreateCaCreated ¶
func NewCreateCaCreated() *CreateCaCreated
NewCreateCaCreated creates CreateCaCreated with default headers values
func (*CreateCaCreated) SetPayload ¶
func (o *CreateCaCreated) SetPayload(payload *rest_model.CreateEnvelope)
SetPayload sets the payload to the create ca created response
func (*CreateCaCreated) WithPayload ¶
func (o *CreateCaCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreateCaCreated
WithPayload adds the payload to the create ca created response
func (*CreateCaCreated) WriteResponse ¶
func (o *CreateCaCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateCaHandler ¶
type CreateCaHandler interface {
Handle(CreateCaParams, interface{}) middleware.Responder
}
CreateCaHandler interface for that can handle valid create ca params
type CreateCaHandlerFunc ¶
type CreateCaHandlerFunc func(CreateCaParams, interface{}) middleware.Responder
CreateCaHandlerFunc turns a function with the right signature into a create ca handler
func (CreateCaHandlerFunc) Handle ¶
func (fn CreateCaHandlerFunc) Handle(params CreateCaParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreateCaParams ¶
type CreateCaParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A CA to create Required: true In: body */ Ca *rest_model.CaCreate }
CreateCaParams contains all the bound params for the create ca operation typically these are obtained from a http.Request
swagger:parameters createCa
func NewCreateCaParams ¶
func NewCreateCaParams() CreateCaParams
NewCreateCaParams creates a new CreateCaParams object
There are no default values defined in the spec.
func (*CreateCaParams) BindRequest ¶
func (o *CreateCaParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateCaParams() beforehand.
type CreateCaTooManyRequests ¶ added in v0.26.0
type CreateCaTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreateCaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response createCaTooManyRequests
func NewCreateCaTooManyRequests ¶ added in v0.26.0
func NewCreateCaTooManyRequests() *CreateCaTooManyRequests
NewCreateCaTooManyRequests creates CreateCaTooManyRequests with default headers values
func (*CreateCaTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *CreateCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create ca too many requests response
func (*CreateCaTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *CreateCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateCaTooManyRequests
WithPayload adds the payload to the create ca too many requests response
func (*CreateCaTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *CreateCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateCaURL ¶
type CreateCaURL struct {
// contains filtered or unexported fields
}
CreateCaURL generates an URL for the create ca operation
func (*CreateCaURL) Build ¶
func (o *CreateCaURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateCaURL) BuildFull ¶
func (o *CreateCaURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateCaURL) SetBasePath ¶
func (o *CreateCaURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateCaURL) String ¶
func (o *CreateCaURL) String() string
String returns the string representation of the path with query string
func (*CreateCaURL) StringFull ¶
func (o *CreateCaURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateCaURL) WithBasePath ¶
func (o *CreateCaURL) WithBasePath(bp string) *CreateCaURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateCaUnauthorized ¶
type CreateCaUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
CreateCaUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response createCaUnauthorized
func NewCreateCaUnauthorized ¶
func NewCreateCaUnauthorized() *CreateCaUnauthorized
NewCreateCaUnauthorized creates CreateCaUnauthorized with default headers values
func (*CreateCaUnauthorized) SetPayload ¶
func (o *CreateCaUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create ca unauthorized response
func (*CreateCaUnauthorized) WithPayload ¶
func (o *CreateCaUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateCaUnauthorized
WithPayload adds the payload to the create ca unauthorized response
func (*CreateCaUnauthorized) WriteResponse ¶
func (o *CreateCaUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteCa ¶
type DeleteCa struct { Context *middleware.Context Handler DeleteCaHandler }
DeleteCa swagger:route DELETE /cas/{id} Certificate Authority deleteCa
Delete a CA ¶
Delete a CA by id. Deleting a CA will delete its associated certificate authenticators. This can make it impossible for identities to authenticate if they no longer have any valid authenticators. Requires admin access.
func NewDeleteCa ¶
func NewDeleteCa(ctx *middleware.Context, handler DeleteCaHandler) *DeleteCa
NewDeleteCa creates a new http.Handler for the delete ca operation
type DeleteCaBadRequest ¶
type DeleteCaBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteCaBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response deleteCaBadRequest
func NewDeleteCaBadRequest ¶
func NewDeleteCaBadRequest() *DeleteCaBadRequest
NewDeleteCaBadRequest creates DeleteCaBadRequest with default headers values
func (*DeleteCaBadRequest) SetPayload ¶
func (o *DeleteCaBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete ca bad request response
func (*DeleteCaBadRequest) WithPayload ¶
func (o *DeleteCaBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteCaBadRequest
WithPayload adds the payload to the delete ca bad request response
func (*DeleteCaBadRequest) WriteResponse ¶
func (o *DeleteCaBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteCaHandler ¶
type DeleteCaHandler interface {
Handle(DeleteCaParams, interface{}) middleware.Responder
}
DeleteCaHandler interface for that can handle valid delete ca params
type DeleteCaHandlerFunc ¶
type DeleteCaHandlerFunc func(DeleteCaParams, interface{}) middleware.Responder
DeleteCaHandlerFunc turns a function with the right signature into a delete ca handler
func (DeleteCaHandlerFunc) Handle ¶
func (fn DeleteCaHandlerFunc) Handle(params DeleteCaParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteCaOK ¶
type DeleteCaOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
DeleteCaOK The delete request was successful and the resource has been removed
swagger:response deleteCaOK
func NewDeleteCaOK ¶
func NewDeleteCaOK() *DeleteCaOK
NewDeleteCaOK creates DeleteCaOK with default headers values
func (*DeleteCaOK) SetPayload ¶
func (o *DeleteCaOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the delete ca o k response
func (*DeleteCaOK) WithPayload ¶
func (o *DeleteCaOK) WithPayload(payload *rest_model.Empty) *DeleteCaOK
WithPayload adds the payload to the delete ca o k response
func (*DeleteCaOK) WriteResponse ¶
func (o *DeleteCaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteCaParams ¶
type DeleteCaParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DeleteCaParams contains all the bound params for the delete ca operation typically these are obtained from a http.Request
swagger:parameters deleteCa
func NewDeleteCaParams ¶
func NewDeleteCaParams() DeleteCaParams
NewDeleteCaParams creates a new DeleteCaParams object
There are no default values defined in the spec.
func (*DeleteCaParams) BindRequest ¶
func (o *DeleteCaParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteCaParams() beforehand.
type DeleteCaTooManyRequests ¶ added in v0.26.0
type DeleteCaTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteCaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response deleteCaTooManyRequests
func NewDeleteCaTooManyRequests ¶ added in v0.26.0
func NewDeleteCaTooManyRequests() *DeleteCaTooManyRequests
NewDeleteCaTooManyRequests creates DeleteCaTooManyRequests with default headers values
func (*DeleteCaTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *DeleteCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete ca too many requests response
func (*DeleteCaTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *DeleteCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteCaTooManyRequests
WithPayload adds the payload to the delete ca too many requests response
func (*DeleteCaTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *DeleteCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteCaURL ¶
type DeleteCaURL struct { ID string // contains filtered or unexported fields }
DeleteCaURL generates an URL for the delete ca operation
func (*DeleteCaURL) Build ¶
func (o *DeleteCaURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteCaURL) BuildFull ¶
func (o *DeleteCaURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteCaURL) SetBasePath ¶
func (o *DeleteCaURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteCaURL) String ¶
func (o *DeleteCaURL) String() string
String returns the string representation of the path with query string
func (*DeleteCaURL) StringFull ¶
func (o *DeleteCaURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteCaURL) WithBasePath ¶
func (o *DeleteCaURL) WithBasePath(bp string) *DeleteCaURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteCaUnauthorized ¶
type DeleteCaUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DeleteCaUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response deleteCaUnauthorized
func NewDeleteCaUnauthorized ¶
func NewDeleteCaUnauthorized() *DeleteCaUnauthorized
NewDeleteCaUnauthorized creates DeleteCaUnauthorized with default headers values
func (*DeleteCaUnauthorized) SetPayload ¶
func (o *DeleteCaUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete ca unauthorized response
func (*DeleteCaUnauthorized) WithPayload ¶
func (o *DeleteCaUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteCaUnauthorized
WithPayload adds the payload to the delete ca unauthorized response
func (*DeleteCaUnauthorized) WriteResponse ¶
func (o *DeleteCaUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailCa ¶
type DetailCa struct { Context *middleware.Context Handler DetailCaHandler }
DetailCa swagger:route GET /cas/{id} Certificate Authority detailCa
Retrieves a single CA ¶
Retrieves a single CA by id. Requires admin access.
func NewDetailCa ¶
func NewDetailCa(ctx *middleware.Context, handler DetailCaHandler) *DetailCa
NewDetailCa creates a new http.Handler for the detail ca operation
type DetailCaHandler ¶
type DetailCaHandler interface {
Handle(DetailCaParams, interface{}) middleware.Responder
}
DetailCaHandler interface for that can handle valid detail ca params
type DetailCaHandlerFunc ¶
type DetailCaHandlerFunc func(DetailCaParams, interface{}) middleware.Responder
DetailCaHandlerFunc turns a function with the right signature into a detail ca handler
func (DetailCaHandlerFunc) Handle ¶
func (fn DetailCaHandlerFunc) Handle(params DetailCaParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DetailCaNotFound ¶
type DetailCaNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailCaNotFound The requested resource does not exist
swagger:response detailCaNotFound
func NewDetailCaNotFound ¶
func NewDetailCaNotFound() *DetailCaNotFound
NewDetailCaNotFound creates DetailCaNotFound with default headers values
func (*DetailCaNotFound) SetPayload ¶
func (o *DetailCaNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail ca not found response
func (*DetailCaNotFound) WithPayload ¶
func (o *DetailCaNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailCaNotFound
WithPayload adds the payload to the detail ca not found response
func (*DetailCaNotFound) WriteResponse ¶
func (o *DetailCaNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailCaOK ¶
type DetailCaOK struct { /* In: Body */ Payload *rest_model.DetailCaEnvelope `json:"body,omitempty"` }
DetailCaOK A singular Certificate Authority (CA) resource
swagger:response detailCaOK
func NewDetailCaOK ¶
func NewDetailCaOK() *DetailCaOK
NewDetailCaOK creates DetailCaOK with default headers values
func (*DetailCaOK) SetPayload ¶
func (o *DetailCaOK) SetPayload(payload *rest_model.DetailCaEnvelope)
SetPayload sets the payload to the detail ca o k response
func (*DetailCaOK) WithPayload ¶
func (o *DetailCaOK) WithPayload(payload *rest_model.DetailCaEnvelope) *DetailCaOK
WithPayload adds the payload to the detail ca o k response
func (*DetailCaOK) WriteResponse ¶
func (o *DetailCaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailCaParams ¶
type DetailCaParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DetailCaParams contains all the bound params for the detail ca operation typically these are obtained from a http.Request
swagger:parameters detailCa
func NewDetailCaParams ¶
func NewDetailCaParams() DetailCaParams
NewDetailCaParams creates a new DetailCaParams object
There are no default values defined in the spec.
func (*DetailCaParams) BindRequest ¶
func (o *DetailCaParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDetailCaParams() beforehand.
type DetailCaTooManyRequests ¶ added in v0.26.0
type DetailCaTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailCaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response detailCaTooManyRequests
func NewDetailCaTooManyRequests ¶ added in v0.26.0
func NewDetailCaTooManyRequests() *DetailCaTooManyRequests
NewDetailCaTooManyRequests creates DetailCaTooManyRequests with default headers values
func (*DetailCaTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *DetailCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail ca too many requests response
func (*DetailCaTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *DetailCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailCaTooManyRequests
WithPayload adds the payload to the detail ca too many requests response
func (*DetailCaTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *DetailCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailCaURL ¶
type DetailCaURL struct { ID string // contains filtered or unexported fields }
DetailCaURL generates an URL for the detail ca operation
func (*DetailCaURL) Build ¶
func (o *DetailCaURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailCaURL) BuildFull ¶
func (o *DetailCaURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailCaURL) SetBasePath ¶
func (o *DetailCaURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DetailCaURL) String ¶
func (o *DetailCaURL) String() string
String returns the string representation of the path with query string
func (*DetailCaURL) StringFull ¶
func (o *DetailCaURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailCaURL) WithBasePath ¶
func (o *DetailCaURL) WithBasePath(bp string) *DetailCaURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DetailCaUnauthorized ¶
type DetailCaUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DetailCaUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response detailCaUnauthorized
func NewDetailCaUnauthorized ¶
func NewDetailCaUnauthorized() *DetailCaUnauthorized
NewDetailCaUnauthorized creates DetailCaUnauthorized with default headers values
func (*DetailCaUnauthorized) SetPayload ¶
func (o *DetailCaUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail ca unauthorized response
func (*DetailCaUnauthorized) WithPayload ¶
func (o *DetailCaUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailCaUnauthorized
WithPayload adds the payload to the detail ca unauthorized response
func (*DetailCaUnauthorized) WriteResponse ¶
func (o *DetailCaUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCaJWT ¶
type GetCaJWT struct { Context *middleware.Context Handler GetCaJWTHandler }
GetCaJWT swagger:route GET /cas/{id}/jwt Certificate Authority getCaJwt
Retrieve the enrollment JWT for a CA ¶
For CA auto enrollment, the enrollment JWT is static and provided on each CA resource. This endpoint provides the jwt as a text response.
func NewGetCaJWT ¶
func NewGetCaJWT(ctx *middleware.Context, handler GetCaJWTHandler) *GetCaJWT
NewGetCaJWT creates a new http.Handler for the get ca Jwt operation
type GetCaJWTHandler ¶
type GetCaJWTHandler interface {
Handle(GetCaJWTParams, interface{}) middleware.Responder
}
GetCaJWTHandler interface for that can handle valid get ca Jwt params
type GetCaJWTHandlerFunc ¶
type GetCaJWTHandlerFunc func(GetCaJWTParams, interface{}) middleware.Responder
GetCaJWTHandlerFunc turns a function with the right signature into a get ca Jwt handler
func (GetCaJWTHandlerFunc) Handle ¶
func (fn GetCaJWTHandlerFunc) Handle(params GetCaJWTParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetCaJWTNotFound ¶
type GetCaJWTNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
GetCaJWTNotFound The requested resource does not exist
swagger:response getCaJwtNotFound
func NewGetCaJWTNotFound ¶
func NewGetCaJWTNotFound() *GetCaJWTNotFound
NewGetCaJWTNotFound creates GetCaJWTNotFound with default headers values
func (*GetCaJWTNotFound) SetPayload ¶
func (o *GetCaJWTNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the get ca Jwt not found response
func (*GetCaJWTNotFound) WithPayload ¶
func (o *GetCaJWTNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *GetCaJWTNotFound
WithPayload adds the payload to the get ca Jwt not found response
func (*GetCaJWTNotFound) WriteResponse ¶
func (o *GetCaJWTNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCaJWTOK ¶
type GetCaJWTOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GetCaJWTOK The result is the JWT text to validate the CA
swagger:response getCaJwtOK
func NewGetCaJWTOK ¶
func NewGetCaJWTOK() *GetCaJWTOK
NewGetCaJWTOK creates GetCaJWTOK with default headers values
func (*GetCaJWTOK) SetPayload ¶
func (o *GetCaJWTOK) SetPayload(payload string)
SetPayload sets the payload to the get ca Jwt o k response
func (*GetCaJWTOK) WithPayload ¶
func (o *GetCaJWTOK) WithPayload(payload string) *GetCaJWTOK
WithPayload adds the payload to the get ca Jwt o k response
func (*GetCaJWTOK) WriteResponse ¶
func (o *GetCaJWTOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCaJWTParams ¶
type GetCaJWTParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
GetCaJWTParams contains all the bound params for the get ca Jwt operation typically these are obtained from a http.Request
swagger:parameters getCaJwt
func NewGetCaJWTParams ¶
func NewGetCaJWTParams() GetCaJWTParams
NewGetCaJWTParams creates a new GetCaJWTParams object
There are no default values defined in the spec.
func (*GetCaJWTParams) BindRequest ¶
func (o *GetCaJWTParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetCaJWTParams() beforehand.
type GetCaJWTTooManyRequests ¶ added in v0.26.0
type GetCaJWTTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
GetCaJWTTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response getCaJwtTooManyRequests
func NewGetCaJWTTooManyRequests ¶ added in v0.26.0
func NewGetCaJWTTooManyRequests() *GetCaJWTTooManyRequests
NewGetCaJWTTooManyRequests creates GetCaJWTTooManyRequests with default headers values
func (*GetCaJWTTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *GetCaJWTTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the get ca Jwt too many requests response
func (*GetCaJWTTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *GetCaJWTTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *GetCaJWTTooManyRequests
WithPayload adds the payload to the get ca Jwt too many requests response
func (*GetCaJWTTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *GetCaJWTTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCaJWTURL ¶
type GetCaJWTURL struct { ID string // contains filtered or unexported fields }
GetCaJWTURL generates an URL for the get ca Jwt operation
func (*GetCaJWTURL) Build ¶
func (o *GetCaJWTURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetCaJWTURL) BuildFull ¶
func (o *GetCaJWTURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetCaJWTURL) SetBasePath ¶
func (o *GetCaJWTURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetCaJWTURL) String ¶
func (o *GetCaJWTURL) String() string
String returns the string representation of the path with query string
func (*GetCaJWTURL) StringFull ¶
func (o *GetCaJWTURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetCaJWTURL) WithBasePath ¶
func (o *GetCaJWTURL) WithBasePath(bp string) *GetCaJWTURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetCaJWTUnauthorized ¶
type GetCaJWTUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
GetCaJWTUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response getCaJwtUnauthorized
func NewGetCaJWTUnauthorized ¶
func NewGetCaJWTUnauthorized() *GetCaJWTUnauthorized
NewGetCaJWTUnauthorized creates GetCaJWTUnauthorized with default headers values
func (*GetCaJWTUnauthorized) SetPayload ¶
func (o *GetCaJWTUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the get ca Jwt unauthorized response
func (*GetCaJWTUnauthorized) WithPayload ¶
func (o *GetCaJWTUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *GetCaJWTUnauthorized
WithPayload adds the payload to the get ca Jwt unauthorized response
func (*GetCaJWTUnauthorized) WriteResponse ¶
func (o *GetCaJWTUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListCas ¶
type ListCas struct { Context *middleware.Context Handler ListCasHandler }
ListCas swagger:route GET /cas Certificate Authority listCas
List CAs ¶
Retrieves a list of CA resources; supports filtering, sorting, and pagination. Requires admin access.
func NewListCas ¶
func NewListCas(ctx *middleware.Context, handler ListCasHandler) *ListCas
NewListCas creates a new http.Handler for the list cas operation
type ListCasBadRequest ¶
type ListCasBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListCasBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response listCasBadRequest
func NewListCasBadRequest ¶
func NewListCasBadRequest() *ListCasBadRequest
NewListCasBadRequest creates ListCasBadRequest with default headers values
func (*ListCasBadRequest) SetPayload ¶
func (o *ListCasBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list cas bad request response
func (*ListCasBadRequest) WithPayload ¶
func (o *ListCasBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListCasBadRequest
WithPayload adds the payload to the list cas bad request response
func (*ListCasBadRequest) WriteResponse ¶
func (o *ListCasBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListCasHandler ¶
type ListCasHandler interface {
Handle(ListCasParams, interface{}) middleware.Responder
}
ListCasHandler interface for that can handle valid list cas params
type ListCasHandlerFunc ¶
type ListCasHandlerFunc func(ListCasParams, interface{}) middleware.Responder
ListCasHandlerFunc turns a function with the right signature into a list cas handler
func (ListCasHandlerFunc) Handle ¶
func (fn ListCasHandlerFunc) Handle(params ListCasParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListCasOK ¶
type ListCasOK struct { /* In: Body */ Payload *rest_model.ListCasEnvelope `json:"body,omitempty"` }
ListCasOK A list of Certificate Authorities (CAs)
swagger:response listCasOK
func NewListCasOK ¶
func NewListCasOK() *ListCasOK
NewListCasOK creates ListCasOK with default headers values
func (*ListCasOK) SetPayload ¶
func (o *ListCasOK) SetPayload(payload *rest_model.ListCasEnvelope)
SetPayload sets the payload to the list cas o k response
func (*ListCasOK) WithPayload ¶
func (o *ListCasOK) WithPayload(payload *rest_model.ListCasEnvelope) *ListCasOK
WithPayload adds the payload to the list cas o k response
func (*ListCasOK) WriteResponse ¶
func (o *ListCasOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListCasParams ¶
type ListCasParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListCasParams contains all the bound params for the list cas operation typically these are obtained from a http.Request
swagger:parameters listCas
func NewListCasParams ¶
func NewListCasParams() ListCasParams
NewListCasParams creates a new ListCasParams object
There are no default values defined in the spec.
func (*ListCasParams) BindRequest ¶
func (o *ListCasParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListCasParams() beforehand.
type ListCasTooManyRequests ¶ added in v0.26.0
type ListCasTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListCasTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response listCasTooManyRequests
func NewListCasTooManyRequests ¶ added in v0.26.0
func NewListCasTooManyRequests() *ListCasTooManyRequests
NewListCasTooManyRequests creates ListCasTooManyRequests with default headers values
func (*ListCasTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *ListCasTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list cas too many requests response
func (*ListCasTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *ListCasTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListCasTooManyRequests
WithPayload adds the payload to the list cas too many requests response
func (*ListCasTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *ListCasTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListCasURL ¶
type ListCasURL struct { Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListCasURL generates an URL for the list cas operation
func (*ListCasURL) Build ¶
func (o *ListCasURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListCasURL) BuildFull ¶
func (o *ListCasURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListCasURL) SetBasePath ¶
func (o *ListCasURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListCasURL) String ¶
func (o *ListCasURL) String() string
String returns the string representation of the path with query string
func (*ListCasURL) StringFull ¶
func (o *ListCasURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListCasURL) WithBasePath ¶
func (o *ListCasURL) WithBasePath(bp string) *ListCasURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListCasUnauthorized ¶
type ListCasUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListCasUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response listCasUnauthorized
func NewListCasUnauthorized ¶
func NewListCasUnauthorized() *ListCasUnauthorized
NewListCasUnauthorized creates ListCasUnauthorized with default headers values
func (*ListCasUnauthorized) SetPayload ¶
func (o *ListCasUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list cas unauthorized response
func (*ListCasUnauthorized) WithPayload ¶
func (o *ListCasUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListCasUnauthorized
WithPayload adds the payload to the list cas unauthorized response
func (*ListCasUnauthorized) WriteResponse ¶
func (o *ListCasUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchCa ¶
type PatchCa struct { Context *middleware.Context Handler PatchCaHandler }
PatchCa swagger:route PATCH /cas/{id} Certificate Authority patchCa
Update the supplied fields on a CA ¶
Update only the supplied fields on a CA by id. Requires admin access.
func NewPatchCa ¶
func NewPatchCa(ctx *middleware.Context, handler PatchCaHandler) *PatchCa
NewPatchCa creates a new http.Handler for the patch ca operation
type PatchCaBadRequest ¶
type PatchCaBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchCaBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response patchCaBadRequest
func NewPatchCaBadRequest ¶
func NewPatchCaBadRequest() *PatchCaBadRequest
NewPatchCaBadRequest creates PatchCaBadRequest with default headers values
func (*PatchCaBadRequest) SetPayload ¶
func (o *PatchCaBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch ca bad request response
func (*PatchCaBadRequest) WithPayload ¶
func (o *PatchCaBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchCaBadRequest
WithPayload adds the payload to the patch ca bad request response
func (*PatchCaBadRequest) WriteResponse ¶
func (o *PatchCaBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchCaHandler ¶
type PatchCaHandler interface {
Handle(PatchCaParams, interface{}) middleware.Responder
}
PatchCaHandler interface for that can handle valid patch ca params
type PatchCaHandlerFunc ¶
type PatchCaHandlerFunc func(PatchCaParams, interface{}) middleware.Responder
PatchCaHandlerFunc turns a function with the right signature into a patch ca handler
func (PatchCaHandlerFunc) Handle ¶
func (fn PatchCaHandlerFunc) Handle(params PatchCaParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PatchCaNotFound ¶
type PatchCaNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchCaNotFound The requested resource does not exist
swagger:response patchCaNotFound
func NewPatchCaNotFound ¶
func NewPatchCaNotFound() *PatchCaNotFound
NewPatchCaNotFound creates PatchCaNotFound with default headers values
func (*PatchCaNotFound) SetPayload ¶
func (o *PatchCaNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch ca not found response
func (*PatchCaNotFound) WithPayload ¶
func (o *PatchCaNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchCaNotFound
WithPayload adds the payload to the patch ca not found response
func (*PatchCaNotFound) WriteResponse ¶
func (o *PatchCaNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchCaOK ¶
type PatchCaOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
PatchCaOK The patch request was successful and the resource has been altered
swagger:response patchCaOK
func NewPatchCaOK ¶
func NewPatchCaOK() *PatchCaOK
NewPatchCaOK creates PatchCaOK with default headers values
func (*PatchCaOK) SetPayload ¶
func (o *PatchCaOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the patch ca o k response
func (*PatchCaOK) WithPayload ¶
func (o *PatchCaOK) WithPayload(payload *rest_model.Empty) *PatchCaOK
WithPayload adds the payload to the patch ca o k response
func (*PatchCaOK) WriteResponse ¶
func (o *PatchCaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchCaParams ¶
type PatchCaParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A CA patch object Required: true In: body */ Ca *rest_model.CaPatch /*The id of the requested resource Required: true In: path */ ID string }
PatchCaParams contains all the bound params for the patch ca operation typically these are obtained from a http.Request
swagger:parameters patchCa
func NewPatchCaParams ¶
func NewPatchCaParams() PatchCaParams
NewPatchCaParams creates a new PatchCaParams object
There are no default values defined in the spec.
func (*PatchCaParams) BindRequest ¶
func (o *PatchCaParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewPatchCaParams() beforehand.
type PatchCaTooManyRequests ¶ added in v0.26.0
type PatchCaTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchCaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response patchCaTooManyRequests
func NewPatchCaTooManyRequests ¶ added in v0.26.0
func NewPatchCaTooManyRequests() *PatchCaTooManyRequests
NewPatchCaTooManyRequests creates PatchCaTooManyRequests with default headers values
func (*PatchCaTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *PatchCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch ca too many requests response
func (*PatchCaTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *PatchCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchCaTooManyRequests
WithPayload adds the payload to the patch ca too many requests response
func (*PatchCaTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *PatchCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchCaURL ¶
type PatchCaURL struct { ID string // contains filtered or unexported fields }
PatchCaURL generates an URL for the patch ca operation
func (*PatchCaURL) Build ¶
func (o *PatchCaURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchCaURL) BuildFull ¶
func (o *PatchCaURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchCaURL) SetBasePath ¶
func (o *PatchCaURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*PatchCaURL) String ¶
func (o *PatchCaURL) String() string
String returns the string representation of the path with query string
func (*PatchCaURL) StringFull ¶
func (o *PatchCaURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchCaURL) WithBasePath ¶
func (o *PatchCaURL) WithBasePath(bp string) *PatchCaURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type PatchCaUnauthorized ¶
type PatchCaUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
PatchCaUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response patchCaUnauthorized
func NewPatchCaUnauthorized ¶
func NewPatchCaUnauthorized() *PatchCaUnauthorized
NewPatchCaUnauthorized creates PatchCaUnauthorized with default headers values
func (*PatchCaUnauthorized) SetPayload ¶
func (o *PatchCaUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch ca unauthorized response
func (*PatchCaUnauthorized) WithPayload ¶
func (o *PatchCaUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchCaUnauthorized
WithPayload adds the payload to the patch ca unauthorized response
func (*PatchCaUnauthorized) WriteResponse ¶
func (o *PatchCaUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateCa ¶
type UpdateCa struct { Context *middleware.Context Handler UpdateCaHandler }
UpdateCa swagger:route PUT /cas/{id} Certificate Authority updateCa
Update all fields on a CA ¶
Update all fields on a CA by id. Requires admin access.
func NewUpdateCa ¶
func NewUpdateCa(ctx *middleware.Context, handler UpdateCaHandler) *UpdateCa
NewUpdateCa creates a new http.Handler for the update ca operation
type UpdateCaBadRequest ¶
type UpdateCaBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateCaBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response updateCaBadRequest
func NewUpdateCaBadRequest ¶
func NewUpdateCaBadRequest() *UpdateCaBadRequest
NewUpdateCaBadRequest creates UpdateCaBadRequest with default headers values
func (*UpdateCaBadRequest) SetPayload ¶
func (o *UpdateCaBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update ca bad request response
func (*UpdateCaBadRequest) WithPayload ¶
func (o *UpdateCaBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateCaBadRequest
WithPayload adds the payload to the update ca bad request response
func (*UpdateCaBadRequest) WriteResponse ¶
func (o *UpdateCaBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateCaHandler ¶
type UpdateCaHandler interface {
Handle(UpdateCaParams, interface{}) middleware.Responder
}
UpdateCaHandler interface for that can handle valid update ca params
type UpdateCaHandlerFunc ¶
type UpdateCaHandlerFunc func(UpdateCaParams, interface{}) middleware.Responder
UpdateCaHandlerFunc turns a function with the right signature into a update ca handler
func (UpdateCaHandlerFunc) Handle ¶
func (fn UpdateCaHandlerFunc) Handle(params UpdateCaParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateCaNotFound ¶
type UpdateCaNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateCaNotFound The requested resource does not exist
swagger:response updateCaNotFound
func NewUpdateCaNotFound ¶
func NewUpdateCaNotFound() *UpdateCaNotFound
NewUpdateCaNotFound creates UpdateCaNotFound with default headers values
func (*UpdateCaNotFound) SetPayload ¶
func (o *UpdateCaNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update ca not found response
func (*UpdateCaNotFound) WithPayload ¶
func (o *UpdateCaNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateCaNotFound
WithPayload adds the payload to the update ca not found response
func (*UpdateCaNotFound) WriteResponse ¶
func (o *UpdateCaNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateCaOK ¶
type UpdateCaOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
UpdateCaOK The update request was successful and the resource has been altered
swagger:response updateCaOK
func NewUpdateCaOK ¶
func NewUpdateCaOK() *UpdateCaOK
NewUpdateCaOK creates UpdateCaOK with default headers values
func (*UpdateCaOK) SetPayload ¶
func (o *UpdateCaOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the update ca o k response
func (*UpdateCaOK) WithPayload ¶
func (o *UpdateCaOK) WithPayload(payload *rest_model.Empty) *UpdateCaOK
WithPayload adds the payload to the update ca o k response
func (*UpdateCaOK) WriteResponse ¶
func (o *UpdateCaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateCaParams ¶
type UpdateCaParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A CA update object Required: true In: body */ Ca *rest_model.CaUpdate /*The id of the requested resource Required: true In: path */ ID string }
UpdateCaParams contains all the bound params for the update ca operation typically these are obtained from a http.Request
swagger:parameters updateCa
func NewUpdateCaParams ¶
func NewUpdateCaParams() UpdateCaParams
NewUpdateCaParams creates a new UpdateCaParams object
There are no default values defined in the spec.
func (*UpdateCaParams) BindRequest ¶
func (o *UpdateCaParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateCaParams() beforehand.
type UpdateCaTooManyRequests ¶ added in v0.26.0
type UpdateCaTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateCaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response updateCaTooManyRequests
func NewUpdateCaTooManyRequests ¶ added in v0.26.0
func NewUpdateCaTooManyRequests() *UpdateCaTooManyRequests
NewUpdateCaTooManyRequests creates UpdateCaTooManyRequests with default headers values
func (*UpdateCaTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *UpdateCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update ca too many requests response
func (*UpdateCaTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *UpdateCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateCaTooManyRequests
WithPayload adds the payload to the update ca too many requests response
func (*UpdateCaTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *UpdateCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateCaURL ¶
type UpdateCaURL struct { ID string // contains filtered or unexported fields }
UpdateCaURL generates an URL for the update ca operation
func (*UpdateCaURL) Build ¶
func (o *UpdateCaURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateCaURL) BuildFull ¶
func (o *UpdateCaURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateCaURL) SetBasePath ¶
func (o *UpdateCaURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateCaURL) String ¶
func (o *UpdateCaURL) String() string
String returns the string representation of the path with query string
func (*UpdateCaURL) StringFull ¶
func (o *UpdateCaURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateCaURL) WithBasePath ¶
func (o *UpdateCaURL) WithBasePath(bp string) *UpdateCaURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateCaUnauthorized ¶
type UpdateCaUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
UpdateCaUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response updateCaUnauthorized
func NewUpdateCaUnauthorized ¶
func NewUpdateCaUnauthorized() *UpdateCaUnauthorized
NewUpdateCaUnauthorized creates UpdateCaUnauthorized with default headers values
func (*UpdateCaUnauthorized) SetPayload ¶
func (o *UpdateCaUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update ca unauthorized response
func (*UpdateCaUnauthorized) WithPayload ¶
func (o *UpdateCaUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateCaUnauthorized
WithPayload adds the payload to the update ca unauthorized response
func (*UpdateCaUnauthorized) WriteResponse ¶
func (o *UpdateCaUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyCa ¶
type VerifyCa struct { Context *middleware.Context Handler VerifyCaHandler }
VerifyCa swagger:route POST /cas/{id}/verify Certificate Authority verifyCa
Verify a CA ¶
Allows a CA to become verified by submitting a certificate in PEM format that has been signed by the target CA. The common name on the certificate must match the verificationToken property of the CA. Unverfieid CAs can not be used for enrollment/authentication. Requires admin access.
func NewVerifyCa ¶
func NewVerifyCa(ctx *middleware.Context, handler VerifyCaHandler) *VerifyCa
NewVerifyCa creates a new http.Handler for the verify ca operation
type VerifyCaBadRequest ¶
type VerifyCaBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
VerifyCaBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response verifyCaBadRequest
func NewVerifyCaBadRequest ¶
func NewVerifyCaBadRequest() *VerifyCaBadRequest
NewVerifyCaBadRequest creates VerifyCaBadRequest with default headers values
func (*VerifyCaBadRequest) SetPayload ¶
func (o *VerifyCaBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the verify ca bad request response
func (*VerifyCaBadRequest) WithPayload ¶
func (o *VerifyCaBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *VerifyCaBadRequest
WithPayload adds the payload to the verify ca bad request response
func (*VerifyCaBadRequest) WriteResponse ¶
func (o *VerifyCaBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyCaHandler ¶
type VerifyCaHandler interface {
Handle(VerifyCaParams, interface{}) middleware.Responder
}
VerifyCaHandler interface for that can handle valid verify ca params
type VerifyCaHandlerFunc ¶
type VerifyCaHandlerFunc func(VerifyCaParams, interface{}) middleware.Responder
VerifyCaHandlerFunc turns a function with the right signature into a verify ca handler
func (VerifyCaHandlerFunc) Handle ¶
func (fn VerifyCaHandlerFunc) Handle(params VerifyCaParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type VerifyCaNotFound ¶
type VerifyCaNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
VerifyCaNotFound The requested resource does not exist
swagger:response verifyCaNotFound
func NewVerifyCaNotFound ¶
func NewVerifyCaNotFound() *VerifyCaNotFound
NewVerifyCaNotFound creates VerifyCaNotFound with default headers values
func (*VerifyCaNotFound) SetPayload ¶
func (o *VerifyCaNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the verify ca not found response
func (*VerifyCaNotFound) WithPayload ¶
func (o *VerifyCaNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *VerifyCaNotFound
WithPayload adds the payload to the verify ca not found response
func (*VerifyCaNotFound) WriteResponse ¶
func (o *VerifyCaNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyCaOK ¶
type VerifyCaOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
VerifyCaOK Base empty response
swagger:response verifyCaOK
func NewVerifyCaOK ¶
func NewVerifyCaOK() *VerifyCaOK
NewVerifyCaOK creates VerifyCaOK with default headers values
func (*VerifyCaOK) SetPayload ¶
func (o *VerifyCaOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the verify ca o k response
func (*VerifyCaOK) WithPayload ¶
func (o *VerifyCaOK) WithPayload(payload *rest_model.Empty) *VerifyCaOK
WithPayload adds the payload to the verify ca o k response
func (*VerifyCaOK) WriteResponse ¶
func (o *VerifyCaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyCaParams ¶
type VerifyCaParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A PEM formatted certificate signed by the target CA with the common name matching the CA's validationToken Required: true In: body */ Certificate string /*The id of the requested resource Required: true In: path */ ID string }
VerifyCaParams contains all the bound params for the verify ca operation typically these are obtained from a http.Request
swagger:parameters verifyCa
func NewVerifyCaParams ¶
func NewVerifyCaParams() VerifyCaParams
NewVerifyCaParams creates a new VerifyCaParams object
There are no default values defined in the spec.
func (*VerifyCaParams) BindRequest ¶
func (o *VerifyCaParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewVerifyCaParams() beforehand.
type VerifyCaTooManyRequests ¶ added in v0.26.0
type VerifyCaTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
VerifyCaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response verifyCaTooManyRequests
func NewVerifyCaTooManyRequests ¶ added in v0.26.0
func NewVerifyCaTooManyRequests() *VerifyCaTooManyRequests
NewVerifyCaTooManyRequests creates VerifyCaTooManyRequests with default headers values
func (*VerifyCaTooManyRequests) SetPayload ¶ added in v0.26.0
func (o *VerifyCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the verify ca too many requests response
func (*VerifyCaTooManyRequests) WithPayload ¶ added in v0.26.0
func (o *VerifyCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *VerifyCaTooManyRequests
WithPayload adds the payload to the verify ca too many requests response
func (*VerifyCaTooManyRequests) WriteResponse ¶ added in v0.26.0
func (o *VerifyCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type VerifyCaURL ¶
type VerifyCaURL struct { ID string // contains filtered or unexported fields }
VerifyCaURL generates an URL for the verify ca operation
func (*VerifyCaURL) Build ¶
func (o *VerifyCaURL) Build() (*url.URL, error)
Build a url path and query string
func (*VerifyCaURL) BuildFull ¶
func (o *VerifyCaURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*VerifyCaURL) SetBasePath ¶
func (o *VerifyCaURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*VerifyCaURL) String ¶
func (o *VerifyCaURL) String() string
String returns the string representation of the path with query string
func (*VerifyCaURL) StringFull ¶
func (o *VerifyCaURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*VerifyCaURL) WithBasePath ¶
func (o *VerifyCaURL) WithBasePath(bp string) *VerifyCaURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type VerifyCaUnauthorized ¶
type VerifyCaUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
VerifyCaUnauthorized The supplied session does not have the correct access rights to request this resource
swagger:response verifyCaUnauthorized
func NewVerifyCaUnauthorized ¶
func NewVerifyCaUnauthorized() *VerifyCaUnauthorized
NewVerifyCaUnauthorized creates VerifyCaUnauthorized with default headers values
func (*VerifyCaUnauthorized) SetPayload ¶
func (o *VerifyCaUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the verify ca unauthorized response
func (*VerifyCaUnauthorized) WithPayload ¶
func (o *VerifyCaUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *VerifyCaUnauthorized
WithPayload adds the payload to the verify ca unauthorized response
func (*VerifyCaUnauthorized) WriteResponse ¶
func (o *VerifyCaUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_ca.go
- create_ca_parameters.go
- create_ca_responses.go
- create_ca_urlbuilder.go
- delete_ca.go
- delete_ca_parameters.go
- delete_ca_responses.go
- delete_ca_urlbuilder.go
- detail_ca.go
- detail_ca_parameters.go
- detail_ca_responses.go
- detail_ca_urlbuilder.go
- get_ca_jwt.go
- get_ca_jwt_parameters.go
- get_ca_jwt_responses.go
- get_ca_jwt_urlbuilder.go
- list_cas.go
- list_cas_parameters.go
- list_cas_responses.go
- list_cas_urlbuilder.go
- patch_ca.go
- patch_ca_parameters.go
- patch_ca_responses.go
- patch_ca_urlbuilder.go
- update_ca.go
- update_ca_parameters.go
- update_ca_responses.go
- update_ca_urlbuilder.go
- verify_ca.go
- verify_ca_parameters.go
- verify_ca_responses.go
- verify_ca_urlbuilder.go