k_m_s

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const KMSAPIsOKCode int = 200

KMSAPIsOKCode is the HTTP code returned for type KMSAPIsOK

View Source
const KMSAssignPolicyOKCode int = 200

KMSAssignPolicyOKCode is the HTTP code returned for type KMSAssignPolicyOK

View Source
const KMSCreateKeyCreatedCode int = 201

KMSCreateKeyCreatedCode is the HTTP code returned for type KMSCreateKeyCreated

View Source
const KMSDeleteIdentityOKCode int = 200

KMSDeleteIdentityOKCode is the HTTP code returned for type KMSDeleteIdentityOK

View Source
const KMSDeleteKeyOKCode int = 200

KMSDeleteKeyOKCode is the HTTP code returned for type KMSDeleteKeyOK

View Source
const KMSDeletePolicyOKCode int = 200

KMSDeletePolicyOKCode is the HTTP code returned for type KMSDeletePolicyOK

View Source
const KMSDescribeIdentityOKCode int = 200

KMSDescribeIdentityOKCode is the HTTP code returned for type KMSDescribeIdentityOK

View Source
const KMSDescribePolicyOKCode int = 200

KMSDescribePolicyOKCode is the HTTP code returned for type KMSDescribePolicyOK

View Source
const KMSDescribeSelfIdentityOKCode int = 200

KMSDescribeSelfIdentityOKCode is the HTTP code returned for type KMSDescribeSelfIdentityOK

View Source
const KMSGetPolicyOKCode int = 200

KMSGetPolicyOKCode is the HTTP code returned for type KMSGetPolicyOK

View Source
const KMSImportKeyCreatedCode int = 201

KMSImportKeyCreatedCode is the HTTP code returned for type KMSImportKeyCreated

View Source
const KMSKeyStatusOKCode int = 200

KMSKeyStatusOKCode is the HTTP code returned for type KMSKeyStatusOK

View Source
const KMSListIdentitiesOKCode int = 200

KMSListIdentitiesOKCode is the HTTP code returned for type KMSListIdentitiesOK

View Source
const KMSListKeysOKCode int = 200

KMSListKeysOKCode is the HTTP code returned for type KMSListKeysOK

View Source
const KMSListPoliciesOKCode int = 200

KMSListPoliciesOKCode is the HTTP code returned for type KMSListPoliciesOK

View Source
const KMSMetricsOKCode int = 200

KMSMetricsOKCode is the HTTP code returned for type KMSMetricsOK

View Source
const KMSSetPolicyOKCode int = 200

KMSSetPolicyOKCode is the HTTP code returned for type KMSSetPolicyOK

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.Error `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.Error)

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.Error) *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 KMSAssignPolicy

type KMSAssignPolicy struct {
	Context *middleware.Context
	Handler KMSAssignPolicyHandler
}
KMSAssignPolicy swagger:route POST /kms/policies/{name}/assign KMS kMSAssignPolicy

KMS assign policy

func NewKMSAssignPolicy

func NewKMSAssignPolicy(ctx *middleware.Context, handler KMSAssignPolicyHandler) *KMSAssignPolicy

NewKMSAssignPolicy creates a new http.Handler for the k m s assign policy operation

func (*KMSAssignPolicy) ServeHTTP

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

type KMSAssignPolicyDefault

type KMSAssignPolicyDefault struct {

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

KMSAssignPolicyDefault Generic error response.

swagger:response kMSAssignPolicyDefault

func NewKMSAssignPolicyDefault

func NewKMSAssignPolicyDefault(code int) *KMSAssignPolicyDefault

NewKMSAssignPolicyDefault creates KMSAssignPolicyDefault with default headers values

func (*KMSAssignPolicyDefault) SetPayload

func (o *KMSAssignPolicyDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the k m s assign policy default response

func (*KMSAssignPolicyDefault) SetStatusCode

func (o *KMSAssignPolicyDefault) SetStatusCode(code int)

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

func (*KMSAssignPolicyDefault) WithPayload

func (o *KMSAssignPolicyDefault) WithPayload(payload *models.Error) *KMSAssignPolicyDefault

WithPayload adds the payload to the k m s assign policy default response

func (*KMSAssignPolicyDefault) WithStatusCode

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

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

func (*KMSAssignPolicyDefault) WriteResponse

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

WriteResponse to the client

type KMSAssignPolicyHandler

type KMSAssignPolicyHandler interface {
	Handle(KMSAssignPolicyParams, *models.Principal) middleware.Responder
}

KMSAssignPolicyHandler interface for that can handle valid k m s assign policy params

type KMSAssignPolicyHandlerFunc

type KMSAssignPolicyHandlerFunc func(KMSAssignPolicyParams, *models.Principal) middleware.Responder

KMSAssignPolicyHandlerFunc turns a function with the right signature into a k m s assign policy handler

func (KMSAssignPolicyHandlerFunc) Handle

Handle executing the request and returning a response

type KMSAssignPolicyOK

type KMSAssignPolicyOK struct {
}

KMSAssignPolicyOK A successful response.

swagger:response kMSAssignPolicyOK

func NewKMSAssignPolicyOK

func NewKMSAssignPolicyOK() *KMSAssignPolicyOK

NewKMSAssignPolicyOK creates KMSAssignPolicyOK with default headers values

func (*KMSAssignPolicyOK) WriteResponse

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

WriteResponse to the client

type KMSAssignPolicyParams

type KMSAssignPolicyParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.KmsAssignPolicyRequest
	/*KMS policy name
	  Required: true
	  In: path
	*/
	Name string
}

KMSAssignPolicyParams contains all the bound params for the k m s assign policy operation typically these are obtained from a http.Request

swagger:parameters KMSAssignPolicy

func NewKMSAssignPolicyParams

func NewKMSAssignPolicyParams() KMSAssignPolicyParams

NewKMSAssignPolicyParams creates a new KMSAssignPolicyParams object

There are no default values defined in the spec.

func (*KMSAssignPolicyParams) BindRequest

func (o *KMSAssignPolicyParams) 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 NewKMSAssignPolicyParams() beforehand.

type KMSAssignPolicyURL

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

KMSAssignPolicyURL generates an URL for the k m s assign policy operation

func (*KMSAssignPolicyURL) Build

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

Build a url path and query string

func (*KMSAssignPolicyURL) BuildFull

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

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

func (*KMSAssignPolicyURL) Must

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

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

func (*KMSAssignPolicyURL) SetBasePath

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

func (o *KMSAssignPolicyURL) String() string

String returns the string representation of the path with query string

func (*KMSAssignPolicyURL) StringFull

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

StringFull returns the string representation of a complete url

func (*KMSAssignPolicyURL) WithBasePath

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

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.Error `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.Error)

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.Error) *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 KMSDeleteIdentity

type KMSDeleteIdentity struct {
	Context *middleware.Context
	Handler KMSDeleteIdentityHandler
}
KMSDeleteIdentity swagger:route DELETE /kms/identities/{name} KMS kMSDeleteIdentity

KMS delete identity

func NewKMSDeleteIdentity

func NewKMSDeleteIdentity(ctx *middleware.Context, handler KMSDeleteIdentityHandler) *KMSDeleteIdentity

NewKMSDeleteIdentity creates a new http.Handler for the k m s delete identity operation

func (*KMSDeleteIdentity) ServeHTTP

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

type KMSDeleteIdentityDefault

type KMSDeleteIdentityDefault struct {

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

KMSDeleteIdentityDefault Generic error response.

swagger:response kMSDeleteIdentityDefault

func NewKMSDeleteIdentityDefault

func NewKMSDeleteIdentityDefault(code int) *KMSDeleteIdentityDefault

NewKMSDeleteIdentityDefault creates KMSDeleteIdentityDefault with default headers values

func (*KMSDeleteIdentityDefault) SetPayload

func (o *KMSDeleteIdentityDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the k m s delete identity default response

func (*KMSDeleteIdentityDefault) SetStatusCode

func (o *KMSDeleteIdentityDefault) SetStatusCode(code int)

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

func (*KMSDeleteIdentityDefault) WithPayload

WithPayload adds the payload to the k m s delete identity default response

func (*KMSDeleteIdentityDefault) WithStatusCode

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

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

func (*KMSDeleteIdentityDefault) WriteResponse

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

WriteResponse to the client

type KMSDeleteIdentityHandler

type KMSDeleteIdentityHandler interface {
	Handle(KMSDeleteIdentityParams, *models.Principal) middleware.Responder
}

KMSDeleteIdentityHandler interface for that can handle valid k m s delete identity params

type KMSDeleteIdentityHandlerFunc

type KMSDeleteIdentityHandlerFunc func(KMSDeleteIdentityParams, *models.Principal) middleware.Responder

KMSDeleteIdentityHandlerFunc turns a function with the right signature into a k m s delete identity handler

func (KMSDeleteIdentityHandlerFunc) Handle

Handle executing the request and returning a response

type KMSDeleteIdentityOK

type KMSDeleteIdentityOK struct {
}

KMSDeleteIdentityOK A successful response.

swagger:response kMSDeleteIdentityOK

func NewKMSDeleteIdentityOK

func NewKMSDeleteIdentityOK() *KMSDeleteIdentityOK

NewKMSDeleteIdentityOK creates KMSDeleteIdentityOK with default headers values

func (*KMSDeleteIdentityOK) WriteResponse

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

WriteResponse to the client

type KMSDeleteIdentityParams

type KMSDeleteIdentityParams struct {

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

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

KMSDeleteIdentityParams contains all the bound params for the k m s delete identity operation typically these are obtained from a http.Request

swagger:parameters KMSDeleteIdentity

func NewKMSDeleteIdentityParams

func NewKMSDeleteIdentityParams() KMSDeleteIdentityParams

NewKMSDeleteIdentityParams creates a new KMSDeleteIdentityParams object

There are no default values defined in the spec.

func (*KMSDeleteIdentityParams) BindRequest

func (o *KMSDeleteIdentityParams) 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 NewKMSDeleteIdentityParams() beforehand.

type KMSDeleteIdentityURL

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

KMSDeleteIdentityURL generates an URL for the k m s delete identity operation

func (*KMSDeleteIdentityURL) Build

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

Build a url path and query string

func (*KMSDeleteIdentityURL) BuildFull

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

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

func (*KMSDeleteIdentityURL) Must

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

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

func (*KMSDeleteIdentityURL) SetBasePath

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

func (o *KMSDeleteIdentityURL) String() string

String returns the string representation of the path with query string

func (*KMSDeleteIdentityURL) StringFull

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

StringFull returns the string representation of a complete url

func (*KMSDeleteIdentityURL) WithBasePath

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

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 KMSDeleteKey

type KMSDeleteKey struct {
	Context *middleware.Context
	Handler KMSDeleteKeyHandler
}
KMSDeleteKey swagger:route DELETE /kms/keys/{name} KMS kMSDeleteKey

KMS delete key

func NewKMSDeleteKey

func NewKMSDeleteKey(ctx *middleware.Context, handler KMSDeleteKeyHandler) *KMSDeleteKey

NewKMSDeleteKey creates a new http.Handler for the k m s delete key operation

func (*KMSDeleteKey) ServeHTTP

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

type KMSDeleteKeyDefault

type KMSDeleteKeyDefault struct {

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

KMSDeleteKeyDefault Generic error response.

swagger:response kMSDeleteKeyDefault

func NewKMSDeleteKeyDefault

func NewKMSDeleteKeyDefault(code int) *KMSDeleteKeyDefault

NewKMSDeleteKeyDefault creates KMSDeleteKeyDefault with default headers values

func (*KMSDeleteKeyDefault) SetPayload

func (o *KMSDeleteKeyDefault) SetPayload(payload *models.Error)

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

func (*KMSDeleteKeyDefault) SetStatusCode

func (o *KMSDeleteKeyDefault) SetStatusCode(code int)

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

func (*KMSDeleteKeyDefault) WithPayload

func (o *KMSDeleteKeyDefault) WithPayload(payload *models.Error) *KMSDeleteKeyDefault

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

func (*KMSDeleteKeyDefault) WithStatusCode

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

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

func (*KMSDeleteKeyDefault) WriteResponse

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

WriteResponse to the client

type KMSDeleteKeyHandler

type KMSDeleteKeyHandler interface {
	Handle(KMSDeleteKeyParams, *models.Principal) middleware.Responder
}

KMSDeleteKeyHandler interface for that can handle valid k m s delete key params

type KMSDeleteKeyHandlerFunc

type KMSDeleteKeyHandlerFunc func(KMSDeleteKeyParams, *models.Principal) middleware.Responder

KMSDeleteKeyHandlerFunc turns a function with the right signature into a k m s delete key handler

func (KMSDeleteKeyHandlerFunc) Handle

Handle executing the request and returning a response

type KMSDeleteKeyOK

type KMSDeleteKeyOK struct {
}

KMSDeleteKeyOK A successful response.

swagger:response kMSDeleteKeyOK

func NewKMSDeleteKeyOK

func NewKMSDeleteKeyOK() *KMSDeleteKeyOK

NewKMSDeleteKeyOK creates KMSDeleteKeyOK with default headers values

func (*KMSDeleteKeyOK) WriteResponse

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

WriteResponse to the client

type KMSDeleteKeyParams

type KMSDeleteKeyParams struct {

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

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

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

swagger:parameters KMSDeleteKey

func NewKMSDeleteKeyParams

func NewKMSDeleteKeyParams() KMSDeleteKeyParams

NewKMSDeleteKeyParams creates a new KMSDeleteKeyParams object

There are no default values defined in the spec.

func (*KMSDeleteKeyParams) BindRequest

func (o *KMSDeleteKeyParams) 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 NewKMSDeleteKeyParams() beforehand.

type KMSDeleteKeyURL

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

KMSDeleteKeyURL generates an URL for the k m s delete key operation

func (*KMSDeleteKeyURL) Build

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

Build a url path and query string

func (*KMSDeleteKeyURL) BuildFull

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

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

func (*KMSDeleteKeyURL) Must

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

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

func (*KMSDeleteKeyURL) SetBasePath

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

func (o *KMSDeleteKeyURL) String() string

String returns the string representation of the path with query string

func (*KMSDeleteKeyURL) StringFull

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

StringFull returns the string representation of a complete url

func (*KMSDeleteKeyURL) WithBasePath

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

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 KMSDeletePolicy

type KMSDeletePolicy struct {
	Context *middleware.Context
	Handler KMSDeletePolicyHandler
}
KMSDeletePolicy swagger:route DELETE /kms/policies/{name} KMS kMSDeletePolicy

KMS delete policy

func NewKMSDeletePolicy

func NewKMSDeletePolicy(ctx *middleware.Context, handler KMSDeletePolicyHandler) *KMSDeletePolicy

NewKMSDeletePolicy creates a new http.Handler for the k m s delete policy operation

func (*KMSDeletePolicy) ServeHTTP

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

type KMSDeletePolicyDefault

type KMSDeletePolicyDefault struct {

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

KMSDeletePolicyDefault Generic error response.

swagger:response kMSDeletePolicyDefault

func NewKMSDeletePolicyDefault

func NewKMSDeletePolicyDefault(code int) *KMSDeletePolicyDefault

NewKMSDeletePolicyDefault creates KMSDeletePolicyDefault with default headers values

func (*KMSDeletePolicyDefault) SetPayload

func (o *KMSDeletePolicyDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the k m s delete policy default response

func (*KMSDeletePolicyDefault) SetStatusCode

func (o *KMSDeletePolicyDefault) SetStatusCode(code int)

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

func (*KMSDeletePolicyDefault) WithPayload

func (o *KMSDeletePolicyDefault) WithPayload(payload *models.Error) *KMSDeletePolicyDefault

WithPayload adds the payload to the k m s delete policy default response

func (*KMSDeletePolicyDefault) WithStatusCode

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

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

func (*KMSDeletePolicyDefault) WriteResponse

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

WriteResponse to the client

type KMSDeletePolicyHandler

type KMSDeletePolicyHandler interface {
	Handle(KMSDeletePolicyParams, *models.Principal) middleware.Responder
}

KMSDeletePolicyHandler interface for that can handle valid k m s delete policy params

type KMSDeletePolicyHandlerFunc

type KMSDeletePolicyHandlerFunc func(KMSDeletePolicyParams, *models.Principal) middleware.Responder

KMSDeletePolicyHandlerFunc turns a function with the right signature into a k m s delete policy handler

func (KMSDeletePolicyHandlerFunc) Handle

Handle executing the request and returning a response

type KMSDeletePolicyOK

type KMSDeletePolicyOK struct {
}

KMSDeletePolicyOK A successful response.

swagger:response kMSDeletePolicyOK

func NewKMSDeletePolicyOK

func NewKMSDeletePolicyOK() *KMSDeletePolicyOK

NewKMSDeletePolicyOK creates KMSDeletePolicyOK with default headers values

func (*KMSDeletePolicyOK) WriteResponse

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

WriteResponse to the client

type KMSDeletePolicyParams

type KMSDeletePolicyParams struct {

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

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

KMSDeletePolicyParams contains all the bound params for the k m s delete policy operation typically these are obtained from a http.Request

swagger:parameters KMSDeletePolicy

func NewKMSDeletePolicyParams

func NewKMSDeletePolicyParams() KMSDeletePolicyParams

NewKMSDeletePolicyParams creates a new KMSDeletePolicyParams object

There are no default values defined in the spec.

func (*KMSDeletePolicyParams) BindRequest

func (o *KMSDeletePolicyParams) 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 NewKMSDeletePolicyParams() beforehand.

type KMSDeletePolicyURL

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

KMSDeletePolicyURL generates an URL for the k m s delete policy operation

func (*KMSDeletePolicyURL) Build

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

Build a url path and query string

func (*KMSDeletePolicyURL) BuildFull

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

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

func (*KMSDeletePolicyURL) Must

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

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

func (*KMSDeletePolicyURL) SetBasePath

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

func (o *KMSDeletePolicyURL) String() string

String returns the string representation of the path with query string

func (*KMSDeletePolicyURL) StringFull

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

StringFull returns the string representation of a complete url

func (*KMSDeletePolicyURL) WithBasePath

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

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 KMSDescribeIdentity

type KMSDescribeIdentity struct {
	Context *middleware.Context
	Handler KMSDescribeIdentityHandler
}
KMSDescribeIdentity swagger:route GET /kms/identities/{name}/describe KMS kMSDescribeIdentity

KMS describe identity

func NewKMSDescribeIdentity

func NewKMSDescribeIdentity(ctx *middleware.Context, handler KMSDescribeIdentityHandler) *KMSDescribeIdentity

NewKMSDescribeIdentity creates a new http.Handler for the k m s describe identity operation

func (*KMSDescribeIdentity) ServeHTTP

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

type KMSDescribeIdentityDefault

type KMSDescribeIdentityDefault struct {

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

KMSDescribeIdentityDefault Generic error response.

swagger:response kMSDescribeIdentityDefault

func NewKMSDescribeIdentityDefault

func NewKMSDescribeIdentityDefault(code int) *KMSDescribeIdentityDefault

NewKMSDescribeIdentityDefault creates KMSDescribeIdentityDefault with default headers values

func (*KMSDescribeIdentityDefault) SetPayload

func (o *KMSDescribeIdentityDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the k m s describe identity default response

func (*KMSDescribeIdentityDefault) SetStatusCode

func (o *KMSDescribeIdentityDefault) SetStatusCode(code int)

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

func (*KMSDescribeIdentityDefault) WithPayload

WithPayload adds the payload to the k m s describe identity default response

func (*KMSDescribeIdentityDefault) WithStatusCode

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

func (*KMSDescribeIdentityDefault) WriteResponse

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

WriteResponse to the client

type KMSDescribeIdentityHandler

type KMSDescribeIdentityHandler interface {
	Handle(KMSDescribeIdentityParams, *models.Principal) middleware.Responder
}

KMSDescribeIdentityHandler interface for that can handle valid k m s describe identity params

type KMSDescribeIdentityHandlerFunc

type KMSDescribeIdentityHandlerFunc func(KMSDescribeIdentityParams, *models.Principal) middleware.Responder

KMSDescribeIdentityHandlerFunc turns a function with the right signature into a k m s describe identity handler

func (KMSDescribeIdentityHandlerFunc) Handle

Handle executing the request and returning a response

type KMSDescribeIdentityOK

type KMSDescribeIdentityOK struct {

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

KMSDescribeIdentityOK A successful response.

swagger:response kMSDescribeIdentityOK

func NewKMSDescribeIdentityOK

func NewKMSDescribeIdentityOK() *KMSDescribeIdentityOK

NewKMSDescribeIdentityOK creates KMSDescribeIdentityOK with default headers values

func (*KMSDescribeIdentityOK) SetPayload

SetPayload sets the payload to the k m s describe identity o k response

func (*KMSDescribeIdentityOK) WithPayload

WithPayload adds the payload to the k m s describe identity o k response

func (*KMSDescribeIdentityOK) WriteResponse

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

WriteResponse to the client

type KMSDescribeIdentityParams

type KMSDescribeIdentityParams struct {

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

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

KMSDescribeIdentityParams contains all the bound params for the k m s describe identity operation typically these are obtained from a http.Request

swagger:parameters KMSDescribeIdentity

func NewKMSDescribeIdentityParams

func NewKMSDescribeIdentityParams() KMSDescribeIdentityParams

NewKMSDescribeIdentityParams creates a new KMSDescribeIdentityParams object

There are no default values defined in the spec.

func (*KMSDescribeIdentityParams) BindRequest

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 NewKMSDescribeIdentityParams() beforehand.

type KMSDescribeIdentityURL

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

KMSDescribeIdentityURL generates an URL for the k m s describe identity operation

func (*KMSDescribeIdentityURL) Build

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

Build a url path and query string

func (*KMSDescribeIdentityURL) BuildFull

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

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

func (*KMSDescribeIdentityURL) Must

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

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

func (*KMSDescribeIdentityURL) SetBasePath

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

func (o *KMSDescribeIdentityURL) String() string

String returns the string representation of the path with query string

func (*KMSDescribeIdentityURL) StringFull

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

StringFull returns the string representation of a complete url

func (*KMSDescribeIdentityURL) WithBasePath

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 KMSDescribePolicy

type KMSDescribePolicy struct {
	Context *middleware.Context
	Handler KMSDescribePolicyHandler
}
KMSDescribePolicy swagger:route GET /kms/policies/{name}/describe KMS kMSDescribePolicy

KMS describe policy

func NewKMSDescribePolicy

func NewKMSDescribePolicy(ctx *middleware.Context, handler KMSDescribePolicyHandler) *KMSDescribePolicy

NewKMSDescribePolicy creates a new http.Handler for the k m s describe policy operation

func (*KMSDescribePolicy) ServeHTTP

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

type KMSDescribePolicyDefault

type KMSDescribePolicyDefault struct {

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

KMSDescribePolicyDefault Generic error response.

swagger:response kMSDescribePolicyDefault

func NewKMSDescribePolicyDefault

func NewKMSDescribePolicyDefault(code int) *KMSDescribePolicyDefault

NewKMSDescribePolicyDefault creates KMSDescribePolicyDefault with default headers values

func (*KMSDescribePolicyDefault) SetPayload

func (o *KMSDescribePolicyDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the k m s describe policy default response

func (*KMSDescribePolicyDefault) SetStatusCode

func (o *KMSDescribePolicyDefault) SetStatusCode(code int)

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

func (*KMSDescribePolicyDefault) WithPayload

WithPayload adds the payload to the k m s describe policy default response

func (*KMSDescribePolicyDefault) WithStatusCode

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

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

func (*KMSDescribePolicyDefault) WriteResponse

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

WriteResponse to the client

type KMSDescribePolicyHandler

type KMSDescribePolicyHandler interface {
	Handle(KMSDescribePolicyParams, *models.Principal) middleware.Responder
}

KMSDescribePolicyHandler interface for that can handle valid k m s describe policy params

type KMSDescribePolicyHandlerFunc

type KMSDescribePolicyHandlerFunc func(KMSDescribePolicyParams, *models.Principal) middleware.Responder

KMSDescribePolicyHandlerFunc turns a function with the right signature into a k m s describe policy handler

func (KMSDescribePolicyHandlerFunc) Handle

Handle executing the request and returning a response

type KMSDescribePolicyOK

type KMSDescribePolicyOK struct {

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

KMSDescribePolicyOK A successful response.

swagger:response kMSDescribePolicyOK

func NewKMSDescribePolicyOK

func NewKMSDescribePolicyOK() *KMSDescribePolicyOK

NewKMSDescribePolicyOK creates KMSDescribePolicyOK with default headers values

func (*KMSDescribePolicyOK) SetPayload

func (o *KMSDescribePolicyOK) SetPayload(payload *models.KmsDescribePolicyResponse)

SetPayload sets the payload to the k m s describe policy o k response

func (*KMSDescribePolicyOK) WithPayload

WithPayload adds the payload to the k m s describe policy o k response

func (*KMSDescribePolicyOK) WriteResponse

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

WriteResponse to the client

type KMSDescribePolicyParams

type KMSDescribePolicyParams struct {

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

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

KMSDescribePolicyParams contains all the bound params for the k m s describe policy operation typically these are obtained from a http.Request

swagger:parameters KMSDescribePolicy

func NewKMSDescribePolicyParams

func NewKMSDescribePolicyParams() KMSDescribePolicyParams

NewKMSDescribePolicyParams creates a new KMSDescribePolicyParams object

There are no default values defined in the spec.

func (*KMSDescribePolicyParams) BindRequest

func (o *KMSDescribePolicyParams) 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 NewKMSDescribePolicyParams() beforehand.

type KMSDescribePolicyURL

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

KMSDescribePolicyURL generates an URL for the k m s describe policy operation

func (*KMSDescribePolicyURL) Build

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

Build a url path and query string

func (*KMSDescribePolicyURL) BuildFull

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

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

func (*KMSDescribePolicyURL) Must

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

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

func (*KMSDescribePolicyURL) SetBasePath

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

func (o *KMSDescribePolicyURL) String() string

String returns the string representation of the path with query string

func (*KMSDescribePolicyURL) StringFull

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

StringFull returns the string representation of a complete url

func (*KMSDescribePolicyURL) WithBasePath

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

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 KMSDescribeSelfIdentity

type KMSDescribeSelfIdentity struct {
	Context *middleware.Context
	Handler KMSDescribeSelfIdentityHandler
}
KMSDescribeSelfIdentity swagger:route GET /kms/describe-self/identity KMS kMSDescribeSelfIdentity

KMS describe self identity

func NewKMSDescribeSelfIdentity

func NewKMSDescribeSelfIdentity(ctx *middleware.Context, handler KMSDescribeSelfIdentityHandler) *KMSDescribeSelfIdentity

NewKMSDescribeSelfIdentity creates a new http.Handler for the k m s describe self identity operation

func (*KMSDescribeSelfIdentity) ServeHTTP

type KMSDescribeSelfIdentityDefault

type KMSDescribeSelfIdentityDefault struct {

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

KMSDescribeSelfIdentityDefault Generic error response.

swagger:response kMSDescribeSelfIdentityDefault

func NewKMSDescribeSelfIdentityDefault

func NewKMSDescribeSelfIdentityDefault(code int) *KMSDescribeSelfIdentityDefault

NewKMSDescribeSelfIdentityDefault creates KMSDescribeSelfIdentityDefault with default headers values

func (*KMSDescribeSelfIdentityDefault) SetPayload

func (o *KMSDescribeSelfIdentityDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the k m s describe self identity default response

func (*KMSDescribeSelfIdentityDefault) SetStatusCode

func (o *KMSDescribeSelfIdentityDefault) SetStatusCode(code int)

SetStatusCode sets the status to the k m s describe self identity default response

func (*KMSDescribeSelfIdentityDefault) WithPayload

WithPayload adds the payload to the k m s describe self identity default response

func (*KMSDescribeSelfIdentityDefault) WithStatusCode

WithStatusCode adds the status to the k m s describe self identity default response

func (*KMSDescribeSelfIdentityDefault) WriteResponse

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

WriteResponse to the client

type KMSDescribeSelfIdentityHandler

type KMSDescribeSelfIdentityHandler interface {
	Handle(KMSDescribeSelfIdentityParams, *models.Principal) middleware.Responder
}

KMSDescribeSelfIdentityHandler interface for that can handle valid k m s describe self identity params

type KMSDescribeSelfIdentityHandlerFunc

type KMSDescribeSelfIdentityHandlerFunc func(KMSDescribeSelfIdentityParams, *models.Principal) middleware.Responder

KMSDescribeSelfIdentityHandlerFunc turns a function with the right signature into a k m s describe self identity handler

func (KMSDescribeSelfIdentityHandlerFunc) Handle

Handle executing the request and returning a response

type KMSDescribeSelfIdentityOK

type KMSDescribeSelfIdentityOK struct {

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

KMSDescribeSelfIdentityOK A successful response.

swagger:response kMSDescribeSelfIdentityOK

func NewKMSDescribeSelfIdentityOK

func NewKMSDescribeSelfIdentityOK() *KMSDescribeSelfIdentityOK

NewKMSDescribeSelfIdentityOK creates KMSDescribeSelfIdentityOK with default headers values

func (*KMSDescribeSelfIdentityOK) SetPayload

SetPayload sets the payload to the k m s describe self identity o k response

func (*KMSDescribeSelfIdentityOK) WithPayload

WithPayload adds the payload to the k m s describe self identity o k response

func (*KMSDescribeSelfIdentityOK) WriteResponse

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

WriteResponse to the client

type KMSDescribeSelfIdentityParams

type KMSDescribeSelfIdentityParams struct {

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

KMSDescribeSelfIdentityParams contains all the bound params for the k m s describe self identity operation typically these are obtained from a http.Request

swagger:parameters KMSDescribeSelfIdentity

func NewKMSDescribeSelfIdentityParams

func NewKMSDescribeSelfIdentityParams() KMSDescribeSelfIdentityParams

NewKMSDescribeSelfIdentityParams creates a new KMSDescribeSelfIdentityParams object

There are no default values defined in the spec.

func (*KMSDescribeSelfIdentityParams) BindRequest

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 NewKMSDescribeSelfIdentityParams() beforehand.

type KMSDescribeSelfIdentityURL

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

KMSDescribeSelfIdentityURL generates an URL for the k m s describe self identity operation

func (*KMSDescribeSelfIdentityURL) Build

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

Build a url path and query string

func (*KMSDescribeSelfIdentityURL) BuildFull

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

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

func (*KMSDescribeSelfIdentityURL) Must

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

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

func (*KMSDescribeSelfIdentityURL) SetBasePath

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

func (o *KMSDescribeSelfIdentityURL) String() string

String returns the string representation of the path with query string

func (*KMSDescribeSelfIdentityURL) StringFull

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

StringFull returns the string representation of a complete url

func (*KMSDescribeSelfIdentityURL) WithBasePath

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 KMSGetPolicy

type KMSGetPolicy struct {
	Context *middleware.Context
	Handler KMSGetPolicyHandler
}
KMSGetPolicy swagger:route GET /kms/policies/{name} KMS kMSGetPolicy

KMS get policy

func NewKMSGetPolicy

func NewKMSGetPolicy(ctx *middleware.Context, handler KMSGetPolicyHandler) *KMSGetPolicy

NewKMSGetPolicy creates a new http.Handler for the k m s get policy operation

func (*KMSGetPolicy) ServeHTTP

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

type KMSGetPolicyDefault

type KMSGetPolicyDefault struct {

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

KMSGetPolicyDefault Generic error response.

swagger:response kMSGetPolicyDefault

func NewKMSGetPolicyDefault

func NewKMSGetPolicyDefault(code int) *KMSGetPolicyDefault

NewKMSGetPolicyDefault creates KMSGetPolicyDefault with default headers values

func (*KMSGetPolicyDefault) SetPayload

func (o *KMSGetPolicyDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the k m s get policy default response

func (*KMSGetPolicyDefault) SetStatusCode

func (o *KMSGetPolicyDefault) SetStatusCode(code int)

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

func (*KMSGetPolicyDefault) WithPayload

func (o *KMSGetPolicyDefault) WithPayload(payload *models.Error) *KMSGetPolicyDefault

WithPayload adds the payload to the k m s get policy default response

func (*KMSGetPolicyDefault) WithStatusCode

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

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

func (*KMSGetPolicyDefault) WriteResponse

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

WriteResponse to the client

type KMSGetPolicyHandler

type KMSGetPolicyHandler interface {
	Handle(KMSGetPolicyParams, *models.Principal) middleware.Responder
}

KMSGetPolicyHandler interface for that can handle valid k m s get policy params

type KMSGetPolicyHandlerFunc

type KMSGetPolicyHandlerFunc func(KMSGetPolicyParams, *models.Principal) middleware.Responder

KMSGetPolicyHandlerFunc turns a function with the right signature into a k m s get policy handler

func (KMSGetPolicyHandlerFunc) Handle

Handle executing the request and returning a response

type KMSGetPolicyOK

type KMSGetPolicyOK struct {

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

KMSGetPolicyOK A successful response.

swagger:response kMSGetPolicyOK

func NewKMSGetPolicyOK

func NewKMSGetPolicyOK() *KMSGetPolicyOK

NewKMSGetPolicyOK creates KMSGetPolicyOK with default headers values

func (*KMSGetPolicyOK) SetPayload

func (o *KMSGetPolicyOK) SetPayload(payload *models.KmsGetPolicyResponse)

SetPayload sets the payload to the k m s get policy o k response

func (*KMSGetPolicyOK) WithPayload

func (o *KMSGetPolicyOK) WithPayload(payload *models.KmsGetPolicyResponse) *KMSGetPolicyOK

WithPayload adds the payload to the k m s get policy o k response

func (*KMSGetPolicyOK) WriteResponse

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

WriteResponse to the client

type KMSGetPolicyParams

type KMSGetPolicyParams struct {

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

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

KMSGetPolicyParams contains all the bound params for the k m s get policy operation typically these are obtained from a http.Request

swagger:parameters KMSGetPolicy

func NewKMSGetPolicyParams

func NewKMSGetPolicyParams() KMSGetPolicyParams

NewKMSGetPolicyParams creates a new KMSGetPolicyParams object

There are no default values defined in the spec.

func (*KMSGetPolicyParams) BindRequest

func (o *KMSGetPolicyParams) 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 NewKMSGetPolicyParams() beforehand.

type KMSGetPolicyURL

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

KMSGetPolicyURL generates an URL for the k m s get policy operation

func (*KMSGetPolicyURL) Build

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

Build a url path and query string

func (*KMSGetPolicyURL) BuildFull

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

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

func (*KMSGetPolicyURL) Must

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

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

func (*KMSGetPolicyURL) SetBasePath

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

func (o *KMSGetPolicyURL) String() string

String returns the string representation of the path with query string

func (*KMSGetPolicyURL) StringFull

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

StringFull returns the string representation of a complete url

func (*KMSGetPolicyURL) WithBasePath

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

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 KMSImportKey

type KMSImportKey struct {
	Context *middleware.Context
	Handler KMSImportKeyHandler
}
KMSImportKey swagger:route POST /kms/keys/{name}/import KMS kMSImportKey

KMS import key

func NewKMSImportKey

func NewKMSImportKey(ctx *middleware.Context, handler KMSImportKeyHandler) *KMSImportKey

NewKMSImportKey creates a new http.Handler for the k m s import key operation

func (*KMSImportKey) ServeHTTP

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

type KMSImportKeyCreated

type KMSImportKeyCreated struct {
}

KMSImportKeyCreated A successful response.

swagger:response kMSImportKeyCreated

func NewKMSImportKeyCreated

func NewKMSImportKeyCreated() *KMSImportKeyCreated

NewKMSImportKeyCreated creates KMSImportKeyCreated with default headers values

func (*KMSImportKeyCreated) WriteResponse

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

WriteResponse to the client

type KMSImportKeyDefault

type KMSImportKeyDefault struct {

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

KMSImportKeyDefault Generic error response.

swagger:response kMSImportKeyDefault

func NewKMSImportKeyDefault

func NewKMSImportKeyDefault(code int) *KMSImportKeyDefault

NewKMSImportKeyDefault creates KMSImportKeyDefault with default headers values

func (*KMSImportKeyDefault) SetPayload

func (o *KMSImportKeyDefault) SetPayload(payload *models.Error)

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

func (*KMSImportKeyDefault) SetStatusCode

func (o *KMSImportKeyDefault) SetStatusCode(code int)

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

func (*KMSImportKeyDefault) WithPayload

func (o *KMSImportKeyDefault) WithPayload(payload *models.Error) *KMSImportKeyDefault

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

func (*KMSImportKeyDefault) WithStatusCode

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

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

func (*KMSImportKeyDefault) WriteResponse

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

WriteResponse to the client

type KMSImportKeyHandler

type KMSImportKeyHandler interface {
	Handle(KMSImportKeyParams, *models.Principal) middleware.Responder
}

KMSImportKeyHandler interface for that can handle valid k m s import key params

type KMSImportKeyHandlerFunc

type KMSImportKeyHandlerFunc func(KMSImportKeyParams, *models.Principal) middleware.Responder

KMSImportKeyHandlerFunc turns a function with the right signature into a k m s import key handler

func (KMSImportKeyHandlerFunc) Handle

Handle executing the request and returning a response

type KMSImportKeyParams

type KMSImportKeyParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.KmsImportKeyRequest
	/*KMS key name
	  Required: true
	  In: path
	*/
	Name string
}

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

swagger:parameters KMSImportKey

func NewKMSImportKeyParams

func NewKMSImportKeyParams() KMSImportKeyParams

NewKMSImportKeyParams creates a new KMSImportKeyParams object

There are no default values defined in the spec.

func (*KMSImportKeyParams) BindRequest

func (o *KMSImportKeyParams) 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 NewKMSImportKeyParams() beforehand.

type KMSImportKeyURL

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

KMSImportKeyURL generates an URL for the k m s import key operation

func (*KMSImportKeyURL) Build

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

Build a url path and query string

func (*KMSImportKeyURL) BuildFull

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

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

func (*KMSImportKeyURL) Must

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

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

func (*KMSImportKeyURL) SetBasePath

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

func (o *KMSImportKeyURL) String() string

String returns the string representation of the path with query string

func (*KMSImportKeyURL) StringFull

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

StringFull returns the string representation of a complete url

func (*KMSImportKeyURL) WithBasePath

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

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.Error `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.Error)

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.Error) *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 KMSListIdentities

type KMSListIdentities struct {
	Context *middleware.Context
	Handler KMSListIdentitiesHandler
}
KMSListIdentities swagger:route GET /kms/identities KMS kMSListIdentities

KMS list identities

func NewKMSListIdentities

func NewKMSListIdentities(ctx *middleware.Context, handler KMSListIdentitiesHandler) *KMSListIdentities

NewKMSListIdentities creates a new http.Handler for the k m s list identities operation

func (*KMSListIdentities) ServeHTTP

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

type KMSListIdentitiesDefault

type KMSListIdentitiesDefault struct {

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

KMSListIdentitiesDefault Generic error response.

swagger:response kMSListIdentitiesDefault

func NewKMSListIdentitiesDefault

func NewKMSListIdentitiesDefault(code int) *KMSListIdentitiesDefault

NewKMSListIdentitiesDefault creates KMSListIdentitiesDefault with default headers values

func (*KMSListIdentitiesDefault) SetPayload

func (o *KMSListIdentitiesDefault) SetPayload(payload *models.Error)

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

func (*KMSListIdentitiesDefault) SetStatusCode

func (o *KMSListIdentitiesDefault) SetStatusCode(code int)

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

func (*KMSListIdentitiesDefault) WithPayload

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

func (*KMSListIdentitiesDefault) WithStatusCode

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

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

func (*KMSListIdentitiesDefault) WriteResponse

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

WriteResponse to the client

type KMSListIdentitiesHandler

type KMSListIdentitiesHandler interface {
	Handle(KMSListIdentitiesParams, *models.Principal) middleware.Responder
}

KMSListIdentitiesHandler interface for that can handle valid k m s list identities params

type KMSListIdentitiesHandlerFunc

type KMSListIdentitiesHandlerFunc func(KMSListIdentitiesParams, *models.Principal) middleware.Responder

KMSListIdentitiesHandlerFunc turns a function with the right signature into a k m s list identities handler

func (KMSListIdentitiesHandlerFunc) Handle

Handle executing the request and returning a response

type KMSListIdentitiesOK

type KMSListIdentitiesOK struct {

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

KMSListIdentitiesOK A successful response.

swagger:response kMSListIdentitiesOK

func NewKMSListIdentitiesOK

func NewKMSListIdentitiesOK() *KMSListIdentitiesOK

NewKMSListIdentitiesOK creates KMSListIdentitiesOK with default headers values

func (*KMSListIdentitiesOK) SetPayload

func (o *KMSListIdentitiesOK) SetPayload(payload *models.KmsListIdentitiesResponse)

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

func (*KMSListIdentitiesOK) WithPayload

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

func (*KMSListIdentitiesOK) WriteResponse

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

WriteResponse to the client

type KMSListIdentitiesParams

type KMSListIdentitiesParams struct {

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

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

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

swagger:parameters KMSListIdentities

func NewKMSListIdentitiesParams

func NewKMSListIdentitiesParams() KMSListIdentitiesParams

NewKMSListIdentitiesParams creates a new KMSListIdentitiesParams object

There are no default values defined in the spec.

func (*KMSListIdentitiesParams) BindRequest

func (o *KMSListIdentitiesParams) 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 NewKMSListIdentitiesParams() beforehand.

type KMSListIdentitiesURL

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

KMSListIdentitiesURL generates an URL for the k m s list identities operation

func (*KMSListIdentitiesURL) Build

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

Build a url path and query string

func (*KMSListIdentitiesURL) BuildFull

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

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

func (*KMSListIdentitiesURL) Must

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

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

func (*KMSListIdentitiesURL) SetBasePath

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

func (o *KMSListIdentitiesURL) String() string

String returns the string representation of the path with query string

func (*KMSListIdentitiesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*KMSListIdentitiesURL) WithBasePath

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

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.Error `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.Error)

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.Error) *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 KMSListPolicies

type KMSListPolicies struct {
	Context *middleware.Context
	Handler KMSListPoliciesHandler
}
KMSListPolicies swagger:route GET /kms/policies KMS kMSListPolicies

KMS list policies

func NewKMSListPolicies

func NewKMSListPolicies(ctx *middleware.Context, handler KMSListPoliciesHandler) *KMSListPolicies

NewKMSListPolicies creates a new http.Handler for the k m s list policies operation

func (*KMSListPolicies) ServeHTTP

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

type KMSListPoliciesDefault

type KMSListPoliciesDefault struct {

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

KMSListPoliciesDefault Generic error response.

swagger:response kMSListPoliciesDefault

func NewKMSListPoliciesDefault

func NewKMSListPoliciesDefault(code int) *KMSListPoliciesDefault

NewKMSListPoliciesDefault creates KMSListPoliciesDefault with default headers values

func (*KMSListPoliciesDefault) SetPayload

func (o *KMSListPoliciesDefault) SetPayload(payload *models.Error)

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

func (*KMSListPoliciesDefault) SetStatusCode

func (o *KMSListPoliciesDefault) SetStatusCode(code int)

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

func (*KMSListPoliciesDefault) WithPayload

func (o *KMSListPoliciesDefault) WithPayload(payload *models.Error) *KMSListPoliciesDefault

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

func (*KMSListPoliciesDefault) WithStatusCode

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

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

func (*KMSListPoliciesDefault) WriteResponse

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

WriteResponse to the client

type KMSListPoliciesHandler

type KMSListPoliciesHandler interface {
	Handle(KMSListPoliciesParams, *models.Principal) middleware.Responder
}

KMSListPoliciesHandler interface for that can handle valid k m s list policies params

type KMSListPoliciesHandlerFunc

type KMSListPoliciesHandlerFunc func(KMSListPoliciesParams, *models.Principal) middleware.Responder

KMSListPoliciesHandlerFunc turns a function with the right signature into a k m s list policies handler

func (KMSListPoliciesHandlerFunc) Handle

Handle executing the request and returning a response

type KMSListPoliciesOK

type KMSListPoliciesOK struct {

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

KMSListPoliciesOK A successful response.

swagger:response kMSListPoliciesOK

func NewKMSListPoliciesOK

func NewKMSListPoliciesOK() *KMSListPoliciesOK

NewKMSListPoliciesOK creates KMSListPoliciesOK with default headers values

func (*KMSListPoliciesOK) SetPayload

func (o *KMSListPoliciesOK) SetPayload(payload *models.KmsListPoliciesResponse)

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

func (*KMSListPoliciesOK) WithPayload

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

func (*KMSListPoliciesOK) WriteResponse

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

WriteResponse to the client

type KMSListPoliciesParams

type KMSListPoliciesParams struct {

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

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

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

swagger:parameters KMSListPolicies

func NewKMSListPoliciesParams

func NewKMSListPoliciesParams() KMSListPoliciesParams

NewKMSListPoliciesParams creates a new KMSListPoliciesParams object

There are no default values defined in the spec.

func (*KMSListPoliciesParams) BindRequest

func (o *KMSListPoliciesParams) 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 NewKMSListPoliciesParams() beforehand.

type KMSListPoliciesURL

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

KMSListPoliciesURL generates an URL for the k m s list policies operation

func (*KMSListPoliciesURL) Build

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

Build a url path and query string

func (*KMSListPoliciesURL) BuildFull

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

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

func (*KMSListPoliciesURL) Must

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

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

func (*KMSListPoliciesURL) SetBasePath

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

func (o *KMSListPoliciesURL) String() string

String returns the string representation of the path with query string

func (*KMSListPoliciesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*KMSListPoliciesURL) WithBasePath

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

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.Error `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.Error)

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.Error) *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 KMSSetPolicy

type KMSSetPolicy struct {
	Context *middleware.Context
	Handler KMSSetPolicyHandler
}
KMSSetPolicy swagger:route POST /kms/policies KMS kMSSetPolicy

KMS set policy

func NewKMSSetPolicy

func NewKMSSetPolicy(ctx *middleware.Context, handler KMSSetPolicyHandler) *KMSSetPolicy

NewKMSSetPolicy creates a new http.Handler for the k m s set policy operation

func (*KMSSetPolicy) ServeHTTP

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

type KMSSetPolicyDefault

type KMSSetPolicyDefault struct {

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

KMSSetPolicyDefault Generic error response.

swagger:response kMSSetPolicyDefault

func NewKMSSetPolicyDefault

func NewKMSSetPolicyDefault(code int) *KMSSetPolicyDefault

NewKMSSetPolicyDefault creates KMSSetPolicyDefault with default headers values

func (*KMSSetPolicyDefault) SetPayload

func (o *KMSSetPolicyDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the k m s set policy default response

func (*KMSSetPolicyDefault) SetStatusCode

func (o *KMSSetPolicyDefault) SetStatusCode(code int)

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

func (*KMSSetPolicyDefault) WithPayload

func (o *KMSSetPolicyDefault) WithPayload(payload *models.Error) *KMSSetPolicyDefault

WithPayload adds the payload to the k m s set policy default response

func (*KMSSetPolicyDefault) WithStatusCode

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

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

func (*KMSSetPolicyDefault) WriteResponse

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

WriteResponse to the client

type KMSSetPolicyHandler

type KMSSetPolicyHandler interface {
	Handle(KMSSetPolicyParams, *models.Principal) middleware.Responder
}

KMSSetPolicyHandler interface for that can handle valid k m s set policy params

type KMSSetPolicyHandlerFunc

type KMSSetPolicyHandlerFunc func(KMSSetPolicyParams, *models.Principal) middleware.Responder

KMSSetPolicyHandlerFunc turns a function with the right signature into a k m s set policy handler

func (KMSSetPolicyHandlerFunc) Handle

Handle executing the request and returning a response

type KMSSetPolicyOK

type KMSSetPolicyOK struct {
}

KMSSetPolicyOK A successful response.

swagger:response kMSSetPolicyOK

func NewKMSSetPolicyOK

func NewKMSSetPolicyOK() *KMSSetPolicyOK

NewKMSSetPolicyOK creates KMSSetPolicyOK with default headers values

func (*KMSSetPolicyOK) WriteResponse

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

WriteResponse to the client

type KMSSetPolicyParams

type KMSSetPolicyParams struct {

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

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

KMSSetPolicyParams contains all the bound params for the k m s set policy operation typically these are obtained from a http.Request

swagger:parameters KMSSetPolicy

func NewKMSSetPolicyParams

func NewKMSSetPolicyParams() KMSSetPolicyParams

NewKMSSetPolicyParams creates a new KMSSetPolicyParams object

There are no default values defined in the spec.

func (*KMSSetPolicyParams) BindRequest

func (o *KMSSetPolicyParams) 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 NewKMSSetPolicyParams() beforehand.

type KMSSetPolicyURL

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

KMSSetPolicyURL generates an URL for the k m s set policy operation

func (*KMSSetPolicyURL) Build

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

Build a url path and query string

func (*KMSSetPolicyURL) BuildFull

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

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

func (*KMSSetPolicyURL) Must

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

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

func (*KMSSetPolicyURL) SetBasePath

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

func (o *KMSSetPolicyURL) String() string

String returns the string representation of the path with query string

func (*KMSSetPolicyURL) StringFull

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

StringFull returns the string representation of a complete url

func (*KMSSetPolicyURL) WithBasePath

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

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.Error `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.Error)

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.Error) *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.Error `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.Error)

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.Error) *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

Source Files

Jump to

Keyboard shortcuts

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