secret

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const AddSecretBadRequestCode int = 400

AddSecretBadRequestCode is the HTTP code returned for type AddSecretBadRequest

View Source
const AddSecretConflictCode int = 409

AddSecretConflictCode is the HTTP code returned for type AddSecretConflict

View Source
const AddSecretCreatedCode int = 201

AddSecretCreatedCode is the HTTP code returned for type AddSecretCreated

View Source
const AddSecretForbiddenCode int = 403

AddSecretForbiddenCode is the HTTP code returned for type AddSecretForbidden

View Source
const AddSecretUnauthorizedCode int = 401

AddSecretUnauthorizedCode is the HTTP code returned for type AddSecretUnauthorized

View Source
const DeleteSecretBadRequestCode int = 400

DeleteSecretBadRequestCode is the HTTP code returned for type DeleteSecretBadRequest

View Source
const DeleteSecretForbiddenCode int = 403

DeleteSecretForbiddenCode is the HTTP code returned for type DeleteSecretForbidden

View Source
const DeleteSecretNoContentCode int = 204

DeleteSecretNoContentCode is the HTTP code returned for type DeleteSecretNoContent

View Source
const DeleteSecretNotFoundCode int = 404

DeleteSecretNotFoundCode is the HTTP code returned for type DeleteSecretNotFound

View Source
const DeleteSecretUnauthorizedCode int = 401

DeleteSecretUnauthorizedCode is the HTTP code returned for type DeleteSecretUnauthorized

View Source
const GetSecretBadRequestCode int = 400

GetSecretBadRequestCode is the HTTP code returned for type GetSecretBadRequest

View Source
const GetSecretForbiddenCode int = 403

GetSecretForbiddenCode is the HTTP code returned for type GetSecretForbidden

View Source
const GetSecretNotFoundCode int = 404

GetSecretNotFoundCode is the HTTP code returned for type GetSecretNotFound

View Source
const GetSecretOKCode int = 200

GetSecretOKCode is the HTTP code returned for type GetSecretOK

View Source
const GetSecretUnauthorizedCode int = 401

GetSecretUnauthorizedCode is the HTTP code returned for type GetSecretUnauthorized

View Source
const GetSecretsBadRequestCode int = 400

GetSecretsBadRequestCode is the HTTP code returned for type GetSecretsBadRequest

View Source
const GetSecretsForbiddenCode int = 403

GetSecretsForbiddenCode is the HTTP code returned for type GetSecretsForbidden

View Source
const GetSecretsOKCode int = 200

GetSecretsOKCode is the HTTP code returned for type GetSecretsOK

View Source
const GetSecretsUnauthorizedCode int = 401

GetSecretsUnauthorizedCode is the HTTP code returned for type GetSecretsUnauthorized

View Source
const UpdateSecretBadRequestCode int = 400

UpdateSecretBadRequestCode is the HTTP code returned for type UpdateSecretBadRequest

View Source
const UpdateSecretCreatedCode int = 201

UpdateSecretCreatedCode is the HTTP code returned for type UpdateSecretCreated

View Source
const UpdateSecretForbiddenCode int = 403

UpdateSecretForbiddenCode is the HTTP code returned for type UpdateSecretForbidden

View Source
const UpdateSecretNotFoundCode int = 404

UpdateSecretNotFoundCode is the HTTP code returned for type UpdateSecretNotFound

View Source
const UpdateSecretUnauthorizedCode int = 401

UpdateSecretUnauthorizedCode is the HTTP code returned for type UpdateSecretUnauthorized

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

func (*AddSecret) ServeHTTP

func (o *AddSecret) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type AddSecretBadRequest added in v0.1.13

type AddSecretBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type AddSecretConflict struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type AddSecretCreated struct {

	/*
	  In: Body
	*/
	Payload *v1.Secret `json:"body,omitempty"`
}

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 AddSecretForbidden added in v0.1.18

type AddSecretForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddSecretForbidden access to this resource is forbidden

swagger:response addSecretForbidden

func NewAddSecretForbidden added in v0.1.18

func NewAddSecretForbidden() *AddSecretForbidden

NewAddSecretForbidden creates AddSecretForbidden with default headers values

func (*AddSecretForbidden) SetPayload added in v0.1.18

func (o *AddSecretForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add secret forbidden response

func (*AddSecretForbidden) WithPayload added in v0.1.18

func (o *AddSecretForbidden) WithPayload(payload *v1.Error) *AddSecretForbidden

WithPayload adds the payload to the add secret forbidden response

func (*AddSecretForbidden) WriteResponse added in v0.1.18

func (o *AddSecretForbidden) 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:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*
	  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

func (o *AddSecretURL) Must(u *url.URL, err error) *url.URL

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 AddSecretUnauthorized added in v0.1.18

type AddSecretUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddSecretUnauthorized Unauthorized Request

swagger:response addSecretUnauthorized

func NewAddSecretUnauthorized added in v0.1.18

func NewAddSecretUnauthorized() *AddSecretUnauthorized

NewAddSecretUnauthorized creates AddSecretUnauthorized with default headers values

func (*AddSecretUnauthorized) SetPayload added in v0.1.18

func (o *AddSecretUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add secret unauthorized response

func (*AddSecretUnauthorized) WithPayload added in v0.1.18

func (o *AddSecretUnauthorized) WithPayload(payload *v1.Error) *AddSecretUnauthorized

WithPayload adds the payload to the add secret unauthorized response

func (*AddSecretUnauthorized) WriteResponse added in v0.1.18

func (o *AddSecretUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

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

type DeleteSecretBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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 DeleteSecretForbidden added in v0.1.18

type DeleteSecretForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteSecretForbidden access to this resource is forbidden

swagger:response deleteSecretForbidden

func NewDeleteSecretForbidden added in v0.1.18

func NewDeleteSecretForbidden() *DeleteSecretForbidden

NewDeleteSecretForbidden creates DeleteSecretForbidden with default headers values

func (*DeleteSecretForbidden) SetPayload added in v0.1.18

func (o *DeleteSecretForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete secret forbidden response

func (*DeleteSecretForbidden) WithPayload added in v0.1.18

func (o *DeleteSecretForbidden) WithPayload(payload *v1.Error) *DeleteSecretForbidden

WithPayload adds the payload to the delete secret forbidden response

func (*DeleteSecretForbidden) WriteResponse added in v0.1.18

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

type DeleteSecretNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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
	  In: header
	*/
	XDispatchOrg string
	/*
	  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

func (o *DeleteSecretURL) Must(u *url.URL, err error) *url.URL

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 DeleteSecretUnauthorized added in v0.1.18

type DeleteSecretUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteSecretUnauthorized Unauthorized Request

swagger:response deleteSecretUnauthorized

func NewDeleteSecretUnauthorized added in v0.1.18

func NewDeleteSecretUnauthorized() *DeleteSecretUnauthorized

NewDeleteSecretUnauthorized creates DeleteSecretUnauthorized with default headers values

func (*DeleteSecretUnauthorized) SetPayload added in v0.1.18

func (o *DeleteSecretUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete secret unauthorized response

func (*DeleteSecretUnauthorized) WithPayload added in v0.1.18

func (o *DeleteSecretUnauthorized) WithPayload(payload *v1.Error) *DeleteSecretUnauthorized

WithPayload adds the payload to the delete secret unauthorized response

func (*DeleteSecretUnauthorized) WriteResponse added in v0.1.18

func (o *DeleteSecretUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

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

func (*GetSecret) ServeHTTP

func (o *GetSecret) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetSecretBadRequest added in v0.1.13

type GetSecretBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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 GetSecretForbidden added in v0.1.18

type GetSecretForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetSecretForbidden access to this resource is forbidden

swagger:response getSecretForbidden

func NewGetSecretForbidden added in v0.1.18

func NewGetSecretForbidden() *GetSecretForbidden

NewGetSecretForbidden creates GetSecretForbidden with default headers values

func (*GetSecretForbidden) SetPayload added in v0.1.18

func (o *GetSecretForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get secret forbidden response

func (*GetSecretForbidden) WithPayload added in v0.1.18

func (o *GetSecretForbidden) WithPayload(payload *v1.Error) *GetSecretForbidden

WithPayload adds the payload to the get secret forbidden response

func (*GetSecretForbidden) WriteResponse added in v0.1.18

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

type GetSecretNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type GetSecretOK struct {

	/*
	  In: Body
	*/
	Payload *v1.Secret `json:"body,omitempty"`
}

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:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*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

func (o *GetSecretURL) Must(u *url.URL, err error) *url.URL

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 GetSecretUnauthorized added in v0.1.18

type GetSecretUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetSecretUnauthorized Unauthorized Request

swagger:response getSecretUnauthorized

func NewGetSecretUnauthorized added in v0.1.18

func NewGetSecretUnauthorized() *GetSecretUnauthorized

NewGetSecretUnauthorized creates GetSecretUnauthorized with default headers values

func (*GetSecretUnauthorized) SetPayload added in v0.1.18

func (o *GetSecretUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get secret unauthorized response

func (*GetSecretUnauthorized) WithPayload added in v0.1.18

func (o *GetSecretUnauthorized) WithPayload(payload *v1.Error) *GetSecretUnauthorized

WithPayload adds the payload to the get secret unauthorized response

func (*GetSecretUnauthorized) WriteResponse added in v0.1.18

func (o *GetSecretUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

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

type GetSecretsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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 GetSecretsForbidden added in v0.1.18

type GetSecretsForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetSecretsForbidden access to this resource is forbidden

swagger:response getSecretsForbidden

func NewGetSecretsForbidden added in v0.1.18

func NewGetSecretsForbidden() *GetSecretsForbidden

NewGetSecretsForbidden creates GetSecretsForbidden with default headers values

func (*GetSecretsForbidden) SetPayload added in v0.1.18

func (o *GetSecretsForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get secrets forbidden response

func (*GetSecretsForbidden) WithPayload added in v0.1.18

func (o *GetSecretsForbidden) WithPayload(payload *v1.Error) *GetSecretsForbidden

WithPayload adds the payload to the get secrets forbidden response

func (*GetSecretsForbidden) WriteResponse added in v0.1.18

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

type GetSecretsOK struct {

	/*
	  In: Body
	*/
	Payload []*v1.Secret `json:"body,omitempty"`
}

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:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*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

func (o *GetSecretsURL) Must(u *url.URL, err error) *url.URL

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 GetSecretsUnauthorized added in v0.1.18

type GetSecretsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetSecretsUnauthorized Unauthorized Request

swagger:response getSecretsUnauthorized

func NewGetSecretsUnauthorized added in v0.1.18

func NewGetSecretsUnauthorized() *GetSecretsUnauthorized

NewGetSecretsUnauthorized creates GetSecretsUnauthorized with default headers values

func (*GetSecretsUnauthorized) SetPayload added in v0.1.18

func (o *GetSecretsUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get secrets unauthorized response

func (*GetSecretsUnauthorized) WithPayload added in v0.1.18

func (o *GetSecretsUnauthorized) WithPayload(payload *v1.Error) *GetSecretsUnauthorized

WithPayload adds the payload to the get secrets unauthorized response

func (*GetSecretsUnauthorized) WriteResponse added in v0.1.18

func (o *GetSecretsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

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

type UpdateSecretBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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

type UpdateSecretCreated struct {

	/*
	  In: Body
	*/
	Payload *v1.Secret `json:"body,omitempty"`
}

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 UpdateSecretForbidden added in v0.1.18

type UpdateSecretForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateSecretForbidden access to this resource is forbidden

swagger:response updateSecretForbidden

func NewUpdateSecretForbidden added in v0.1.18

func NewUpdateSecretForbidden() *UpdateSecretForbidden

NewUpdateSecretForbidden creates UpdateSecretForbidden with default headers values

func (*UpdateSecretForbidden) SetPayload added in v0.1.18

func (o *UpdateSecretForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update secret forbidden response

func (*UpdateSecretForbidden) WithPayload added in v0.1.18

func (o *UpdateSecretForbidden) WithPayload(payload *v1.Error) *UpdateSecretForbidden

WithPayload adds the payload to the update secret forbidden response

func (*UpdateSecretForbidden) WriteResponse added in v0.1.18

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

type UpdateSecretNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

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:"-"`

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*
	  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

func (o *UpdateSecretURL) Must(u *url.URL, err error) *url.URL

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

type UpdateSecretUnauthorized added in v0.1.18

type UpdateSecretUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateSecretUnauthorized Unauthorized Request

swagger:response updateSecretUnauthorized

func NewUpdateSecretUnauthorized added in v0.1.18

func NewUpdateSecretUnauthorized() *UpdateSecretUnauthorized

NewUpdateSecretUnauthorized creates UpdateSecretUnauthorized with default headers values

func (*UpdateSecretUnauthorized) SetPayload added in v0.1.18

func (o *UpdateSecretUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update secret unauthorized response

func (*UpdateSecretUnauthorized) WithPayload added in v0.1.18

func (o *UpdateSecretUnauthorized) WithPayload(payload *v1.Error) *UpdateSecretUnauthorized

WithPayload adds the payload to the update secret unauthorized response

func (*UpdateSecretUnauthorized) WriteResponse added in v0.1.18

func (o *UpdateSecretUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

Jump to

Keyboard shortcuts

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