operator_api

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2021 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const CreateNamespaceCreatedCode int = 201

CreateNamespaceCreatedCode is the HTTP code returned for type CreateNamespaceCreated

View Source
const CreateTenantOKCode int = 200

CreateTenantOKCode is the HTTP code returned for type CreateTenantOK

View Source
const DeletePodNoContentCode int = 204

DeletePodNoContentCode is the HTTP code returned for type DeletePodNoContent

View Source
const DeleteTenantNoContentCode int = 204

DeleteTenantNoContentCode is the HTTP code returned for type DeleteTenantNoContent

View Source
const DirectCSIFormatDriveOKCode int = 200

DirectCSIFormatDriveOKCode is the HTTP code returned for type DirectCSIFormatDriveOK

View Source
const GetDirectCSIDriveListOKCode int = 200

GetDirectCSIDriveListOKCode is the HTTP code returned for type GetDirectCSIDriveListOK

View Source
const GetDirectCSIVolumeListOKCode int = 200

GetDirectCSIVolumeListOKCode is the HTTP code returned for type GetDirectCSIVolumeListOK

View Source
const GetMaxAllocatableMemOKCode int = 200

GetMaxAllocatableMemOKCode is the HTTP code returned for type GetMaxAllocatableMemOK

View Source
const GetParityOKCode int = 200

GetParityOKCode is the HTTP code returned for type GetParityOK

View Source
const GetPodEventsOKCode int = 200

GetPodEventsOKCode is the HTTP code returned for type GetPodEventsOK

View Source
const GetPodLogsOKCode int = 200

GetPodLogsOKCode is the HTTP code returned for type GetPodLogsOK

View Source
const GetResourceQuotaOKCode int = 200

GetResourceQuotaOKCode is the HTTP code returned for type GetResourceQuotaOK

View Source
const GetTenantPodsOKCode int = 200

GetTenantPodsOKCode is the HTTP code returned for type GetTenantPodsOK

View Source
const GetTenantUsageOKCode int = 200

GetTenantUsageOKCode is the HTTP code returned for type GetTenantUsageOK

View Source
const GetTenantYAMLOKCode int = 200

GetTenantYAMLOKCode is the HTTP code returned for type GetTenantYAMLOK

View Source
const ListAllTenantsOKCode int = 200

ListAllTenantsOKCode is the HTTP code returned for type ListAllTenantsOK

View Source
const ListNodeLabelsOKCode int = 200

ListNodeLabelsOKCode is the HTTP code returned for type ListNodeLabelsOK

View Source
const ListPVCsOKCode int = 200

ListPVCsOKCode is the HTTP code returned for type ListPVCsOK

View Source
const ListTenantsOKCode int = 200

ListTenantsOKCode is the HTTP code returned for type ListTenantsOK

View Source
const PutTenantYAMLCreatedCode int = 201

PutTenantYAMLCreatedCode is the HTTP code returned for type PutTenantYAMLCreated

View Source
const SubscriptionActivateNoContentCode int = 204

SubscriptionActivateNoContentCode is the HTTP code returned for type SubscriptionActivateNoContent

View Source
const SubscriptionInfoOKCode int = 200

SubscriptionInfoOKCode is the HTTP code returned for type SubscriptionInfoOK

View Source
const SubscriptionRefreshOKCode int = 200

SubscriptionRefreshOKCode is the HTTP code returned for type SubscriptionRefreshOK

View Source
const SubscriptionValidateOKCode int = 200

SubscriptionValidateOKCode is the HTTP code returned for type SubscriptionValidateOK

View Source
const TenantAddPoolCreatedCode int = 201

TenantAddPoolCreatedCode is the HTTP code returned for type TenantAddPoolCreated

View Source
const TenantDetailsOKCode int = 200

TenantDetailsOKCode is the HTTP code returned for type TenantDetailsOK

View Source
const TenantSecurityOKCode int = 200

TenantSecurityOKCode is the HTTP code returned for type TenantSecurityOK

View Source
const TenantUpdateCertificateCreatedCode int = 201

TenantUpdateCertificateCreatedCode is the HTTP code returned for type TenantUpdateCertificateCreated

View Source
const TenantUpdateEncryptionCreatedCode int = 201

TenantUpdateEncryptionCreatedCode is the HTTP code returned for type TenantUpdateEncryptionCreated

View Source
const TenantUpdatePoolsOKCode int = 200

TenantUpdatePoolsOKCode is the HTTP code returned for type TenantUpdatePoolsOK

View Source
const UpdateTenantCreatedCode int = 201

UpdateTenantCreatedCode is the HTTP code returned for type UpdateTenantCreated

View Source
const UpdateTenantSecurityNoContentCode int = 204

UpdateTenantSecurityNoContentCode is the HTTP code returned for type UpdateTenantSecurityNoContent

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateNamespace

type CreateNamespace struct {
	Context *middleware.Context
	Handler CreateNamespaceHandler
}
CreateNamespace swagger:route POST /namespace OperatorAPI createNamespace

Creates a new Namespace with given information

func NewCreateNamespace

func NewCreateNamespace(ctx *middleware.Context, handler CreateNamespaceHandler) *CreateNamespace

NewCreateNamespace creates a new http.Handler for the create namespace operation

func (*CreateNamespace) ServeHTTP

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

type CreateNamespaceCreated

type CreateNamespaceCreated struct {
}

CreateNamespaceCreated A successful response.

swagger:response createNamespaceCreated

func NewCreateNamespaceCreated

func NewCreateNamespaceCreated() *CreateNamespaceCreated

NewCreateNamespaceCreated creates CreateNamespaceCreated with default headers values

func (*CreateNamespaceCreated) WriteResponse

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

WriteResponse to the client

type CreateNamespaceDefault

type CreateNamespaceDefault struct {

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

CreateNamespaceDefault Generic error response.

swagger:response createNamespaceDefault

func NewCreateNamespaceDefault

func NewCreateNamespaceDefault(code int) *CreateNamespaceDefault

NewCreateNamespaceDefault creates CreateNamespaceDefault with default headers values

func (*CreateNamespaceDefault) SetPayload

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

SetPayload sets the payload to the create namespace default response

func (*CreateNamespaceDefault) SetStatusCode

func (o *CreateNamespaceDefault) SetStatusCode(code int)

SetStatusCode sets the status to the create namespace default response

func (*CreateNamespaceDefault) WithPayload

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

WithPayload adds the payload to the create namespace default response

func (*CreateNamespaceDefault) WithStatusCode

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

WithStatusCode adds the status to the create namespace default response

func (*CreateNamespaceDefault) WriteResponse

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

WriteResponse to the client

type CreateNamespaceHandler

type CreateNamespaceHandler interface {
	Handle(CreateNamespaceParams, *models.Principal) middleware.Responder
}

CreateNamespaceHandler interface for that can handle valid create namespace params

type CreateNamespaceHandlerFunc

type CreateNamespaceHandlerFunc func(CreateNamespaceParams, *models.Principal) middleware.Responder

CreateNamespaceHandlerFunc turns a function with the right signature into a create namespace handler

func (CreateNamespaceHandlerFunc) Handle

Handle executing the request and returning a response

type CreateNamespaceParams

type CreateNamespaceParams struct {

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

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

CreateNamespaceParams contains all the bound params for the create namespace operation typically these are obtained from a http.Request

swagger:parameters CreateNamespace

func NewCreateNamespaceParams

func NewCreateNamespaceParams() CreateNamespaceParams

NewCreateNamespaceParams creates a new CreateNamespaceParams object

There are no default values defined in the spec.

func (*CreateNamespaceParams) BindRequest

func (o *CreateNamespaceParams) 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 NewCreateNamespaceParams() beforehand.

type CreateNamespaceURL

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

CreateNamespaceURL generates an URL for the create namespace operation

func (*CreateNamespaceURL) Build

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

Build a url path and query string

func (*CreateNamespaceURL) BuildFull

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

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

func (*CreateNamespaceURL) Must

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

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

func (*CreateNamespaceURL) SetBasePath

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

func (o *CreateNamespaceURL) String() string

String returns the string representation of the path with query string

func (*CreateNamespaceURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateNamespaceURL) WithBasePath

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

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 CreateTenant

type CreateTenant struct {
	Context *middleware.Context
	Handler CreateTenantHandler
}
CreateTenant swagger:route POST /tenants OperatorAPI createTenant

Create Tenant

func NewCreateTenant

func NewCreateTenant(ctx *middleware.Context, handler CreateTenantHandler) *CreateTenant

NewCreateTenant creates a new http.Handler for the create tenant operation

func (*CreateTenant) ServeHTTP

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

type CreateTenantDefault

type CreateTenantDefault struct {

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

CreateTenantDefault Generic error response.

swagger:response createTenantDefault

func NewCreateTenantDefault

func NewCreateTenantDefault(code int) *CreateTenantDefault

NewCreateTenantDefault creates CreateTenantDefault with default headers values

func (*CreateTenantDefault) SetPayload

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

SetPayload sets the payload to the create tenant default response

func (*CreateTenantDefault) SetStatusCode

func (o *CreateTenantDefault) SetStatusCode(code int)

SetStatusCode sets the status to the create tenant default response

func (*CreateTenantDefault) WithPayload

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

WithPayload adds the payload to the create tenant default response

func (*CreateTenantDefault) WithStatusCode

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

WithStatusCode adds the status to the create tenant default response

func (*CreateTenantDefault) WriteResponse

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

WriteResponse to the client

type CreateTenantHandler

type CreateTenantHandler interface {
	Handle(CreateTenantParams, *models.Principal) middleware.Responder
}

CreateTenantHandler interface for that can handle valid create tenant params

type CreateTenantHandlerFunc

type CreateTenantHandlerFunc func(CreateTenantParams, *models.Principal) middleware.Responder

CreateTenantHandlerFunc turns a function with the right signature into a create tenant handler

func (CreateTenantHandlerFunc) Handle

Handle executing the request and returning a response

type CreateTenantOK

type CreateTenantOK struct {

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

CreateTenantOK A successful response.

swagger:response createTenantOK

func NewCreateTenantOK

func NewCreateTenantOK() *CreateTenantOK

NewCreateTenantOK creates CreateTenantOK with default headers values

func (*CreateTenantOK) SetPayload

func (o *CreateTenantOK) SetPayload(payload *models.CreateTenantResponse)

SetPayload sets the payload to the create tenant o k response

func (*CreateTenantOK) WithPayload

func (o *CreateTenantOK) WithPayload(payload *models.CreateTenantResponse) *CreateTenantOK

WithPayload adds the payload to the create tenant o k response

func (*CreateTenantOK) WriteResponse

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

WriteResponse to the client

type CreateTenantParams

type CreateTenantParams struct {

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

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

CreateTenantParams contains all the bound params for the create tenant operation typically these are obtained from a http.Request

swagger:parameters CreateTenant

func NewCreateTenantParams

func NewCreateTenantParams() CreateTenantParams

NewCreateTenantParams creates a new CreateTenantParams object

There are no default values defined in the spec.

func (*CreateTenantParams) BindRequest

func (o *CreateTenantParams) 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 NewCreateTenantParams() beforehand.

type CreateTenantURL

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

CreateTenantURL generates an URL for the create tenant operation

func (*CreateTenantURL) Build

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

Build a url path and query string

func (*CreateTenantURL) BuildFull

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

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

func (*CreateTenantURL) Must

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

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

func (*CreateTenantURL) SetBasePath

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

func (o *CreateTenantURL) String() string

String returns the string representation of the path with query string

func (*CreateTenantURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateTenantURL) WithBasePath

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

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 DeletePod

type DeletePod struct {
	Context *middleware.Context
	Handler DeletePodHandler
}
DeletePod swagger:route DELETE /namespaces/{namespace}/tenants/{tenant}/pods/{podName} OperatorAPI deletePod

Delete pod

func NewDeletePod

func NewDeletePod(ctx *middleware.Context, handler DeletePodHandler) *DeletePod

NewDeletePod creates a new http.Handler for the delete pod operation

func (*DeletePod) ServeHTTP

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

type DeletePodDefault

type DeletePodDefault struct {

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

DeletePodDefault Generic error response.

swagger:response deletePodDefault

func NewDeletePodDefault

func NewDeletePodDefault(code int) *DeletePodDefault

NewDeletePodDefault creates DeletePodDefault with default headers values

func (*DeletePodDefault) SetPayload

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

SetPayload sets the payload to the delete pod default response

func (*DeletePodDefault) SetStatusCode

func (o *DeletePodDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete pod default response

func (*DeletePodDefault) WithPayload

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

WithPayload adds the payload to the delete pod default response

func (*DeletePodDefault) WithStatusCode

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

WithStatusCode adds the status to the delete pod default response

func (*DeletePodDefault) WriteResponse

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

WriteResponse to the client

type DeletePodHandler

type DeletePodHandler interface {
	Handle(DeletePodParams, *models.Principal) middleware.Responder
}

DeletePodHandler interface for that can handle valid delete pod params

type DeletePodHandlerFunc

type DeletePodHandlerFunc func(DeletePodParams, *models.Principal) middleware.Responder

DeletePodHandlerFunc turns a function with the right signature into a delete pod handler

func (DeletePodHandlerFunc) Handle

Handle executing the request and returning a response

type DeletePodNoContent

type DeletePodNoContent struct {
}

DeletePodNoContent A successful response.

swagger:response deletePodNoContent

func NewDeletePodNoContent

func NewDeletePodNoContent() *DeletePodNoContent

NewDeletePodNoContent creates DeletePodNoContent with default headers values

func (*DeletePodNoContent) WriteResponse

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

WriteResponse to the client

type DeletePodParams

type DeletePodParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	PodName string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

DeletePodParams contains all the bound params for the delete pod operation typically these are obtained from a http.Request

swagger:parameters DeletePod

func NewDeletePodParams

func NewDeletePodParams() DeletePodParams

NewDeletePodParams creates a new DeletePodParams object

There are no default values defined in the spec.

func (*DeletePodParams) BindRequest

func (o *DeletePodParams) 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 NewDeletePodParams() beforehand.

type DeletePodURL

type DeletePodURL struct {
	Namespace string
	PodName   string
	Tenant    string
	// contains filtered or unexported fields
}

DeletePodURL generates an URL for the delete pod operation

func (*DeletePodURL) Build

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

Build a url path and query string

func (*DeletePodURL) BuildFull

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

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

func (*DeletePodURL) Must

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

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

func (*DeletePodURL) SetBasePath

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

func (o *DeletePodURL) String() string

String returns the string representation of the path with query string

func (*DeletePodURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeletePodURL) WithBasePath

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

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 DeleteTenant

type DeleteTenant struct {
	Context *middleware.Context
	Handler DeleteTenantHandler
}
DeleteTenant swagger:route DELETE /namespaces/{namespace}/tenants/{tenant} OperatorAPI deleteTenant

Delete tenant and underlying pvcs

func NewDeleteTenant

func NewDeleteTenant(ctx *middleware.Context, handler DeleteTenantHandler) *DeleteTenant

NewDeleteTenant creates a new http.Handler for the delete tenant operation

func (*DeleteTenant) ServeHTTP

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

type DeleteTenantDefault

type DeleteTenantDefault struct {

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

DeleteTenantDefault Generic error response.

swagger:response deleteTenantDefault

func NewDeleteTenantDefault

func NewDeleteTenantDefault(code int) *DeleteTenantDefault

NewDeleteTenantDefault creates DeleteTenantDefault with default headers values

func (*DeleteTenantDefault) SetPayload

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

SetPayload sets the payload to the delete tenant default response

func (*DeleteTenantDefault) SetStatusCode

func (o *DeleteTenantDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete tenant default response

func (*DeleteTenantDefault) WithPayload

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

WithPayload adds the payload to the delete tenant default response

func (*DeleteTenantDefault) WithStatusCode

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

WithStatusCode adds the status to the delete tenant default response

func (*DeleteTenantDefault) WriteResponse

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

WriteResponse to the client

type DeleteTenantHandler

type DeleteTenantHandler interface {
	Handle(DeleteTenantParams, *models.Principal) middleware.Responder
}

DeleteTenantHandler interface for that can handle valid delete tenant params

type DeleteTenantHandlerFunc

type DeleteTenantHandlerFunc func(DeleteTenantParams, *models.Principal) middleware.Responder

DeleteTenantHandlerFunc turns a function with the right signature into a delete tenant handler

func (DeleteTenantHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteTenantNoContent

type DeleteTenantNoContent struct {
}

DeleteTenantNoContent A successful response.

swagger:response deleteTenantNoContent

func NewDeleteTenantNoContent

func NewDeleteTenantNoContent() *DeleteTenantNoContent

NewDeleteTenantNoContent creates DeleteTenantNoContent with default headers values

func (*DeleteTenantNoContent) WriteResponse

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

WriteResponse to the client

type DeleteTenantParams

type DeleteTenantParams struct {

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

	/*
	  In: body
	*/
	Body *models.DeleteTenantRequest
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

DeleteTenantParams contains all the bound params for the delete tenant operation typically these are obtained from a http.Request

swagger:parameters DeleteTenant

func NewDeleteTenantParams

func NewDeleteTenantParams() DeleteTenantParams

NewDeleteTenantParams creates a new DeleteTenantParams object

There are no default values defined in the spec.

func (*DeleteTenantParams) BindRequest

func (o *DeleteTenantParams) 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 NewDeleteTenantParams() beforehand.

type DeleteTenantURL

type DeleteTenantURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

DeleteTenantURL generates an URL for the delete tenant operation

func (*DeleteTenantURL) Build

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

Build a url path and query string

func (*DeleteTenantURL) BuildFull

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

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

func (*DeleteTenantURL) Must

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

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

func (*DeleteTenantURL) SetBasePath

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

func (o *DeleteTenantURL) String() string

String returns the string representation of the path with query string

func (*DeleteTenantURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteTenantURL) WithBasePath

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

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 DirectCSIFormatDrive

type DirectCSIFormatDrive struct {
	Context *middleware.Context
	Handler DirectCSIFormatDriveHandler
}
DirectCSIFormatDrive swagger:route POST /direct-csi/drives/format OperatorAPI directCSIFormatDrive

Format direct-csi drives from a list

func NewDirectCSIFormatDrive

func NewDirectCSIFormatDrive(ctx *middleware.Context, handler DirectCSIFormatDriveHandler) *DirectCSIFormatDrive

NewDirectCSIFormatDrive creates a new http.Handler for the direct c s i format drive operation

func (*DirectCSIFormatDrive) ServeHTTP

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

type DirectCSIFormatDriveDefault

type DirectCSIFormatDriveDefault struct {

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

DirectCSIFormatDriveDefault Generic error response.

swagger:response directCSIFormatDriveDefault

func NewDirectCSIFormatDriveDefault

func NewDirectCSIFormatDriveDefault(code int) *DirectCSIFormatDriveDefault

NewDirectCSIFormatDriveDefault creates DirectCSIFormatDriveDefault with default headers values

func (*DirectCSIFormatDriveDefault) SetPayload

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

SetPayload sets the payload to the direct c s i format drive default response

func (*DirectCSIFormatDriveDefault) SetStatusCode

func (o *DirectCSIFormatDriveDefault) SetStatusCode(code int)

SetStatusCode sets the status to the direct c s i format drive default response

func (*DirectCSIFormatDriveDefault) WithPayload

WithPayload adds the payload to the direct c s i format drive default response

func (*DirectCSIFormatDriveDefault) WithStatusCode

WithStatusCode adds the status to the direct c s i format drive default response

func (*DirectCSIFormatDriveDefault) WriteResponse

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

WriteResponse to the client

type DirectCSIFormatDriveHandler

type DirectCSIFormatDriveHandler interface {
	Handle(DirectCSIFormatDriveParams, *models.Principal) middleware.Responder
}

DirectCSIFormatDriveHandler interface for that can handle valid direct c s i format drive params

type DirectCSIFormatDriveHandlerFunc

type DirectCSIFormatDriveHandlerFunc func(DirectCSIFormatDriveParams, *models.Principal) middleware.Responder

DirectCSIFormatDriveHandlerFunc turns a function with the right signature into a direct c s i format drive handler

func (DirectCSIFormatDriveHandlerFunc) Handle

Handle executing the request and returning a response

type DirectCSIFormatDriveOK

type DirectCSIFormatDriveOK struct {

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

DirectCSIFormatDriveOK A successful response.

swagger:response directCSIFormatDriveOK

func NewDirectCSIFormatDriveOK

func NewDirectCSIFormatDriveOK() *DirectCSIFormatDriveOK

NewDirectCSIFormatDriveOK creates DirectCSIFormatDriveOK with default headers values

func (*DirectCSIFormatDriveOK) SetPayload

SetPayload sets the payload to the direct c s i format drive o k response

func (*DirectCSIFormatDriveOK) WithPayload

WithPayload adds the payload to the direct c s i format drive o k response

func (*DirectCSIFormatDriveOK) WriteResponse

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

WriteResponse to the client

type DirectCSIFormatDriveParams

type DirectCSIFormatDriveParams struct {

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

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

DirectCSIFormatDriveParams contains all the bound params for the direct c s i format drive operation typically these are obtained from a http.Request

swagger:parameters DirectCSIFormatDrive

func NewDirectCSIFormatDriveParams

func NewDirectCSIFormatDriveParams() DirectCSIFormatDriveParams

NewDirectCSIFormatDriveParams creates a new DirectCSIFormatDriveParams object

There are no default values defined in the spec.

func (*DirectCSIFormatDriveParams) 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 NewDirectCSIFormatDriveParams() beforehand.

type DirectCSIFormatDriveURL

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

DirectCSIFormatDriveURL generates an URL for the direct c s i format drive operation

func (*DirectCSIFormatDriveURL) Build

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

Build a url path and query string

func (*DirectCSIFormatDriveURL) BuildFull

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

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

func (*DirectCSIFormatDriveURL) Must

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

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

func (*DirectCSIFormatDriveURL) SetBasePath

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

func (o *DirectCSIFormatDriveURL) String() string

String returns the string representation of the path with query string

func (*DirectCSIFormatDriveURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DirectCSIFormatDriveURL) 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 GetDirectCSIDriveList

type GetDirectCSIDriveList struct {
	Context *middleware.Context
	Handler GetDirectCSIDriveListHandler
}
GetDirectCSIDriveList swagger:route GET /direct-csi/drives OperatorAPI getDirectCSIDriveList

Get direct-csi drives list

func NewGetDirectCSIDriveList

func NewGetDirectCSIDriveList(ctx *middleware.Context, handler GetDirectCSIDriveListHandler) *GetDirectCSIDriveList

NewGetDirectCSIDriveList creates a new http.Handler for the get direct c s i drive list operation

func (*GetDirectCSIDriveList) ServeHTTP

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

type GetDirectCSIDriveListDefault

type GetDirectCSIDriveListDefault struct {

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

GetDirectCSIDriveListDefault Generic error response.

swagger:response getDirectCSIDriveListDefault

func NewGetDirectCSIDriveListDefault

func NewGetDirectCSIDriveListDefault(code int) *GetDirectCSIDriveListDefault

NewGetDirectCSIDriveListDefault creates GetDirectCSIDriveListDefault with default headers values

func (*GetDirectCSIDriveListDefault) SetPayload

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

SetPayload sets the payload to the get direct c s i drive list default response

func (*GetDirectCSIDriveListDefault) SetStatusCode

func (o *GetDirectCSIDriveListDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get direct c s i drive list default response

func (*GetDirectCSIDriveListDefault) WithPayload

WithPayload adds the payload to the get direct c s i drive list default response

func (*GetDirectCSIDriveListDefault) WithStatusCode

WithStatusCode adds the status to the get direct c s i drive list default response

func (*GetDirectCSIDriveListDefault) WriteResponse

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

WriteResponse to the client

type GetDirectCSIDriveListHandler

type GetDirectCSIDriveListHandler interface {
	Handle(GetDirectCSIDriveListParams, *models.Principal) middleware.Responder
}

GetDirectCSIDriveListHandler interface for that can handle valid get direct c s i drive list params

type GetDirectCSIDriveListHandlerFunc

type GetDirectCSIDriveListHandlerFunc func(GetDirectCSIDriveListParams, *models.Principal) middleware.Responder

GetDirectCSIDriveListHandlerFunc turns a function with the right signature into a get direct c s i drive list handler

func (GetDirectCSIDriveListHandlerFunc) Handle

Handle executing the request and returning a response

type GetDirectCSIDriveListOK

type GetDirectCSIDriveListOK struct {

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

GetDirectCSIDriveListOK A successful response.

swagger:response getDirectCSIDriveListOK

func NewGetDirectCSIDriveListOK

func NewGetDirectCSIDriveListOK() *GetDirectCSIDriveListOK

NewGetDirectCSIDriveListOK creates GetDirectCSIDriveListOK with default headers values

func (*GetDirectCSIDriveListOK) SetPayload

SetPayload sets the payload to the get direct c s i drive list o k response

func (*GetDirectCSIDriveListOK) WithPayload

WithPayload adds the payload to the get direct c s i drive list o k response

func (*GetDirectCSIDriveListOK) WriteResponse

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

WriteResponse to the client

type GetDirectCSIDriveListParams

type GetDirectCSIDriveListParams struct {

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

	/*
	  In: query
	*/
	Drives *string
	/*
	  In: query
	*/
	Nodes *string
}

GetDirectCSIDriveListParams contains all the bound params for the get direct c s i drive list operation typically these are obtained from a http.Request

swagger:parameters GetDirectCSIDriveList

func NewGetDirectCSIDriveListParams

func NewGetDirectCSIDriveListParams() GetDirectCSIDriveListParams

NewGetDirectCSIDriveListParams creates a new GetDirectCSIDriveListParams object

There are no default values defined in the spec.

func (*GetDirectCSIDriveListParams) 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 NewGetDirectCSIDriveListParams() beforehand.

type GetDirectCSIDriveListURL

type GetDirectCSIDriveListURL struct {
	Drives *string
	Nodes  *string
	// contains filtered or unexported fields
}

GetDirectCSIDriveListURL generates an URL for the get direct c s i drive list operation

func (*GetDirectCSIDriveListURL) Build

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

Build a url path and query string

func (*GetDirectCSIDriveListURL) BuildFull

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

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

func (*GetDirectCSIDriveListURL) Must

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

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

func (*GetDirectCSIDriveListURL) SetBasePath

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

func (o *GetDirectCSIDriveListURL) String() string

String returns the string representation of the path with query string

func (*GetDirectCSIDriveListURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetDirectCSIDriveListURL) 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 GetDirectCSIVolumeList

type GetDirectCSIVolumeList struct {
	Context *middleware.Context
	Handler GetDirectCSIVolumeListHandler
}
GetDirectCSIVolumeList swagger:route GET /direct-csi/volumes OperatorAPI getDirectCSIVolumeList

Get direct-csi volumes list

func NewGetDirectCSIVolumeList

func NewGetDirectCSIVolumeList(ctx *middleware.Context, handler GetDirectCSIVolumeListHandler) *GetDirectCSIVolumeList

NewGetDirectCSIVolumeList creates a new http.Handler for the get direct c s i volume list operation

func (*GetDirectCSIVolumeList) ServeHTTP

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

type GetDirectCSIVolumeListDefault

type GetDirectCSIVolumeListDefault struct {

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

GetDirectCSIVolumeListDefault Generic error response.

swagger:response getDirectCSIVolumeListDefault

func NewGetDirectCSIVolumeListDefault

func NewGetDirectCSIVolumeListDefault(code int) *GetDirectCSIVolumeListDefault

NewGetDirectCSIVolumeListDefault creates GetDirectCSIVolumeListDefault with default headers values

func (*GetDirectCSIVolumeListDefault) SetPayload

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

SetPayload sets the payload to the get direct c s i volume list default response

func (*GetDirectCSIVolumeListDefault) SetStatusCode

func (o *GetDirectCSIVolumeListDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get direct c s i volume list default response

func (*GetDirectCSIVolumeListDefault) WithPayload

WithPayload adds the payload to the get direct c s i volume list default response

func (*GetDirectCSIVolumeListDefault) WithStatusCode

WithStatusCode adds the status to the get direct c s i volume list default response

func (*GetDirectCSIVolumeListDefault) WriteResponse

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

WriteResponse to the client

type GetDirectCSIVolumeListHandler

type GetDirectCSIVolumeListHandler interface {
	Handle(GetDirectCSIVolumeListParams, *models.Principal) middleware.Responder
}

GetDirectCSIVolumeListHandler interface for that can handle valid get direct c s i volume list params

type GetDirectCSIVolumeListHandlerFunc

type GetDirectCSIVolumeListHandlerFunc func(GetDirectCSIVolumeListParams, *models.Principal) middleware.Responder

GetDirectCSIVolumeListHandlerFunc turns a function with the right signature into a get direct c s i volume list handler

func (GetDirectCSIVolumeListHandlerFunc) Handle

Handle executing the request and returning a response

type GetDirectCSIVolumeListOK

type GetDirectCSIVolumeListOK struct {

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

GetDirectCSIVolumeListOK A successful response.

swagger:response getDirectCSIVolumeListOK

func NewGetDirectCSIVolumeListOK

func NewGetDirectCSIVolumeListOK() *GetDirectCSIVolumeListOK

NewGetDirectCSIVolumeListOK creates GetDirectCSIVolumeListOK with default headers values

func (*GetDirectCSIVolumeListOK) SetPayload

SetPayload sets the payload to the get direct c s i volume list o k response

func (*GetDirectCSIVolumeListOK) WithPayload

WithPayload adds the payload to the get direct c s i volume list o k response

func (*GetDirectCSIVolumeListOK) WriteResponse

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

WriteResponse to the client

type GetDirectCSIVolumeListParams

type GetDirectCSIVolumeListParams struct {

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

	/*
	  In: query
	*/
	Drives *string
	/*
	  In: query
	*/
	Nodes *string
}

GetDirectCSIVolumeListParams contains all the bound params for the get direct c s i volume list operation typically these are obtained from a http.Request

swagger:parameters GetDirectCSIVolumeList

func NewGetDirectCSIVolumeListParams

func NewGetDirectCSIVolumeListParams() GetDirectCSIVolumeListParams

NewGetDirectCSIVolumeListParams creates a new GetDirectCSIVolumeListParams object

There are no default values defined in the spec.

func (*GetDirectCSIVolumeListParams) 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 NewGetDirectCSIVolumeListParams() beforehand.

type GetDirectCSIVolumeListURL

type GetDirectCSIVolumeListURL struct {
	Drives *string
	Nodes  *string
	// contains filtered or unexported fields
}

GetDirectCSIVolumeListURL generates an URL for the get direct c s i volume list operation

func (*GetDirectCSIVolumeListURL) Build

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

Build a url path and query string

func (*GetDirectCSIVolumeListURL) BuildFull

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

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

func (*GetDirectCSIVolumeListURL) Must

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

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

func (*GetDirectCSIVolumeListURL) SetBasePath

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

func (o *GetDirectCSIVolumeListURL) String() string

String returns the string representation of the path with query string

func (*GetDirectCSIVolumeListURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetDirectCSIVolumeListURL) 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 GetMaxAllocatableMem

type GetMaxAllocatableMem struct {
	Context *middleware.Context
	Handler GetMaxAllocatableMemHandler
}
GetMaxAllocatableMem swagger:route GET /cluster/max-allocatable-memory OperatorAPI getMaxAllocatableMem

Get maximum allocatable memory for given number of nodes

func NewGetMaxAllocatableMem

func NewGetMaxAllocatableMem(ctx *middleware.Context, handler GetMaxAllocatableMemHandler) *GetMaxAllocatableMem

NewGetMaxAllocatableMem creates a new http.Handler for the get max allocatable mem operation

func (*GetMaxAllocatableMem) ServeHTTP

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

type GetMaxAllocatableMemDefault

type GetMaxAllocatableMemDefault struct {

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

GetMaxAllocatableMemDefault Generic error response.

swagger:response getMaxAllocatableMemDefault

func NewGetMaxAllocatableMemDefault

func NewGetMaxAllocatableMemDefault(code int) *GetMaxAllocatableMemDefault

NewGetMaxAllocatableMemDefault creates GetMaxAllocatableMemDefault with default headers values

func (*GetMaxAllocatableMemDefault) SetPayload

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

SetPayload sets the payload to the get max allocatable mem default response

func (*GetMaxAllocatableMemDefault) SetStatusCode

func (o *GetMaxAllocatableMemDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get max allocatable mem default response

func (*GetMaxAllocatableMemDefault) WithPayload

WithPayload adds the payload to the get max allocatable mem default response

func (*GetMaxAllocatableMemDefault) WithStatusCode

WithStatusCode adds the status to the get max allocatable mem default response

func (*GetMaxAllocatableMemDefault) WriteResponse

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

WriteResponse to the client

type GetMaxAllocatableMemHandler

type GetMaxAllocatableMemHandler interface {
	Handle(GetMaxAllocatableMemParams, *models.Principal) middleware.Responder
}

GetMaxAllocatableMemHandler interface for that can handle valid get max allocatable mem params

type GetMaxAllocatableMemHandlerFunc

type GetMaxAllocatableMemHandlerFunc func(GetMaxAllocatableMemParams, *models.Principal) middleware.Responder

GetMaxAllocatableMemHandlerFunc turns a function with the right signature into a get max allocatable mem handler

func (GetMaxAllocatableMemHandlerFunc) Handle

Handle executing the request and returning a response

type GetMaxAllocatableMemOK

type GetMaxAllocatableMemOK struct {

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

GetMaxAllocatableMemOK A successful response.

swagger:response getMaxAllocatableMemOK

func NewGetMaxAllocatableMemOK

func NewGetMaxAllocatableMemOK() *GetMaxAllocatableMemOK

NewGetMaxAllocatableMemOK creates GetMaxAllocatableMemOK with default headers values

func (*GetMaxAllocatableMemOK) SetPayload

SetPayload sets the payload to the get max allocatable mem o k response

func (*GetMaxAllocatableMemOK) WithPayload

WithPayload adds the payload to the get max allocatable mem o k response

func (*GetMaxAllocatableMemOK) WriteResponse

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

WriteResponse to the client

type GetMaxAllocatableMemParams

type GetMaxAllocatableMemParams struct {

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

	/*
	  Required: true
	  Minimum: 1
	  In: query
	*/
	NumNodes int32
}

GetMaxAllocatableMemParams contains all the bound params for the get max allocatable mem operation typically these are obtained from a http.Request

swagger:parameters GetMaxAllocatableMem

func NewGetMaxAllocatableMemParams

func NewGetMaxAllocatableMemParams() GetMaxAllocatableMemParams

NewGetMaxAllocatableMemParams creates a new GetMaxAllocatableMemParams object

There are no default values defined in the spec.

func (*GetMaxAllocatableMemParams) 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 NewGetMaxAllocatableMemParams() beforehand.

type GetMaxAllocatableMemURL

type GetMaxAllocatableMemURL struct {
	NumNodes int32
	// contains filtered or unexported fields
}

GetMaxAllocatableMemURL generates an URL for the get max allocatable mem operation

func (*GetMaxAllocatableMemURL) Build

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

Build a url path and query string

func (*GetMaxAllocatableMemURL) BuildFull

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

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

func (*GetMaxAllocatableMemURL) Must

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

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

func (*GetMaxAllocatableMemURL) SetBasePath

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

func (o *GetMaxAllocatableMemURL) String() string

String returns the string representation of the path with query string

func (*GetMaxAllocatableMemURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetMaxAllocatableMemURL) 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 GetParity

type GetParity struct {
	Context *middleware.Context
	Handler GetParityHandler
}
GetParity swagger:route GET /get-parity/{nodes}/{disksPerNode} OperatorAPI getParity

Gets parity by sending number of nodes & number of disks

func NewGetParity

func NewGetParity(ctx *middleware.Context, handler GetParityHandler) *GetParity

NewGetParity creates a new http.Handler for the get parity operation

func (*GetParity) ServeHTTP

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

type GetParityDefault

type GetParityDefault struct {

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

GetParityDefault Generic error response.

swagger:response getParityDefault

func NewGetParityDefault

func NewGetParityDefault(code int) *GetParityDefault

NewGetParityDefault creates GetParityDefault with default headers values

func (*GetParityDefault) SetPayload

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

SetPayload sets the payload to the get parity default response

func (*GetParityDefault) SetStatusCode

func (o *GetParityDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get parity default response

func (*GetParityDefault) WithPayload

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

WithPayload adds the payload to the get parity default response

func (*GetParityDefault) WithStatusCode

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

WithStatusCode adds the status to the get parity default response

func (*GetParityDefault) WriteResponse

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

WriteResponse to the client

type GetParityHandler

type GetParityHandler interface {
	Handle(GetParityParams, *models.Principal) middleware.Responder
}

GetParityHandler interface for that can handle valid get parity params

type GetParityHandlerFunc

type GetParityHandlerFunc func(GetParityParams, *models.Principal) middleware.Responder

GetParityHandlerFunc turns a function with the right signature into a get parity handler

func (GetParityHandlerFunc) Handle

Handle executing the request and returning a response

type GetParityOK

type GetParityOK struct {

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

GetParityOK A successful response.

swagger:response getParityOK

func NewGetParityOK

func NewGetParityOK() *GetParityOK

NewGetParityOK creates GetParityOK with default headers values

func (*GetParityOK) SetPayload

func (o *GetParityOK) SetPayload(payload models.ParityResponse)

SetPayload sets the payload to the get parity o k response

func (*GetParityOK) WithPayload

func (o *GetParityOK) WithPayload(payload models.ParityResponse) *GetParityOK

WithPayload adds the payload to the get parity o k response

func (*GetParityOK) WriteResponse

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

WriteResponse to the client

type GetParityParams

type GetParityParams struct {

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

	/*
	  Required: true
	  Minimum: 1
	  In: path
	*/
	DisksPerNode int64
	/*
	  Required: true
	  Minimum: 2
	  In: path
	*/
	Nodes int64
}

GetParityParams contains all the bound params for the get parity operation typically these are obtained from a http.Request

swagger:parameters GetParity

func NewGetParityParams

func NewGetParityParams() GetParityParams

NewGetParityParams creates a new GetParityParams object

There are no default values defined in the spec.

func (*GetParityParams) BindRequest

func (o *GetParityParams) 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 NewGetParityParams() beforehand.

type GetParityURL

type GetParityURL struct {
	DisksPerNode int64
	Nodes        int64
	// contains filtered or unexported fields
}

GetParityURL generates an URL for the get parity operation

func (*GetParityURL) Build

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

Build a url path and query string

func (*GetParityURL) BuildFull

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

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

func (*GetParityURL) Must

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

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

func (*GetParityURL) SetBasePath

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

func (o *GetParityURL) String() string

String returns the string representation of the path with query string

func (*GetParityURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetParityURL) WithBasePath

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

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 GetPodEvents

type GetPodEvents struct {
	Context *middleware.Context
	Handler GetPodEventsHandler
}
GetPodEvents swagger:route GET /namespaces/{namespace}/tenants/{tenant}/pods/{podName}/events OperatorAPI getPodEvents

Get Events for Pod

func NewGetPodEvents

func NewGetPodEvents(ctx *middleware.Context, handler GetPodEventsHandler) *GetPodEvents

NewGetPodEvents creates a new http.Handler for the get pod events operation

func (*GetPodEvents) ServeHTTP

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

type GetPodEventsDefault

type GetPodEventsDefault struct {

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

GetPodEventsDefault Generic error response.

swagger:response getPodEventsDefault

func NewGetPodEventsDefault

func NewGetPodEventsDefault(code int) *GetPodEventsDefault

NewGetPodEventsDefault creates GetPodEventsDefault with default headers values

func (*GetPodEventsDefault) SetPayload

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

SetPayload sets the payload to the get pod events default response

func (*GetPodEventsDefault) SetStatusCode

func (o *GetPodEventsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get pod events default response

func (*GetPodEventsDefault) WithPayload

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

WithPayload adds the payload to the get pod events default response

func (*GetPodEventsDefault) WithStatusCode

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

WithStatusCode adds the status to the get pod events default response

func (*GetPodEventsDefault) WriteResponse

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

WriteResponse to the client

type GetPodEventsHandler

type GetPodEventsHandler interface {
	Handle(GetPodEventsParams, *models.Principal) middleware.Responder
}

GetPodEventsHandler interface for that can handle valid get pod events params

type GetPodEventsHandlerFunc

type GetPodEventsHandlerFunc func(GetPodEventsParams, *models.Principal) middleware.Responder

GetPodEventsHandlerFunc turns a function with the right signature into a get pod events handler

func (GetPodEventsHandlerFunc) Handle

Handle executing the request and returning a response

type GetPodEventsOK

type GetPodEventsOK struct {

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

GetPodEventsOK A successful response.

swagger:response getPodEventsOK

func NewGetPodEventsOK

func NewGetPodEventsOK() *GetPodEventsOK

NewGetPodEventsOK creates GetPodEventsOK with default headers values

func (*GetPodEventsOK) SetPayload

func (o *GetPodEventsOK) SetPayload(payload models.EventListWrapper)

SetPayload sets the payload to the get pod events o k response

func (*GetPodEventsOK) WithPayload

func (o *GetPodEventsOK) WithPayload(payload models.EventListWrapper) *GetPodEventsOK

WithPayload adds the payload to the get pod events o k response

func (*GetPodEventsOK) WriteResponse

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

WriteResponse to the client

type GetPodEventsParams

type GetPodEventsParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	PodName string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

GetPodEventsParams contains all the bound params for the get pod events operation typically these are obtained from a http.Request

swagger:parameters GetPodEvents

func NewGetPodEventsParams

func NewGetPodEventsParams() GetPodEventsParams

NewGetPodEventsParams creates a new GetPodEventsParams object

There are no default values defined in the spec.

func (*GetPodEventsParams) BindRequest

func (o *GetPodEventsParams) 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 NewGetPodEventsParams() beforehand.

type GetPodEventsURL

type GetPodEventsURL struct {
	Namespace string
	PodName   string
	Tenant    string
	// contains filtered or unexported fields
}

GetPodEventsURL generates an URL for the get pod events operation

func (*GetPodEventsURL) Build

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

Build a url path and query string

func (*GetPodEventsURL) BuildFull

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

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

func (*GetPodEventsURL) Must

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

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

func (*GetPodEventsURL) SetBasePath

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

func (o *GetPodEventsURL) String() string

String returns the string representation of the path with query string

func (*GetPodEventsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetPodEventsURL) WithBasePath

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

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 GetPodLogs

type GetPodLogs struct {
	Context *middleware.Context
	Handler GetPodLogsHandler
}
GetPodLogs swagger:route GET /namespaces/{namespace}/tenants/{tenant}/pods/{podName} OperatorAPI getPodLogs

Get Logs for Pod

func NewGetPodLogs

func NewGetPodLogs(ctx *middleware.Context, handler GetPodLogsHandler) *GetPodLogs

NewGetPodLogs creates a new http.Handler for the get pod logs operation

func (*GetPodLogs) ServeHTTP

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

type GetPodLogsDefault

type GetPodLogsDefault struct {

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

GetPodLogsDefault Generic error response.

swagger:response getPodLogsDefault

func NewGetPodLogsDefault

func NewGetPodLogsDefault(code int) *GetPodLogsDefault

NewGetPodLogsDefault creates GetPodLogsDefault with default headers values

func (*GetPodLogsDefault) SetPayload

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

SetPayload sets the payload to the get pod logs default response

func (*GetPodLogsDefault) SetStatusCode

func (o *GetPodLogsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get pod logs default response

func (*GetPodLogsDefault) WithPayload

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

WithPayload adds the payload to the get pod logs default response

func (*GetPodLogsDefault) WithStatusCode

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

WithStatusCode adds the status to the get pod logs default response

func (*GetPodLogsDefault) WriteResponse

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

WriteResponse to the client

type GetPodLogsHandler

type GetPodLogsHandler interface {
	Handle(GetPodLogsParams, *models.Principal) middleware.Responder
}

GetPodLogsHandler interface for that can handle valid get pod logs params

type GetPodLogsHandlerFunc

type GetPodLogsHandlerFunc func(GetPodLogsParams, *models.Principal) middleware.Responder

GetPodLogsHandlerFunc turns a function with the right signature into a get pod logs handler

func (GetPodLogsHandlerFunc) Handle

Handle executing the request and returning a response

type GetPodLogsOK

type GetPodLogsOK struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

GetPodLogsOK A successful response.

swagger:response getPodLogsOK

func NewGetPodLogsOK

func NewGetPodLogsOK() *GetPodLogsOK

NewGetPodLogsOK creates GetPodLogsOK with default headers values

func (*GetPodLogsOK) SetPayload

func (o *GetPodLogsOK) SetPayload(payload string)

SetPayload sets the payload to the get pod logs o k response

func (*GetPodLogsOK) WithPayload

func (o *GetPodLogsOK) WithPayload(payload string) *GetPodLogsOK

WithPayload adds the payload to the get pod logs o k response

func (*GetPodLogsOK) WriteResponse

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

WriteResponse to the client

type GetPodLogsParams

type GetPodLogsParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	PodName string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

GetPodLogsParams contains all the bound params for the get pod logs operation typically these are obtained from a http.Request

swagger:parameters GetPodLogs

func NewGetPodLogsParams

func NewGetPodLogsParams() GetPodLogsParams

NewGetPodLogsParams creates a new GetPodLogsParams object

There are no default values defined in the spec.

func (*GetPodLogsParams) BindRequest

func (o *GetPodLogsParams) 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 NewGetPodLogsParams() beforehand.

type GetPodLogsURL

type GetPodLogsURL struct {
	Namespace string
	PodName   string
	Tenant    string
	// contains filtered or unexported fields
}

GetPodLogsURL generates an URL for the get pod logs operation

func (*GetPodLogsURL) Build

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

Build a url path and query string

func (*GetPodLogsURL) BuildFull

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

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

func (*GetPodLogsURL) Must

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

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

func (*GetPodLogsURL) SetBasePath

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

func (o *GetPodLogsURL) String() string

String returns the string representation of the path with query string

func (*GetPodLogsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetPodLogsURL) WithBasePath

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

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 GetResourceQuota

type GetResourceQuota struct {
	Context *middleware.Context
	Handler GetResourceQuotaHandler
}
GetResourceQuota swagger:route GET /namespaces/{namespace}/resourcequotas/{resource-quota-name} OperatorAPI getResourceQuota

Get Resource Quota

func NewGetResourceQuota

func NewGetResourceQuota(ctx *middleware.Context, handler GetResourceQuotaHandler) *GetResourceQuota

NewGetResourceQuota creates a new http.Handler for the get resource quota operation

func (*GetResourceQuota) ServeHTTP

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

type GetResourceQuotaDefault

type GetResourceQuotaDefault struct {

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

GetResourceQuotaDefault Generic error response.

swagger:response getResourceQuotaDefault

func NewGetResourceQuotaDefault

func NewGetResourceQuotaDefault(code int) *GetResourceQuotaDefault

NewGetResourceQuotaDefault creates GetResourceQuotaDefault with default headers values

func (*GetResourceQuotaDefault) SetPayload

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

SetPayload sets the payload to the get resource quota default response

func (*GetResourceQuotaDefault) SetStatusCode

func (o *GetResourceQuotaDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get resource quota default response

func (*GetResourceQuotaDefault) WithPayload

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

WithPayload adds the payload to the get resource quota default response

func (*GetResourceQuotaDefault) WithStatusCode

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

WithStatusCode adds the status to the get resource quota default response

func (*GetResourceQuotaDefault) WriteResponse

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

WriteResponse to the client

type GetResourceQuotaHandler

type GetResourceQuotaHandler interface {
	Handle(GetResourceQuotaParams, *models.Principal) middleware.Responder
}

GetResourceQuotaHandler interface for that can handle valid get resource quota params

type GetResourceQuotaHandlerFunc

type GetResourceQuotaHandlerFunc func(GetResourceQuotaParams, *models.Principal) middleware.Responder

GetResourceQuotaHandlerFunc turns a function with the right signature into a get resource quota handler

func (GetResourceQuotaHandlerFunc) Handle

Handle executing the request and returning a response

type GetResourceQuotaOK

type GetResourceQuotaOK struct {

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

GetResourceQuotaOK A successful response.

swagger:response getResourceQuotaOK

func NewGetResourceQuotaOK

func NewGetResourceQuotaOK() *GetResourceQuotaOK

NewGetResourceQuotaOK creates GetResourceQuotaOK with default headers values

func (*GetResourceQuotaOK) SetPayload

func (o *GetResourceQuotaOK) SetPayload(payload *models.ResourceQuota)

SetPayload sets the payload to the get resource quota o k response

func (*GetResourceQuotaOK) WithPayload

func (o *GetResourceQuotaOK) WithPayload(payload *models.ResourceQuota) *GetResourceQuotaOK

WithPayload adds the payload to the get resource quota o k response

func (*GetResourceQuotaOK) WriteResponse

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

WriteResponse to the client

type GetResourceQuotaParams

type GetResourceQuotaParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	ResourceQuotaName string
}

GetResourceQuotaParams contains all the bound params for the get resource quota operation typically these are obtained from a http.Request

swagger:parameters GetResourceQuota

func NewGetResourceQuotaParams

func NewGetResourceQuotaParams() GetResourceQuotaParams

NewGetResourceQuotaParams creates a new GetResourceQuotaParams object

There are no default values defined in the spec.

func (*GetResourceQuotaParams) BindRequest

func (o *GetResourceQuotaParams) 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 NewGetResourceQuotaParams() beforehand.

type GetResourceQuotaURL

type GetResourceQuotaURL struct {
	Namespace         string
	ResourceQuotaName string
	// contains filtered or unexported fields
}

GetResourceQuotaURL generates an URL for the get resource quota operation

func (*GetResourceQuotaURL) Build

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

Build a url path and query string

func (*GetResourceQuotaURL) BuildFull

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

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

func (*GetResourceQuotaURL) Must

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

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

func (*GetResourceQuotaURL) SetBasePath

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

func (o *GetResourceQuotaURL) String() string

String returns the string representation of the path with query string

func (*GetResourceQuotaURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetResourceQuotaURL) WithBasePath

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

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 GetTenantPods

type GetTenantPods struct {
	Context *middleware.Context
	Handler GetTenantPodsHandler
}
GetTenantPods swagger:route GET /namespaces/{namespace}/tenants/{tenant}/pods OperatorAPI getTenantPods

Get Pods For The Tenant

func NewGetTenantPods

func NewGetTenantPods(ctx *middleware.Context, handler GetTenantPodsHandler) *GetTenantPods

NewGetTenantPods creates a new http.Handler for the get tenant pods operation

func (*GetTenantPods) ServeHTTP

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

type GetTenantPodsDefault

type GetTenantPodsDefault struct {

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

GetTenantPodsDefault Generic error response.

swagger:response getTenantPodsDefault

func NewGetTenantPodsDefault

func NewGetTenantPodsDefault(code int) *GetTenantPodsDefault

NewGetTenantPodsDefault creates GetTenantPodsDefault with default headers values

func (*GetTenantPodsDefault) SetPayload

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

SetPayload sets the payload to the get tenant pods default response

func (*GetTenantPodsDefault) SetStatusCode

func (o *GetTenantPodsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get tenant pods default response

func (*GetTenantPodsDefault) WithPayload

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

WithPayload adds the payload to the get tenant pods default response

func (*GetTenantPodsDefault) WithStatusCode

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

WithStatusCode adds the status to the get tenant pods default response

func (*GetTenantPodsDefault) WriteResponse

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

WriteResponse to the client

type GetTenantPodsHandler

type GetTenantPodsHandler interface {
	Handle(GetTenantPodsParams, *models.Principal) middleware.Responder
}

GetTenantPodsHandler interface for that can handle valid get tenant pods params

type GetTenantPodsHandlerFunc

type GetTenantPodsHandlerFunc func(GetTenantPodsParams, *models.Principal) middleware.Responder

GetTenantPodsHandlerFunc turns a function with the right signature into a get tenant pods handler

func (GetTenantPodsHandlerFunc) Handle

Handle executing the request and returning a response

type GetTenantPodsOK

type GetTenantPodsOK struct {

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

GetTenantPodsOK A successful response.

swagger:response getTenantPodsOK

func NewGetTenantPodsOK

func NewGetTenantPodsOK() *GetTenantPodsOK

NewGetTenantPodsOK creates GetTenantPodsOK with default headers values

func (*GetTenantPodsOK) SetPayload

func (o *GetTenantPodsOK) SetPayload(payload []*models.TenantPod)

SetPayload sets the payload to the get tenant pods o k response

func (*GetTenantPodsOK) WithPayload

func (o *GetTenantPodsOK) WithPayload(payload []*models.TenantPod) *GetTenantPodsOK

WithPayload adds the payload to the get tenant pods o k response

func (*GetTenantPodsOK) WriteResponse

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

WriteResponse to the client

type GetTenantPodsParams

type GetTenantPodsParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

GetTenantPodsParams contains all the bound params for the get tenant pods operation typically these are obtained from a http.Request

swagger:parameters GetTenantPods

func NewGetTenantPodsParams

func NewGetTenantPodsParams() GetTenantPodsParams

NewGetTenantPodsParams creates a new GetTenantPodsParams object

There are no default values defined in the spec.

func (*GetTenantPodsParams) BindRequest

func (o *GetTenantPodsParams) 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 NewGetTenantPodsParams() beforehand.

type GetTenantPodsURL

type GetTenantPodsURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

GetTenantPodsURL generates an URL for the get tenant pods operation

func (*GetTenantPodsURL) Build

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

Build a url path and query string

func (*GetTenantPodsURL) BuildFull

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

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

func (*GetTenantPodsURL) Must

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

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

func (*GetTenantPodsURL) SetBasePath

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

func (o *GetTenantPodsURL) String() string

String returns the string representation of the path with query string

func (*GetTenantPodsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetTenantPodsURL) WithBasePath

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

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 GetTenantUsage

type GetTenantUsage struct {
	Context *middleware.Context
	Handler GetTenantUsageHandler
}
GetTenantUsage swagger:route GET /namespaces/{namespace}/tenants/{tenant}/usage OperatorAPI getTenantUsage

Get Usage For The Tenant

func NewGetTenantUsage

func NewGetTenantUsage(ctx *middleware.Context, handler GetTenantUsageHandler) *GetTenantUsage

NewGetTenantUsage creates a new http.Handler for the get tenant usage operation

func (*GetTenantUsage) ServeHTTP

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

type GetTenantUsageDefault

type GetTenantUsageDefault struct {

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

GetTenantUsageDefault Generic error response.

swagger:response getTenantUsageDefault

func NewGetTenantUsageDefault

func NewGetTenantUsageDefault(code int) *GetTenantUsageDefault

NewGetTenantUsageDefault creates GetTenantUsageDefault with default headers values

func (*GetTenantUsageDefault) SetPayload

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

SetPayload sets the payload to the get tenant usage default response

func (*GetTenantUsageDefault) SetStatusCode

func (o *GetTenantUsageDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get tenant usage default response

func (*GetTenantUsageDefault) WithPayload

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

WithPayload adds the payload to the get tenant usage default response

func (*GetTenantUsageDefault) WithStatusCode

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

WithStatusCode adds the status to the get tenant usage default response

func (*GetTenantUsageDefault) WriteResponse

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

WriteResponse to the client

type GetTenantUsageHandler

type GetTenantUsageHandler interface {
	Handle(GetTenantUsageParams, *models.Principal) middleware.Responder
}

GetTenantUsageHandler interface for that can handle valid get tenant usage params

type GetTenantUsageHandlerFunc

type GetTenantUsageHandlerFunc func(GetTenantUsageParams, *models.Principal) middleware.Responder

GetTenantUsageHandlerFunc turns a function with the right signature into a get tenant usage handler

func (GetTenantUsageHandlerFunc) Handle

Handle executing the request and returning a response

type GetTenantUsageOK

type GetTenantUsageOK struct {

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

GetTenantUsageOK A successful response.

swagger:response getTenantUsageOK

func NewGetTenantUsageOK

func NewGetTenantUsageOK() *GetTenantUsageOK

NewGetTenantUsageOK creates GetTenantUsageOK with default headers values

func (*GetTenantUsageOK) SetPayload

func (o *GetTenantUsageOK) SetPayload(payload *models.TenantUsage)

SetPayload sets the payload to the get tenant usage o k response

func (*GetTenantUsageOK) WithPayload

func (o *GetTenantUsageOK) WithPayload(payload *models.TenantUsage) *GetTenantUsageOK

WithPayload adds the payload to the get tenant usage o k response

func (*GetTenantUsageOK) WriteResponse

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

WriteResponse to the client

type GetTenantUsageParams

type GetTenantUsageParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

GetTenantUsageParams contains all the bound params for the get tenant usage operation typically these are obtained from a http.Request

swagger:parameters GetTenantUsage

func NewGetTenantUsageParams

func NewGetTenantUsageParams() GetTenantUsageParams

NewGetTenantUsageParams creates a new GetTenantUsageParams object

There are no default values defined in the spec.

func (*GetTenantUsageParams) BindRequest

func (o *GetTenantUsageParams) 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 NewGetTenantUsageParams() beforehand.

type GetTenantUsageURL

type GetTenantUsageURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

GetTenantUsageURL generates an URL for the get tenant usage operation

func (*GetTenantUsageURL) Build

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

Build a url path and query string

func (*GetTenantUsageURL) BuildFull

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

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

func (*GetTenantUsageURL) Must

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

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

func (*GetTenantUsageURL) SetBasePath

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

func (o *GetTenantUsageURL) String() string

String returns the string representation of the path with query string

func (*GetTenantUsageURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetTenantUsageURL) WithBasePath

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

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 GetTenantYAML

type GetTenantYAML struct {
	Context *middleware.Context
	Handler GetTenantYAMLHandler
}
GetTenantYAML swagger:route GET /namespaces/{namespace}/tenants/{tenant}/yaml OperatorAPI getTenantYAML

Get the Tenant YAML

func NewGetTenantYAML

func NewGetTenantYAML(ctx *middleware.Context, handler GetTenantYAMLHandler) *GetTenantYAML

NewGetTenantYAML creates a new http.Handler for the get tenant y a m l operation

func (*GetTenantYAML) ServeHTTP

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

type GetTenantYAMLDefault

type GetTenantYAMLDefault struct {

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

GetTenantYAMLDefault Generic error response.

swagger:response getTenantYAMLDefault

func NewGetTenantYAMLDefault

func NewGetTenantYAMLDefault(code int) *GetTenantYAMLDefault

NewGetTenantYAMLDefault creates GetTenantYAMLDefault with default headers values

func (*GetTenantYAMLDefault) SetPayload

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

SetPayload sets the payload to the get tenant y a m l default response

func (*GetTenantYAMLDefault) SetStatusCode

func (o *GetTenantYAMLDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get tenant y a m l default response

func (*GetTenantYAMLDefault) WithPayload

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

WithPayload adds the payload to the get tenant y a m l default response

func (*GetTenantYAMLDefault) WithStatusCode

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

WithStatusCode adds the status to the get tenant y a m l default response

func (*GetTenantYAMLDefault) WriteResponse

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

WriteResponse to the client

type GetTenantYAMLHandler

type GetTenantYAMLHandler interface {
	Handle(GetTenantYAMLParams, *models.Principal) middleware.Responder
}

GetTenantYAMLHandler interface for that can handle valid get tenant y a m l params

type GetTenantYAMLHandlerFunc

type GetTenantYAMLHandlerFunc func(GetTenantYAMLParams, *models.Principal) middleware.Responder

GetTenantYAMLHandlerFunc turns a function with the right signature into a get tenant y a m l handler

func (GetTenantYAMLHandlerFunc) Handle

Handle executing the request and returning a response

type GetTenantYAMLOK

type GetTenantYAMLOK struct {

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

GetTenantYAMLOK A successful response.

swagger:response getTenantYAMLOK

func NewGetTenantYAMLOK

func NewGetTenantYAMLOK() *GetTenantYAMLOK

NewGetTenantYAMLOK creates GetTenantYAMLOK with default headers values

func (*GetTenantYAMLOK) SetPayload

func (o *GetTenantYAMLOK) SetPayload(payload *models.TenantYAML)

SetPayload sets the payload to the get tenant y a m l o k response

func (*GetTenantYAMLOK) WithPayload

func (o *GetTenantYAMLOK) WithPayload(payload *models.TenantYAML) *GetTenantYAMLOK

WithPayload adds the payload to the get tenant y a m l o k response

func (*GetTenantYAMLOK) WriteResponse

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

WriteResponse to the client

type GetTenantYAMLParams

type GetTenantYAMLParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

GetTenantYAMLParams contains all the bound params for the get tenant y a m l operation typically these are obtained from a http.Request

swagger:parameters GetTenantYAML

func NewGetTenantYAMLParams

func NewGetTenantYAMLParams() GetTenantYAMLParams

NewGetTenantYAMLParams creates a new GetTenantYAMLParams object

There are no default values defined in the spec.

func (*GetTenantYAMLParams) BindRequest

func (o *GetTenantYAMLParams) 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 NewGetTenantYAMLParams() beforehand.

type GetTenantYAMLURL

type GetTenantYAMLURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

GetTenantYAMLURL generates an URL for the get tenant y a m l operation

func (*GetTenantYAMLURL) Build

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

Build a url path and query string

func (*GetTenantYAMLURL) BuildFull

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

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

func (*GetTenantYAMLURL) Must

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

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

func (*GetTenantYAMLURL) SetBasePath

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

func (o *GetTenantYAMLURL) String() string

String returns the string representation of the path with query string

func (*GetTenantYAMLURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetTenantYAMLURL) WithBasePath

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

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 ListAllTenants

type ListAllTenants struct {
	Context *middleware.Context
	Handler ListAllTenantsHandler
}
ListAllTenants swagger:route GET /tenants OperatorAPI listAllTenants

List Tenant of All Namespaces

func NewListAllTenants

func NewListAllTenants(ctx *middleware.Context, handler ListAllTenantsHandler) *ListAllTenants

NewListAllTenants creates a new http.Handler for the list all tenants operation

func (*ListAllTenants) ServeHTTP

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

type ListAllTenantsDefault

type ListAllTenantsDefault struct {

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

ListAllTenantsDefault Generic error response.

swagger:response listAllTenantsDefault

func NewListAllTenantsDefault

func NewListAllTenantsDefault(code int) *ListAllTenantsDefault

NewListAllTenantsDefault creates ListAllTenantsDefault with default headers values

func (*ListAllTenantsDefault) SetPayload

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

SetPayload sets the payload to the list all tenants default response

func (*ListAllTenantsDefault) SetStatusCode

func (o *ListAllTenantsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list all tenants default response

func (*ListAllTenantsDefault) WithPayload

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

WithPayload adds the payload to the list all tenants default response

func (*ListAllTenantsDefault) WithStatusCode

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

WithStatusCode adds the status to the list all tenants default response

func (*ListAllTenantsDefault) WriteResponse

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

WriteResponse to the client

type ListAllTenantsHandler

type ListAllTenantsHandler interface {
	Handle(ListAllTenantsParams, *models.Principal) middleware.Responder
}

ListAllTenantsHandler interface for that can handle valid list all tenants params

type ListAllTenantsHandlerFunc

type ListAllTenantsHandlerFunc func(ListAllTenantsParams, *models.Principal) middleware.Responder

ListAllTenantsHandlerFunc turns a function with the right signature into a list all tenants handler

func (ListAllTenantsHandlerFunc) Handle

Handle executing the request and returning a response

type ListAllTenantsOK

type ListAllTenantsOK struct {

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

ListAllTenantsOK A successful response.

swagger:response listAllTenantsOK

func NewListAllTenantsOK

func NewListAllTenantsOK() *ListAllTenantsOK

NewListAllTenantsOK creates ListAllTenantsOK with default headers values

func (*ListAllTenantsOK) SetPayload

func (o *ListAllTenantsOK) SetPayload(payload *models.ListTenantsResponse)

SetPayload sets the payload to the list all tenants o k response

func (*ListAllTenantsOK) WithPayload

func (o *ListAllTenantsOK) WithPayload(payload *models.ListTenantsResponse) *ListAllTenantsOK

WithPayload adds the payload to the list all tenants o k response

func (*ListAllTenantsOK) WriteResponse

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

WriteResponse to the client

type ListAllTenantsParams

type ListAllTenantsParams struct {

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

	/*
	  In: query
	*/
	Limit *int32
	/*
	  In: query
	*/
	Offset *int32
	/*
	  In: query
	*/
	SortBy *string
}

ListAllTenantsParams contains all the bound params for the list all tenants operation typically these are obtained from a http.Request

swagger:parameters ListAllTenants

func NewListAllTenantsParams

func NewListAllTenantsParams() ListAllTenantsParams

NewListAllTenantsParams creates a new ListAllTenantsParams object

There are no default values defined in the spec.

func (*ListAllTenantsParams) BindRequest

func (o *ListAllTenantsParams) 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 NewListAllTenantsParams() beforehand.

type ListAllTenantsURL

type ListAllTenantsURL struct {
	Limit  *int32
	Offset *int32
	SortBy *string
	// contains filtered or unexported fields
}

ListAllTenantsURL generates an URL for the list all tenants operation

func (*ListAllTenantsURL) Build

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

Build a url path and query string

func (*ListAllTenantsURL) BuildFull

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

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

func (*ListAllTenantsURL) Must

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

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

func (*ListAllTenantsURL) SetBasePath

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

func (o *ListAllTenantsURL) String() string

String returns the string representation of the path with query string

func (*ListAllTenantsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListAllTenantsURL) WithBasePath

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

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 ListNodeLabels

type ListNodeLabels struct {
	Context *middleware.Context
	Handler ListNodeLabelsHandler
}
ListNodeLabels swagger:route GET /nodes/labels OperatorAPI listNodeLabels

List node labels

func NewListNodeLabels

func NewListNodeLabels(ctx *middleware.Context, handler ListNodeLabelsHandler) *ListNodeLabels

NewListNodeLabels creates a new http.Handler for the list node labels operation

func (*ListNodeLabels) ServeHTTP

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

type ListNodeLabelsDefault

type ListNodeLabelsDefault struct {

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

ListNodeLabelsDefault Generic error response.

swagger:response listNodeLabelsDefault

func NewListNodeLabelsDefault

func NewListNodeLabelsDefault(code int) *ListNodeLabelsDefault

NewListNodeLabelsDefault creates ListNodeLabelsDefault with default headers values

func (*ListNodeLabelsDefault) SetPayload

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

SetPayload sets the payload to the list node labels default response

func (*ListNodeLabelsDefault) SetStatusCode

func (o *ListNodeLabelsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list node labels default response

func (*ListNodeLabelsDefault) WithPayload

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

WithPayload adds the payload to the list node labels default response

func (*ListNodeLabelsDefault) WithStatusCode

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

WithStatusCode adds the status to the list node labels default response

func (*ListNodeLabelsDefault) WriteResponse

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

WriteResponse to the client

type ListNodeLabelsHandler

type ListNodeLabelsHandler interface {
	Handle(ListNodeLabelsParams, *models.Principal) middleware.Responder
}

ListNodeLabelsHandler interface for that can handle valid list node labels params

type ListNodeLabelsHandlerFunc

type ListNodeLabelsHandlerFunc func(ListNodeLabelsParams, *models.Principal) middleware.Responder

ListNodeLabelsHandlerFunc turns a function with the right signature into a list node labels handler

func (ListNodeLabelsHandlerFunc) Handle

Handle executing the request and returning a response

type ListNodeLabelsOK

type ListNodeLabelsOK struct {

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

ListNodeLabelsOK A successful response.

swagger:response listNodeLabelsOK

func NewListNodeLabelsOK

func NewListNodeLabelsOK() *ListNodeLabelsOK

NewListNodeLabelsOK creates ListNodeLabelsOK with default headers values

func (*ListNodeLabelsOK) SetPayload

func (o *ListNodeLabelsOK) SetPayload(payload models.NodeLabels)

SetPayload sets the payload to the list node labels o k response

func (*ListNodeLabelsOK) WithPayload

func (o *ListNodeLabelsOK) WithPayload(payload models.NodeLabels) *ListNodeLabelsOK

WithPayload adds the payload to the list node labels o k response

func (*ListNodeLabelsOK) WriteResponse

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

WriteResponse to the client

type ListNodeLabelsParams

type ListNodeLabelsParams struct {

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

ListNodeLabelsParams contains all the bound params for the list node labels operation typically these are obtained from a http.Request

swagger:parameters ListNodeLabels

func NewListNodeLabelsParams

func NewListNodeLabelsParams() ListNodeLabelsParams

NewListNodeLabelsParams creates a new ListNodeLabelsParams object

There are no default values defined in the spec.

func (*ListNodeLabelsParams) BindRequest

func (o *ListNodeLabelsParams) 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 NewListNodeLabelsParams() beforehand.

type ListNodeLabelsURL

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

ListNodeLabelsURL generates an URL for the list node labels operation

func (*ListNodeLabelsURL) Build

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

Build a url path and query string

func (*ListNodeLabelsURL) BuildFull

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

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

func (*ListNodeLabelsURL) Must

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

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

func (*ListNodeLabelsURL) SetBasePath

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

func (o *ListNodeLabelsURL) String() string

String returns the string representation of the path with query string

func (*ListNodeLabelsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListNodeLabelsURL) WithBasePath

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

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 ListPVCs

type ListPVCs struct {
	Context *middleware.Context
	Handler ListPVCsHandler
}
ListPVCs swagger:route GET /list-pvcs OperatorAPI listPVCs

List all PVCs from namespaces that the user has access to

func NewListPVCs

func NewListPVCs(ctx *middleware.Context, handler ListPVCsHandler) *ListPVCs

NewListPVCs creates a new http.Handler for the list p v cs operation

func (*ListPVCs) ServeHTTP

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

type ListPVCsDefault

type ListPVCsDefault struct {

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

ListPVCsDefault Generic error response.

swagger:response listPVCsDefault

func NewListPVCsDefault

func NewListPVCsDefault(code int) *ListPVCsDefault

NewListPVCsDefault creates ListPVCsDefault with default headers values

func (*ListPVCsDefault) SetPayload

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

SetPayload sets the payload to the list p v cs default response

func (*ListPVCsDefault) SetStatusCode

func (o *ListPVCsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list p v cs default response

func (*ListPVCsDefault) WithPayload

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

WithPayload adds the payload to the list p v cs default response

func (*ListPVCsDefault) WithStatusCode

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

WithStatusCode adds the status to the list p v cs default response

func (*ListPVCsDefault) WriteResponse

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

WriteResponse to the client

type ListPVCsHandler

type ListPVCsHandler interface {
	Handle(ListPVCsParams, *models.Principal) middleware.Responder
}

ListPVCsHandler interface for that can handle valid list p v cs params

type ListPVCsHandlerFunc

type ListPVCsHandlerFunc func(ListPVCsParams, *models.Principal) middleware.Responder

ListPVCsHandlerFunc turns a function with the right signature into a list p v cs handler

func (ListPVCsHandlerFunc) Handle

Handle executing the request and returning a response

type ListPVCsOK

type ListPVCsOK struct {

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

ListPVCsOK A successful response.

swagger:response listPVCsOK

func NewListPVCsOK

func NewListPVCsOK() *ListPVCsOK

NewListPVCsOK creates ListPVCsOK with default headers values

func (*ListPVCsOK) SetPayload

func (o *ListPVCsOK) SetPayload(payload *models.ListPVCsResponse)

SetPayload sets the payload to the list p v cs o k response

func (*ListPVCsOK) WithPayload

func (o *ListPVCsOK) WithPayload(payload *models.ListPVCsResponse) *ListPVCsOK

WithPayload adds the payload to the list p v cs o k response

func (*ListPVCsOK) WriteResponse

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

WriteResponse to the client

type ListPVCsParams

type ListPVCsParams struct {

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

ListPVCsParams contains all the bound params for the list p v cs operation typically these are obtained from a http.Request

swagger:parameters ListPVCs

func NewListPVCsParams

func NewListPVCsParams() ListPVCsParams

NewListPVCsParams creates a new ListPVCsParams object

There are no default values defined in the spec.

func (*ListPVCsParams) BindRequest

func (o *ListPVCsParams) 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 NewListPVCsParams() beforehand.

type ListPVCsURL

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

ListPVCsURL generates an URL for the list p v cs operation

func (*ListPVCsURL) Build

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

Build a url path and query string

func (*ListPVCsURL) BuildFull

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

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

func (*ListPVCsURL) Must

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

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

func (*ListPVCsURL) SetBasePath

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

func (o *ListPVCsURL) String() string

String returns the string representation of the path with query string

func (*ListPVCsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListPVCsURL) WithBasePath

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

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 ListTenants

type ListTenants struct {
	Context *middleware.Context
	Handler ListTenantsHandler
}
ListTenants swagger:route GET /namespaces/{namespace}/tenants OperatorAPI listTenants

List Tenants by Namespace

func NewListTenants

func NewListTenants(ctx *middleware.Context, handler ListTenantsHandler) *ListTenants

NewListTenants creates a new http.Handler for the list tenants operation

func (*ListTenants) ServeHTTP

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

type ListTenantsDefault

type ListTenantsDefault struct {

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

ListTenantsDefault Generic error response.

swagger:response listTenantsDefault

func NewListTenantsDefault

func NewListTenantsDefault(code int) *ListTenantsDefault

NewListTenantsDefault creates ListTenantsDefault with default headers values

func (*ListTenantsDefault) SetPayload

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

SetPayload sets the payload to the list tenants default response

func (*ListTenantsDefault) SetStatusCode

func (o *ListTenantsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list tenants default response

func (*ListTenantsDefault) WithPayload

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

WithPayload adds the payload to the list tenants default response

func (*ListTenantsDefault) WithStatusCode

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

WithStatusCode adds the status to the list tenants default response

func (*ListTenantsDefault) WriteResponse

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

WriteResponse to the client

type ListTenantsHandler

type ListTenantsHandler interface {
	Handle(ListTenantsParams, *models.Principal) middleware.Responder
}

ListTenantsHandler interface for that can handle valid list tenants params

type ListTenantsHandlerFunc

type ListTenantsHandlerFunc func(ListTenantsParams, *models.Principal) middleware.Responder

ListTenantsHandlerFunc turns a function with the right signature into a list tenants handler

func (ListTenantsHandlerFunc) Handle

Handle executing the request and returning a response

type ListTenantsOK

type ListTenantsOK struct {

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

ListTenantsOK A successful response.

swagger:response listTenantsOK

func NewListTenantsOK

func NewListTenantsOK() *ListTenantsOK

NewListTenantsOK creates ListTenantsOK with default headers values

func (*ListTenantsOK) SetPayload

func (o *ListTenantsOK) SetPayload(payload *models.ListTenantsResponse)

SetPayload sets the payload to the list tenants o k response

func (*ListTenantsOK) WithPayload

func (o *ListTenantsOK) WithPayload(payload *models.ListTenantsResponse) *ListTenantsOK

WithPayload adds the payload to the list tenants o k response

func (*ListTenantsOK) WriteResponse

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

WriteResponse to the client

type ListTenantsParams

type ListTenantsParams struct {

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

	/*
	  In: query
	*/
	Limit *int32
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  In: query
	*/
	Offset *int32
	/*
	  In: query
	*/
	SortBy *string
}

ListTenantsParams contains all the bound params for the list tenants operation typically these are obtained from a http.Request

swagger:parameters ListTenants

func NewListTenantsParams

func NewListTenantsParams() ListTenantsParams

NewListTenantsParams creates a new ListTenantsParams object

There are no default values defined in the spec.

func (*ListTenantsParams) BindRequest

func (o *ListTenantsParams) 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 NewListTenantsParams() beforehand.

type ListTenantsURL

type ListTenantsURL struct {
	Namespace string

	Limit  *int32
	Offset *int32
	SortBy *string
	// contains filtered or unexported fields
}

ListTenantsURL generates an URL for the list tenants operation

func (*ListTenantsURL) Build

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

Build a url path and query string

func (*ListTenantsURL) BuildFull

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

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

func (*ListTenantsURL) Must

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

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

func (*ListTenantsURL) SetBasePath

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

func (o *ListTenantsURL) String() string

String returns the string representation of the path with query string

func (*ListTenantsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListTenantsURL) WithBasePath

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

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 PutTenantYAML

type PutTenantYAML struct {
	Context *middleware.Context
	Handler PutTenantYAMLHandler
}
PutTenantYAML swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/yaml OperatorAPI putTenantYAML

Put the Tenant YAML

func NewPutTenantYAML

func NewPutTenantYAML(ctx *middleware.Context, handler PutTenantYAMLHandler) *PutTenantYAML

NewPutTenantYAML creates a new http.Handler for the put tenant y a m l operation

func (*PutTenantYAML) ServeHTTP

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

type PutTenantYAMLCreated

type PutTenantYAMLCreated struct {
}

PutTenantYAMLCreated A successful response.

swagger:response putTenantYAMLCreated

func NewPutTenantYAMLCreated

func NewPutTenantYAMLCreated() *PutTenantYAMLCreated

NewPutTenantYAMLCreated creates PutTenantYAMLCreated with default headers values

func (*PutTenantYAMLCreated) WriteResponse

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

WriteResponse to the client

type PutTenantYAMLDefault

type PutTenantYAMLDefault struct {

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

PutTenantYAMLDefault Generic error response.

swagger:response putTenantYAMLDefault

func NewPutTenantYAMLDefault

func NewPutTenantYAMLDefault(code int) *PutTenantYAMLDefault

NewPutTenantYAMLDefault creates PutTenantYAMLDefault with default headers values

func (*PutTenantYAMLDefault) SetPayload

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

SetPayload sets the payload to the put tenant y a m l default response

func (*PutTenantYAMLDefault) SetStatusCode

func (o *PutTenantYAMLDefault) SetStatusCode(code int)

SetStatusCode sets the status to the put tenant y a m l default response

func (*PutTenantYAMLDefault) WithPayload

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

WithPayload adds the payload to the put tenant y a m l default response

func (*PutTenantYAMLDefault) WithStatusCode

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

WithStatusCode adds the status to the put tenant y a m l default response

func (*PutTenantYAMLDefault) WriteResponse

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

WriteResponse to the client

type PutTenantYAMLHandler

type PutTenantYAMLHandler interface {
	Handle(PutTenantYAMLParams, *models.Principal) middleware.Responder
}

PutTenantYAMLHandler interface for that can handle valid put tenant y a m l params

type PutTenantYAMLHandlerFunc

type PutTenantYAMLHandlerFunc func(PutTenantYAMLParams, *models.Principal) middleware.Responder

PutTenantYAMLHandlerFunc turns a function with the right signature into a put tenant y a m l handler

func (PutTenantYAMLHandlerFunc) Handle

Handle executing the request and returning a response

type PutTenantYAMLParams

type PutTenantYAMLParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.TenantYAML
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

PutTenantYAMLParams contains all the bound params for the put tenant y a m l operation typically these are obtained from a http.Request

swagger:parameters PutTenantYAML

func NewPutTenantYAMLParams

func NewPutTenantYAMLParams() PutTenantYAMLParams

NewPutTenantYAMLParams creates a new PutTenantYAMLParams object

There are no default values defined in the spec.

func (*PutTenantYAMLParams) BindRequest

func (o *PutTenantYAMLParams) 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 NewPutTenantYAMLParams() beforehand.

type PutTenantYAMLURL

type PutTenantYAMLURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

PutTenantYAMLURL generates an URL for the put tenant y a m l operation

func (*PutTenantYAMLURL) Build

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

Build a url path and query string

func (*PutTenantYAMLURL) BuildFull

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

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

func (*PutTenantYAMLURL) Must

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

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

func (*PutTenantYAMLURL) SetBasePath

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

func (o *PutTenantYAMLURL) String() string

String returns the string representation of the path with query string

func (*PutTenantYAMLURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PutTenantYAMLURL) WithBasePath

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

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 SubscriptionActivate

type SubscriptionActivate struct {
	Context *middleware.Context
	Handler SubscriptionActivateHandler
}
SubscriptionActivate swagger:route POST /subscription/namespaces/{namespace}/tenants/{tenant}/activate OperatorAPI subscriptionActivate

Activate a particular tenant using the existing subscription license

func NewSubscriptionActivate

func NewSubscriptionActivate(ctx *middleware.Context, handler SubscriptionActivateHandler) *SubscriptionActivate

NewSubscriptionActivate creates a new http.Handler for the subscription activate operation

func (*SubscriptionActivate) ServeHTTP

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

type SubscriptionActivateDefault

type SubscriptionActivateDefault struct {

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

SubscriptionActivateDefault Generic error response.

swagger:response subscriptionActivateDefault

func NewSubscriptionActivateDefault

func NewSubscriptionActivateDefault(code int) *SubscriptionActivateDefault

NewSubscriptionActivateDefault creates SubscriptionActivateDefault with default headers values

func (*SubscriptionActivateDefault) SetPayload

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

SetPayload sets the payload to the subscription activate default response

func (*SubscriptionActivateDefault) SetStatusCode

func (o *SubscriptionActivateDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subscription activate default response

func (*SubscriptionActivateDefault) WithPayload

WithPayload adds the payload to the subscription activate default response

func (*SubscriptionActivateDefault) WithStatusCode

WithStatusCode adds the status to the subscription activate default response

func (*SubscriptionActivateDefault) WriteResponse

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

WriteResponse to the client

type SubscriptionActivateHandler

type SubscriptionActivateHandler interface {
	Handle(SubscriptionActivateParams, *models.Principal) middleware.Responder
}

SubscriptionActivateHandler interface for that can handle valid subscription activate params

type SubscriptionActivateHandlerFunc

type SubscriptionActivateHandlerFunc func(SubscriptionActivateParams, *models.Principal) middleware.Responder

SubscriptionActivateHandlerFunc turns a function with the right signature into a subscription activate handler

func (SubscriptionActivateHandlerFunc) Handle

Handle executing the request and returning a response

type SubscriptionActivateNoContent

type SubscriptionActivateNoContent struct {
}

SubscriptionActivateNoContent A successful response.

swagger:response subscriptionActivateNoContent

func NewSubscriptionActivateNoContent

func NewSubscriptionActivateNoContent() *SubscriptionActivateNoContent

NewSubscriptionActivateNoContent creates SubscriptionActivateNoContent with default headers values

func (*SubscriptionActivateNoContent) WriteResponse

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

WriteResponse to the client

type SubscriptionActivateParams

type SubscriptionActivateParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

SubscriptionActivateParams contains all the bound params for the subscription activate operation typically these are obtained from a http.Request

swagger:parameters SubscriptionActivate

func NewSubscriptionActivateParams

func NewSubscriptionActivateParams() SubscriptionActivateParams

NewSubscriptionActivateParams creates a new SubscriptionActivateParams object

There are no default values defined in the spec.

func (*SubscriptionActivateParams) 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 NewSubscriptionActivateParams() beforehand.

type SubscriptionActivateURL

type SubscriptionActivateURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

SubscriptionActivateURL generates an URL for the subscription activate operation

func (*SubscriptionActivateURL) Build

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

Build a url path and query string

func (*SubscriptionActivateURL) BuildFull

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

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

func (*SubscriptionActivateURL) Must

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

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

func (*SubscriptionActivateURL) SetBasePath

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

func (o *SubscriptionActivateURL) String() string

String returns the string representation of the path with query string

func (*SubscriptionActivateURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SubscriptionActivateURL) 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 SubscriptionInfo

type SubscriptionInfo struct {
	Context *middleware.Context
	Handler SubscriptionInfoHandler
}
SubscriptionInfo swagger:route GET /subscription/info OperatorAPI subscriptionInfo

Subscription info

func NewSubscriptionInfo

func NewSubscriptionInfo(ctx *middleware.Context, handler SubscriptionInfoHandler) *SubscriptionInfo

NewSubscriptionInfo creates a new http.Handler for the subscription info operation

func (*SubscriptionInfo) ServeHTTP

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

type SubscriptionInfoDefault

type SubscriptionInfoDefault struct {

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

SubscriptionInfoDefault Generic error response.

swagger:response subscriptionInfoDefault

func NewSubscriptionInfoDefault

func NewSubscriptionInfoDefault(code int) *SubscriptionInfoDefault

NewSubscriptionInfoDefault creates SubscriptionInfoDefault with default headers values

func (*SubscriptionInfoDefault) SetPayload

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

SetPayload sets the payload to the subscription info default response

func (*SubscriptionInfoDefault) SetStatusCode

func (o *SubscriptionInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subscription info default response

func (*SubscriptionInfoDefault) WithPayload

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

WithPayload adds the payload to the subscription info default response

func (*SubscriptionInfoDefault) WithStatusCode

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

WithStatusCode adds the status to the subscription info default response

func (*SubscriptionInfoDefault) WriteResponse

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

WriteResponse to the client

type SubscriptionInfoHandler

type SubscriptionInfoHandler interface {
	Handle(SubscriptionInfoParams, *models.Principal) middleware.Responder
}

SubscriptionInfoHandler interface for that can handle valid subscription info params

type SubscriptionInfoHandlerFunc

type SubscriptionInfoHandlerFunc func(SubscriptionInfoParams, *models.Principal) middleware.Responder

SubscriptionInfoHandlerFunc turns a function with the right signature into a subscription info handler

func (SubscriptionInfoHandlerFunc) Handle

Handle executing the request and returning a response

type SubscriptionInfoOK

type SubscriptionInfoOK struct {

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

SubscriptionInfoOK A successful response.

swagger:response subscriptionInfoOK

func NewSubscriptionInfoOK

func NewSubscriptionInfoOK() *SubscriptionInfoOK

NewSubscriptionInfoOK creates SubscriptionInfoOK with default headers values

func (*SubscriptionInfoOK) SetPayload

func (o *SubscriptionInfoOK) SetPayload(payload *models.License)

SetPayload sets the payload to the subscription info o k response

func (*SubscriptionInfoOK) WithPayload

func (o *SubscriptionInfoOK) WithPayload(payload *models.License) *SubscriptionInfoOK

WithPayload adds the payload to the subscription info o k response

func (*SubscriptionInfoOK) WriteResponse

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

WriteResponse to the client

type SubscriptionInfoParams

type SubscriptionInfoParams struct {

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

SubscriptionInfoParams contains all the bound params for the subscription info operation typically these are obtained from a http.Request

swagger:parameters SubscriptionInfo

func NewSubscriptionInfoParams

func NewSubscriptionInfoParams() SubscriptionInfoParams

NewSubscriptionInfoParams creates a new SubscriptionInfoParams object

There are no default values defined in the spec.

func (*SubscriptionInfoParams) BindRequest

func (o *SubscriptionInfoParams) 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 NewSubscriptionInfoParams() beforehand.

type SubscriptionInfoURL

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

SubscriptionInfoURL generates an URL for the subscription info operation

func (*SubscriptionInfoURL) Build

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

Build a url path and query string

func (*SubscriptionInfoURL) BuildFull

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

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

func (*SubscriptionInfoURL) Must

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

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

func (*SubscriptionInfoURL) SetBasePath

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

func (o *SubscriptionInfoURL) String() string

String returns the string representation of the path with query string

func (*SubscriptionInfoURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SubscriptionInfoURL) WithBasePath

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

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 SubscriptionRefresh

type SubscriptionRefresh struct {
	Context *middleware.Context
	Handler SubscriptionRefreshHandler
}
SubscriptionRefresh swagger:route POST /subscription/refresh OperatorAPI subscriptionRefresh

Refresh existing subscription license

func NewSubscriptionRefresh

func NewSubscriptionRefresh(ctx *middleware.Context, handler SubscriptionRefreshHandler) *SubscriptionRefresh

NewSubscriptionRefresh creates a new http.Handler for the subscription refresh operation

func (*SubscriptionRefresh) ServeHTTP

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

type SubscriptionRefreshDefault

type SubscriptionRefreshDefault struct {

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

SubscriptionRefreshDefault Generic error response.

swagger:response subscriptionRefreshDefault

func NewSubscriptionRefreshDefault

func NewSubscriptionRefreshDefault(code int) *SubscriptionRefreshDefault

NewSubscriptionRefreshDefault creates SubscriptionRefreshDefault with default headers values

func (*SubscriptionRefreshDefault) SetPayload

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

SetPayload sets the payload to the subscription refresh default response

func (*SubscriptionRefreshDefault) SetStatusCode

func (o *SubscriptionRefreshDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subscription refresh default response

func (*SubscriptionRefreshDefault) WithPayload

WithPayload adds the payload to the subscription refresh default response

func (*SubscriptionRefreshDefault) WithStatusCode

WithStatusCode adds the status to the subscription refresh default response

func (*SubscriptionRefreshDefault) WriteResponse

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

WriteResponse to the client

type SubscriptionRefreshHandler

type SubscriptionRefreshHandler interface {
	Handle(SubscriptionRefreshParams, *models.Principal) middleware.Responder
}

SubscriptionRefreshHandler interface for that can handle valid subscription refresh params

type SubscriptionRefreshHandlerFunc

type SubscriptionRefreshHandlerFunc func(SubscriptionRefreshParams, *models.Principal) middleware.Responder

SubscriptionRefreshHandlerFunc turns a function with the right signature into a subscription refresh handler

func (SubscriptionRefreshHandlerFunc) Handle

Handle executing the request and returning a response

type SubscriptionRefreshOK

type SubscriptionRefreshOK struct {

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

SubscriptionRefreshOK A successful response.

swagger:response subscriptionRefreshOK

func NewSubscriptionRefreshOK

func NewSubscriptionRefreshOK() *SubscriptionRefreshOK

NewSubscriptionRefreshOK creates SubscriptionRefreshOK with default headers values

func (*SubscriptionRefreshOK) SetPayload

func (o *SubscriptionRefreshOK) SetPayload(payload *models.License)

SetPayload sets the payload to the subscription refresh o k response

func (*SubscriptionRefreshOK) WithPayload

func (o *SubscriptionRefreshOK) WithPayload(payload *models.License) *SubscriptionRefreshOK

WithPayload adds the payload to the subscription refresh o k response

func (*SubscriptionRefreshOK) WriteResponse

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

WriteResponse to the client

type SubscriptionRefreshParams

type SubscriptionRefreshParams struct {

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

SubscriptionRefreshParams contains all the bound params for the subscription refresh operation typically these are obtained from a http.Request

swagger:parameters SubscriptionRefresh

func NewSubscriptionRefreshParams

func NewSubscriptionRefreshParams() SubscriptionRefreshParams

NewSubscriptionRefreshParams creates a new SubscriptionRefreshParams object

There are no default values defined in the spec.

func (*SubscriptionRefreshParams) 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 NewSubscriptionRefreshParams() beforehand.

type SubscriptionRefreshURL

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

SubscriptionRefreshURL generates an URL for the subscription refresh operation

func (*SubscriptionRefreshURL) Build

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

Build a url path and query string

func (*SubscriptionRefreshURL) BuildFull

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

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

func (*SubscriptionRefreshURL) Must

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

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

func (*SubscriptionRefreshURL) SetBasePath

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

func (o *SubscriptionRefreshURL) String() string

String returns the string representation of the path with query string

func (*SubscriptionRefreshURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SubscriptionRefreshURL) 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 SubscriptionValidate

type SubscriptionValidate struct {
	Context *middleware.Context
	Handler SubscriptionValidateHandler
}
SubscriptionValidate swagger:route POST /subscription/validate OperatorAPI subscriptionValidate

Validates subscription license

func NewSubscriptionValidate

func NewSubscriptionValidate(ctx *middleware.Context, handler SubscriptionValidateHandler) *SubscriptionValidate

NewSubscriptionValidate creates a new http.Handler for the subscription validate operation

func (*SubscriptionValidate) ServeHTTP

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

type SubscriptionValidateDefault

type SubscriptionValidateDefault struct {

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

SubscriptionValidateDefault Generic error response.

swagger:response subscriptionValidateDefault

func NewSubscriptionValidateDefault

func NewSubscriptionValidateDefault(code int) *SubscriptionValidateDefault

NewSubscriptionValidateDefault creates SubscriptionValidateDefault with default headers values

func (*SubscriptionValidateDefault) SetPayload

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

SetPayload sets the payload to the subscription validate default response

func (*SubscriptionValidateDefault) SetStatusCode

func (o *SubscriptionValidateDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subscription validate default response

func (*SubscriptionValidateDefault) WithPayload

WithPayload adds the payload to the subscription validate default response

func (*SubscriptionValidateDefault) WithStatusCode

WithStatusCode adds the status to the subscription validate default response

func (*SubscriptionValidateDefault) WriteResponse

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

WriteResponse to the client

type SubscriptionValidateHandler

type SubscriptionValidateHandler interface {
	Handle(SubscriptionValidateParams, *models.Principal) middleware.Responder
}

SubscriptionValidateHandler interface for that can handle valid subscription validate params

type SubscriptionValidateHandlerFunc

type SubscriptionValidateHandlerFunc func(SubscriptionValidateParams, *models.Principal) middleware.Responder

SubscriptionValidateHandlerFunc turns a function with the right signature into a subscription validate handler

func (SubscriptionValidateHandlerFunc) Handle

Handle executing the request and returning a response

type SubscriptionValidateOK

type SubscriptionValidateOK struct {

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

SubscriptionValidateOK A successful response.

swagger:response subscriptionValidateOK

func NewSubscriptionValidateOK

func NewSubscriptionValidateOK() *SubscriptionValidateOK

NewSubscriptionValidateOK creates SubscriptionValidateOK with default headers values

func (*SubscriptionValidateOK) SetPayload

func (o *SubscriptionValidateOK) SetPayload(payload *models.License)

SetPayload sets the payload to the subscription validate o k response

func (*SubscriptionValidateOK) WithPayload

func (o *SubscriptionValidateOK) WithPayload(payload *models.License) *SubscriptionValidateOK

WithPayload adds the payload to the subscription validate o k response

func (*SubscriptionValidateOK) WriteResponse

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

WriteResponse to the client

type SubscriptionValidateParams

type SubscriptionValidateParams struct {

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

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

SubscriptionValidateParams contains all the bound params for the subscription validate operation typically these are obtained from a http.Request

swagger:parameters SubscriptionValidate

func NewSubscriptionValidateParams

func NewSubscriptionValidateParams() SubscriptionValidateParams

NewSubscriptionValidateParams creates a new SubscriptionValidateParams object

There are no default values defined in the spec.

func (*SubscriptionValidateParams) 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 NewSubscriptionValidateParams() beforehand.

type SubscriptionValidateURL

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

SubscriptionValidateURL generates an URL for the subscription validate operation

func (*SubscriptionValidateURL) Build

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

Build a url path and query string

func (*SubscriptionValidateURL) BuildFull

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

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

func (*SubscriptionValidateURL) Must

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

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

func (*SubscriptionValidateURL) SetBasePath

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

func (o *SubscriptionValidateURL) String() string

String returns the string representation of the path with query string

func (*SubscriptionValidateURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SubscriptionValidateURL) 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 TenantAddPool

type TenantAddPool struct {
	Context *middleware.Context
	Handler TenantAddPoolHandler
}
TenantAddPool swagger:route POST /namespaces/{namespace}/tenants/{tenant}/pools OperatorAPI tenantAddPool

Tenant Add Pool

func NewTenantAddPool

func NewTenantAddPool(ctx *middleware.Context, handler TenantAddPoolHandler) *TenantAddPool

NewTenantAddPool creates a new http.Handler for the tenant add pool operation

func (*TenantAddPool) ServeHTTP

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

type TenantAddPoolCreated

type TenantAddPoolCreated struct {
}

TenantAddPoolCreated A successful response.

swagger:response tenantAddPoolCreated

func NewTenantAddPoolCreated

func NewTenantAddPoolCreated() *TenantAddPoolCreated

NewTenantAddPoolCreated creates TenantAddPoolCreated with default headers values

func (*TenantAddPoolCreated) WriteResponse

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

WriteResponse to the client

type TenantAddPoolDefault

type TenantAddPoolDefault struct {

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

TenantAddPoolDefault Generic error response.

swagger:response tenantAddPoolDefault

func NewTenantAddPoolDefault

func NewTenantAddPoolDefault(code int) *TenantAddPoolDefault

NewTenantAddPoolDefault creates TenantAddPoolDefault with default headers values

func (*TenantAddPoolDefault) SetPayload

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

SetPayload sets the payload to the tenant add pool default response

func (*TenantAddPoolDefault) SetStatusCode

func (o *TenantAddPoolDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant add pool default response

func (*TenantAddPoolDefault) WithPayload

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

WithPayload adds the payload to the tenant add pool default response

func (*TenantAddPoolDefault) WithStatusCode

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

WithStatusCode adds the status to the tenant add pool default response

func (*TenantAddPoolDefault) WriteResponse

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

WriteResponse to the client

type TenantAddPoolHandler

type TenantAddPoolHandler interface {
	Handle(TenantAddPoolParams, *models.Principal) middleware.Responder
}

TenantAddPoolHandler interface for that can handle valid tenant add pool params

type TenantAddPoolHandlerFunc

type TenantAddPoolHandlerFunc func(TenantAddPoolParams, *models.Principal) middleware.Responder

TenantAddPoolHandlerFunc turns a function with the right signature into a tenant add pool handler

func (TenantAddPoolHandlerFunc) Handle

Handle executing the request and returning a response

type TenantAddPoolParams

type TenantAddPoolParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.Pool
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

TenantAddPoolParams contains all the bound params for the tenant add pool operation typically these are obtained from a http.Request

swagger:parameters TenantAddPool

func NewTenantAddPoolParams

func NewTenantAddPoolParams() TenantAddPoolParams

NewTenantAddPoolParams creates a new TenantAddPoolParams object

There are no default values defined in the spec.

func (*TenantAddPoolParams) BindRequest

func (o *TenantAddPoolParams) 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 NewTenantAddPoolParams() beforehand.

type TenantAddPoolURL

type TenantAddPoolURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

TenantAddPoolURL generates an URL for the tenant add pool operation

func (*TenantAddPoolURL) Build

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

Build a url path and query string

func (*TenantAddPoolURL) BuildFull

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

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

func (*TenantAddPoolURL) Must

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

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

func (*TenantAddPoolURL) SetBasePath

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

func (o *TenantAddPoolURL) String() string

String returns the string representation of the path with query string

func (*TenantAddPoolURL) StringFull

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

StringFull returns the string representation of a complete url

func (*TenantAddPoolURL) WithBasePath

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

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 TenantDetails

type TenantDetails struct {
	Context *middleware.Context
	Handler TenantDetailsHandler
}
TenantDetails swagger:route GET /namespaces/{namespace}/tenants/{tenant} OperatorAPI tenantDetails

Tenant Details

func NewTenantDetails

func NewTenantDetails(ctx *middleware.Context, handler TenantDetailsHandler) *TenantDetails

NewTenantDetails creates a new http.Handler for the tenant details operation

func (*TenantDetails) ServeHTTP

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

type TenantDetailsDefault

type TenantDetailsDefault struct {

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

TenantDetailsDefault Generic error response.

swagger:response tenantDetailsDefault

func NewTenantDetailsDefault

func NewTenantDetailsDefault(code int) *TenantDetailsDefault

NewTenantDetailsDefault creates TenantDetailsDefault with default headers values

func (*TenantDetailsDefault) SetPayload

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

SetPayload sets the payload to the tenant details default response

func (*TenantDetailsDefault) SetStatusCode

func (o *TenantDetailsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant details default response

func (*TenantDetailsDefault) WithPayload

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

WithPayload adds the payload to the tenant details default response

func (*TenantDetailsDefault) WithStatusCode

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

WithStatusCode adds the status to the tenant details default response

func (*TenantDetailsDefault) WriteResponse

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

WriteResponse to the client

type TenantDetailsHandler

type TenantDetailsHandler interface {
	Handle(TenantDetailsParams, *models.Principal) middleware.Responder
}

TenantDetailsHandler interface for that can handle valid tenant details params

type TenantDetailsHandlerFunc

type TenantDetailsHandlerFunc func(TenantDetailsParams, *models.Principal) middleware.Responder

TenantDetailsHandlerFunc turns a function with the right signature into a tenant details handler

func (TenantDetailsHandlerFunc) Handle

Handle executing the request and returning a response

type TenantDetailsOK

type TenantDetailsOK struct {

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

TenantDetailsOK A successful response.

swagger:response tenantDetailsOK

func NewTenantDetailsOK

func NewTenantDetailsOK() *TenantDetailsOK

NewTenantDetailsOK creates TenantDetailsOK with default headers values

func (*TenantDetailsOK) SetPayload

func (o *TenantDetailsOK) SetPayload(payload *models.Tenant)

SetPayload sets the payload to the tenant details o k response

func (*TenantDetailsOK) WithPayload

func (o *TenantDetailsOK) WithPayload(payload *models.Tenant) *TenantDetailsOK

WithPayload adds the payload to the tenant details o k response

func (*TenantDetailsOK) WriteResponse

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

WriteResponse to the client

type TenantDetailsParams

type TenantDetailsParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

TenantDetailsParams contains all the bound params for the tenant details operation typically these are obtained from a http.Request

swagger:parameters TenantDetails

func NewTenantDetailsParams

func NewTenantDetailsParams() TenantDetailsParams

NewTenantDetailsParams creates a new TenantDetailsParams object

There are no default values defined in the spec.

func (*TenantDetailsParams) BindRequest

func (o *TenantDetailsParams) 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 NewTenantDetailsParams() beforehand.

type TenantDetailsURL

type TenantDetailsURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

TenantDetailsURL generates an URL for the tenant details operation

func (*TenantDetailsURL) Build

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

Build a url path and query string

func (*TenantDetailsURL) BuildFull

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

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

func (*TenantDetailsURL) Must

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

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

func (*TenantDetailsURL) SetBasePath

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

func (o *TenantDetailsURL) String() string

String returns the string representation of the path with query string

func (*TenantDetailsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*TenantDetailsURL) WithBasePath

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

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 TenantSecurity

type TenantSecurity struct {
	Context *middleware.Context
	Handler TenantSecurityHandler
}
TenantSecurity swagger:route GET /namespaces/{namespace}/tenants/{tenant}/security OperatorAPI tenantSecurity

Tenant Security

func NewTenantSecurity

func NewTenantSecurity(ctx *middleware.Context, handler TenantSecurityHandler) *TenantSecurity

NewTenantSecurity creates a new http.Handler for the tenant security operation

func (*TenantSecurity) ServeHTTP

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

type TenantSecurityDefault

type TenantSecurityDefault struct {

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

TenantSecurityDefault Generic error response.

swagger:response tenantSecurityDefault

func NewTenantSecurityDefault

func NewTenantSecurityDefault(code int) *TenantSecurityDefault

NewTenantSecurityDefault creates TenantSecurityDefault with default headers values

func (*TenantSecurityDefault) SetPayload

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

SetPayload sets the payload to the tenant security default response

func (*TenantSecurityDefault) SetStatusCode

func (o *TenantSecurityDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant security default response

func (*TenantSecurityDefault) WithPayload

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

WithPayload adds the payload to the tenant security default response

func (*TenantSecurityDefault) WithStatusCode

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

WithStatusCode adds the status to the tenant security default response

func (*TenantSecurityDefault) WriteResponse

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

WriteResponse to the client

type TenantSecurityHandler

type TenantSecurityHandler interface {
	Handle(TenantSecurityParams, *models.Principal) middleware.Responder
}

TenantSecurityHandler interface for that can handle valid tenant security params

type TenantSecurityHandlerFunc

type TenantSecurityHandlerFunc func(TenantSecurityParams, *models.Principal) middleware.Responder

TenantSecurityHandlerFunc turns a function with the right signature into a tenant security handler

func (TenantSecurityHandlerFunc) Handle

Handle executing the request and returning a response

type TenantSecurityOK

type TenantSecurityOK struct {

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

TenantSecurityOK A successful response.

swagger:response tenantSecurityOK

func NewTenantSecurityOK

func NewTenantSecurityOK() *TenantSecurityOK

NewTenantSecurityOK creates TenantSecurityOK with default headers values

func (*TenantSecurityOK) SetPayload

func (o *TenantSecurityOK) SetPayload(payload *models.TenantSecurityResponse)

SetPayload sets the payload to the tenant security o k response

func (*TenantSecurityOK) WithPayload

WithPayload adds the payload to the tenant security o k response

func (*TenantSecurityOK) WriteResponse

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

WriteResponse to the client

type TenantSecurityParams

type TenantSecurityParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

TenantSecurityParams contains all the bound params for the tenant security operation typically these are obtained from a http.Request

swagger:parameters TenantSecurity

func NewTenantSecurityParams

func NewTenantSecurityParams() TenantSecurityParams

NewTenantSecurityParams creates a new TenantSecurityParams object

There are no default values defined in the spec.

func (*TenantSecurityParams) BindRequest

func (o *TenantSecurityParams) 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 NewTenantSecurityParams() beforehand.

type TenantSecurityURL

type TenantSecurityURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

TenantSecurityURL generates an URL for the tenant security operation

func (*TenantSecurityURL) Build

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

Build a url path and query string

func (*TenantSecurityURL) BuildFull

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

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

func (*TenantSecurityURL) Must

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

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

func (*TenantSecurityURL) SetBasePath

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

func (o *TenantSecurityURL) String() string

String returns the string representation of the path with query string

func (*TenantSecurityURL) StringFull

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

StringFull returns the string representation of a complete url

func (*TenantSecurityURL) WithBasePath

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

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 TenantUpdateCertificate

type TenantUpdateCertificate struct {
	Context *middleware.Context
	Handler TenantUpdateCertificateHandler
}
TenantUpdateCertificate swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/certificates OperatorAPI tenantUpdateCertificate

Tenant Update Certificates

func NewTenantUpdateCertificate

func NewTenantUpdateCertificate(ctx *middleware.Context, handler TenantUpdateCertificateHandler) *TenantUpdateCertificate

NewTenantUpdateCertificate creates a new http.Handler for the tenant update certificate operation

func (*TenantUpdateCertificate) ServeHTTP

type TenantUpdateCertificateCreated

type TenantUpdateCertificateCreated struct {
}

TenantUpdateCertificateCreated A successful response.

swagger:response tenantUpdateCertificateCreated

func NewTenantUpdateCertificateCreated

func NewTenantUpdateCertificateCreated() *TenantUpdateCertificateCreated

NewTenantUpdateCertificateCreated creates TenantUpdateCertificateCreated with default headers values

func (*TenantUpdateCertificateCreated) WriteResponse

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

WriteResponse to the client

type TenantUpdateCertificateDefault

type TenantUpdateCertificateDefault struct {

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

TenantUpdateCertificateDefault Generic error response.

swagger:response tenantUpdateCertificateDefault

func NewTenantUpdateCertificateDefault

func NewTenantUpdateCertificateDefault(code int) *TenantUpdateCertificateDefault

NewTenantUpdateCertificateDefault creates TenantUpdateCertificateDefault with default headers values

func (*TenantUpdateCertificateDefault) SetPayload

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

SetPayload sets the payload to the tenant update certificate default response

func (*TenantUpdateCertificateDefault) SetStatusCode

func (o *TenantUpdateCertificateDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant update certificate default response

func (*TenantUpdateCertificateDefault) WithPayload

WithPayload adds the payload to the tenant update certificate default response

func (*TenantUpdateCertificateDefault) WithStatusCode

WithStatusCode adds the status to the tenant update certificate default response

func (*TenantUpdateCertificateDefault) WriteResponse

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

WriteResponse to the client

type TenantUpdateCertificateHandler

type TenantUpdateCertificateHandler interface {
	Handle(TenantUpdateCertificateParams, *models.Principal) middleware.Responder
}

TenantUpdateCertificateHandler interface for that can handle valid tenant update certificate params

type TenantUpdateCertificateHandlerFunc

type TenantUpdateCertificateHandlerFunc func(TenantUpdateCertificateParams, *models.Principal) middleware.Responder

TenantUpdateCertificateHandlerFunc turns a function with the right signature into a tenant update certificate handler

func (TenantUpdateCertificateHandlerFunc) Handle

Handle executing the request and returning a response

type TenantUpdateCertificateParams

type TenantUpdateCertificateParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.TLSConfiguration
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

TenantUpdateCertificateParams contains all the bound params for the tenant update certificate operation typically these are obtained from a http.Request

swagger:parameters TenantUpdateCertificate

func NewTenantUpdateCertificateParams

func NewTenantUpdateCertificateParams() TenantUpdateCertificateParams

NewTenantUpdateCertificateParams creates a new TenantUpdateCertificateParams object

There are no default values defined in the spec.

func (*TenantUpdateCertificateParams) 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 NewTenantUpdateCertificateParams() beforehand.

type TenantUpdateCertificateURL

type TenantUpdateCertificateURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

TenantUpdateCertificateURL generates an URL for the tenant update certificate operation

func (*TenantUpdateCertificateURL) Build

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

Build a url path and query string

func (*TenantUpdateCertificateURL) BuildFull

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

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

func (*TenantUpdateCertificateURL) Must

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

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

func (*TenantUpdateCertificateURL) SetBasePath

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

func (o *TenantUpdateCertificateURL) String() string

String returns the string representation of the path with query string

func (*TenantUpdateCertificateURL) StringFull

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

StringFull returns the string representation of a complete url

func (*TenantUpdateCertificateURL) 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 TenantUpdateEncryption

type TenantUpdateEncryption struct {
	Context *middleware.Context
	Handler TenantUpdateEncryptionHandler
}
TenantUpdateEncryption swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/encryption OperatorAPI tenantUpdateEncryption

Tenant Update Encryption

func NewTenantUpdateEncryption

func NewTenantUpdateEncryption(ctx *middleware.Context, handler TenantUpdateEncryptionHandler) *TenantUpdateEncryption

NewTenantUpdateEncryption creates a new http.Handler for the tenant update encryption operation

func (*TenantUpdateEncryption) ServeHTTP

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

type TenantUpdateEncryptionCreated

type TenantUpdateEncryptionCreated struct {
}

TenantUpdateEncryptionCreated A successful response.

swagger:response tenantUpdateEncryptionCreated

func NewTenantUpdateEncryptionCreated

func NewTenantUpdateEncryptionCreated() *TenantUpdateEncryptionCreated

NewTenantUpdateEncryptionCreated creates TenantUpdateEncryptionCreated with default headers values

func (*TenantUpdateEncryptionCreated) WriteResponse

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

WriteResponse to the client

type TenantUpdateEncryptionDefault

type TenantUpdateEncryptionDefault struct {

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

TenantUpdateEncryptionDefault Generic error response.

swagger:response tenantUpdateEncryptionDefault

func NewTenantUpdateEncryptionDefault

func NewTenantUpdateEncryptionDefault(code int) *TenantUpdateEncryptionDefault

NewTenantUpdateEncryptionDefault creates TenantUpdateEncryptionDefault with default headers values

func (*TenantUpdateEncryptionDefault) SetPayload

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

SetPayload sets the payload to the tenant update encryption default response

func (*TenantUpdateEncryptionDefault) SetStatusCode

func (o *TenantUpdateEncryptionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant update encryption default response

func (*TenantUpdateEncryptionDefault) WithPayload

WithPayload adds the payload to the tenant update encryption default response

func (*TenantUpdateEncryptionDefault) WithStatusCode

WithStatusCode adds the status to the tenant update encryption default response

func (*TenantUpdateEncryptionDefault) WriteResponse

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

WriteResponse to the client

type TenantUpdateEncryptionHandler

type TenantUpdateEncryptionHandler interface {
	Handle(TenantUpdateEncryptionParams, *models.Principal) middleware.Responder
}

TenantUpdateEncryptionHandler interface for that can handle valid tenant update encryption params

type TenantUpdateEncryptionHandlerFunc

type TenantUpdateEncryptionHandlerFunc func(TenantUpdateEncryptionParams, *models.Principal) middleware.Responder

TenantUpdateEncryptionHandlerFunc turns a function with the right signature into a tenant update encryption handler

func (TenantUpdateEncryptionHandlerFunc) Handle

Handle executing the request and returning a response

type TenantUpdateEncryptionParams

type TenantUpdateEncryptionParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.EncryptionConfiguration
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

TenantUpdateEncryptionParams contains all the bound params for the tenant update encryption operation typically these are obtained from a http.Request

swagger:parameters TenantUpdateEncryption

func NewTenantUpdateEncryptionParams

func NewTenantUpdateEncryptionParams() TenantUpdateEncryptionParams

NewTenantUpdateEncryptionParams creates a new TenantUpdateEncryptionParams object

There are no default values defined in the spec.

func (*TenantUpdateEncryptionParams) 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 NewTenantUpdateEncryptionParams() beforehand.

type TenantUpdateEncryptionURL

type TenantUpdateEncryptionURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

TenantUpdateEncryptionURL generates an URL for the tenant update encryption operation

func (*TenantUpdateEncryptionURL) Build

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

Build a url path and query string

func (*TenantUpdateEncryptionURL) BuildFull

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

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

func (*TenantUpdateEncryptionURL) Must

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

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

func (*TenantUpdateEncryptionURL) SetBasePath

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

func (o *TenantUpdateEncryptionURL) String() string

String returns the string representation of the path with query string

func (*TenantUpdateEncryptionURL) StringFull

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

StringFull returns the string representation of a complete url

func (*TenantUpdateEncryptionURL) 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 TenantUpdatePools

type TenantUpdatePools struct {
	Context *middleware.Context
	Handler TenantUpdatePoolsHandler
}
TenantUpdatePools swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/pools OperatorAPI tenantUpdatePools

Tenant Update Pools

func NewTenantUpdatePools

func NewTenantUpdatePools(ctx *middleware.Context, handler TenantUpdatePoolsHandler) *TenantUpdatePools

NewTenantUpdatePools creates a new http.Handler for the tenant update pools operation

func (*TenantUpdatePools) ServeHTTP

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

type TenantUpdatePoolsDefault

type TenantUpdatePoolsDefault struct {

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

TenantUpdatePoolsDefault Generic error response.

swagger:response tenantUpdatePoolsDefault

func NewTenantUpdatePoolsDefault

func NewTenantUpdatePoolsDefault(code int) *TenantUpdatePoolsDefault

NewTenantUpdatePoolsDefault creates TenantUpdatePoolsDefault with default headers values

func (*TenantUpdatePoolsDefault) SetPayload

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

SetPayload sets the payload to the tenant update pools default response

func (*TenantUpdatePoolsDefault) SetStatusCode

func (o *TenantUpdatePoolsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant update pools default response

func (*TenantUpdatePoolsDefault) WithPayload

WithPayload adds the payload to the tenant update pools default response

func (*TenantUpdatePoolsDefault) WithStatusCode

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

WithStatusCode adds the status to the tenant update pools default response

func (*TenantUpdatePoolsDefault) WriteResponse

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

WriteResponse to the client

type TenantUpdatePoolsHandler

type TenantUpdatePoolsHandler interface {
	Handle(TenantUpdatePoolsParams, *models.Principal) middleware.Responder
}

TenantUpdatePoolsHandler interface for that can handle valid tenant update pools params

type TenantUpdatePoolsHandlerFunc

type TenantUpdatePoolsHandlerFunc func(TenantUpdatePoolsParams, *models.Principal) middleware.Responder

TenantUpdatePoolsHandlerFunc turns a function with the right signature into a tenant update pools handler

func (TenantUpdatePoolsHandlerFunc) Handle

Handle executing the request and returning a response

type TenantUpdatePoolsOK

type TenantUpdatePoolsOK struct {

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

TenantUpdatePoolsOK A successful response.

swagger:response tenantUpdatePoolsOK

func NewTenantUpdatePoolsOK

func NewTenantUpdatePoolsOK() *TenantUpdatePoolsOK

NewTenantUpdatePoolsOK creates TenantUpdatePoolsOK with default headers values

func (*TenantUpdatePoolsOK) SetPayload

func (o *TenantUpdatePoolsOK) SetPayload(payload *models.Tenant)

SetPayload sets the payload to the tenant update pools o k response

func (*TenantUpdatePoolsOK) WithPayload

func (o *TenantUpdatePoolsOK) WithPayload(payload *models.Tenant) *TenantUpdatePoolsOK

WithPayload adds the payload to the tenant update pools o k response

func (*TenantUpdatePoolsOK) WriteResponse

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

WriteResponse to the client

type TenantUpdatePoolsParams

type TenantUpdatePoolsParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.PoolUpdateRequest
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

TenantUpdatePoolsParams contains all the bound params for the tenant update pools operation typically these are obtained from a http.Request

swagger:parameters TenantUpdatePools

func NewTenantUpdatePoolsParams

func NewTenantUpdatePoolsParams() TenantUpdatePoolsParams

NewTenantUpdatePoolsParams creates a new TenantUpdatePoolsParams object

There are no default values defined in the spec.

func (*TenantUpdatePoolsParams) BindRequest

func (o *TenantUpdatePoolsParams) 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 NewTenantUpdatePoolsParams() beforehand.

type TenantUpdatePoolsURL

type TenantUpdatePoolsURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

TenantUpdatePoolsURL generates an URL for the tenant update pools operation

func (*TenantUpdatePoolsURL) Build

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

Build a url path and query string

func (*TenantUpdatePoolsURL) BuildFull

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

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

func (*TenantUpdatePoolsURL) Must

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

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

func (*TenantUpdatePoolsURL) SetBasePath

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

func (o *TenantUpdatePoolsURL) String() string

String returns the string representation of the path with query string

func (*TenantUpdatePoolsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*TenantUpdatePoolsURL) WithBasePath

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

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 UpdateTenant

type UpdateTenant struct {
	Context *middleware.Context
	Handler UpdateTenantHandler
}
UpdateTenant swagger:route PUT /namespaces/{namespace}/tenants/{tenant} OperatorAPI updateTenant

Update Tenant

func NewUpdateTenant

func NewUpdateTenant(ctx *middleware.Context, handler UpdateTenantHandler) *UpdateTenant

NewUpdateTenant creates a new http.Handler for the update tenant operation

func (*UpdateTenant) ServeHTTP

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

type UpdateTenantCreated

type UpdateTenantCreated struct {
}

UpdateTenantCreated A successful response.

swagger:response updateTenantCreated

func NewUpdateTenantCreated

func NewUpdateTenantCreated() *UpdateTenantCreated

NewUpdateTenantCreated creates UpdateTenantCreated with default headers values

func (*UpdateTenantCreated) WriteResponse

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

WriteResponse to the client

type UpdateTenantDefault

type UpdateTenantDefault struct {

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

UpdateTenantDefault Generic error response.

swagger:response updateTenantDefault

func NewUpdateTenantDefault

func NewUpdateTenantDefault(code int) *UpdateTenantDefault

NewUpdateTenantDefault creates UpdateTenantDefault with default headers values

func (*UpdateTenantDefault) SetPayload

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

SetPayload sets the payload to the update tenant default response

func (*UpdateTenantDefault) SetStatusCode

func (o *UpdateTenantDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update tenant default response

func (*UpdateTenantDefault) WithPayload

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

WithPayload adds the payload to the update tenant default response

func (*UpdateTenantDefault) WithStatusCode

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

WithStatusCode adds the status to the update tenant default response

func (*UpdateTenantDefault) WriteResponse

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

WriteResponse to the client

type UpdateTenantHandler

type UpdateTenantHandler interface {
	Handle(UpdateTenantParams, *models.Principal) middleware.Responder
}

UpdateTenantHandler interface for that can handle valid update tenant params

type UpdateTenantHandlerFunc

type UpdateTenantHandlerFunc func(UpdateTenantParams, *models.Principal) middleware.Responder

UpdateTenantHandlerFunc turns a function with the right signature into a update tenant handler

func (UpdateTenantHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateTenantParams

type UpdateTenantParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.UpdateTenantRequest
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

UpdateTenantParams contains all the bound params for the update tenant operation typically these are obtained from a http.Request

swagger:parameters UpdateTenant

func NewUpdateTenantParams

func NewUpdateTenantParams() UpdateTenantParams

NewUpdateTenantParams creates a new UpdateTenantParams object

There are no default values defined in the spec.

func (*UpdateTenantParams) BindRequest

func (o *UpdateTenantParams) 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 NewUpdateTenantParams() beforehand.

type UpdateTenantSecurity

type UpdateTenantSecurity struct {
	Context *middleware.Context
	Handler UpdateTenantSecurityHandler
}
UpdateTenantSecurity swagger:route POST /namespaces/{namespace}/tenants/{tenant}/security OperatorAPI updateTenantSecurity

Update Tenant Security

func NewUpdateTenantSecurity

func NewUpdateTenantSecurity(ctx *middleware.Context, handler UpdateTenantSecurityHandler) *UpdateTenantSecurity

NewUpdateTenantSecurity creates a new http.Handler for the update tenant security operation

func (*UpdateTenantSecurity) ServeHTTP

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

type UpdateTenantSecurityDefault

type UpdateTenantSecurityDefault struct {

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

UpdateTenantSecurityDefault Generic error response.

swagger:response updateTenantSecurityDefault

func NewUpdateTenantSecurityDefault

func NewUpdateTenantSecurityDefault(code int) *UpdateTenantSecurityDefault

NewUpdateTenantSecurityDefault creates UpdateTenantSecurityDefault with default headers values

func (*UpdateTenantSecurityDefault) SetPayload

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

SetPayload sets the payload to the update tenant security default response

func (*UpdateTenantSecurityDefault) SetStatusCode

func (o *UpdateTenantSecurityDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update tenant security default response

func (*UpdateTenantSecurityDefault) WithPayload

WithPayload adds the payload to the update tenant security default response

func (*UpdateTenantSecurityDefault) WithStatusCode

WithStatusCode adds the status to the update tenant security default response

func (*UpdateTenantSecurityDefault) WriteResponse

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

WriteResponse to the client

type UpdateTenantSecurityHandler

type UpdateTenantSecurityHandler interface {
	Handle(UpdateTenantSecurityParams, *models.Principal) middleware.Responder
}

UpdateTenantSecurityHandler interface for that can handle valid update tenant security params

type UpdateTenantSecurityHandlerFunc

type UpdateTenantSecurityHandlerFunc func(UpdateTenantSecurityParams, *models.Principal) middleware.Responder

UpdateTenantSecurityHandlerFunc turns a function with the right signature into a update tenant security handler

func (UpdateTenantSecurityHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateTenantSecurityNoContent

type UpdateTenantSecurityNoContent struct {
}

UpdateTenantSecurityNoContent A successful response.

swagger:response updateTenantSecurityNoContent

func NewUpdateTenantSecurityNoContent

func NewUpdateTenantSecurityNoContent() *UpdateTenantSecurityNoContent

NewUpdateTenantSecurityNoContent creates UpdateTenantSecurityNoContent with default headers values

func (*UpdateTenantSecurityNoContent) WriteResponse

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

WriteResponse to the client

type UpdateTenantSecurityParams

type UpdateTenantSecurityParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.UpdateTenantSecurityRequest
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

UpdateTenantSecurityParams contains all the bound params for the update tenant security operation typically these are obtained from a http.Request

swagger:parameters UpdateTenantSecurity

func NewUpdateTenantSecurityParams

func NewUpdateTenantSecurityParams() UpdateTenantSecurityParams

NewUpdateTenantSecurityParams creates a new UpdateTenantSecurityParams object

There are no default values defined in the spec.

func (*UpdateTenantSecurityParams) 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 NewUpdateTenantSecurityParams() beforehand.

type UpdateTenantSecurityURL

type UpdateTenantSecurityURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

UpdateTenantSecurityURL generates an URL for the update tenant security operation

func (*UpdateTenantSecurityURL) Build

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

Build a url path and query string

func (*UpdateTenantSecurityURL) BuildFull

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

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

func (*UpdateTenantSecurityURL) Must

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

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

func (*UpdateTenantSecurityURL) SetBasePath

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

func (o *UpdateTenantSecurityURL) String() string

String returns the string representation of the path with query string

func (*UpdateTenantSecurityURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateTenantSecurityURL) 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 UpdateTenantURL

type UpdateTenantURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

UpdateTenantURL generates an URL for the update tenant operation

func (*UpdateTenantURL) Build

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

Build a url path and query string

func (*UpdateTenantURL) BuildFull

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

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

func (*UpdateTenantURL) Must

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

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

func (*UpdateTenantURL) SetBasePath

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

func (o *UpdateTenantURL) String() string

String returns the string representation of the path with query string

func (*UpdateTenantURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateTenantURL) WithBasePath

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

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