Documentation ¶
Index ¶
- Constants
- type AddSecret
- type AddSecretBadRequest
- type AddSecretConflict
- type AddSecretCreated
- type AddSecretDefault
- func (o *AddSecretDefault) SetPayload(payload *v1.Error)
- func (o *AddSecretDefault) SetStatusCode(code int)
- func (o *AddSecretDefault) WithPayload(payload *v1.Error) *AddSecretDefault
- func (o *AddSecretDefault) WithStatusCode(code int) *AddSecretDefault
- func (o *AddSecretDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddSecretHandler
- type AddSecretHandlerFunc
- type AddSecretParams
- type AddSecretURL
- func (o *AddSecretURL) Build() (*url.URL, error)
- func (o *AddSecretURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddSecretURL) Must(u *url.URL, err error) *url.URL
- func (o *AddSecretURL) SetBasePath(bp string)
- func (o *AddSecretURL) String() string
- func (o *AddSecretURL) StringFull(scheme, host string) string
- func (o *AddSecretURL) WithBasePath(bp string) *AddSecretURL
- type DeleteSecret
- type DeleteSecretBadRequest
- type DeleteSecretDefault
- func (o *DeleteSecretDefault) SetPayload(payload *v1.Error)
- func (o *DeleteSecretDefault) SetStatusCode(code int)
- func (o *DeleteSecretDefault) WithPayload(payload *v1.Error) *DeleteSecretDefault
- func (o *DeleteSecretDefault) WithStatusCode(code int) *DeleteSecretDefault
- func (o *DeleteSecretDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteSecretHandler
- type DeleteSecretHandlerFunc
- type DeleteSecretNoContent
- type DeleteSecretNotFound
- type DeleteSecretParams
- type DeleteSecretURL
- func (o *DeleteSecretURL) Build() (*url.URL, error)
- func (o *DeleteSecretURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteSecretURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteSecretURL) SetBasePath(bp string)
- func (o *DeleteSecretURL) String() string
- func (o *DeleteSecretURL) StringFull(scheme, host string) string
- func (o *DeleteSecretURL) WithBasePath(bp string) *DeleteSecretURL
- type GetSecret
- type GetSecretBadRequest
- type GetSecretDefault
- func (o *GetSecretDefault) SetPayload(payload *v1.Error)
- func (o *GetSecretDefault) SetStatusCode(code int)
- func (o *GetSecretDefault) WithPayload(payload *v1.Error) *GetSecretDefault
- func (o *GetSecretDefault) WithStatusCode(code int) *GetSecretDefault
- func (o *GetSecretDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSecretHandler
- type GetSecretHandlerFunc
- type GetSecretNotFound
- type GetSecretOK
- type GetSecretParams
- type GetSecretURL
- func (o *GetSecretURL) Build() (*url.URL, error)
- func (o *GetSecretURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetSecretURL) Must(u *url.URL, err error) *url.URL
- func (o *GetSecretURL) SetBasePath(bp string)
- func (o *GetSecretURL) String() string
- func (o *GetSecretURL) StringFull(scheme, host string) string
- func (o *GetSecretURL) WithBasePath(bp string) *GetSecretURL
- type GetSecrets
- type GetSecretsBadRequest
- type GetSecretsDefault
- func (o *GetSecretsDefault) SetPayload(payload *v1.Error)
- func (o *GetSecretsDefault) SetStatusCode(code int)
- func (o *GetSecretsDefault) WithPayload(payload *v1.Error) *GetSecretsDefault
- func (o *GetSecretsDefault) WithStatusCode(code int) *GetSecretsDefault
- func (o *GetSecretsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSecretsHandler
- type GetSecretsHandlerFunc
- type GetSecretsOK
- type GetSecretsParams
- type GetSecretsURL
- func (o *GetSecretsURL) Build() (*url.URL, error)
- func (o *GetSecretsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetSecretsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetSecretsURL) SetBasePath(bp string)
- func (o *GetSecretsURL) String() string
- func (o *GetSecretsURL) StringFull(scheme, host string) string
- func (o *GetSecretsURL) WithBasePath(bp string) *GetSecretsURL
- type UpdateSecret
- type UpdateSecretBadRequest
- type UpdateSecretCreated
- type UpdateSecretDefault
- func (o *UpdateSecretDefault) SetPayload(payload *v1.Error)
- func (o *UpdateSecretDefault) SetStatusCode(code int)
- func (o *UpdateSecretDefault) WithPayload(payload *v1.Error) *UpdateSecretDefault
- func (o *UpdateSecretDefault) WithStatusCode(code int) *UpdateSecretDefault
- func (o *UpdateSecretDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateSecretHandler
- type UpdateSecretHandlerFunc
- type UpdateSecretNotFound
- type UpdateSecretParams
- type UpdateSecretURL
- func (o *UpdateSecretURL) Build() (*url.URL, error)
- func (o *UpdateSecretURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateSecretURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateSecretURL) SetBasePath(bp string)
- func (o *UpdateSecretURL) String() string
- func (o *UpdateSecretURL) StringFull(scheme, host string) string
- func (o *UpdateSecretURL) WithBasePath(bp string) *UpdateSecretURL
Constants ¶
const AddSecretBadRequestCode int = 400
AddSecretBadRequestCode is the HTTP code returned for type AddSecretBadRequest
const AddSecretConflictCode int = 409
AddSecretConflictCode is the HTTP code returned for type AddSecretConflict
const AddSecretCreatedCode int = 201
AddSecretCreatedCode is the HTTP code returned for type AddSecretCreated
const DeleteSecretBadRequestCode int = 400
DeleteSecretBadRequestCode is the HTTP code returned for type DeleteSecretBadRequest
const DeleteSecretNoContentCode int = 204
DeleteSecretNoContentCode is the HTTP code returned for type DeleteSecretNoContent
const DeleteSecretNotFoundCode int = 404
DeleteSecretNotFoundCode is the HTTP code returned for type DeleteSecretNotFound
const GetSecretBadRequestCode int = 400
GetSecretBadRequestCode is the HTTP code returned for type GetSecretBadRequest
const GetSecretNotFoundCode int = 404
GetSecretNotFoundCode is the HTTP code returned for type GetSecretNotFound
const GetSecretOKCode int = 200
GetSecretOKCode is the HTTP code returned for type GetSecretOK
const GetSecretsBadRequestCode int = 400
GetSecretsBadRequestCode is the HTTP code returned for type GetSecretsBadRequest
const GetSecretsOKCode int = 200
GetSecretsOKCode is the HTTP code returned for type GetSecretsOK
const UpdateSecretBadRequestCode int = 400
UpdateSecretBadRequestCode is the HTTP code returned for type UpdateSecretBadRequest
const UpdateSecretCreatedCode int = 201
UpdateSecretCreatedCode is the HTTP code returned for type UpdateSecretCreated
const UpdateSecretNotFoundCode int = 404
UpdateSecretNotFoundCode is the HTTP code returned for type UpdateSecretNotFound
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddSecret ¶
type AddSecret struct { Context *middleware.Context Handler AddSecretHandler }
AddSecret swagger:route POST / secret addSecret
AddSecret add secret API
func NewAddSecret ¶
func NewAddSecret(ctx *middleware.Context, handler AddSecretHandler) *AddSecret
NewAddSecret creates a new http.Handler for the add secret operation
type AddSecretBadRequest ¶ added in v0.1.13
AddSecretBadRequest Bad Request
swagger:response addSecretBadRequest
func NewAddSecretBadRequest ¶ added in v0.1.13
func NewAddSecretBadRequest() *AddSecretBadRequest
NewAddSecretBadRequest creates AddSecretBadRequest with default headers values
func (*AddSecretBadRequest) SetPayload ¶ added in v0.1.13
func (o *AddSecretBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the add secret bad request response
func (*AddSecretBadRequest) WithPayload ¶ added in v0.1.13
func (o *AddSecretBadRequest) WithPayload(payload *v1.Error) *AddSecretBadRequest
WithPayload adds the payload to the add secret bad request response
func (*AddSecretBadRequest) WriteResponse ¶ added in v0.1.13
func (o *AddSecretBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddSecretConflict ¶ added in v0.1.13
AddSecretConflict Already Exists
swagger:response addSecretConflict
func NewAddSecretConflict ¶ added in v0.1.13
func NewAddSecretConflict() *AddSecretConflict
NewAddSecretConflict creates AddSecretConflict with default headers values
func (*AddSecretConflict) SetPayload ¶ added in v0.1.13
func (o *AddSecretConflict) SetPayload(payload *v1.Error)
SetPayload sets the payload to the add secret conflict response
func (*AddSecretConflict) WithPayload ¶ added in v0.1.13
func (o *AddSecretConflict) WithPayload(payload *v1.Error) *AddSecretConflict
WithPayload adds the payload to the add secret conflict response
func (*AddSecretConflict) WriteResponse ¶ added in v0.1.13
func (o *AddSecretConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddSecretCreated ¶
AddSecretCreated The created secret.
swagger:response addSecretCreated
func NewAddSecretCreated ¶
func NewAddSecretCreated() *AddSecretCreated
NewAddSecretCreated creates AddSecretCreated with default headers values
func (*AddSecretCreated) SetPayload ¶
func (o *AddSecretCreated) SetPayload(payload *v1.Secret)
SetPayload sets the payload to the add secret created response
func (*AddSecretCreated) WithPayload ¶
func (o *AddSecretCreated) WithPayload(payload *v1.Secret) *AddSecretCreated
WithPayload adds the payload to the add secret created response
func (*AddSecretCreated) WriteResponse ¶
func (o *AddSecretCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddSecretDefault ¶
type AddSecretDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
AddSecretDefault Standard error
swagger:response addSecretDefault
func NewAddSecretDefault ¶
func NewAddSecretDefault(code int) *AddSecretDefault
NewAddSecretDefault creates AddSecretDefault with default headers values
func (*AddSecretDefault) SetPayload ¶
func (o *AddSecretDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the add secret default response
func (*AddSecretDefault) SetStatusCode ¶
func (o *AddSecretDefault) SetStatusCode(code int)
SetStatusCode sets the status to the add secret default response
func (*AddSecretDefault) WithPayload ¶
func (o *AddSecretDefault) WithPayload(payload *v1.Error) *AddSecretDefault
WithPayload adds the payload to the add secret default response
func (*AddSecretDefault) WithStatusCode ¶
func (o *AddSecretDefault) WithStatusCode(code int) *AddSecretDefault
WithStatusCode adds the status to the add secret default response
func (*AddSecretDefault) WriteResponse ¶
func (o *AddSecretDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddSecretHandler ¶
type AddSecretHandler interface {
Handle(AddSecretParams, interface{}) middleware.Responder
}
AddSecretHandler interface for that can handle valid add secret params
type AddSecretHandlerFunc ¶
type AddSecretHandlerFunc func(AddSecretParams, interface{}) middleware.Responder
AddSecretHandlerFunc turns a function with the right signature into a add secret handler
func (AddSecretHandlerFunc) Handle ¶
func (fn AddSecretHandlerFunc) Handle(params AddSecretParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type AddSecretParams ¶
type AddSecretParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Secret *v1.Secret }
AddSecretParams contains all the bound params for the add secret operation typically these are obtained from a http.Request
swagger:parameters addSecret
func NewAddSecretParams ¶
func NewAddSecretParams() AddSecretParams
NewAddSecretParams creates a new AddSecretParams object no default values defined in spec.
func (*AddSecretParams) BindRequest ¶
func (o *AddSecretParams) 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 NewAddSecretParams() beforehand.
type AddSecretURL ¶
type AddSecretURL struct {
// contains filtered or unexported fields
}
AddSecretURL generates an URL for the add secret operation
func (*AddSecretURL) Build ¶
func (o *AddSecretURL) Build() (*url.URL, error)
Build a url path and query string
func (*AddSecretURL) BuildFull ¶
func (o *AddSecretURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*AddSecretURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*AddSecretURL) SetBasePath ¶
func (o *AddSecretURL) 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 (*AddSecretURL) String ¶
func (o *AddSecretURL) String() string
String returns the string representation of the path with query string
func (*AddSecretURL) StringFull ¶
func (o *AddSecretURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*AddSecretURL) WithBasePath ¶
func (o *AddSecretURL) WithBasePath(bp string) *AddSecretURL
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 DeleteSecret ¶
type DeleteSecret struct { Context *middleware.Context Handler DeleteSecretHandler }
DeleteSecret swagger:route DELETE /{secretName} secret deleteSecret
DeleteSecret delete secret API
func NewDeleteSecret ¶
func NewDeleteSecret(ctx *middleware.Context, handler DeleteSecretHandler) *DeleteSecret
NewDeleteSecret creates a new http.Handler for the delete secret operation
func (*DeleteSecret) ServeHTTP ¶
func (o *DeleteSecret) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteSecretBadRequest ¶ added in v0.1.13
DeleteSecretBadRequest Bad Request
swagger:response deleteSecretBadRequest
func NewDeleteSecretBadRequest ¶ added in v0.1.13
func NewDeleteSecretBadRequest() *DeleteSecretBadRequest
NewDeleteSecretBadRequest creates DeleteSecretBadRequest with default headers values
func (*DeleteSecretBadRequest) SetPayload ¶ added in v0.1.13
func (o *DeleteSecretBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the delete secret bad request response
func (*DeleteSecretBadRequest) WithPayload ¶ added in v0.1.13
func (o *DeleteSecretBadRequest) WithPayload(payload *v1.Error) *DeleteSecretBadRequest
WithPayload adds the payload to the delete secret bad request response
func (*DeleteSecretBadRequest) WriteResponse ¶ added in v0.1.13
func (o *DeleteSecretBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSecretDefault ¶
type DeleteSecretDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteSecretDefault generic error
swagger:response deleteSecretDefault
func NewDeleteSecretDefault ¶
func NewDeleteSecretDefault(code int) *DeleteSecretDefault
NewDeleteSecretDefault creates DeleteSecretDefault with default headers values
func (*DeleteSecretDefault) SetPayload ¶
func (o *DeleteSecretDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the delete secret default response
func (*DeleteSecretDefault) SetStatusCode ¶
func (o *DeleteSecretDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete secret default response
func (*DeleteSecretDefault) WithPayload ¶
func (o *DeleteSecretDefault) WithPayload(payload *v1.Error) *DeleteSecretDefault
WithPayload adds the payload to the delete secret default response
func (*DeleteSecretDefault) WithStatusCode ¶
func (o *DeleteSecretDefault) WithStatusCode(code int) *DeleteSecretDefault
WithStatusCode adds the status to the delete secret default response
func (*DeleteSecretDefault) WriteResponse ¶
func (o *DeleteSecretDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSecretHandler ¶
type DeleteSecretHandler interface {
Handle(DeleteSecretParams, interface{}) middleware.Responder
}
DeleteSecretHandler interface for that can handle valid delete secret params
type DeleteSecretHandlerFunc ¶
type DeleteSecretHandlerFunc func(DeleteSecretParams, interface{}) middleware.Responder
DeleteSecretHandlerFunc turns a function with the right signature into a delete secret handler
func (DeleteSecretHandlerFunc) Handle ¶
func (fn DeleteSecretHandlerFunc) Handle(params DeleteSecretParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteSecretNoContent ¶
type DeleteSecretNoContent struct { }
DeleteSecretNoContent Successful deletion
swagger:response deleteSecretNoContent
func NewDeleteSecretNoContent ¶
func NewDeleteSecretNoContent() *DeleteSecretNoContent
NewDeleteSecretNoContent creates DeleteSecretNoContent with default headers values
func (*DeleteSecretNoContent) WriteResponse ¶
func (o *DeleteSecretNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSecretNotFound ¶
DeleteSecretNotFound Resource Not Found if no secret exists with the given name
swagger:response deleteSecretNotFound
func NewDeleteSecretNotFound ¶
func NewDeleteSecretNotFound() *DeleteSecretNotFound
NewDeleteSecretNotFound creates DeleteSecretNotFound with default headers values
func (*DeleteSecretNotFound) SetPayload ¶
func (o *DeleteSecretNotFound) SetPayload(payload *v1.Error)
SetPayload sets the payload to the delete secret not found response
func (*DeleteSecretNotFound) WithPayload ¶
func (o *DeleteSecretNotFound) WithPayload(payload *v1.Error) *DeleteSecretNotFound
WithPayload adds the payload to the delete secret not found response
func (*DeleteSecretNotFound) WriteResponse ¶
func (o *DeleteSecretNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteSecretParams ¶
type DeleteSecretParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true Pattern: ^[\w\d\-]+$ In: path */ SecretName string /*Filter based on tags In: query Collection Format: multi */ Tags []string }
DeleteSecretParams contains all the bound params for the delete secret operation typically these are obtained from a http.Request
swagger:parameters deleteSecret
func NewDeleteSecretParams ¶
func NewDeleteSecretParams() DeleteSecretParams
NewDeleteSecretParams creates a new DeleteSecretParams object no default values defined in spec.
func (*DeleteSecretParams) BindRequest ¶
func (o *DeleteSecretParams) 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 NewDeleteSecretParams() beforehand.
type DeleteSecretURL ¶
type DeleteSecretURL struct { SecretName string Tags []string // contains filtered or unexported fields }
DeleteSecretURL generates an URL for the delete secret operation
func (*DeleteSecretURL) Build ¶
func (o *DeleteSecretURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteSecretURL) BuildFull ¶
func (o *DeleteSecretURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteSecretURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteSecretURL) SetBasePath ¶
func (o *DeleteSecretURL) 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 (*DeleteSecretURL) String ¶
func (o *DeleteSecretURL) String() string
String returns the string representation of the path with query string
func (*DeleteSecretURL) StringFull ¶
func (o *DeleteSecretURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteSecretURL) WithBasePath ¶
func (o *DeleteSecretURL) WithBasePath(bp string) *DeleteSecretURL
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 GetSecret ¶
type GetSecret struct { Context *middleware.Context Handler GetSecretHandler }
GetSecret swagger:route GET /{secretName} secret getSecret
GetSecret get secret API
func NewGetSecret ¶
func NewGetSecret(ctx *middleware.Context, handler GetSecretHandler) *GetSecret
NewGetSecret creates a new http.Handler for the get secret operation
type GetSecretBadRequest ¶ added in v0.1.13
GetSecretBadRequest Bad Request
swagger:response getSecretBadRequest
func NewGetSecretBadRequest ¶ added in v0.1.13
func NewGetSecretBadRequest() *GetSecretBadRequest
NewGetSecretBadRequest creates GetSecretBadRequest with default headers values
func (*GetSecretBadRequest) SetPayload ¶ added in v0.1.13
func (o *GetSecretBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get secret bad request response
func (*GetSecretBadRequest) WithPayload ¶ added in v0.1.13
func (o *GetSecretBadRequest) WithPayload(payload *v1.Error) *GetSecretBadRequest
WithPayload adds the payload to the get secret bad request response
func (*GetSecretBadRequest) WriteResponse ¶ added in v0.1.13
func (o *GetSecretBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSecretDefault ¶
type GetSecretDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetSecretDefault Standard error
swagger:response getSecretDefault
func NewGetSecretDefault ¶
func NewGetSecretDefault(code int) *GetSecretDefault
NewGetSecretDefault creates GetSecretDefault with default headers values
func (*GetSecretDefault) SetPayload ¶
func (o *GetSecretDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get secret default response
func (*GetSecretDefault) SetStatusCode ¶
func (o *GetSecretDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get secret default response
func (*GetSecretDefault) WithPayload ¶
func (o *GetSecretDefault) WithPayload(payload *v1.Error) *GetSecretDefault
WithPayload adds the payload to the get secret default response
func (*GetSecretDefault) WithStatusCode ¶
func (o *GetSecretDefault) WithStatusCode(code int) *GetSecretDefault
WithStatusCode adds the status to the get secret default response
func (*GetSecretDefault) WriteResponse ¶
func (o *GetSecretDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSecretHandler ¶
type GetSecretHandler interface {
Handle(GetSecretParams, interface{}) middleware.Responder
}
GetSecretHandler interface for that can handle valid get secret params
type GetSecretHandlerFunc ¶
type GetSecretHandlerFunc func(GetSecretParams, interface{}) middleware.Responder
GetSecretHandlerFunc turns a function with the right signature into a get secret handler
func (GetSecretHandlerFunc) Handle ¶
func (fn GetSecretHandlerFunc) Handle(params GetSecretParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetSecretNotFound ¶
GetSecretNotFound Resource Not Found if no secret exists with the given name
swagger:response getSecretNotFound
func NewGetSecretNotFound ¶
func NewGetSecretNotFound() *GetSecretNotFound
NewGetSecretNotFound creates GetSecretNotFound with default headers values
func (*GetSecretNotFound) SetPayload ¶
func (o *GetSecretNotFound) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get secret not found response
func (*GetSecretNotFound) WithPayload ¶
func (o *GetSecretNotFound) WithPayload(payload *v1.Error) *GetSecretNotFound
WithPayload adds the payload to the get secret not found response
func (*GetSecretNotFound) WriteResponse ¶
func (o *GetSecretNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSecretOK ¶
GetSecretOK The secret identified by the secretName
swagger:response getSecretOK
func NewGetSecretOK ¶
func NewGetSecretOK() *GetSecretOK
NewGetSecretOK creates GetSecretOK with default headers values
func (*GetSecretOK) SetPayload ¶
func (o *GetSecretOK) SetPayload(payload *v1.Secret)
SetPayload sets the payload to the get secret o k response
func (*GetSecretOK) WithPayload ¶
func (o *GetSecretOK) WithPayload(payload *v1.Secret) *GetSecretOK
WithPayload adds the payload to the get secret o k response
func (*GetSecretOK) WriteResponse ¶
func (o *GetSecretOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSecretParams ¶
type GetSecretParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*name of the secret to operate on Required: true Pattern: ^[\w\d\-]+$ In: path */ SecretName string /*Filter based on tags In: query Collection Format: multi */ Tags []string }
GetSecretParams contains all the bound params for the get secret operation typically these are obtained from a http.Request
swagger:parameters getSecret
func NewGetSecretParams ¶
func NewGetSecretParams() GetSecretParams
NewGetSecretParams creates a new GetSecretParams object no default values defined in spec.
func (*GetSecretParams) BindRequest ¶
func (o *GetSecretParams) 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 NewGetSecretParams() beforehand.
type GetSecretURL ¶
type GetSecretURL struct { SecretName string Tags []string // contains filtered or unexported fields }
GetSecretURL generates an URL for the get secret operation
func (*GetSecretURL) Build ¶
func (o *GetSecretURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetSecretURL) BuildFull ¶
func (o *GetSecretURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetSecretURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetSecretURL) SetBasePath ¶
func (o *GetSecretURL) 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 (*GetSecretURL) String ¶
func (o *GetSecretURL) String() string
String returns the string representation of the path with query string
func (*GetSecretURL) StringFull ¶
func (o *GetSecretURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetSecretURL) WithBasePath ¶
func (o *GetSecretURL) WithBasePath(bp string) *GetSecretURL
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 GetSecrets ¶
type GetSecrets struct { Context *middleware.Context Handler GetSecretsHandler }
GetSecrets swagger:route GET / secret getSecrets
GetSecrets get secrets API
func NewGetSecrets ¶
func NewGetSecrets(ctx *middleware.Context, handler GetSecretsHandler) *GetSecrets
NewGetSecrets creates a new http.Handler for the get secrets operation
func (*GetSecrets) ServeHTTP ¶
func (o *GetSecrets) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetSecretsBadRequest ¶ added in v0.1.13
GetSecretsBadRequest Bad Request
swagger:response getSecretsBadRequest
func NewGetSecretsBadRequest ¶ added in v0.1.13
func NewGetSecretsBadRequest() *GetSecretsBadRequest
NewGetSecretsBadRequest creates GetSecretsBadRequest with default headers values
func (*GetSecretsBadRequest) SetPayload ¶ added in v0.1.13
func (o *GetSecretsBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get secrets bad request response
func (*GetSecretsBadRequest) WithPayload ¶ added in v0.1.13
func (o *GetSecretsBadRequest) WithPayload(payload *v1.Error) *GetSecretsBadRequest
WithPayload adds the payload to the get secrets bad request response
func (*GetSecretsBadRequest) WriteResponse ¶ added in v0.1.13
func (o *GetSecretsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSecretsDefault ¶
type GetSecretsDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetSecretsDefault Standard error
swagger:response getSecretsDefault
func NewGetSecretsDefault ¶
func NewGetSecretsDefault(code int) *GetSecretsDefault
NewGetSecretsDefault creates GetSecretsDefault with default headers values
func (*GetSecretsDefault) SetPayload ¶
func (o *GetSecretsDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get secrets default response
func (*GetSecretsDefault) SetStatusCode ¶
func (o *GetSecretsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get secrets default response
func (*GetSecretsDefault) WithPayload ¶
func (o *GetSecretsDefault) WithPayload(payload *v1.Error) *GetSecretsDefault
WithPayload adds the payload to the get secrets default response
func (*GetSecretsDefault) WithStatusCode ¶
func (o *GetSecretsDefault) WithStatusCode(code int) *GetSecretsDefault
WithStatusCode adds the status to the get secrets default response
func (*GetSecretsDefault) WriteResponse ¶
func (o *GetSecretsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSecretsHandler ¶
type GetSecretsHandler interface {
Handle(GetSecretsParams, interface{}) middleware.Responder
}
GetSecretsHandler interface for that can handle valid get secrets params
type GetSecretsHandlerFunc ¶
type GetSecretsHandlerFunc func(GetSecretsParams, interface{}) middleware.Responder
GetSecretsHandlerFunc turns a function with the right signature into a get secrets handler
func (GetSecretsHandlerFunc) Handle ¶
func (fn GetSecretsHandlerFunc) Handle(params GetSecretsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetSecretsOK ¶
GetSecretsOK An array of registered secrets
swagger:response getSecretsOK
func NewGetSecretsOK ¶
func NewGetSecretsOK() *GetSecretsOK
NewGetSecretsOK creates GetSecretsOK with default headers values
func (*GetSecretsOK) SetPayload ¶
func (o *GetSecretsOK) SetPayload(payload []*v1.Secret)
SetPayload sets the payload to the get secrets o k response
func (*GetSecretsOK) WithPayload ¶
func (o *GetSecretsOK) WithPayload(payload []*v1.Secret) *GetSecretsOK
WithPayload adds the payload to the get secrets o k response
func (*GetSecretsOK) WriteResponse ¶
func (o *GetSecretsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSecretsParams ¶
type GetSecretsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Filter based on tags In: query Collection Format: multi */ Tags []string }
GetSecretsParams contains all the bound params for the get secrets operation typically these are obtained from a http.Request
swagger:parameters getSecrets
func NewGetSecretsParams ¶
func NewGetSecretsParams() GetSecretsParams
NewGetSecretsParams creates a new GetSecretsParams object no default values defined in spec.
func (*GetSecretsParams) BindRequest ¶
func (o *GetSecretsParams) 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 NewGetSecretsParams() beforehand.
type GetSecretsURL ¶
type GetSecretsURL struct { Tags []string // contains filtered or unexported fields }
GetSecretsURL generates an URL for the get secrets operation
func (*GetSecretsURL) Build ¶
func (o *GetSecretsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetSecretsURL) BuildFull ¶
func (o *GetSecretsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetSecretsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetSecretsURL) SetBasePath ¶
func (o *GetSecretsURL) 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 (*GetSecretsURL) String ¶
func (o *GetSecretsURL) String() string
String returns the string representation of the path with query string
func (*GetSecretsURL) StringFull ¶
func (o *GetSecretsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetSecretsURL) WithBasePath ¶
func (o *GetSecretsURL) WithBasePath(bp string) *GetSecretsURL
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 UpdateSecret ¶
type UpdateSecret struct { Context *middleware.Context Handler UpdateSecretHandler }
UpdateSecret swagger:route PUT /{secretName} secret updateSecret
UpdateSecret update secret API
func NewUpdateSecret ¶
func NewUpdateSecret(ctx *middleware.Context, handler UpdateSecretHandler) *UpdateSecret
NewUpdateSecret creates a new http.Handler for the update secret operation
func (*UpdateSecret) ServeHTTP ¶
func (o *UpdateSecret) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateSecretBadRequest ¶ added in v0.1.13
UpdateSecretBadRequest Bad Request
swagger:response updateSecretBadRequest
func NewUpdateSecretBadRequest ¶ added in v0.1.13
func NewUpdateSecretBadRequest() *UpdateSecretBadRequest
NewUpdateSecretBadRequest creates UpdateSecretBadRequest with default headers values
func (*UpdateSecretBadRequest) SetPayload ¶ added in v0.1.13
func (o *UpdateSecretBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the update secret bad request response
func (*UpdateSecretBadRequest) WithPayload ¶ added in v0.1.13
func (o *UpdateSecretBadRequest) WithPayload(payload *v1.Error) *UpdateSecretBadRequest
WithPayload adds the payload to the update secret bad request response
func (*UpdateSecretBadRequest) WriteResponse ¶ added in v0.1.13
func (o *UpdateSecretBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateSecretCreated ¶
UpdateSecretCreated The updated secret
swagger:response updateSecretCreated
func NewUpdateSecretCreated ¶
func NewUpdateSecretCreated() *UpdateSecretCreated
NewUpdateSecretCreated creates UpdateSecretCreated with default headers values
func (*UpdateSecretCreated) SetPayload ¶
func (o *UpdateSecretCreated) SetPayload(payload *v1.Secret)
SetPayload sets the payload to the update secret created response
func (*UpdateSecretCreated) WithPayload ¶
func (o *UpdateSecretCreated) WithPayload(payload *v1.Secret) *UpdateSecretCreated
WithPayload adds the payload to the update secret created response
func (*UpdateSecretCreated) WriteResponse ¶
func (o *UpdateSecretCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateSecretDefault ¶
type UpdateSecretDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UpdateSecretDefault generic error
swagger:response updateSecretDefault
func NewUpdateSecretDefault ¶
func NewUpdateSecretDefault(code int) *UpdateSecretDefault
NewUpdateSecretDefault creates UpdateSecretDefault with default headers values
func (*UpdateSecretDefault) SetPayload ¶
func (o *UpdateSecretDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the update secret default response
func (*UpdateSecretDefault) SetStatusCode ¶
func (o *UpdateSecretDefault) SetStatusCode(code int)
SetStatusCode sets the status to the update secret default response
func (*UpdateSecretDefault) WithPayload ¶
func (o *UpdateSecretDefault) WithPayload(payload *v1.Error) *UpdateSecretDefault
WithPayload adds the payload to the update secret default response
func (*UpdateSecretDefault) WithStatusCode ¶
func (o *UpdateSecretDefault) WithStatusCode(code int) *UpdateSecretDefault
WithStatusCode adds the status to the update secret default response
func (*UpdateSecretDefault) WriteResponse ¶
func (o *UpdateSecretDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateSecretHandler ¶
type UpdateSecretHandler interface {
Handle(UpdateSecretParams, interface{}) middleware.Responder
}
UpdateSecretHandler interface for that can handle valid update secret params
type UpdateSecretHandlerFunc ¶
type UpdateSecretHandlerFunc func(UpdateSecretParams, interface{}) middleware.Responder
UpdateSecretHandlerFunc turns a function with the right signature into a update secret handler
func (UpdateSecretHandlerFunc) Handle ¶
func (fn UpdateSecretHandlerFunc) Handle(params UpdateSecretParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateSecretNotFound ¶
UpdateSecretNotFound Resource Not Found if no secret exists with the given name
swagger:response updateSecretNotFound
func NewUpdateSecretNotFound ¶
func NewUpdateSecretNotFound() *UpdateSecretNotFound
NewUpdateSecretNotFound creates UpdateSecretNotFound with default headers values
func (*UpdateSecretNotFound) SetPayload ¶
func (o *UpdateSecretNotFound) SetPayload(payload *v1.Error)
SetPayload sets the payload to the update secret not found response
func (*UpdateSecretNotFound) WithPayload ¶
func (o *UpdateSecretNotFound) WithPayload(payload *v1.Error) *UpdateSecretNotFound
WithPayload adds the payload to the update secret not found response
func (*UpdateSecretNotFound) WriteResponse ¶
func (o *UpdateSecretNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateSecretParams ¶
type UpdateSecretParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: body */ Secret *v1.Secret /* Required: true Pattern: ^[\w\d\-]+$ In: path */ SecretName string /*Filter based on tags In: query Collection Format: multi */ Tags []string }
UpdateSecretParams contains all the bound params for the update secret operation typically these are obtained from a http.Request
swagger:parameters updateSecret
func NewUpdateSecretParams ¶
func NewUpdateSecretParams() UpdateSecretParams
NewUpdateSecretParams creates a new UpdateSecretParams object no default values defined in spec.
func (*UpdateSecretParams) BindRequest ¶
func (o *UpdateSecretParams) 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 NewUpdateSecretParams() beforehand.
type UpdateSecretURL ¶
type UpdateSecretURL struct { SecretName string Tags []string // contains filtered or unexported fields }
UpdateSecretURL generates an URL for the update secret operation
func (*UpdateSecretURL) Build ¶
func (o *UpdateSecretURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateSecretURL) BuildFull ¶
func (o *UpdateSecretURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateSecretURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateSecretURL) SetBasePath ¶
func (o *UpdateSecretURL) 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 (*UpdateSecretURL) String ¶
func (o *UpdateSecretURL) String() string
String returns the string representation of the path with query string
func (*UpdateSecretURL) StringFull ¶
func (o *UpdateSecretURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateSecretURL) WithBasePath ¶
func (o *UpdateSecretURL) WithBasePath(bp string) *UpdateSecretURL
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
Source Files ¶
- add_secret.go
- add_secret_parameters.go
- add_secret_responses.go
- add_secret_urlbuilder.go
- delete_secret.go
- delete_secret_parameters.go
- delete_secret_responses.go
- delete_secret_urlbuilder.go
- get_secret.go
- get_secret_parameters.go
- get_secret_responses.go
- get_secret_urlbuilder.go
- get_secrets.go
- get_secrets_parameters.go
- get_secrets_responses.go
- get_secrets_urlbuilder.go
- update_secret.go
- update_secret_parameters.go
- update_secret_responses.go
- update_secret_urlbuilder.go