k_m_s

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: AGPL-3.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

View Source
const KMSAPIsOKCode int = 200

KMSAPIsOKCode is the HTTP code returned for type KMSAPIsOK

View Source
const KMSCreateKeyCreatedCode int = 201

KMSCreateKeyCreatedCode is the HTTP code returned for type KMSCreateKeyCreated

View Source
const KMSKeyStatusOKCode int = 200

KMSKeyStatusOKCode is the HTTP code returned for type KMSKeyStatusOK

View Source
const KMSListKeysOKCode int = 200

KMSListKeysOKCode is the HTTP code returned for type KMSListKeysOK

View Source
const KMSMetricsOKCode int = 200

KMSMetricsOKCode is the HTTP code returned for type KMSMetricsOK

View Source
const KMSStatusOKCode int = 200

KMSStatusOKCode is the HTTP code returned for type KMSStatusOK

View Source
const KMSVersionOKCode int = 200

KMSVersionOKCode is the HTTP code returned for type KMSVersionOK

Variables

This section is empty.

Functions

This section is empty.

Types

type KMSAPIs

type KMSAPIs struct {
	Context *middleware.Context
	Handler KMSAPIsHandler
}
KMSAPIs swagger:route GET /kms/apis KMS kMSAPIs

KMS apis

func NewKMSAPIs

func NewKMSAPIs(ctx *middleware.Context, handler KMSAPIsHandler) *KMSAPIs

NewKMSAPIs creates a new http.Handler for the k m s a p is operation

func (*KMSAPIs) ServeHTTP

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

type KMSAPIsDefault

type KMSAPIsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.APIError `json:"body,omitempty"`
	// contains filtered or unexported fields
}

KMSAPIsDefault Generic error response.

swagger:response kMSAPIsDefault

func NewKMSAPIsDefault

func NewKMSAPIsDefault(code int) *KMSAPIsDefault

NewKMSAPIsDefault creates KMSAPIsDefault with default headers values

func (*KMSAPIsDefault) SetPayload

func (o *KMSAPIsDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the k m s a p is default response

func (*KMSAPIsDefault) SetStatusCode

func (o *KMSAPIsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the k m s a p is default response

func (*KMSAPIsDefault) WithPayload

func (o *KMSAPIsDefault) WithPayload(payload *models.APIError) *KMSAPIsDefault

WithPayload adds the payload to the k m s a p is default response

func (*KMSAPIsDefault) WithStatusCode

func (o *KMSAPIsDefault) WithStatusCode(code int) *KMSAPIsDefault

WithStatusCode adds the status to the k m s a p is default response

func (*KMSAPIsDefault) WriteResponse

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

WriteResponse to the client

type KMSAPIsHandler

type KMSAPIsHandler interface {
	Handle(KMSAPIsParams, *models.Principal) middleware.Responder
}

KMSAPIsHandler interface for that can handle valid k m s a p is params

type KMSAPIsHandlerFunc

type KMSAPIsHandlerFunc func(KMSAPIsParams, *models.Principal) middleware.Responder

KMSAPIsHandlerFunc turns a function with the right signature into a k m s a p is handler

func (KMSAPIsHandlerFunc) Handle

func (fn KMSAPIsHandlerFunc) Handle(params KMSAPIsParams, principal *models.Principal) middleware.Responder

Handle executing the request and returning a response

type KMSAPIsOK

type KMSAPIsOK struct {

	/*
	  In: Body
	*/
	Payload *models.KmsAPIsResponse `json:"body,omitempty"`
}

KMSAPIsOK A successful response.

swagger:response kMSAPIsOK

func NewKMSAPIsOK

func NewKMSAPIsOK() *KMSAPIsOK

NewKMSAPIsOK creates KMSAPIsOK with default headers values

func (*KMSAPIsOK) SetPayload

func (o *KMSAPIsOK) SetPayload(payload *models.KmsAPIsResponse)

SetPayload sets the payload to the k m s a p is o k response

func (*KMSAPIsOK) WithPayload

func (o *KMSAPIsOK) WithPayload(payload *models.KmsAPIsResponse) *KMSAPIsOK

WithPayload adds the payload to the k m s a p is o k response

func (*KMSAPIsOK) WriteResponse

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

WriteResponse to the client

type KMSAPIsParams

type KMSAPIsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

KMSAPIsParams contains all the bound params for the k m s a p is operation typically these are obtained from a http.Request

swagger:parameters KMSAPIs

func NewKMSAPIsParams

func NewKMSAPIsParams() KMSAPIsParams

NewKMSAPIsParams creates a new KMSAPIsParams object

There are no default values defined in the spec.

func (*KMSAPIsParams) BindRequest

func (o *KMSAPIsParams) 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 NewKMSAPIsParams() beforehand.

type KMSAPIsURL

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

KMSAPIsURL generates an URL for the k m s a p is operation

func (*KMSAPIsURL) Build

func (o *KMSAPIsURL) Build() (*url.URL, error)

Build a url path and query string

func (*KMSAPIsURL) BuildFull

func (o *KMSAPIsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*KMSAPIsURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*KMSAPIsURL) SetBasePath

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

func (o *KMSAPIsURL) String() string

String returns the string representation of the path with query string

func (*KMSAPIsURL) StringFull

func (o *KMSAPIsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*KMSAPIsURL) WithBasePath

func (o *KMSAPIsURL) WithBasePath(bp string) *KMSAPIsURL

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 KMSCreateKey

type KMSCreateKey struct {
	Context *middleware.Context
	Handler KMSCreateKeyHandler
}
KMSCreateKey swagger:route POST /kms/keys KMS kMSCreateKey

KMS create key

func NewKMSCreateKey

func NewKMSCreateKey(ctx *middleware.Context, handler KMSCreateKeyHandler) *KMSCreateKey

NewKMSCreateKey creates a new http.Handler for the k m s create key operation

func (*KMSCreateKey) ServeHTTP

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

type KMSCreateKeyCreated

type KMSCreateKeyCreated struct {
}

KMSCreateKeyCreated A successful response.

swagger:response kMSCreateKeyCreated

func NewKMSCreateKeyCreated

func NewKMSCreateKeyCreated() *KMSCreateKeyCreated

NewKMSCreateKeyCreated creates KMSCreateKeyCreated with default headers values

func (*KMSCreateKeyCreated) WriteResponse

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

WriteResponse to the client

type KMSCreateKeyDefault

type KMSCreateKeyDefault struct {

	/*
	  In: Body
	*/
	Payload *models.APIError `json:"body,omitempty"`
	// contains filtered or unexported fields
}

KMSCreateKeyDefault Generic error response.

swagger:response kMSCreateKeyDefault

func NewKMSCreateKeyDefault

func NewKMSCreateKeyDefault(code int) *KMSCreateKeyDefault

NewKMSCreateKeyDefault creates KMSCreateKeyDefault with default headers values

func (*KMSCreateKeyDefault) SetPayload

func (o *KMSCreateKeyDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the k m s create key default response

func (*KMSCreateKeyDefault) SetStatusCode

func (o *KMSCreateKeyDefault) SetStatusCode(code int)

SetStatusCode sets the status to the k m s create key default response

func (*KMSCreateKeyDefault) WithPayload

func (o *KMSCreateKeyDefault) WithPayload(payload *models.APIError) *KMSCreateKeyDefault

WithPayload adds the payload to the k m s create key default response

func (*KMSCreateKeyDefault) WithStatusCode

func (o *KMSCreateKeyDefault) WithStatusCode(code int) *KMSCreateKeyDefault

WithStatusCode adds the status to the k m s create key default response

func (*KMSCreateKeyDefault) WriteResponse

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

WriteResponse to the client

type KMSCreateKeyHandler

type KMSCreateKeyHandler interface {
	Handle(KMSCreateKeyParams, *models.Principal) middleware.Responder
}

KMSCreateKeyHandler interface for that can handle valid k m s create key params

type KMSCreateKeyHandlerFunc

type KMSCreateKeyHandlerFunc func(KMSCreateKeyParams, *models.Principal) middleware.Responder

KMSCreateKeyHandlerFunc turns a function with the right signature into a k m s create key handler

func (KMSCreateKeyHandlerFunc) Handle

Handle executing the request and returning a response

type KMSCreateKeyParams

type KMSCreateKeyParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.KmsCreateKeyRequest
}

KMSCreateKeyParams contains all the bound params for the k m s create key operation typically these are obtained from a http.Request

swagger:parameters KMSCreateKey

func NewKMSCreateKeyParams

func NewKMSCreateKeyParams() KMSCreateKeyParams

NewKMSCreateKeyParams creates a new KMSCreateKeyParams object

There are no default values defined in the spec.

func (*KMSCreateKeyParams) BindRequest

func (o *KMSCreateKeyParams) 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 NewKMSCreateKeyParams() beforehand.

type KMSCreateKeyURL

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

KMSCreateKeyURL generates an URL for the k m s create key operation

func (*KMSCreateKeyURL) Build

func (o *KMSCreateKeyURL) Build() (*url.URL, error)

Build a url path and query string

func (*KMSCreateKeyURL) BuildFull

func (o *KMSCreateKeyURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*KMSCreateKeyURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*KMSCreateKeyURL) SetBasePath

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

func (o *KMSCreateKeyURL) String() string

String returns the string representation of the path with query string

func (*KMSCreateKeyURL) StringFull

func (o *KMSCreateKeyURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*KMSCreateKeyURL) WithBasePath

func (o *KMSCreateKeyURL) WithBasePath(bp string) *KMSCreateKeyURL

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 KMSKeyStatus

type KMSKeyStatus struct {
	Context *middleware.Context
	Handler KMSKeyStatusHandler
}
KMSKeyStatus swagger:route GET /kms/keys/{name} KMS kMSKeyStatus

KMS key status

func NewKMSKeyStatus

func NewKMSKeyStatus(ctx *middleware.Context, handler KMSKeyStatusHandler) *KMSKeyStatus

NewKMSKeyStatus creates a new http.Handler for the k m s key status operation

func (*KMSKeyStatus) ServeHTTP

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

type KMSKeyStatusDefault

type KMSKeyStatusDefault struct {

	/*
	  In: Body
	*/
	Payload *models.APIError `json:"body,omitempty"`
	// contains filtered or unexported fields
}

KMSKeyStatusDefault Generic error response.

swagger:response kMSKeyStatusDefault

func NewKMSKeyStatusDefault

func NewKMSKeyStatusDefault(code int) *KMSKeyStatusDefault

NewKMSKeyStatusDefault creates KMSKeyStatusDefault with default headers values

func (*KMSKeyStatusDefault) SetPayload

func (o *KMSKeyStatusDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the k m s key status default response

func (*KMSKeyStatusDefault) SetStatusCode

func (o *KMSKeyStatusDefault) SetStatusCode(code int)

SetStatusCode sets the status to the k m s key status default response

func (*KMSKeyStatusDefault) WithPayload

func (o *KMSKeyStatusDefault) WithPayload(payload *models.APIError) *KMSKeyStatusDefault

WithPayload adds the payload to the k m s key status default response

func (*KMSKeyStatusDefault) WithStatusCode

func (o *KMSKeyStatusDefault) WithStatusCode(code int) *KMSKeyStatusDefault

WithStatusCode adds the status to the k m s key status default response

func (*KMSKeyStatusDefault) WriteResponse

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

WriteResponse to the client

type KMSKeyStatusHandler

type KMSKeyStatusHandler interface {
	Handle(KMSKeyStatusParams, *models.Principal) middleware.Responder
}

KMSKeyStatusHandler interface for that can handle valid k m s key status params

type KMSKeyStatusHandlerFunc

type KMSKeyStatusHandlerFunc func(KMSKeyStatusParams, *models.Principal) middleware.Responder

KMSKeyStatusHandlerFunc turns a function with the right signature into a k m s key status handler

func (KMSKeyStatusHandlerFunc) Handle

Handle executing the request and returning a response

type KMSKeyStatusOK

type KMSKeyStatusOK struct {

	/*
	  In: Body
	*/
	Payload *models.KmsKeyStatusResponse `json:"body,omitempty"`
}

KMSKeyStatusOK A successful response.

swagger:response kMSKeyStatusOK

func NewKMSKeyStatusOK

func NewKMSKeyStatusOK() *KMSKeyStatusOK

NewKMSKeyStatusOK creates KMSKeyStatusOK with default headers values

func (*KMSKeyStatusOK) SetPayload

func (o *KMSKeyStatusOK) SetPayload(payload *models.KmsKeyStatusResponse)

SetPayload sets the payload to the k m s key status o k response

func (*KMSKeyStatusOK) WithPayload

func (o *KMSKeyStatusOK) WithPayload(payload *models.KmsKeyStatusResponse) *KMSKeyStatusOK

WithPayload adds the payload to the k m s key status o k response

func (*KMSKeyStatusOK) WriteResponse

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

WriteResponse to the client

type KMSKeyStatusParams

type KMSKeyStatusParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*KMS key name
	  Required: true
	  In: path
	*/
	Name string
}

KMSKeyStatusParams contains all the bound params for the k m s key status operation typically these are obtained from a http.Request

swagger:parameters KMSKeyStatus

func NewKMSKeyStatusParams

func NewKMSKeyStatusParams() KMSKeyStatusParams

NewKMSKeyStatusParams creates a new KMSKeyStatusParams object

There are no default values defined in the spec.

func (*KMSKeyStatusParams) BindRequest

func (o *KMSKeyStatusParams) 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 NewKMSKeyStatusParams() beforehand.

type KMSKeyStatusURL

type KMSKeyStatusURL struct {
	Name string
	// contains filtered or unexported fields
}

KMSKeyStatusURL generates an URL for the k m s key status operation

func (*KMSKeyStatusURL) Build

func (o *KMSKeyStatusURL) Build() (*url.URL, error)

Build a url path and query string

func (*KMSKeyStatusURL) BuildFull

func (o *KMSKeyStatusURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*KMSKeyStatusURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*KMSKeyStatusURL) SetBasePath

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

func (o *KMSKeyStatusURL) String() string

String returns the string representation of the path with query string

func (*KMSKeyStatusURL) StringFull

func (o *KMSKeyStatusURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*KMSKeyStatusURL) WithBasePath

func (o *KMSKeyStatusURL) WithBasePath(bp string) *KMSKeyStatusURL

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 KMSListKeys

type KMSListKeys struct {
	Context *middleware.Context
	Handler KMSListKeysHandler
}
KMSListKeys swagger:route GET /kms/keys KMS kMSListKeys

KMS list keys

func NewKMSListKeys

func NewKMSListKeys(ctx *middleware.Context, handler KMSListKeysHandler) *KMSListKeys

NewKMSListKeys creates a new http.Handler for the k m s list keys operation

func (*KMSListKeys) ServeHTTP

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

type KMSListKeysDefault

type KMSListKeysDefault struct {

	/*
	  In: Body
	*/
	Payload *models.APIError `json:"body,omitempty"`
	// contains filtered or unexported fields
}

KMSListKeysDefault Generic error response.

swagger:response kMSListKeysDefault

func NewKMSListKeysDefault

func NewKMSListKeysDefault(code int) *KMSListKeysDefault

NewKMSListKeysDefault creates KMSListKeysDefault with default headers values

func (*KMSListKeysDefault) SetPayload

func (o *KMSListKeysDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the k m s list keys default response

func (*KMSListKeysDefault) SetStatusCode

func (o *KMSListKeysDefault) SetStatusCode(code int)

SetStatusCode sets the status to the k m s list keys default response

func (*KMSListKeysDefault) WithPayload

func (o *KMSListKeysDefault) WithPayload(payload *models.APIError) *KMSListKeysDefault

WithPayload adds the payload to the k m s list keys default response

func (*KMSListKeysDefault) WithStatusCode

func (o *KMSListKeysDefault) WithStatusCode(code int) *KMSListKeysDefault

WithStatusCode adds the status to the k m s list keys default response

func (*KMSListKeysDefault) WriteResponse

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

WriteResponse to the client

type KMSListKeysHandler

type KMSListKeysHandler interface {
	Handle(KMSListKeysParams, *models.Principal) middleware.Responder
}

KMSListKeysHandler interface for that can handle valid k m s list keys params

type KMSListKeysHandlerFunc

type KMSListKeysHandlerFunc func(KMSListKeysParams, *models.Principal) middleware.Responder

KMSListKeysHandlerFunc turns a function with the right signature into a k m s list keys handler

func (KMSListKeysHandlerFunc) Handle

Handle executing the request and returning a response

type KMSListKeysOK

type KMSListKeysOK struct {

	/*
	  In: Body
	*/
	Payload *models.KmsListKeysResponse `json:"body,omitempty"`
}

KMSListKeysOK A successful response.

swagger:response kMSListKeysOK

func NewKMSListKeysOK

func NewKMSListKeysOK() *KMSListKeysOK

NewKMSListKeysOK creates KMSListKeysOK with default headers values

func (*KMSListKeysOK) SetPayload

func (o *KMSListKeysOK) SetPayload(payload *models.KmsListKeysResponse)

SetPayload sets the payload to the k m s list keys o k response

func (*KMSListKeysOK) WithPayload

func (o *KMSListKeysOK) WithPayload(payload *models.KmsListKeysResponse) *KMSListKeysOK

WithPayload adds the payload to the k m s list keys o k response

func (*KMSListKeysOK) WriteResponse

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

WriteResponse to the client

type KMSListKeysParams

type KMSListKeysParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*pattern to retrieve keys
	  In: query
	*/
	Pattern *string
}

KMSListKeysParams contains all the bound params for the k m s list keys operation typically these are obtained from a http.Request

swagger:parameters KMSListKeys

func NewKMSListKeysParams

func NewKMSListKeysParams() KMSListKeysParams

NewKMSListKeysParams creates a new KMSListKeysParams object

There are no default values defined in the spec.

func (*KMSListKeysParams) BindRequest

func (o *KMSListKeysParams) 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 NewKMSListKeysParams() beforehand.

type KMSListKeysURL

type KMSListKeysURL struct {
	Pattern *string
	// contains filtered or unexported fields
}

KMSListKeysURL generates an URL for the k m s list keys operation

func (*KMSListKeysURL) Build

func (o *KMSListKeysURL) Build() (*url.URL, error)

Build a url path and query string

func (*KMSListKeysURL) BuildFull

func (o *KMSListKeysURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*KMSListKeysURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*KMSListKeysURL) SetBasePath

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

func (o *KMSListKeysURL) String() string

String returns the string representation of the path with query string

func (*KMSListKeysURL) StringFull

func (o *KMSListKeysURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*KMSListKeysURL) WithBasePath

func (o *KMSListKeysURL) WithBasePath(bp string) *KMSListKeysURL

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 KMSMetrics

type KMSMetrics struct {
	Context *middleware.Context
	Handler KMSMetricsHandler
}
KMSMetrics swagger:route GET /kms/metrics KMS kMSMetrics

KMS metrics

func NewKMSMetrics

func NewKMSMetrics(ctx *middleware.Context, handler KMSMetricsHandler) *KMSMetrics

NewKMSMetrics creates a new http.Handler for the k m s metrics operation

func (*KMSMetrics) ServeHTTP

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

type KMSMetricsDefault

type KMSMetricsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.APIError `json:"body,omitempty"`
	// contains filtered or unexported fields
}

KMSMetricsDefault Generic error response.

swagger:response kMSMetricsDefault

func NewKMSMetricsDefault

func NewKMSMetricsDefault(code int) *KMSMetricsDefault

NewKMSMetricsDefault creates KMSMetricsDefault with default headers values

func (*KMSMetricsDefault) SetPayload

func (o *KMSMetricsDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the k m s metrics default response

func (*KMSMetricsDefault) SetStatusCode

func (o *KMSMetricsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the k m s metrics default response

func (*KMSMetricsDefault) WithPayload

func (o *KMSMetricsDefault) WithPayload(payload *models.APIError) *KMSMetricsDefault

WithPayload adds the payload to the k m s metrics default response

func (*KMSMetricsDefault) WithStatusCode

func (o *KMSMetricsDefault) WithStatusCode(code int) *KMSMetricsDefault

WithStatusCode adds the status to the k m s metrics default response

func (*KMSMetricsDefault) WriteResponse

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

WriteResponse to the client

type KMSMetricsHandler

type KMSMetricsHandler interface {
	Handle(KMSMetricsParams, *models.Principal) middleware.Responder
}

KMSMetricsHandler interface for that can handle valid k m s metrics params

type KMSMetricsHandlerFunc

type KMSMetricsHandlerFunc func(KMSMetricsParams, *models.Principal) middleware.Responder

KMSMetricsHandlerFunc turns a function with the right signature into a k m s metrics handler

func (KMSMetricsHandlerFunc) Handle

Handle executing the request and returning a response

type KMSMetricsOK

type KMSMetricsOK struct {

	/*
	  In: Body
	*/
	Payload *models.KmsMetricsResponse `json:"body,omitempty"`
}

KMSMetricsOK A successful response.

swagger:response kMSMetricsOK

func NewKMSMetricsOK

func NewKMSMetricsOK() *KMSMetricsOK

NewKMSMetricsOK creates KMSMetricsOK with default headers values

func (*KMSMetricsOK) SetPayload

func (o *KMSMetricsOK) SetPayload(payload *models.KmsMetricsResponse)

SetPayload sets the payload to the k m s metrics o k response

func (*KMSMetricsOK) WithPayload

func (o *KMSMetricsOK) WithPayload(payload *models.KmsMetricsResponse) *KMSMetricsOK

WithPayload adds the payload to the k m s metrics o k response

func (*KMSMetricsOK) WriteResponse

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

WriteResponse to the client

type KMSMetricsParams

type KMSMetricsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

KMSMetricsParams contains all the bound params for the k m s metrics operation typically these are obtained from a http.Request

swagger:parameters KMSMetrics

func NewKMSMetricsParams

func NewKMSMetricsParams() KMSMetricsParams

NewKMSMetricsParams creates a new KMSMetricsParams object

There are no default values defined in the spec.

func (*KMSMetricsParams) BindRequest

func (o *KMSMetricsParams) 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 NewKMSMetricsParams() beforehand.

type KMSMetricsURL

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

KMSMetricsURL generates an URL for the k m s metrics operation

func (*KMSMetricsURL) Build

func (o *KMSMetricsURL) Build() (*url.URL, error)

Build a url path and query string

func (*KMSMetricsURL) BuildFull

func (o *KMSMetricsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*KMSMetricsURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*KMSMetricsURL) SetBasePath

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

func (o *KMSMetricsURL) String() string

String returns the string representation of the path with query string

func (*KMSMetricsURL) StringFull

func (o *KMSMetricsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*KMSMetricsURL) WithBasePath

func (o *KMSMetricsURL) WithBasePath(bp string) *KMSMetricsURL

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 KMSStatus

type KMSStatus struct {
	Context *middleware.Context
	Handler KMSStatusHandler
}
KMSStatus swagger:route GET /kms/status KMS kMSStatus

KMS status

func NewKMSStatus

func NewKMSStatus(ctx *middleware.Context, handler KMSStatusHandler) *KMSStatus

NewKMSStatus creates a new http.Handler for the k m s status operation

func (*KMSStatus) ServeHTTP

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

type KMSStatusDefault

type KMSStatusDefault struct {

	/*
	  In: Body
	*/
	Payload *models.APIError `json:"body,omitempty"`
	// contains filtered or unexported fields
}

KMSStatusDefault Generic error response.

swagger:response kMSStatusDefault

func NewKMSStatusDefault

func NewKMSStatusDefault(code int) *KMSStatusDefault

NewKMSStatusDefault creates KMSStatusDefault with default headers values

func (*KMSStatusDefault) SetPayload

func (o *KMSStatusDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the k m s status default response

func (*KMSStatusDefault) SetStatusCode

func (o *KMSStatusDefault) SetStatusCode(code int)

SetStatusCode sets the status to the k m s status default response

func (*KMSStatusDefault) WithPayload

func (o *KMSStatusDefault) WithPayload(payload *models.APIError) *KMSStatusDefault

WithPayload adds the payload to the k m s status default response

func (*KMSStatusDefault) WithStatusCode

func (o *KMSStatusDefault) WithStatusCode(code int) *KMSStatusDefault

WithStatusCode adds the status to the k m s status default response

func (*KMSStatusDefault) WriteResponse

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

WriteResponse to the client

type KMSStatusHandler

type KMSStatusHandler interface {
	Handle(KMSStatusParams, *models.Principal) middleware.Responder
}

KMSStatusHandler interface for that can handle valid k m s status params

type KMSStatusHandlerFunc

type KMSStatusHandlerFunc func(KMSStatusParams, *models.Principal) middleware.Responder

KMSStatusHandlerFunc turns a function with the right signature into a k m s status handler

func (KMSStatusHandlerFunc) Handle

Handle executing the request and returning a response

type KMSStatusOK

type KMSStatusOK struct {

	/*
	  In: Body
	*/
	Payload *models.KmsStatusResponse `json:"body,omitempty"`
}

KMSStatusOK A successful response.

swagger:response kMSStatusOK

func NewKMSStatusOK

func NewKMSStatusOK() *KMSStatusOK

NewKMSStatusOK creates KMSStatusOK with default headers values

func (*KMSStatusOK) SetPayload

func (o *KMSStatusOK) SetPayload(payload *models.KmsStatusResponse)

SetPayload sets the payload to the k m s status o k response

func (*KMSStatusOK) WithPayload

func (o *KMSStatusOK) WithPayload(payload *models.KmsStatusResponse) *KMSStatusOK

WithPayload adds the payload to the k m s status o k response

func (*KMSStatusOK) WriteResponse

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

WriteResponse to the client

type KMSStatusParams

type KMSStatusParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

KMSStatusParams contains all the bound params for the k m s status operation typically these are obtained from a http.Request

swagger:parameters KMSStatus

func NewKMSStatusParams

func NewKMSStatusParams() KMSStatusParams

NewKMSStatusParams creates a new KMSStatusParams object

There are no default values defined in the spec.

func (*KMSStatusParams) BindRequest

func (o *KMSStatusParams) 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 NewKMSStatusParams() beforehand.

type KMSStatusURL

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

KMSStatusURL generates an URL for the k m s status operation

func (*KMSStatusURL) Build

func (o *KMSStatusURL) Build() (*url.URL, error)

Build a url path and query string

func (*KMSStatusURL) BuildFull

func (o *KMSStatusURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*KMSStatusURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*KMSStatusURL) SetBasePath

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

func (o *KMSStatusURL) String() string

String returns the string representation of the path with query string

func (*KMSStatusURL) StringFull

func (o *KMSStatusURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*KMSStatusURL) WithBasePath

func (o *KMSStatusURL) WithBasePath(bp string) *KMSStatusURL

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 KMSVersion

type KMSVersion struct {
	Context *middleware.Context
	Handler KMSVersionHandler
}
KMSVersion swagger:route GET /kms/version KMS kMSVersion

KMS version

func NewKMSVersion

func NewKMSVersion(ctx *middleware.Context, handler KMSVersionHandler) *KMSVersion

NewKMSVersion creates a new http.Handler for the k m s version operation

func (*KMSVersion) ServeHTTP

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

type KMSVersionDefault

type KMSVersionDefault struct {

	/*
	  In: Body
	*/
	Payload *models.APIError `json:"body,omitempty"`
	// contains filtered or unexported fields
}

KMSVersionDefault Generic error response.

swagger:response kMSVersionDefault

func NewKMSVersionDefault

func NewKMSVersionDefault(code int) *KMSVersionDefault

NewKMSVersionDefault creates KMSVersionDefault with default headers values

func (*KMSVersionDefault) SetPayload

func (o *KMSVersionDefault) SetPayload(payload *models.APIError)

SetPayload sets the payload to the k m s version default response

func (*KMSVersionDefault) SetStatusCode

func (o *KMSVersionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the k m s version default response

func (*KMSVersionDefault) WithPayload

func (o *KMSVersionDefault) WithPayload(payload *models.APIError) *KMSVersionDefault

WithPayload adds the payload to the k m s version default response

func (*KMSVersionDefault) WithStatusCode

func (o *KMSVersionDefault) WithStatusCode(code int) *KMSVersionDefault

WithStatusCode adds the status to the k m s version default response

func (*KMSVersionDefault) WriteResponse

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

WriteResponse to the client

type KMSVersionHandler

type KMSVersionHandler interface {
	Handle(KMSVersionParams, *models.Principal) middleware.Responder
}

KMSVersionHandler interface for that can handle valid k m s version params

type KMSVersionHandlerFunc

type KMSVersionHandlerFunc func(KMSVersionParams, *models.Principal) middleware.Responder

KMSVersionHandlerFunc turns a function with the right signature into a k m s version handler

func (KMSVersionHandlerFunc) Handle

Handle executing the request and returning a response

type KMSVersionOK

type KMSVersionOK struct {

	/*
	  In: Body
	*/
	Payload *models.KmsVersionResponse `json:"body,omitempty"`
}

KMSVersionOK A successful response.

swagger:response kMSVersionOK

func NewKMSVersionOK

func NewKMSVersionOK() *KMSVersionOK

NewKMSVersionOK creates KMSVersionOK with default headers values

func (*KMSVersionOK) SetPayload

func (o *KMSVersionOK) SetPayload(payload *models.KmsVersionResponse)

SetPayload sets the payload to the k m s version o k response

func (*KMSVersionOK) WithPayload

func (o *KMSVersionOK) WithPayload(payload *models.KmsVersionResponse) *KMSVersionOK

WithPayload adds the payload to the k m s version o k response

func (*KMSVersionOK) WriteResponse

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

WriteResponse to the client

type KMSVersionParams

type KMSVersionParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

KMSVersionParams contains all the bound params for the k m s version operation typically these are obtained from a http.Request

swagger:parameters KMSVersion

func NewKMSVersionParams

func NewKMSVersionParams() KMSVersionParams

NewKMSVersionParams creates a new KMSVersionParams object

There are no default values defined in the spec.

func (*KMSVersionParams) BindRequest

func (o *KMSVersionParams) 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 NewKMSVersionParams() beforehand.

type KMSVersionURL

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

KMSVersionURL generates an URL for the k m s version operation

func (*KMSVersionURL) Build

func (o *KMSVersionURL) Build() (*url.URL, error)

Build a url path and query string

func (*KMSVersionURL) BuildFull

func (o *KMSVersionURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*KMSVersionURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*KMSVersionURL) SetBasePath

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

func (o *KMSVersionURL) String() string

String returns the string representation of the path with query string

func (*KMSVersionURL) StringFull

func (o *KMSVersionURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*KMSVersionURL) WithBasePath

func (o *KMSVersionURL) WithBasePath(bp string) *KMSVersionURL

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

Jump to

Keyboard shortcuts

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