operator_api

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 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 DeletePVCNoContentCode int = 204

DeletePVCNoContentCode is the HTTP code returned for type DeletePVCNoContent

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 DescribePodOKCode int = 200

DescribePodOKCode is the HTTP code returned for type DescribePodOK

View Source
const DirectPVFormatDriveOKCode int = 200

DirectPVFormatDriveOKCode is the HTTP code returned for type DirectPVFormatDriveOK

View Source
const DisableTenantLoggingOKCode int = 200

DisableTenantLoggingOKCode is the HTTP code returned for type DisableTenantLoggingOK

View Source
const EnableTenantLoggingOKCode int = 200

EnableTenantLoggingOKCode is the HTTP code returned for type EnableTenantLoggingOK

View Source
const GetAllocatableResourcesOKCode int = 200

GetAllocatableResourcesOKCode is the HTTP code returned for type GetAllocatableResourcesOK

View Source
const GetDirectPVDriveListOKCode int = 200

GetDirectPVDriveListOKCode is the HTTP code returned for type GetDirectPVDriveListOK

View Source
const GetDirectPVVolumeListOKCode int = 200

GetDirectPVVolumeListOKCode is the HTTP code returned for type GetDirectPVVolumeListOK

View Source
const GetMPIntegrationOKCode int = 200

GetMPIntegrationOKCode is the HTTP code returned for type GetMPIntegrationOK

View Source
const GetMaxAllocatableMemOKCode int = 200

GetMaxAllocatableMemOKCode is the HTTP code returned for type GetMaxAllocatableMemOK

View Source
const GetPVCDescribeOKCode int = 200

GetPVCDescribeOKCode is the HTTP code returned for type GetPVCDescribeOK

View Source
const GetPVCEventsOKCode int = 200

GetPVCEventsOKCode is the HTTP code returned for type GetPVCEventsOK

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 GetTenantEventsOKCode int = 200

GetTenantEventsOKCode is the HTTP code returned for type GetTenantEventsOK

View Source
const GetTenantLogsOKCode int = 200

GetTenantLogsOKCode is the HTTP code returned for type GetTenantLogsOK

View Source
const GetTenantMonitoringOKCode int = 200

GetTenantMonitoringOKCode is the HTTP code returned for type GetTenantMonitoringOK

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 ListPVCsForTenantOKCode int = 200

ListPVCsForTenantOKCode is the HTTP code returned for type ListPVCsForTenantOK

View Source
const ListPVCsOKCode int = 200

ListPVCsOKCode is the HTTP code returned for type ListPVCsOK

View Source
const ListTenantCertificateSigningRequestOKCode int = 200

ListTenantCertificateSigningRequestOKCode is the HTTP code returned for type ListTenantCertificateSigningRequestOK

View Source
const ListTenantsOKCode int = 200

ListTenantsOKCode is the HTTP code returned for type ListTenantsOK

View Source
const OperatorSubnetAPIKeyInfoOKCode int = 200

OperatorSubnetAPIKeyInfoOKCode is the HTTP code returned for type OperatorSubnetAPIKeyInfoOK

View Source
const OperatorSubnetAPIKeyOKCode int = 200

OperatorSubnetAPIKeyOKCode is the HTTP code returned for type OperatorSubnetAPIKeyOK

View Source
const OperatorSubnetLoginMFAOKCode int = 200

OperatorSubnetLoginMFAOKCode is the HTTP code returned for type OperatorSubnetLoginMFAOK

View Source
const OperatorSubnetLoginOKCode int = 200

OperatorSubnetLoginOKCode is the HTTP code returned for type OperatorSubnetLoginOK

View Source
const OperatorSubnetRegisterAPIKeyOKCode int = 200

OperatorSubnetRegisterAPIKeyOKCode is the HTTP code returned for type OperatorSubnetRegisterAPIKeyOK

View Source
const PostMPIntegrationCreatedCode int = 201

PostMPIntegrationCreatedCode is the HTTP code returned for type PostMPIntegrationCreated

View Source
const PutTenantYAMLCreatedCode int = 201

PutTenantYAMLCreatedCode is the HTTP code returned for type PutTenantYAMLCreated

View Source
const SetTenantAdministratorsNoContentCode int = 204

SetTenantAdministratorsNoContentCode is the HTTP code returned for type SetTenantAdministratorsNoContent

View Source
const SetTenantLogsOKCode int = 200

SetTenantLogsOKCode is the HTTP code returned for type SetTenantLogsOK

View Source
const SetTenantMonitoringCreatedCode int = 201

SetTenantMonitoringCreatedCode is the HTTP code returned for type SetTenantMonitoringCreated

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 TenantConfigurationOKCode int = 200

TenantConfigurationOKCode is the HTTP code returned for type TenantConfigurationOK

View Source
const TenantDeleteEncryptionNoContentCode int = 204

TenantDeleteEncryptionNoContentCode is the HTTP code returned for type TenantDeleteEncryptionNoContent

View Source
const TenantDetailsOKCode int = 200

TenantDetailsOKCode is the HTTP code returned for type TenantDetailsOK

View Source
const TenantEncryptionInfoOKCode int = 200

TenantEncryptionInfoOKCode is the HTTP code returned for type TenantEncryptionInfoOK

View Source
const TenantIdentityProviderOKCode int = 200

TenantIdentityProviderOKCode is the HTTP code returned for type TenantIdentityProviderOK

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 UpdateTenantConfigurationNoContentCode int = 204

UpdateTenantConfigurationNoContentCode is the HTTP code returned for type UpdateTenantConfigurationNoContent

View Source
const UpdateTenantCreatedCode int = 201

UpdateTenantCreatedCode is the HTTP code returned for type UpdateTenantCreated

View Source
const UpdateTenantDomainsNoContentCode int = 204

UpdateTenantDomainsNoContentCode is the HTTP code returned for type UpdateTenantDomainsNoContent

View Source
const UpdateTenantIdentityProviderNoContentCode int = 204

UpdateTenantIdentityProviderNoContentCode is the HTTP code returned for type UpdateTenantIdentityProviderNoContent

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 DeletePVC ¶ added in v0.13.3

type DeletePVC struct {
	Context *middleware.Context
	Handler DeletePVCHandler
}
DeletePVC swagger:route DELETE /namespaces/{namespace}/tenants/{tenant}/pvc/{PVCName} OperatorAPI deletePVC

Delete PVC

func NewDeletePVC ¶ added in v0.13.3

func NewDeletePVC(ctx *middleware.Context, handler DeletePVCHandler) *DeletePVC

NewDeletePVC creates a new http.Handler for the delete p v c operation

func (*DeletePVC) ServeHTTP ¶ added in v0.13.3

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

type DeletePVCDefault ¶ added in v0.13.3

type DeletePVCDefault struct {

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

DeletePVCDefault Generic error response.

swagger:response deletePVCDefault

func NewDeletePVCDefault ¶ added in v0.13.3

func NewDeletePVCDefault(code int) *DeletePVCDefault

NewDeletePVCDefault creates DeletePVCDefault with default headers values

func (*DeletePVCDefault) SetPayload ¶ added in v0.13.3

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

SetPayload sets the payload to the delete p v c default response

func (*DeletePVCDefault) SetStatusCode ¶ added in v0.13.3

func (o *DeletePVCDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete p v c default response

func (*DeletePVCDefault) WithPayload ¶ added in v0.13.3

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

WithPayload adds the payload to the delete p v c default response

func (*DeletePVCDefault) WithStatusCode ¶ added in v0.13.3

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

WithStatusCode adds the status to the delete p v c default response

func (*DeletePVCDefault) WriteResponse ¶ added in v0.13.3

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

WriteResponse to the client

type DeletePVCHandler ¶ added in v0.13.3

type DeletePVCHandler interface {
	Handle(DeletePVCParams, *models.Principal) middleware.Responder
}

DeletePVCHandler interface for that can handle valid delete p v c params

type DeletePVCHandlerFunc ¶ added in v0.13.3

type DeletePVCHandlerFunc func(DeletePVCParams, *models.Principal) middleware.Responder

DeletePVCHandlerFunc turns a function with the right signature into a delete p v c handler

func (DeletePVCHandlerFunc) Handle ¶ added in v0.13.3

Handle executing the request and returning a response

type DeletePVCNoContent ¶ added in v0.13.3

type DeletePVCNoContent struct {
}

DeletePVCNoContent A successful response.

swagger:response deletePVCNoContent

func NewDeletePVCNoContent ¶ added in v0.13.3

func NewDeletePVCNoContent() *DeletePVCNoContent

NewDeletePVCNoContent creates DeletePVCNoContent with default headers values

func (*DeletePVCNoContent) WriteResponse ¶ added in v0.13.3

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

WriteResponse to the client

type DeletePVCParams ¶ added in v0.13.3

type DeletePVCParams struct {

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

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

DeletePVCParams contains all the bound params for the delete p v c operation typically these are obtained from a http.Request

swagger:parameters DeletePVC

func NewDeletePVCParams ¶ added in v0.13.3

func NewDeletePVCParams() DeletePVCParams

NewDeletePVCParams creates a new DeletePVCParams object

There are no default values defined in the spec.

func (*DeletePVCParams) BindRequest ¶ added in v0.13.3

func (o *DeletePVCParams) 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 NewDeletePVCParams() beforehand.

type DeletePVCURL ¶ added in v0.13.3

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

DeletePVCURL generates an URL for the delete p v c operation

func (*DeletePVCURL) Build ¶ added in v0.13.3

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

Build a url path and query string

func (*DeletePVCURL) BuildFull ¶ added in v0.13.3

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

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

func (*DeletePVCURL) Must ¶ added in v0.13.3

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

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

func (*DeletePVCURL) SetBasePath ¶ added in v0.13.3

func (o *DeletePVCURL) 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 (*DeletePVCURL) String ¶ added in v0.13.3

func (o *DeletePVCURL) String() string

String returns the string representation of the path with query string

func (*DeletePVCURL) StringFull ¶ added in v0.13.3

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

StringFull returns the string representation of a complete url

func (*DeletePVCURL) WithBasePath ¶ added in v0.13.3

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

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 DescribePod ¶ added in v0.16.2

type DescribePod struct {
	Context *middleware.Context
	Handler DescribePodHandler
}
DescribePod swagger:route GET /namespaces/{namespace}/tenants/{tenant}/pods/{podName}/describe OperatorAPI describePod

Describe Pod

func NewDescribePod ¶ added in v0.16.2

func NewDescribePod(ctx *middleware.Context, handler DescribePodHandler) *DescribePod

NewDescribePod creates a new http.Handler for the describe pod operation

func (*DescribePod) ServeHTTP ¶ added in v0.16.2

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

type DescribePodDefault ¶ added in v0.16.2

type DescribePodDefault struct {

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

DescribePodDefault Generic error response.

swagger:response describePodDefault

func NewDescribePodDefault ¶ added in v0.16.2

func NewDescribePodDefault(code int) *DescribePodDefault

NewDescribePodDefault creates DescribePodDefault with default headers values

func (*DescribePodDefault) SetPayload ¶ added in v0.16.2

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

SetPayload sets the payload to the describe pod default response

func (*DescribePodDefault) SetStatusCode ¶ added in v0.16.2

func (o *DescribePodDefault) SetStatusCode(code int)

SetStatusCode sets the status to the describe pod default response

func (*DescribePodDefault) WithPayload ¶ added in v0.16.2

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

WithPayload adds the payload to the describe pod default response

func (*DescribePodDefault) WithStatusCode ¶ added in v0.16.2

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

WithStatusCode adds the status to the describe pod default response

func (*DescribePodDefault) WriteResponse ¶ added in v0.16.2

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

WriteResponse to the client

type DescribePodHandler ¶ added in v0.16.2

type DescribePodHandler interface {
	Handle(DescribePodParams, *models.Principal) middleware.Responder
}

DescribePodHandler interface for that can handle valid describe pod params

type DescribePodHandlerFunc ¶ added in v0.16.2

type DescribePodHandlerFunc func(DescribePodParams, *models.Principal) middleware.Responder

DescribePodHandlerFunc turns a function with the right signature into a describe pod handler

func (DescribePodHandlerFunc) Handle ¶ added in v0.16.2

Handle executing the request and returning a response

type DescribePodOK ¶ added in v0.16.2

type DescribePodOK struct {

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

DescribePodOK A successful response.

swagger:response describePodOK

func NewDescribePodOK ¶ added in v0.16.2

func NewDescribePodOK() *DescribePodOK

NewDescribePodOK creates DescribePodOK with default headers values

func (*DescribePodOK) SetPayload ¶ added in v0.16.2

func (o *DescribePodOK) SetPayload(payload *models.DescribePodWrapper)

SetPayload sets the payload to the describe pod o k response

func (*DescribePodOK) WithPayload ¶ added in v0.16.2

func (o *DescribePodOK) WithPayload(payload *models.DescribePodWrapper) *DescribePodOK

WithPayload adds the payload to the describe pod o k response

func (*DescribePodOK) WriteResponse ¶ added in v0.16.2

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

WriteResponse to the client

type DescribePodParams ¶ added in v0.16.2

type DescribePodParams 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
}

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

swagger:parameters DescribePod

func NewDescribePodParams ¶ added in v0.16.2

func NewDescribePodParams() DescribePodParams

NewDescribePodParams creates a new DescribePodParams object

There are no default values defined in the spec.

func (*DescribePodParams) BindRequest ¶ added in v0.16.2

func (o *DescribePodParams) 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 NewDescribePodParams() beforehand.

type DescribePodURL ¶ added in v0.16.2

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

DescribePodURL generates an URL for the describe pod operation

func (*DescribePodURL) Build ¶ added in v0.16.2

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

Build a url path and query string

func (*DescribePodURL) BuildFull ¶ added in v0.16.2

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

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

func (*DescribePodURL) Must ¶ added in v0.16.2

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

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

func (*DescribePodURL) SetBasePath ¶ added in v0.16.2

func (o *DescribePodURL) 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 (*DescribePodURL) String ¶ added in v0.16.2

func (o *DescribePodURL) String() string

String returns the string representation of the path with query string

func (*DescribePodURL) StringFull ¶ added in v0.16.2

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

StringFull returns the string representation of a complete url

func (*DescribePodURL) WithBasePath ¶ added in v0.16.2

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

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 DirectPVFormatDrive ¶ added in v0.20.0

type DirectPVFormatDrive struct {
	Context *middleware.Context
	Handler DirectPVFormatDriveHandler
}
DirectPVFormatDrive swagger:route POST /directpv/drives/format OperatorAPI directPVFormatDrive

Format directpv drives from a list

func NewDirectPVFormatDrive ¶ added in v0.20.0

func NewDirectPVFormatDrive(ctx *middleware.Context, handler DirectPVFormatDriveHandler) *DirectPVFormatDrive

NewDirectPVFormatDrive creates a new http.Handler for the direct p v format drive operation

func (*DirectPVFormatDrive) ServeHTTP ¶ added in v0.20.0

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

type DirectPVFormatDriveDefault ¶ added in v0.20.0

type DirectPVFormatDriveDefault struct {

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

DirectPVFormatDriveDefault Generic error response.

swagger:response directPVFormatDriveDefault

func NewDirectPVFormatDriveDefault ¶ added in v0.20.0

func NewDirectPVFormatDriveDefault(code int) *DirectPVFormatDriveDefault

NewDirectPVFormatDriveDefault creates DirectPVFormatDriveDefault with default headers values

func (*DirectPVFormatDriveDefault) SetPayload ¶ added in v0.20.0

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

SetPayload sets the payload to the direct p v format drive default response

func (*DirectPVFormatDriveDefault) SetStatusCode ¶ added in v0.20.0

func (o *DirectPVFormatDriveDefault) SetStatusCode(code int)

SetStatusCode sets the status to the direct p v format drive default response

func (*DirectPVFormatDriveDefault) WithPayload ¶ added in v0.20.0

WithPayload adds the payload to the direct p v format drive default response

func (*DirectPVFormatDriveDefault) WithStatusCode ¶ added in v0.20.0

WithStatusCode adds the status to the direct p v format drive default response

func (*DirectPVFormatDriveDefault) WriteResponse ¶ added in v0.20.0

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

WriteResponse to the client

type DirectPVFormatDriveHandler ¶ added in v0.20.0

type DirectPVFormatDriveHandler interface {
	Handle(DirectPVFormatDriveParams, *models.Principal) middleware.Responder
}

DirectPVFormatDriveHandler interface for that can handle valid direct p v format drive params

type DirectPVFormatDriveHandlerFunc ¶ added in v0.20.0

type DirectPVFormatDriveHandlerFunc func(DirectPVFormatDriveParams, *models.Principal) middleware.Responder

DirectPVFormatDriveHandlerFunc turns a function with the right signature into a direct p v format drive handler

func (DirectPVFormatDriveHandlerFunc) Handle ¶ added in v0.20.0

Handle executing the request and returning a response

type DirectPVFormatDriveOK ¶ added in v0.20.0

type DirectPVFormatDriveOK struct {

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

DirectPVFormatDriveOK A successful response.

swagger:response directPVFormatDriveOK

func NewDirectPVFormatDriveOK ¶ added in v0.20.0

func NewDirectPVFormatDriveOK() *DirectPVFormatDriveOK

NewDirectPVFormatDriveOK creates DirectPVFormatDriveOK with default headers values

func (*DirectPVFormatDriveOK) SetPayload ¶ added in v0.20.0

SetPayload sets the payload to the direct p v format drive o k response

func (*DirectPVFormatDriveOK) WithPayload ¶ added in v0.20.0

WithPayload adds the payload to the direct p v format drive o k response

func (*DirectPVFormatDriveOK) WriteResponse ¶ added in v0.20.0

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

WriteResponse to the client

type DirectPVFormatDriveParams ¶ added in v0.20.0

type DirectPVFormatDriveParams struct {

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

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

DirectPVFormatDriveParams contains all the bound params for the direct p v format drive operation typically these are obtained from a http.Request

swagger:parameters DirectPVFormatDrive

func NewDirectPVFormatDriveParams ¶ added in v0.20.0

func NewDirectPVFormatDriveParams() DirectPVFormatDriveParams

NewDirectPVFormatDriveParams creates a new DirectPVFormatDriveParams object

There are no default values defined in the spec.

func (*DirectPVFormatDriveParams) BindRequest ¶ added in v0.20.0

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

type DirectPVFormatDriveURL ¶ added in v0.20.0

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

DirectPVFormatDriveURL generates an URL for the direct p v format drive operation

func (*DirectPVFormatDriveURL) Build ¶ added in v0.20.0

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

Build a url path and query string

func (*DirectPVFormatDriveURL) BuildFull ¶ added in v0.20.0

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

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

func (*DirectPVFormatDriveURL) Must ¶ added in v0.20.0

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

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

func (*DirectPVFormatDriveURL) SetBasePath ¶ added in v0.20.0

func (o *DirectPVFormatDriveURL) 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 (*DirectPVFormatDriveURL) String ¶ added in v0.20.0

func (o *DirectPVFormatDriveURL) String() string

String returns the string representation of the path with query string

func (*DirectPVFormatDriveURL) StringFull ¶ added in v0.20.0

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

StringFull returns the string representation of a complete url

func (*DirectPVFormatDriveURL) WithBasePath ¶ added in v0.20.0

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 DisableTenantLogging ¶ added in v0.13.3

type DisableTenantLogging struct {
	Context *middleware.Context
	Handler DisableTenantLoggingHandler
}
DisableTenantLogging swagger:route POST /namespaces/{namespace}/tenants/{tenant}/disable-logging OperatorAPI disableTenantLogging

Disable Tenant Logging

func NewDisableTenantLogging ¶ added in v0.13.3

func NewDisableTenantLogging(ctx *middleware.Context, handler DisableTenantLoggingHandler) *DisableTenantLogging

NewDisableTenantLogging creates a new http.Handler for the disable tenant logging operation

func (*DisableTenantLogging) ServeHTTP ¶ added in v0.13.3

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

type DisableTenantLoggingDefault ¶ added in v0.13.3

type DisableTenantLoggingDefault struct {

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

DisableTenantLoggingDefault Generic error response.

swagger:response disableTenantLoggingDefault

func NewDisableTenantLoggingDefault ¶ added in v0.13.3

func NewDisableTenantLoggingDefault(code int) *DisableTenantLoggingDefault

NewDisableTenantLoggingDefault creates DisableTenantLoggingDefault with default headers values

func (*DisableTenantLoggingDefault) SetPayload ¶ added in v0.13.3

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

SetPayload sets the payload to the disable tenant logging default response

func (*DisableTenantLoggingDefault) SetStatusCode ¶ added in v0.13.3

func (o *DisableTenantLoggingDefault) SetStatusCode(code int)

SetStatusCode sets the status to the disable tenant logging default response

func (*DisableTenantLoggingDefault) WithPayload ¶ added in v0.13.3

WithPayload adds the payload to the disable tenant logging default response

func (*DisableTenantLoggingDefault) WithStatusCode ¶ added in v0.13.3

WithStatusCode adds the status to the disable tenant logging default response

func (*DisableTenantLoggingDefault) WriteResponse ¶ added in v0.13.3

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

WriteResponse to the client

type DisableTenantLoggingHandler ¶ added in v0.13.3

type DisableTenantLoggingHandler interface {
	Handle(DisableTenantLoggingParams, *models.Principal) middleware.Responder
}

DisableTenantLoggingHandler interface for that can handle valid disable tenant logging params

type DisableTenantLoggingHandlerFunc ¶ added in v0.13.3

type DisableTenantLoggingHandlerFunc func(DisableTenantLoggingParams, *models.Principal) middleware.Responder

DisableTenantLoggingHandlerFunc turns a function with the right signature into a disable tenant logging handler

func (DisableTenantLoggingHandlerFunc) Handle ¶ added in v0.13.3

Handle executing the request and returning a response

type DisableTenantLoggingOK ¶ added in v0.13.3

type DisableTenantLoggingOK struct {

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

DisableTenantLoggingOK A successful response.

swagger:response disableTenantLoggingOK

func NewDisableTenantLoggingOK ¶ added in v0.13.3

func NewDisableTenantLoggingOK() *DisableTenantLoggingOK

NewDisableTenantLoggingOK creates DisableTenantLoggingOK with default headers values

func (*DisableTenantLoggingOK) SetPayload ¶ added in v0.13.3

func (o *DisableTenantLoggingOK) SetPayload(payload bool)

SetPayload sets the payload to the disable tenant logging o k response

func (*DisableTenantLoggingOK) WithPayload ¶ added in v0.13.3

func (o *DisableTenantLoggingOK) WithPayload(payload bool) *DisableTenantLoggingOK

WithPayload adds the payload to the disable tenant logging o k response

func (*DisableTenantLoggingOK) WriteResponse ¶ added in v0.13.3

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

WriteResponse to the client

type DisableTenantLoggingParams ¶ added in v0.13.3

type DisableTenantLoggingParams struct {

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

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

DisableTenantLoggingParams contains all the bound params for the disable tenant logging operation typically these are obtained from a http.Request

swagger:parameters DisableTenantLogging

func NewDisableTenantLoggingParams ¶ added in v0.13.3

func NewDisableTenantLoggingParams() DisableTenantLoggingParams

NewDisableTenantLoggingParams creates a new DisableTenantLoggingParams object

There are no default values defined in the spec.

func (*DisableTenantLoggingParams) BindRequest ¶ added in v0.13.3

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

type DisableTenantLoggingURL ¶ added in v0.13.3

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

DisableTenantLoggingURL generates an URL for the disable tenant logging operation

func (*DisableTenantLoggingURL) Build ¶ added in v0.13.3

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

Build a url path and query string

func (*DisableTenantLoggingURL) BuildFull ¶ added in v0.13.3

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

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

func (*DisableTenantLoggingURL) Must ¶ added in v0.13.3

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

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

func (*DisableTenantLoggingURL) SetBasePath ¶ added in v0.13.3

func (o *DisableTenantLoggingURL) 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 (*DisableTenantLoggingURL) String ¶ added in v0.13.3

func (o *DisableTenantLoggingURL) String() string

String returns the string representation of the path with query string

func (*DisableTenantLoggingURL) StringFull ¶ added in v0.13.3

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

StringFull returns the string representation of a complete url

func (*DisableTenantLoggingURL) WithBasePath ¶ added in v0.13.3

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 EnableTenantLogging ¶ added in v0.13.3

type EnableTenantLogging struct {
	Context *middleware.Context
	Handler EnableTenantLoggingHandler
}
EnableTenantLogging swagger:route POST /namespaces/{namespace}/tenants/{tenant}/enable-logging OperatorAPI enableTenantLogging

Enable Tenant Logging

func NewEnableTenantLogging ¶ added in v0.13.3

func NewEnableTenantLogging(ctx *middleware.Context, handler EnableTenantLoggingHandler) *EnableTenantLogging

NewEnableTenantLogging creates a new http.Handler for the enable tenant logging operation

func (*EnableTenantLogging) ServeHTTP ¶ added in v0.13.3

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

type EnableTenantLoggingDefault ¶ added in v0.13.3

type EnableTenantLoggingDefault struct {

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

EnableTenantLoggingDefault Generic error response.

swagger:response enableTenantLoggingDefault

func NewEnableTenantLoggingDefault ¶ added in v0.13.3

func NewEnableTenantLoggingDefault(code int) *EnableTenantLoggingDefault

NewEnableTenantLoggingDefault creates EnableTenantLoggingDefault with default headers values

func (*EnableTenantLoggingDefault) SetPayload ¶ added in v0.13.3

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

SetPayload sets the payload to the enable tenant logging default response

func (*EnableTenantLoggingDefault) SetStatusCode ¶ added in v0.13.3

func (o *EnableTenantLoggingDefault) SetStatusCode(code int)

SetStatusCode sets the status to the enable tenant logging default response

func (*EnableTenantLoggingDefault) WithPayload ¶ added in v0.13.3

WithPayload adds the payload to the enable tenant logging default response

func (*EnableTenantLoggingDefault) WithStatusCode ¶ added in v0.13.3

WithStatusCode adds the status to the enable tenant logging default response

func (*EnableTenantLoggingDefault) WriteResponse ¶ added in v0.13.3

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

WriteResponse to the client

type EnableTenantLoggingHandler ¶ added in v0.13.3

type EnableTenantLoggingHandler interface {
	Handle(EnableTenantLoggingParams, *models.Principal) middleware.Responder
}

EnableTenantLoggingHandler interface for that can handle valid enable tenant logging params

type EnableTenantLoggingHandlerFunc ¶ added in v0.13.3

type EnableTenantLoggingHandlerFunc func(EnableTenantLoggingParams, *models.Principal) middleware.Responder

EnableTenantLoggingHandlerFunc turns a function with the right signature into a enable tenant logging handler

func (EnableTenantLoggingHandlerFunc) Handle ¶ added in v0.13.3

Handle executing the request and returning a response

type EnableTenantLoggingOK ¶ added in v0.13.3

type EnableTenantLoggingOK struct {

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

EnableTenantLoggingOK A successful response.

swagger:response enableTenantLoggingOK

func NewEnableTenantLoggingOK ¶ added in v0.13.3

func NewEnableTenantLoggingOK() *EnableTenantLoggingOK

NewEnableTenantLoggingOK creates EnableTenantLoggingOK with default headers values

func (*EnableTenantLoggingOK) SetPayload ¶ added in v0.13.3

func (o *EnableTenantLoggingOK) SetPayload(payload bool)

SetPayload sets the payload to the enable tenant logging o k response

func (*EnableTenantLoggingOK) WithPayload ¶ added in v0.13.3

func (o *EnableTenantLoggingOK) WithPayload(payload bool) *EnableTenantLoggingOK

WithPayload adds the payload to the enable tenant logging o k response

func (*EnableTenantLoggingOK) WriteResponse ¶ added in v0.13.3

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

WriteResponse to the client

type EnableTenantLoggingParams ¶ added in v0.13.3

type EnableTenantLoggingParams struct {

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

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

EnableTenantLoggingParams contains all the bound params for the enable tenant logging operation typically these are obtained from a http.Request

swagger:parameters EnableTenantLogging

func NewEnableTenantLoggingParams ¶ added in v0.13.3

func NewEnableTenantLoggingParams() EnableTenantLoggingParams

NewEnableTenantLoggingParams creates a new EnableTenantLoggingParams object

There are no default values defined in the spec.

func (*EnableTenantLoggingParams) BindRequest ¶ added in v0.13.3

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

type EnableTenantLoggingURL ¶ added in v0.13.3

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

EnableTenantLoggingURL generates an URL for the enable tenant logging operation

func (*EnableTenantLoggingURL) Build ¶ added in v0.13.3

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

Build a url path and query string

func (*EnableTenantLoggingURL) BuildFull ¶ added in v0.13.3

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

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

func (*EnableTenantLoggingURL) Must ¶ added in v0.13.3

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

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

func (*EnableTenantLoggingURL) SetBasePath ¶ added in v0.13.3

func (o *EnableTenantLoggingURL) 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 (*EnableTenantLoggingURL) String ¶ added in v0.13.3

func (o *EnableTenantLoggingURL) String() string

String returns the string representation of the path with query string

func (*EnableTenantLoggingURL) StringFull ¶ added in v0.13.3

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

StringFull returns the string representation of a complete url

func (*EnableTenantLoggingURL) WithBasePath ¶ added in v0.13.3

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 GetAllocatableResources ¶ added in v0.12.9

type GetAllocatableResources struct {
	Context *middleware.Context
	Handler GetAllocatableResourcesHandler
}
GetAllocatableResources swagger:route GET /cluster/allocatable-resources OperatorAPI getAllocatableResources

Get allocatable cpu and memory for given number of nodes

func NewGetAllocatableResources ¶ added in v0.12.9

func NewGetAllocatableResources(ctx *middleware.Context, handler GetAllocatableResourcesHandler) *GetAllocatableResources

NewGetAllocatableResources creates a new http.Handler for the get allocatable resources operation

func (*GetAllocatableResources) ServeHTTP ¶ added in v0.12.9

type GetAllocatableResourcesDefault ¶ added in v0.12.9

type GetAllocatableResourcesDefault struct {

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

GetAllocatableResourcesDefault Generic error response.

swagger:response getAllocatableResourcesDefault

func NewGetAllocatableResourcesDefault ¶ added in v0.12.9

func NewGetAllocatableResourcesDefault(code int) *GetAllocatableResourcesDefault

NewGetAllocatableResourcesDefault creates GetAllocatableResourcesDefault with default headers values

func (*GetAllocatableResourcesDefault) SetPayload ¶ added in v0.12.9

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

SetPayload sets the payload to the get allocatable resources default response

func (*GetAllocatableResourcesDefault) SetStatusCode ¶ added in v0.12.9

func (o *GetAllocatableResourcesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get allocatable resources default response

func (*GetAllocatableResourcesDefault) WithPayload ¶ added in v0.12.9

WithPayload adds the payload to the get allocatable resources default response

func (*GetAllocatableResourcesDefault) WithStatusCode ¶ added in v0.12.9

WithStatusCode adds the status to the get allocatable resources default response

func (*GetAllocatableResourcesDefault) WriteResponse ¶ added in v0.12.9

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

WriteResponse to the client

type GetAllocatableResourcesHandler ¶ added in v0.12.9

type GetAllocatableResourcesHandler interface {
	Handle(GetAllocatableResourcesParams, *models.Principal) middleware.Responder
}

GetAllocatableResourcesHandler interface for that can handle valid get allocatable resources params

type GetAllocatableResourcesHandlerFunc ¶ added in v0.12.9

type GetAllocatableResourcesHandlerFunc func(GetAllocatableResourcesParams, *models.Principal) middleware.Responder

GetAllocatableResourcesHandlerFunc turns a function with the right signature into a get allocatable resources handler

func (GetAllocatableResourcesHandlerFunc) Handle ¶ added in v0.12.9

Handle executing the request and returning a response

type GetAllocatableResourcesOK ¶ added in v0.12.9

type GetAllocatableResourcesOK struct {

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

GetAllocatableResourcesOK A successful response.

swagger:response getAllocatableResourcesOK

func NewGetAllocatableResourcesOK ¶ added in v0.12.9

func NewGetAllocatableResourcesOK() *GetAllocatableResourcesOK

NewGetAllocatableResourcesOK creates GetAllocatableResourcesOK with default headers values

func (*GetAllocatableResourcesOK) SetPayload ¶ added in v0.12.9

SetPayload sets the payload to the get allocatable resources o k response

func (*GetAllocatableResourcesOK) WithPayload ¶ added in v0.12.9

WithPayload adds the payload to the get allocatable resources o k response

func (*GetAllocatableResourcesOK) WriteResponse ¶ added in v0.12.9

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

WriteResponse to the client

type GetAllocatableResourcesParams ¶ added in v0.12.9

type GetAllocatableResourcesParams struct {

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

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

GetAllocatableResourcesParams contains all the bound params for the get allocatable resources operation typically these are obtained from a http.Request

swagger:parameters GetAllocatableResources

func NewGetAllocatableResourcesParams ¶ added in v0.12.9

func NewGetAllocatableResourcesParams() GetAllocatableResourcesParams

NewGetAllocatableResourcesParams creates a new GetAllocatableResourcesParams object

There are no default values defined in the spec.

func (*GetAllocatableResourcesParams) BindRequest ¶ added in v0.12.9

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

type GetAllocatableResourcesURL ¶ added in v0.12.9

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

GetAllocatableResourcesURL generates an URL for the get allocatable resources operation

func (*GetAllocatableResourcesURL) Build ¶ added in v0.12.9

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

Build a url path and query string

func (*GetAllocatableResourcesURL) BuildFull ¶ added in v0.12.9

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

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

func (*GetAllocatableResourcesURL) Must ¶ added in v0.12.9

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

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

func (*GetAllocatableResourcesURL) SetBasePath ¶ added in v0.12.9

func (o *GetAllocatableResourcesURL) 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 (*GetAllocatableResourcesURL) String ¶ added in v0.12.9

func (o *GetAllocatableResourcesURL) String() string

String returns the string representation of the path with query string

func (*GetAllocatableResourcesURL) StringFull ¶ added in v0.12.9

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

StringFull returns the string representation of a complete url

func (*GetAllocatableResourcesURL) WithBasePath ¶ added in v0.12.9

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 GetDirectPVDriveList ¶ added in v0.20.0

type GetDirectPVDriveList struct {
	Context *middleware.Context
	Handler GetDirectPVDriveListHandler
}
GetDirectPVDriveList swagger:route GET /directpv/drives OperatorAPI getDirectPVDriveList

Get directpv drives list

func NewGetDirectPVDriveList ¶ added in v0.20.0

func NewGetDirectPVDriveList(ctx *middleware.Context, handler GetDirectPVDriveListHandler) *GetDirectPVDriveList

NewGetDirectPVDriveList creates a new http.Handler for the get direct p v drive list operation

func (*GetDirectPVDriveList) ServeHTTP ¶ added in v0.20.0

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

type GetDirectPVDriveListDefault ¶ added in v0.20.0

type GetDirectPVDriveListDefault struct {

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

GetDirectPVDriveListDefault Generic error response.

swagger:response getDirectPVDriveListDefault

func NewGetDirectPVDriveListDefault ¶ added in v0.20.0

func NewGetDirectPVDriveListDefault(code int) *GetDirectPVDriveListDefault

NewGetDirectPVDriveListDefault creates GetDirectPVDriveListDefault with default headers values

func (*GetDirectPVDriveListDefault) SetPayload ¶ added in v0.20.0

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

SetPayload sets the payload to the get direct p v drive list default response

func (*GetDirectPVDriveListDefault) SetStatusCode ¶ added in v0.20.0

func (o *GetDirectPVDriveListDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get direct p v drive list default response

func (*GetDirectPVDriveListDefault) WithPayload ¶ added in v0.20.0

WithPayload adds the payload to the get direct p v drive list default response

func (*GetDirectPVDriveListDefault) WithStatusCode ¶ added in v0.20.0

WithStatusCode adds the status to the get direct p v drive list default response

func (*GetDirectPVDriveListDefault) WriteResponse ¶ added in v0.20.0

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

WriteResponse to the client

type GetDirectPVDriveListHandler ¶ added in v0.20.0

type GetDirectPVDriveListHandler interface {
	Handle(GetDirectPVDriveListParams, *models.Principal) middleware.Responder
}

GetDirectPVDriveListHandler interface for that can handle valid get direct p v drive list params

type GetDirectPVDriveListHandlerFunc ¶ added in v0.20.0

type GetDirectPVDriveListHandlerFunc func(GetDirectPVDriveListParams, *models.Principal) middleware.Responder

GetDirectPVDriveListHandlerFunc turns a function with the right signature into a get direct p v drive list handler

func (GetDirectPVDriveListHandlerFunc) Handle ¶ added in v0.20.0

Handle executing the request and returning a response

type GetDirectPVDriveListOK ¶ added in v0.20.0

type GetDirectPVDriveListOK struct {

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

GetDirectPVDriveListOK A successful response.

swagger:response getDirectPVDriveListOK

func NewGetDirectPVDriveListOK ¶ added in v0.20.0

func NewGetDirectPVDriveListOK() *GetDirectPVDriveListOK

NewGetDirectPVDriveListOK creates GetDirectPVDriveListOK with default headers values

func (*GetDirectPVDriveListOK) SetPayload ¶ added in v0.20.0

SetPayload sets the payload to the get direct p v drive list o k response

func (*GetDirectPVDriveListOK) WithPayload ¶ added in v0.20.0

WithPayload adds the payload to the get direct p v drive list o k response

func (*GetDirectPVDriveListOK) WriteResponse ¶ added in v0.20.0

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

WriteResponse to the client

type GetDirectPVDriveListParams ¶ added in v0.20.0

type GetDirectPVDriveListParams struct {

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

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

GetDirectPVDriveListParams contains all the bound params for the get direct p v drive list operation typically these are obtained from a http.Request

swagger:parameters GetDirectPVDriveList

func NewGetDirectPVDriveListParams ¶ added in v0.20.0

func NewGetDirectPVDriveListParams() GetDirectPVDriveListParams

NewGetDirectPVDriveListParams creates a new GetDirectPVDriveListParams object

There are no default values defined in the spec.

func (*GetDirectPVDriveListParams) BindRequest ¶ added in v0.20.0

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

type GetDirectPVDriveListURL ¶ added in v0.20.0

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

GetDirectPVDriveListURL generates an URL for the get direct p v drive list operation

func (*GetDirectPVDriveListURL) Build ¶ added in v0.20.0

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

Build a url path and query string

func (*GetDirectPVDriveListURL) BuildFull ¶ added in v0.20.0

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

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

func (*GetDirectPVDriveListURL) Must ¶ added in v0.20.0

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

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

func (*GetDirectPVDriveListURL) SetBasePath ¶ added in v0.20.0

func (o *GetDirectPVDriveListURL) 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 (*GetDirectPVDriveListURL) String ¶ added in v0.20.0

func (o *GetDirectPVDriveListURL) String() string

String returns the string representation of the path with query string

func (*GetDirectPVDriveListURL) StringFull ¶ added in v0.20.0

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

StringFull returns the string representation of a complete url

func (*GetDirectPVDriveListURL) WithBasePath ¶ added in v0.20.0

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 GetDirectPVVolumeList ¶ added in v0.20.0

type GetDirectPVVolumeList struct {
	Context *middleware.Context
	Handler GetDirectPVVolumeListHandler
}
GetDirectPVVolumeList swagger:route GET /directpv/volumes OperatorAPI getDirectPVVolumeList

Get directpv volumes list

func NewGetDirectPVVolumeList ¶ added in v0.20.0

func NewGetDirectPVVolumeList(ctx *middleware.Context, handler GetDirectPVVolumeListHandler) *GetDirectPVVolumeList

NewGetDirectPVVolumeList creates a new http.Handler for the get direct p v volume list operation

func (*GetDirectPVVolumeList) ServeHTTP ¶ added in v0.20.0

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

type GetDirectPVVolumeListDefault ¶ added in v0.20.0

type GetDirectPVVolumeListDefault struct {

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

GetDirectPVVolumeListDefault Generic error response.

swagger:response getDirectPVVolumeListDefault

func NewGetDirectPVVolumeListDefault ¶ added in v0.20.0

func NewGetDirectPVVolumeListDefault(code int) *GetDirectPVVolumeListDefault

NewGetDirectPVVolumeListDefault creates GetDirectPVVolumeListDefault with default headers values

func (*GetDirectPVVolumeListDefault) SetPayload ¶ added in v0.20.0

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

SetPayload sets the payload to the get direct p v volume list default response

func (*GetDirectPVVolumeListDefault) SetStatusCode ¶ added in v0.20.0

func (o *GetDirectPVVolumeListDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get direct p v volume list default response

func (*GetDirectPVVolumeListDefault) WithPayload ¶ added in v0.20.0

WithPayload adds the payload to the get direct p v volume list default response

func (*GetDirectPVVolumeListDefault) WithStatusCode ¶ added in v0.20.0

WithStatusCode adds the status to the get direct p v volume list default response

func (*GetDirectPVVolumeListDefault) WriteResponse ¶ added in v0.20.0

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

WriteResponse to the client

type GetDirectPVVolumeListHandler ¶ added in v0.20.0

type GetDirectPVVolumeListHandler interface {
	Handle(GetDirectPVVolumeListParams, *models.Principal) middleware.Responder
}

GetDirectPVVolumeListHandler interface for that can handle valid get direct p v volume list params

type GetDirectPVVolumeListHandlerFunc ¶ added in v0.20.0

type GetDirectPVVolumeListHandlerFunc func(GetDirectPVVolumeListParams, *models.Principal) middleware.Responder

GetDirectPVVolumeListHandlerFunc turns a function with the right signature into a get direct p v volume list handler

func (GetDirectPVVolumeListHandlerFunc) Handle ¶ added in v0.20.0

Handle executing the request and returning a response

type GetDirectPVVolumeListOK ¶ added in v0.20.0

type GetDirectPVVolumeListOK struct {

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

GetDirectPVVolumeListOK A successful response.

swagger:response getDirectPVVolumeListOK

func NewGetDirectPVVolumeListOK ¶ added in v0.20.0

func NewGetDirectPVVolumeListOK() *GetDirectPVVolumeListOK

NewGetDirectPVVolumeListOK creates GetDirectPVVolumeListOK with default headers values

func (*GetDirectPVVolumeListOK) SetPayload ¶ added in v0.20.0

SetPayload sets the payload to the get direct p v volume list o k response

func (*GetDirectPVVolumeListOK) WithPayload ¶ added in v0.20.0

WithPayload adds the payload to the get direct p v volume list o k response

func (*GetDirectPVVolumeListOK) WriteResponse ¶ added in v0.20.0

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

WriteResponse to the client

type GetDirectPVVolumeListParams ¶ added in v0.20.0

type GetDirectPVVolumeListParams struct {

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

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

GetDirectPVVolumeListParams contains all the bound params for the get direct p v volume list operation typically these are obtained from a http.Request

swagger:parameters GetDirectPVVolumeList

func NewGetDirectPVVolumeListParams ¶ added in v0.20.0

func NewGetDirectPVVolumeListParams() GetDirectPVVolumeListParams

NewGetDirectPVVolumeListParams creates a new GetDirectPVVolumeListParams object

There are no default values defined in the spec.

func (*GetDirectPVVolumeListParams) BindRequest ¶ added in v0.20.0

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

type GetDirectPVVolumeListURL ¶ added in v0.20.0

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

GetDirectPVVolumeListURL generates an URL for the get direct p v volume list operation

func (*GetDirectPVVolumeListURL) Build ¶ added in v0.20.0

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

Build a url path and query string

func (*GetDirectPVVolumeListURL) BuildFull ¶ added in v0.20.0

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

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

func (*GetDirectPVVolumeListURL) Must ¶ added in v0.20.0

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

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

func (*GetDirectPVVolumeListURL) SetBasePath ¶ added in v0.20.0

func (o *GetDirectPVVolumeListURL) 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 (*GetDirectPVVolumeListURL) String ¶ added in v0.20.0

func (o *GetDirectPVVolumeListURL) String() string

String returns the string representation of the path with query string

func (*GetDirectPVVolumeListURL) StringFull ¶ added in v0.20.0

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

StringFull returns the string representation of a complete url

func (*GetDirectPVVolumeListURL) WithBasePath ¶ added in v0.20.0

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 GetMPIntegration ¶ added in v0.19.0

type GetMPIntegration struct {
	Context *middleware.Context
	Handler GetMPIntegrationHandler
}
GetMPIntegration swagger:route GET /mp-integration OperatorAPI getMPIntegration

Returns email registered for marketplace integration

func NewGetMPIntegration ¶ added in v0.19.0

func NewGetMPIntegration(ctx *middleware.Context, handler GetMPIntegrationHandler) *GetMPIntegration

NewGetMPIntegration creates a new http.Handler for the get m p integration operation

func (*GetMPIntegration) ServeHTTP ¶ added in v0.19.0

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

type GetMPIntegrationDefault ¶ added in v0.19.0

type GetMPIntegrationDefault struct {

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

GetMPIntegrationDefault Generic error response.

swagger:response getMPIntegrationDefault

func NewGetMPIntegrationDefault ¶ added in v0.19.0

func NewGetMPIntegrationDefault(code int) *GetMPIntegrationDefault

NewGetMPIntegrationDefault creates GetMPIntegrationDefault with default headers values

func (*GetMPIntegrationDefault) SetPayload ¶ added in v0.19.0

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

SetPayload sets the payload to the get m p integration default response

func (*GetMPIntegrationDefault) SetStatusCode ¶ added in v0.19.0

func (o *GetMPIntegrationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get m p integration default response

func (*GetMPIntegrationDefault) WithPayload ¶ added in v0.19.0

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

WithPayload adds the payload to the get m p integration default response

func (*GetMPIntegrationDefault) WithStatusCode ¶ added in v0.19.0

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

WithStatusCode adds the status to the get m p integration default response

func (*GetMPIntegrationDefault) WriteResponse ¶ added in v0.19.0

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

WriteResponse to the client

type GetMPIntegrationHandler ¶ added in v0.19.0

type GetMPIntegrationHandler interface {
	Handle(GetMPIntegrationParams, *models.Principal) middleware.Responder
}

GetMPIntegrationHandler interface for that can handle valid get m p integration params

type GetMPIntegrationHandlerFunc ¶ added in v0.19.0

type GetMPIntegrationHandlerFunc func(GetMPIntegrationParams, *models.Principal) middleware.Responder

GetMPIntegrationHandlerFunc turns a function with the right signature into a get m p integration handler

func (GetMPIntegrationHandlerFunc) Handle ¶ added in v0.19.0

Handle executing the request and returning a response

type GetMPIntegrationOK ¶ added in v0.19.0

type GetMPIntegrationOK struct {

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

GetMPIntegrationOK A successful response.

swagger:response getMPIntegrationOK

func NewGetMPIntegrationOK ¶ added in v0.19.0

func NewGetMPIntegrationOK() *GetMPIntegrationOK

NewGetMPIntegrationOK creates GetMPIntegrationOK with default headers values

func (*GetMPIntegrationOK) SetPayload ¶ added in v0.19.0

func (o *GetMPIntegrationOK) SetPayload(payload *GetMPIntegrationOKBody)

SetPayload sets the payload to the get m p integration o k response

func (*GetMPIntegrationOK) WithPayload ¶ added in v0.19.0

WithPayload adds the payload to the get m p integration o k response

func (*GetMPIntegrationOK) WriteResponse ¶ added in v0.19.0

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

WriteResponse to the client

type GetMPIntegrationOKBody ¶ added in v0.19.1

type GetMPIntegrationOKBody struct {

	// is email set
	IsEmailSet bool `json:"isEmailSet,omitempty"`
}

GetMPIntegrationOKBody get m p integration o k body

swagger:model GetMPIntegrationOKBody

func (*GetMPIntegrationOKBody) ContextValidate ¶ added in v0.19.1

func (o *GetMPIntegrationOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get m p integration o k body based on context it is used

func (*GetMPIntegrationOKBody) MarshalBinary ¶ added in v0.19.1

func (o *GetMPIntegrationOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetMPIntegrationOKBody) UnmarshalBinary ¶ added in v0.19.1

func (o *GetMPIntegrationOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetMPIntegrationOKBody) Validate ¶ added in v0.19.1

func (o *GetMPIntegrationOKBody) Validate(formats strfmt.Registry) error

Validate validates this get m p integration o k body

type GetMPIntegrationParams ¶ added in v0.19.0

type GetMPIntegrationParams struct {

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

GetMPIntegrationParams contains all the bound params for the get m p integration operation typically these are obtained from a http.Request

swagger:parameters GetMPIntegration

func NewGetMPIntegrationParams ¶ added in v0.19.0

func NewGetMPIntegrationParams() GetMPIntegrationParams

NewGetMPIntegrationParams creates a new GetMPIntegrationParams object

There are no default values defined in the spec.

func (*GetMPIntegrationParams) BindRequest ¶ added in v0.19.0

func (o *GetMPIntegrationParams) 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 NewGetMPIntegrationParams() beforehand.

type GetMPIntegrationURL ¶ added in v0.19.0

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

GetMPIntegrationURL generates an URL for the get m p integration operation

func (*GetMPIntegrationURL) Build ¶ added in v0.19.0

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

Build a url path and query string

func (*GetMPIntegrationURL) BuildFull ¶ added in v0.19.0

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

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

func (*GetMPIntegrationURL) Must ¶ added in v0.19.0

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

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

func (*GetMPIntegrationURL) SetBasePath ¶ added in v0.19.0

func (o *GetMPIntegrationURL) 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 (*GetMPIntegrationURL) String ¶ added in v0.19.0

func (o *GetMPIntegrationURL) String() string

String returns the string representation of the path with query string

func (*GetMPIntegrationURL) StringFull ¶ added in v0.19.0

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

StringFull returns the string representation of a complete url

func (*GetMPIntegrationURL) WithBasePath ¶ added in v0.19.0

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

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 GetPVCDescribe ¶ added in v0.17.0

type GetPVCDescribe struct {
	Context *middleware.Context
	Handler GetPVCDescribeHandler
}
GetPVCDescribe swagger:route GET /namespaces/{namespace}/tenants/{tenant}/pvcs/{PVCName}/describe OperatorAPI getPVCDescribe

Get Describe output for PVC

func NewGetPVCDescribe ¶ added in v0.17.0

func NewGetPVCDescribe(ctx *middleware.Context, handler GetPVCDescribeHandler) *GetPVCDescribe

NewGetPVCDescribe creates a new http.Handler for the get p v c describe operation

func (*GetPVCDescribe) ServeHTTP ¶ added in v0.17.0

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

type GetPVCDescribeDefault ¶ added in v0.17.0

type GetPVCDescribeDefault struct {

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

GetPVCDescribeDefault Generic error response.

swagger:response getPVCDescribeDefault

func NewGetPVCDescribeDefault ¶ added in v0.17.0

func NewGetPVCDescribeDefault(code int) *GetPVCDescribeDefault

NewGetPVCDescribeDefault creates GetPVCDescribeDefault with default headers values

func (*GetPVCDescribeDefault) SetPayload ¶ added in v0.17.0

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

SetPayload sets the payload to the get p v c describe default response

func (*GetPVCDescribeDefault) SetStatusCode ¶ added in v0.17.0

func (o *GetPVCDescribeDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get p v c describe default response

func (*GetPVCDescribeDefault) WithPayload ¶ added in v0.17.0

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

WithPayload adds the payload to the get p v c describe default response

func (*GetPVCDescribeDefault) WithStatusCode ¶ added in v0.17.0

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

WithStatusCode adds the status to the get p v c describe default response

func (*GetPVCDescribeDefault) WriteResponse ¶ added in v0.17.0

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

WriteResponse to the client

type GetPVCDescribeHandler ¶ added in v0.17.0

type GetPVCDescribeHandler interface {
	Handle(GetPVCDescribeParams, *models.Principal) middleware.Responder
}

GetPVCDescribeHandler interface for that can handle valid get p v c describe params

type GetPVCDescribeHandlerFunc ¶ added in v0.17.0

type GetPVCDescribeHandlerFunc func(GetPVCDescribeParams, *models.Principal) middleware.Responder

GetPVCDescribeHandlerFunc turns a function with the right signature into a get p v c describe handler

func (GetPVCDescribeHandlerFunc) Handle ¶ added in v0.17.0

Handle executing the request and returning a response

type GetPVCDescribeOK ¶ added in v0.17.0

type GetPVCDescribeOK struct {

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

GetPVCDescribeOK A successful response.

swagger:response getPVCDescribeOK

func NewGetPVCDescribeOK ¶ added in v0.17.0

func NewGetPVCDescribeOK() *GetPVCDescribeOK

NewGetPVCDescribeOK creates GetPVCDescribeOK with default headers values

func (*GetPVCDescribeOK) SetPayload ¶ added in v0.17.0

func (o *GetPVCDescribeOK) SetPayload(payload *models.DescribePVCWrapper)

SetPayload sets the payload to the get p v c describe o k response

func (*GetPVCDescribeOK) WithPayload ¶ added in v0.17.0

func (o *GetPVCDescribeOK) WithPayload(payload *models.DescribePVCWrapper) *GetPVCDescribeOK

WithPayload adds the payload to the get p v c describe o k response

func (*GetPVCDescribeOK) WriteResponse ¶ added in v0.17.0

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

WriteResponse to the client

type GetPVCDescribeParams ¶ added in v0.17.0

type GetPVCDescribeParams struct {

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

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

GetPVCDescribeParams contains all the bound params for the get p v c describe operation typically these are obtained from a http.Request

swagger:parameters GetPVCDescribe

func NewGetPVCDescribeParams ¶ added in v0.17.0

func NewGetPVCDescribeParams() GetPVCDescribeParams

NewGetPVCDescribeParams creates a new GetPVCDescribeParams object

There are no default values defined in the spec.

func (*GetPVCDescribeParams) BindRequest ¶ added in v0.17.0

func (o *GetPVCDescribeParams) 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 NewGetPVCDescribeParams() beforehand.

type GetPVCDescribeURL ¶ added in v0.17.0

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

GetPVCDescribeURL generates an URL for the get p v c describe operation

func (*GetPVCDescribeURL) Build ¶ added in v0.17.0

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

Build a url path and query string

func (*GetPVCDescribeURL) BuildFull ¶ added in v0.17.0

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

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

func (*GetPVCDescribeURL) Must ¶ added in v0.17.0

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

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

func (*GetPVCDescribeURL) SetBasePath ¶ added in v0.17.0

func (o *GetPVCDescribeURL) 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 (*GetPVCDescribeURL) String ¶ added in v0.17.0

func (o *GetPVCDescribeURL) String() string

String returns the string representation of the path with query string

func (*GetPVCDescribeURL) StringFull ¶ added in v0.17.0

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

StringFull returns the string representation of a complete url

func (*GetPVCDescribeURL) WithBasePath ¶ added in v0.17.0

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

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 GetPVCEvents ¶ added in v0.14.0

type GetPVCEvents struct {
	Context *middleware.Context
	Handler GetPVCEventsHandler
}
GetPVCEvents swagger:route GET /namespaces/{namespace}/tenants/{tenant}/pvcs/{PVCName}/events OperatorAPI getPVCEvents

Get Events for PVC

func NewGetPVCEvents ¶ added in v0.14.0

func NewGetPVCEvents(ctx *middleware.Context, handler GetPVCEventsHandler) *GetPVCEvents

NewGetPVCEvents creates a new http.Handler for the get p v c events operation

func (*GetPVCEvents) ServeHTTP ¶ added in v0.14.0

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

type GetPVCEventsDefault ¶ added in v0.14.0

type GetPVCEventsDefault struct {

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

GetPVCEventsDefault Generic error response.

swagger:response getPVCEventsDefault

func NewGetPVCEventsDefault ¶ added in v0.14.0

func NewGetPVCEventsDefault(code int) *GetPVCEventsDefault

NewGetPVCEventsDefault creates GetPVCEventsDefault with default headers values

func (*GetPVCEventsDefault) SetPayload ¶ added in v0.14.0

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

SetPayload sets the payload to the get p v c events default response

func (*GetPVCEventsDefault) SetStatusCode ¶ added in v0.14.0

func (o *GetPVCEventsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get p v c events default response

func (*GetPVCEventsDefault) WithPayload ¶ added in v0.14.0

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

WithPayload adds the payload to the get p v c events default response

func (*GetPVCEventsDefault) WithStatusCode ¶ added in v0.14.0

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

WithStatusCode adds the status to the get p v c events default response

func (*GetPVCEventsDefault) WriteResponse ¶ added in v0.14.0

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

WriteResponse to the client

type GetPVCEventsHandler ¶ added in v0.14.0

type GetPVCEventsHandler interface {
	Handle(GetPVCEventsParams, *models.Principal) middleware.Responder
}

GetPVCEventsHandler interface for that can handle valid get p v c events params

type GetPVCEventsHandlerFunc ¶ added in v0.14.0

type GetPVCEventsHandlerFunc func(GetPVCEventsParams, *models.Principal) middleware.Responder

GetPVCEventsHandlerFunc turns a function with the right signature into a get p v c events handler

func (GetPVCEventsHandlerFunc) Handle ¶ added in v0.14.0

Handle executing the request and returning a response

type GetPVCEventsOK ¶ added in v0.14.0

type GetPVCEventsOK struct {

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

GetPVCEventsOK A successful response.

swagger:response getPVCEventsOK

func NewGetPVCEventsOK ¶ added in v0.14.0

func NewGetPVCEventsOK() *GetPVCEventsOK

NewGetPVCEventsOK creates GetPVCEventsOK with default headers values

func (*GetPVCEventsOK) SetPayload ¶ added in v0.14.0

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

SetPayload sets the payload to the get p v c events o k response

func (*GetPVCEventsOK) WithPayload ¶ added in v0.14.0

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

WithPayload adds the payload to the get p v c events o k response

func (*GetPVCEventsOK) WriteResponse ¶ added in v0.14.0

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

WriteResponse to the client

type GetPVCEventsParams ¶ added in v0.14.0

type GetPVCEventsParams struct {

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

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

GetPVCEventsParams contains all the bound params for the get p v c events operation typically these are obtained from a http.Request

swagger:parameters GetPVCEvents

func NewGetPVCEventsParams ¶ added in v0.14.0

func NewGetPVCEventsParams() GetPVCEventsParams

NewGetPVCEventsParams creates a new GetPVCEventsParams object

There are no default values defined in the spec.

func (*GetPVCEventsParams) BindRequest ¶ added in v0.14.0

func (o *GetPVCEventsParams) 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 NewGetPVCEventsParams() beforehand.

type GetPVCEventsURL ¶ added in v0.14.0

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

GetPVCEventsURL generates an URL for the get p v c events operation

func (*GetPVCEventsURL) Build ¶ added in v0.14.0

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

Build a url path and query string

func (*GetPVCEventsURL) BuildFull ¶ added in v0.14.0

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

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

func (*GetPVCEventsURL) Must ¶ added in v0.14.0

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

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

func (*GetPVCEventsURL) SetBasePath ¶ added in v0.14.0

func (o *GetPVCEventsURL) 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 (*GetPVCEventsURL) String ¶ added in v0.14.0

func (o *GetPVCEventsURL) String() string

String returns the string representation of the path with query string

func (*GetPVCEventsURL) StringFull ¶ added in v0.14.0

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

StringFull returns the string representation of a complete url

func (*GetPVCEventsURL) WithBasePath ¶ added in v0.14.0

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

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 GetTenantEvents ¶ added in v0.14.7

type GetTenantEvents struct {
	Context *middleware.Context
	Handler GetTenantEventsHandler
}
GetTenantEvents swagger:route GET /namespaces/{namespace}/tenants/{tenant}/events OperatorAPI getTenantEvents

Get Events for given Tenant

func NewGetTenantEvents ¶ added in v0.14.7

func NewGetTenantEvents(ctx *middleware.Context, handler GetTenantEventsHandler) *GetTenantEvents

NewGetTenantEvents creates a new http.Handler for the get tenant events operation

func (*GetTenantEvents) ServeHTTP ¶ added in v0.14.7

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

type GetTenantEventsDefault ¶ added in v0.14.7

type GetTenantEventsDefault struct {

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

GetTenantEventsDefault Generic error response.

swagger:response getTenantEventsDefault

func NewGetTenantEventsDefault ¶ added in v0.14.7

func NewGetTenantEventsDefault(code int) *GetTenantEventsDefault

NewGetTenantEventsDefault creates GetTenantEventsDefault with default headers values

func (*GetTenantEventsDefault) SetPayload ¶ added in v0.14.7

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

SetPayload sets the payload to the get tenant events default response

func (*GetTenantEventsDefault) SetStatusCode ¶ added in v0.14.7

func (o *GetTenantEventsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get tenant events default response

func (*GetTenantEventsDefault) WithPayload ¶ added in v0.14.7

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

WithPayload adds the payload to the get tenant events default response

func (*GetTenantEventsDefault) WithStatusCode ¶ added in v0.14.7

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

WithStatusCode adds the status to the get tenant events default response

func (*GetTenantEventsDefault) WriteResponse ¶ added in v0.14.7

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

WriteResponse to the client

type GetTenantEventsHandler ¶ added in v0.14.7

type GetTenantEventsHandler interface {
	Handle(GetTenantEventsParams, *models.Principal) middleware.Responder
}

GetTenantEventsHandler interface for that can handle valid get tenant events params

type GetTenantEventsHandlerFunc ¶ added in v0.14.7

type GetTenantEventsHandlerFunc func(GetTenantEventsParams, *models.Principal) middleware.Responder

GetTenantEventsHandlerFunc turns a function with the right signature into a get tenant events handler

func (GetTenantEventsHandlerFunc) Handle ¶ added in v0.14.7

Handle executing the request and returning a response

type GetTenantEventsOK ¶ added in v0.14.7

type GetTenantEventsOK struct {

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

GetTenantEventsOK A successful response.

swagger:response getTenantEventsOK

func NewGetTenantEventsOK ¶ added in v0.14.7

func NewGetTenantEventsOK() *GetTenantEventsOK

NewGetTenantEventsOK creates GetTenantEventsOK with default headers values

func (*GetTenantEventsOK) SetPayload ¶ added in v0.14.7

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

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

func (*GetTenantEventsOK) WithPayload ¶ added in v0.14.7

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

func (*GetTenantEventsOK) WriteResponse ¶ added in v0.14.7

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

WriteResponse to the client

type GetTenantEventsParams ¶ added in v0.14.7

type GetTenantEventsParams struct {

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

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

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

swagger:parameters GetTenantEvents

func NewGetTenantEventsParams ¶ added in v0.14.7

func NewGetTenantEventsParams() GetTenantEventsParams

NewGetTenantEventsParams creates a new GetTenantEventsParams object

There are no default values defined in the spec.

func (*GetTenantEventsParams) BindRequest ¶ added in v0.14.7

func (o *GetTenantEventsParams) 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 NewGetTenantEventsParams() beforehand.

type GetTenantEventsURL ¶ added in v0.14.7

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

GetTenantEventsURL generates an URL for the get tenant events operation

func (*GetTenantEventsURL) Build ¶ added in v0.14.7

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

Build a url path and query string

func (*GetTenantEventsURL) BuildFull ¶ added in v0.14.7

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

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

func (*GetTenantEventsURL) Must ¶ added in v0.14.7

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

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

func (*GetTenantEventsURL) SetBasePath ¶ added in v0.14.7

func (o *GetTenantEventsURL) 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 (*GetTenantEventsURL) String ¶ added in v0.14.7

func (o *GetTenantEventsURL) String() string

String returns the string representation of the path with query string

func (*GetTenantEventsURL) StringFull ¶ added in v0.14.7

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

StringFull returns the string representation of a complete url

func (*GetTenantEventsURL) WithBasePath ¶ added in v0.14.7

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

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 GetTenantLogs ¶ added in v0.13.3

type GetTenantLogs struct {
	Context *middleware.Context
	Handler GetTenantLogsHandler
}
GetTenantLogs swagger:route GET /namespaces/{namespace}/tenants/{tenant}/log OperatorAPI getTenantLogs

Get Tenant Logs

func NewGetTenantLogs ¶ added in v0.13.3

func NewGetTenantLogs(ctx *middleware.Context, handler GetTenantLogsHandler) *GetTenantLogs

NewGetTenantLogs creates a new http.Handler for the get tenant logs operation

func (*GetTenantLogs) ServeHTTP ¶ added in v0.13.3

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

type GetTenantLogsDefault ¶ added in v0.13.3

type GetTenantLogsDefault struct {

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

GetTenantLogsDefault Generic error response.

swagger:response getTenantLogsDefault

func NewGetTenantLogsDefault ¶ added in v0.13.3

func NewGetTenantLogsDefault(code int) *GetTenantLogsDefault

NewGetTenantLogsDefault creates GetTenantLogsDefault with default headers values

func (*GetTenantLogsDefault) SetPayload ¶ added in v0.13.3

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

SetPayload sets the payload to the get tenant logs default response

func (*GetTenantLogsDefault) SetStatusCode ¶ added in v0.13.3

func (o *GetTenantLogsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get tenant logs default response

func (*GetTenantLogsDefault) WithPayload ¶ added in v0.13.3

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

WithPayload adds the payload to the get tenant logs default response

func (*GetTenantLogsDefault) WithStatusCode ¶ added in v0.13.3

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

WithStatusCode adds the status to the get tenant logs default response

func (*GetTenantLogsDefault) WriteResponse ¶ added in v0.13.3

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

WriteResponse to the client

type GetTenantLogsHandler ¶ added in v0.13.3

type GetTenantLogsHandler interface {
	Handle(GetTenantLogsParams, *models.Principal) middleware.Responder
}

GetTenantLogsHandler interface for that can handle valid get tenant logs params

type GetTenantLogsHandlerFunc ¶ added in v0.13.3

type GetTenantLogsHandlerFunc func(GetTenantLogsParams, *models.Principal) middleware.Responder

GetTenantLogsHandlerFunc turns a function with the right signature into a get tenant logs handler

func (GetTenantLogsHandlerFunc) Handle ¶ added in v0.13.3

Handle executing the request and returning a response

type GetTenantLogsOK ¶ added in v0.13.3

type GetTenantLogsOK struct {

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

GetTenantLogsOK A successful response.

swagger:response getTenantLogsOK

func NewGetTenantLogsOK ¶ added in v0.13.3

func NewGetTenantLogsOK() *GetTenantLogsOK

NewGetTenantLogsOK creates GetTenantLogsOK with default headers values

func (*GetTenantLogsOK) SetPayload ¶ added in v0.13.3

func (o *GetTenantLogsOK) SetPayload(payload *models.TenantLogs)

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

func (*GetTenantLogsOK) WithPayload ¶ added in v0.13.3

func (o *GetTenantLogsOK) WithPayload(payload *models.TenantLogs) *GetTenantLogsOK

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

func (*GetTenantLogsOK) WriteResponse ¶ added in v0.13.3

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

WriteResponse to the client

type GetTenantLogsParams ¶ added in v0.13.3

type GetTenantLogsParams struct {

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

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

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

swagger:parameters GetTenantLogs

func NewGetTenantLogsParams ¶ added in v0.13.3

func NewGetTenantLogsParams() GetTenantLogsParams

NewGetTenantLogsParams creates a new GetTenantLogsParams object

There are no default values defined in the spec.

func (*GetTenantLogsParams) BindRequest ¶ added in v0.13.3

func (o *GetTenantLogsParams) 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 NewGetTenantLogsParams() beforehand.

type GetTenantLogsURL ¶ added in v0.13.3

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

GetTenantLogsURL generates an URL for the get tenant logs operation

func (*GetTenantLogsURL) Build ¶ added in v0.13.3

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

Build a url path and query string

func (*GetTenantLogsURL) BuildFull ¶ added in v0.13.3

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

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

func (*GetTenantLogsURL) Must ¶ added in v0.13.3

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

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

func (*GetTenantLogsURL) SetBasePath ¶ added in v0.13.3

func (o *GetTenantLogsURL) 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 (*GetTenantLogsURL) String ¶ added in v0.13.3

func (o *GetTenantLogsURL) String() string

String returns the string representation of the path with query string

func (*GetTenantLogsURL) StringFull ¶ added in v0.13.3

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

StringFull returns the string representation of a complete url

func (*GetTenantLogsURL) WithBasePath ¶ added in v0.13.3

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

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 GetTenantMonitoring ¶ added in v0.13.2

type GetTenantMonitoring struct {
	Context *middleware.Context
	Handler GetTenantMonitoringHandler
}
GetTenantMonitoring swagger:route GET /namespaces/{namespace}/tenants/{tenant}/monitoring OperatorAPI getTenantMonitoring

Get Prometheus Monitoring config info For The Tenant

func NewGetTenantMonitoring ¶ added in v0.13.2

func NewGetTenantMonitoring(ctx *middleware.Context, handler GetTenantMonitoringHandler) *GetTenantMonitoring

NewGetTenantMonitoring creates a new http.Handler for the get tenant monitoring operation

func (*GetTenantMonitoring) ServeHTTP ¶ added in v0.13.2

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

type GetTenantMonitoringDefault ¶ added in v0.13.2

type GetTenantMonitoringDefault struct {

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

GetTenantMonitoringDefault Generic error response.

swagger:response getTenantMonitoringDefault

func NewGetTenantMonitoringDefault ¶ added in v0.13.2

func NewGetTenantMonitoringDefault(code int) *GetTenantMonitoringDefault

NewGetTenantMonitoringDefault creates GetTenantMonitoringDefault with default headers values

func (*GetTenantMonitoringDefault) SetPayload ¶ added in v0.13.2

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

SetPayload sets the payload to the get tenant monitoring default response

func (*GetTenantMonitoringDefault) SetStatusCode ¶ added in v0.13.2

func (o *GetTenantMonitoringDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get tenant monitoring default response

func (*GetTenantMonitoringDefault) WithPayload ¶ added in v0.13.2

WithPayload adds the payload to the get tenant monitoring default response

func (*GetTenantMonitoringDefault) WithStatusCode ¶ added in v0.13.2

WithStatusCode adds the status to the get tenant monitoring default response

func (*GetTenantMonitoringDefault) WriteResponse ¶ added in v0.13.2

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

WriteResponse to the client

type GetTenantMonitoringHandler ¶ added in v0.13.2

type GetTenantMonitoringHandler interface {
	Handle(GetTenantMonitoringParams, *models.Principal) middleware.Responder
}

GetTenantMonitoringHandler interface for that can handle valid get tenant monitoring params

type GetTenantMonitoringHandlerFunc ¶ added in v0.13.2

type GetTenantMonitoringHandlerFunc func(GetTenantMonitoringParams, *models.Principal) middleware.Responder

GetTenantMonitoringHandlerFunc turns a function with the right signature into a get tenant monitoring handler

func (GetTenantMonitoringHandlerFunc) Handle ¶ added in v0.13.2

Handle executing the request and returning a response

type GetTenantMonitoringOK ¶ added in v0.13.2

type GetTenantMonitoringOK struct {

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

GetTenantMonitoringOK A successful response.

swagger:response getTenantMonitoringOK

func NewGetTenantMonitoringOK ¶ added in v0.13.2

func NewGetTenantMonitoringOK() *GetTenantMonitoringOK

NewGetTenantMonitoringOK creates GetTenantMonitoringOK with default headers values

func (*GetTenantMonitoringOK) SetPayload ¶ added in v0.13.2

func (o *GetTenantMonitoringOK) SetPayload(payload *models.TenantMonitoringInfo)

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

func (*GetTenantMonitoringOK) WithPayload ¶ added in v0.13.2

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

func (*GetTenantMonitoringOK) WriteResponse ¶ added in v0.13.2

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

WriteResponse to the client

type GetTenantMonitoringParams ¶ added in v0.13.2

type GetTenantMonitoringParams struct {

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

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

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

swagger:parameters GetTenantMonitoring

func NewGetTenantMonitoringParams ¶ added in v0.13.2

func NewGetTenantMonitoringParams() GetTenantMonitoringParams

NewGetTenantMonitoringParams creates a new GetTenantMonitoringParams object

There are no default values defined in the spec.

func (*GetTenantMonitoringParams) BindRequest ¶ added in v0.13.2

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

type GetTenantMonitoringURL ¶ added in v0.13.2

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

GetTenantMonitoringURL generates an URL for the get tenant monitoring operation

func (*GetTenantMonitoringURL) Build ¶ added in v0.13.2

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

Build a url path and query string

func (*GetTenantMonitoringURL) BuildFull ¶ added in v0.13.2

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

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

func (*GetTenantMonitoringURL) Must ¶ added in v0.13.2

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

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

func (*GetTenantMonitoringURL) SetBasePath ¶ added in v0.13.2

func (o *GetTenantMonitoringURL) 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 (*GetTenantMonitoringURL) String ¶ added in v0.13.2

func (o *GetTenantMonitoringURL) String() string

String returns the string representation of the path with query string

func (*GetTenantMonitoringURL) StringFull ¶ added in v0.13.2

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

StringFull returns the string representation of a complete url

func (*GetTenantMonitoringURL) WithBasePath ¶ added in v0.13.2

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 ListPVCsForTenant ¶ added in v0.10.0

type ListPVCsForTenant struct {
	Context *middleware.Context
	Handler ListPVCsForTenantHandler
}
ListPVCsForTenant swagger:route GET /namespaces/{namespace}/tenants/{tenant}/pvcs OperatorAPI listPVCsForTenant

List all PVCs from given Tenant

func NewListPVCsForTenant ¶ added in v0.10.0

func NewListPVCsForTenant(ctx *middleware.Context, handler ListPVCsForTenantHandler) *ListPVCsForTenant

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

func (*ListPVCsForTenant) ServeHTTP ¶ added in v0.10.0

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

type ListPVCsForTenantDefault ¶ added in v0.10.0

type ListPVCsForTenantDefault struct {

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

ListPVCsForTenantDefault Generic error response.

swagger:response listPVCsForTenantDefault

func NewListPVCsForTenantDefault ¶ added in v0.10.0

func NewListPVCsForTenantDefault(code int) *ListPVCsForTenantDefault

NewListPVCsForTenantDefault creates ListPVCsForTenantDefault with default headers values

func (*ListPVCsForTenantDefault) SetPayload ¶ added in v0.10.0

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

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

func (*ListPVCsForTenantDefault) SetStatusCode ¶ added in v0.10.0

func (o *ListPVCsForTenantDefault) SetStatusCode(code int)

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

func (*ListPVCsForTenantDefault) WithPayload ¶ added in v0.10.0

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

func (*ListPVCsForTenantDefault) WithStatusCode ¶ added in v0.10.0

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

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

func (*ListPVCsForTenantDefault) WriteResponse ¶ added in v0.10.0

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

WriteResponse to the client

type ListPVCsForTenantHandler ¶ added in v0.10.0

type ListPVCsForTenantHandler interface {
	Handle(ListPVCsForTenantParams, *models.Principal) middleware.Responder
}

ListPVCsForTenantHandler interface for that can handle valid list p v cs for tenant params

type ListPVCsForTenantHandlerFunc ¶ added in v0.10.0

type ListPVCsForTenantHandlerFunc func(ListPVCsForTenantParams, *models.Principal) middleware.Responder

ListPVCsForTenantHandlerFunc turns a function with the right signature into a list p v cs for tenant handler

func (ListPVCsForTenantHandlerFunc) Handle ¶ added in v0.10.0

Handle executing the request and returning a response

type ListPVCsForTenantOK ¶ added in v0.10.0

type ListPVCsForTenantOK struct {

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

ListPVCsForTenantOK A successful response.

swagger:response listPVCsForTenantOK

func NewListPVCsForTenantOK ¶ added in v0.10.0

func NewListPVCsForTenantOK() *ListPVCsForTenantOK

NewListPVCsForTenantOK creates ListPVCsForTenantOK with default headers values

func (*ListPVCsForTenantOK) SetPayload ¶ added in v0.10.0

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

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

func (*ListPVCsForTenantOK) WithPayload ¶ added in v0.10.0

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

func (*ListPVCsForTenantOK) WriteResponse ¶ added in v0.10.0

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

WriteResponse to the client

type ListPVCsForTenantParams ¶ added in v0.10.0

type ListPVCsForTenantParams struct {

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

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

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

swagger:parameters ListPVCsForTenant

func NewListPVCsForTenantParams ¶ added in v0.10.0

func NewListPVCsForTenantParams() ListPVCsForTenantParams

NewListPVCsForTenantParams creates a new ListPVCsForTenantParams object

There are no default values defined in the spec.

func (*ListPVCsForTenantParams) BindRequest ¶ added in v0.10.0

func (o *ListPVCsForTenantParams) 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 NewListPVCsForTenantParams() beforehand.

type ListPVCsForTenantURL ¶ added in v0.10.0

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

ListPVCsForTenantURL generates an URL for the list p v cs for tenant operation

func (*ListPVCsForTenantURL) Build ¶ added in v0.10.0

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

Build a url path and query string

func (*ListPVCsForTenantURL) BuildFull ¶ added in v0.10.0

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

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

func (*ListPVCsForTenantURL) Must ¶ added in v0.10.0

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

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

func (*ListPVCsForTenantURL) SetBasePath ¶ added in v0.10.0

func (o *ListPVCsForTenantURL) 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 (*ListPVCsForTenantURL) String ¶ added in v0.10.0

func (o *ListPVCsForTenantURL) String() string

String returns the string representation of the path with query string

func (*ListPVCsForTenantURL) StringFull ¶ added in v0.10.0

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

StringFull returns the string representation of a complete url

func (*ListPVCsForTenantURL) WithBasePath ¶ added in v0.10.0

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

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 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 ListTenantCertificateSigningRequest ¶ added in v0.16.3

type ListTenantCertificateSigningRequest struct {
	Context *middleware.Context
	Handler ListTenantCertificateSigningRequestHandler
}
ListTenantCertificateSigningRequest swagger:route GET /namespaces/{namespace}/tenants/{tenant}/csr OperatorAPI listTenantCertificateSigningRequest

List Tenant Certificate Signing Request

func NewListTenantCertificateSigningRequest ¶ added in v0.16.3

func NewListTenantCertificateSigningRequest(ctx *middleware.Context, handler ListTenantCertificateSigningRequestHandler) *ListTenantCertificateSigningRequest

NewListTenantCertificateSigningRequest creates a new http.Handler for the list tenant certificate signing request operation

func (*ListTenantCertificateSigningRequest) ServeHTTP ¶ added in v0.16.3

type ListTenantCertificateSigningRequestDefault ¶ added in v0.16.3

type ListTenantCertificateSigningRequestDefault struct {

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

ListTenantCertificateSigningRequestDefault Generic error response.

swagger:response listTenantCertificateSigningRequestDefault

func NewListTenantCertificateSigningRequestDefault ¶ added in v0.16.3

func NewListTenantCertificateSigningRequestDefault(code int) *ListTenantCertificateSigningRequestDefault

NewListTenantCertificateSigningRequestDefault creates ListTenantCertificateSigningRequestDefault with default headers values

func (*ListTenantCertificateSigningRequestDefault) SetPayload ¶ added in v0.16.3

SetPayload sets the payload to the list tenant certificate signing request default response

func (*ListTenantCertificateSigningRequestDefault) SetStatusCode ¶ added in v0.16.3

func (o *ListTenantCertificateSigningRequestDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list tenant certificate signing request default response

func (*ListTenantCertificateSigningRequestDefault) WithPayload ¶ added in v0.16.3

WithPayload adds the payload to the list tenant certificate signing request default response

func (*ListTenantCertificateSigningRequestDefault) WithStatusCode ¶ added in v0.16.3

WithStatusCode adds the status to the list tenant certificate signing request default response

func (*ListTenantCertificateSigningRequestDefault) WriteResponse ¶ added in v0.16.3

WriteResponse to the client

type ListTenantCertificateSigningRequestHandler ¶ added in v0.16.3

type ListTenantCertificateSigningRequestHandler interface {
	Handle(ListTenantCertificateSigningRequestParams, *models.Principal) middleware.Responder
}

ListTenantCertificateSigningRequestHandler interface for that can handle valid list tenant certificate signing request params

type ListTenantCertificateSigningRequestHandlerFunc ¶ added in v0.16.3

type ListTenantCertificateSigningRequestHandlerFunc func(ListTenantCertificateSigningRequestParams, *models.Principal) middleware.Responder

ListTenantCertificateSigningRequestHandlerFunc turns a function with the right signature into a list tenant certificate signing request handler

func (ListTenantCertificateSigningRequestHandlerFunc) Handle ¶ added in v0.16.3

Handle executing the request and returning a response

type ListTenantCertificateSigningRequestOK ¶ added in v0.16.3

type ListTenantCertificateSigningRequestOK struct {

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

ListTenantCertificateSigningRequestOK A successful response.

swagger:response listTenantCertificateSigningRequestOK

func NewListTenantCertificateSigningRequestOK ¶ added in v0.16.3

func NewListTenantCertificateSigningRequestOK() *ListTenantCertificateSigningRequestOK

NewListTenantCertificateSigningRequestOK creates ListTenantCertificateSigningRequestOK with default headers values

func (*ListTenantCertificateSigningRequestOK) SetPayload ¶ added in v0.16.3

SetPayload sets the payload to the list tenant certificate signing request o k response

func (*ListTenantCertificateSigningRequestOK) WithPayload ¶ added in v0.16.3

WithPayload adds the payload to the list tenant certificate signing request o k response

func (*ListTenantCertificateSigningRequestOK) WriteResponse ¶ added in v0.16.3

WriteResponse to the client

type ListTenantCertificateSigningRequestParams ¶ added in v0.16.3

type ListTenantCertificateSigningRequestParams struct {

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

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

ListTenantCertificateSigningRequestParams contains all the bound params for the list tenant certificate signing request operation typically these are obtained from a http.Request

swagger:parameters ListTenantCertificateSigningRequest

func NewListTenantCertificateSigningRequestParams ¶ added in v0.16.3

func NewListTenantCertificateSigningRequestParams() ListTenantCertificateSigningRequestParams

NewListTenantCertificateSigningRequestParams creates a new ListTenantCertificateSigningRequestParams object

There are no default values defined in the spec.

func (*ListTenantCertificateSigningRequestParams) BindRequest ¶ added in v0.16.3

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

type ListTenantCertificateSigningRequestURL ¶ added in v0.16.3

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

ListTenantCertificateSigningRequestURL generates an URL for the list tenant certificate signing request operation

func (*ListTenantCertificateSigningRequestURL) Build ¶ added in v0.16.3

Build a url path and query string

func (*ListTenantCertificateSigningRequestURL) BuildFull ¶ added in v0.16.3

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

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

func (*ListTenantCertificateSigningRequestURL) Must ¶ added in v0.16.3

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

func (*ListTenantCertificateSigningRequestURL) SetBasePath ¶ added in v0.16.3

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 (*ListTenantCertificateSigningRequestURL) String ¶ added in v0.16.3

String returns the string representation of the path with query string

func (*ListTenantCertificateSigningRequestURL) StringFull ¶ added in v0.16.3

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

StringFull returns the string representation of a complete url

func (*ListTenantCertificateSigningRequestURL) WithBasePath ¶ added in v0.16.3

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 OperatorSubnetAPIKey ¶ added in v0.19.4

type OperatorSubnetAPIKey struct {
	Context *middleware.Context
	Handler OperatorSubnetAPIKeyHandler
}
OperatorSubnetAPIKey swagger:route GET /subnet/apikey OperatorAPI operatorSubnetApiKey

Subnet api key

func NewOperatorSubnetAPIKey ¶ added in v0.19.4

func NewOperatorSubnetAPIKey(ctx *middleware.Context, handler OperatorSubnetAPIKeyHandler) *OperatorSubnetAPIKey

NewOperatorSubnetAPIKey creates a new http.Handler for the operator subnet Api key operation

func (*OperatorSubnetAPIKey) ServeHTTP ¶ added in v0.19.4

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

type OperatorSubnetAPIKeyDefault ¶ added in v0.19.4

type OperatorSubnetAPIKeyDefault struct {

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

OperatorSubnetAPIKeyDefault Generic error response.

swagger:response operatorSubnetApiKeyDefault

func NewOperatorSubnetAPIKeyDefault ¶ added in v0.19.4

func NewOperatorSubnetAPIKeyDefault(code int) *OperatorSubnetAPIKeyDefault

NewOperatorSubnetAPIKeyDefault creates OperatorSubnetAPIKeyDefault with default headers values

func (*OperatorSubnetAPIKeyDefault) SetPayload ¶ added in v0.19.4

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

SetPayload sets the payload to the operator subnet Api key default response

func (*OperatorSubnetAPIKeyDefault) SetStatusCode ¶ added in v0.19.4

func (o *OperatorSubnetAPIKeyDefault) SetStatusCode(code int)

SetStatusCode sets the status to the operator subnet Api key default response

func (*OperatorSubnetAPIKeyDefault) WithPayload ¶ added in v0.19.4

WithPayload adds the payload to the operator subnet Api key default response

func (*OperatorSubnetAPIKeyDefault) WithStatusCode ¶ added in v0.19.4

WithStatusCode adds the status to the operator subnet Api key default response

func (*OperatorSubnetAPIKeyDefault) WriteResponse ¶ added in v0.19.4

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

WriteResponse to the client

type OperatorSubnetAPIKeyHandler ¶ added in v0.19.4

type OperatorSubnetAPIKeyHandler interface {
	Handle(OperatorSubnetAPIKeyParams, *models.Principal) middleware.Responder
}

OperatorSubnetAPIKeyHandler interface for that can handle valid operator subnet Api key params

type OperatorSubnetAPIKeyHandlerFunc ¶ added in v0.19.4

type OperatorSubnetAPIKeyHandlerFunc func(OperatorSubnetAPIKeyParams, *models.Principal) middleware.Responder

OperatorSubnetAPIKeyHandlerFunc turns a function with the right signature into a operator subnet Api key handler

func (OperatorSubnetAPIKeyHandlerFunc) Handle ¶ added in v0.19.4

Handle executing the request and returning a response

type OperatorSubnetAPIKeyInfo ¶ added in v0.19.5

type OperatorSubnetAPIKeyInfo struct {
	Context *middleware.Context
	Handler OperatorSubnetAPIKeyInfoHandler
}
OperatorSubnetAPIKeyInfo swagger:route GET /subnet/apikey/info OperatorAPI operatorSubnetApiKeyInfo

Subnet API key info

func NewOperatorSubnetAPIKeyInfo ¶ added in v0.19.5

func NewOperatorSubnetAPIKeyInfo(ctx *middleware.Context, handler OperatorSubnetAPIKeyInfoHandler) *OperatorSubnetAPIKeyInfo

NewOperatorSubnetAPIKeyInfo creates a new http.Handler for the operator subnet API key info operation

func (*OperatorSubnetAPIKeyInfo) ServeHTTP ¶ added in v0.19.5

type OperatorSubnetAPIKeyInfoDefault ¶ added in v0.19.5

type OperatorSubnetAPIKeyInfoDefault struct {

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

OperatorSubnetAPIKeyInfoDefault Generic error response.

swagger:response operatorSubnetApiKeyInfoDefault

func NewOperatorSubnetAPIKeyInfoDefault ¶ added in v0.19.5

func NewOperatorSubnetAPIKeyInfoDefault(code int) *OperatorSubnetAPIKeyInfoDefault

NewOperatorSubnetAPIKeyInfoDefault creates OperatorSubnetAPIKeyInfoDefault with default headers values

func (*OperatorSubnetAPIKeyInfoDefault) SetPayload ¶ added in v0.19.5

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

SetPayload sets the payload to the operator subnet API key info default response

func (*OperatorSubnetAPIKeyInfoDefault) SetStatusCode ¶ added in v0.19.5

func (o *OperatorSubnetAPIKeyInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the operator subnet API key info default response

func (*OperatorSubnetAPIKeyInfoDefault) WithPayload ¶ added in v0.19.5

WithPayload adds the payload to the operator subnet API key info default response

func (*OperatorSubnetAPIKeyInfoDefault) WithStatusCode ¶ added in v0.19.5

WithStatusCode adds the status to the operator subnet API key info default response

func (*OperatorSubnetAPIKeyInfoDefault) WriteResponse ¶ added in v0.19.5

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

WriteResponse to the client

type OperatorSubnetAPIKeyInfoHandler ¶ added in v0.19.5

type OperatorSubnetAPIKeyInfoHandler interface {
	Handle(OperatorSubnetAPIKeyInfoParams, *models.Principal) middleware.Responder
}

OperatorSubnetAPIKeyInfoHandler interface for that can handle valid operator subnet API key info params

type OperatorSubnetAPIKeyInfoHandlerFunc ¶ added in v0.19.5

type OperatorSubnetAPIKeyInfoHandlerFunc func(OperatorSubnetAPIKeyInfoParams, *models.Principal) middleware.Responder

OperatorSubnetAPIKeyInfoHandlerFunc turns a function with the right signature into a operator subnet API key info handler

func (OperatorSubnetAPIKeyInfoHandlerFunc) Handle ¶ added in v0.19.5

Handle executing the request and returning a response

type OperatorSubnetAPIKeyInfoOK ¶ added in v0.19.5

type OperatorSubnetAPIKeyInfoOK struct {

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

OperatorSubnetAPIKeyInfoOK A successful response.

swagger:response operatorSubnetApiKeyInfoOK

func NewOperatorSubnetAPIKeyInfoOK ¶ added in v0.19.5

func NewOperatorSubnetAPIKeyInfoOK() *OperatorSubnetAPIKeyInfoOK

NewOperatorSubnetAPIKeyInfoOK creates OperatorSubnetAPIKeyInfoOK with default headers values

func (*OperatorSubnetAPIKeyInfoOK) SetPayload ¶ added in v0.19.5

SetPayload sets the payload to the operator subnet Api key info o k response

func (*OperatorSubnetAPIKeyInfoOK) WithPayload ¶ added in v0.19.5

WithPayload adds the payload to the operator subnet Api key info o k response

func (*OperatorSubnetAPIKeyInfoOK) WriteResponse ¶ added in v0.19.5

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

WriteResponse to the client

type OperatorSubnetAPIKeyInfoParams ¶ added in v0.19.5

type OperatorSubnetAPIKeyInfoParams struct {

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

OperatorSubnetAPIKeyInfoParams contains all the bound params for the operator subnet API key info operation typically these are obtained from a http.Request

swagger:parameters OperatorSubnetAPIKeyInfo

func NewOperatorSubnetAPIKeyInfoParams ¶ added in v0.19.5

func NewOperatorSubnetAPIKeyInfoParams() OperatorSubnetAPIKeyInfoParams

NewOperatorSubnetAPIKeyInfoParams creates a new OperatorSubnetAPIKeyInfoParams object

There are no default values defined in the spec.

func (*OperatorSubnetAPIKeyInfoParams) BindRequest ¶ added in v0.19.5

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

type OperatorSubnetAPIKeyInfoURL ¶ added in v0.19.5

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

OperatorSubnetAPIKeyInfoURL generates an URL for the operator subnet API key info operation

func (*OperatorSubnetAPIKeyInfoURL) Build ¶ added in v0.19.5

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

Build a url path and query string

func (*OperatorSubnetAPIKeyInfoURL) BuildFull ¶ added in v0.19.5

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

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

func (*OperatorSubnetAPIKeyInfoURL) Must ¶ added in v0.19.5

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

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

func (*OperatorSubnetAPIKeyInfoURL) SetBasePath ¶ added in v0.19.5

func (o *OperatorSubnetAPIKeyInfoURL) 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 (*OperatorSubnetAPIKeyInfoURL) String ¶ added in v0.19.5

func (o *OperatorSubnetAPIKeyInfoURL) String() string

String returns the string representation of the path with query string

func (*OperatorSubnetAPIKeyInfoURL) StringFull ¶ added in v0.19.5

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

StringFull returns the string representation of a complete url

func (*OperatorSubnetAPIKeyInfoURL) WithBasePath ¶ added in v0.19.5

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 OperatorSubnetAPIKeyOK ¶ added in v0.19.4

type OperatorSubnetAPIKeyOK struct {

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

OperatorSubnetAPIKeyOK A successful response.

swagger:response operatorSubnetApiKeyOK

func NewOperatorSubnetAPIKeyOK ¶ added in v0.19.4

func NewOperatorSubnetAPIKeyOK() *OperatorSubnetAPIKeyOK

NewOperatorSubnetAPIKeyOK creates OperatorSubnetAPIKeyOK with default headers values

func (*OperatorSubnetAPIKeyOK) SetPayload ¶ added in v0.19.4

func (o *OperatorSubnetAPIKeyOK) SetPayload(payload *models.OperatorSubnetAPIKey)

SetPayload sets the payload to the operator subnet Api key o k response

func (*OperatorSubnetAPIKeyOK) WithPayload ¶ added in v0.19.4

WithPayload adds the payload to the operator subnet Api key o k response

func (*OperatorSubnetAPIKeyOK) WriteResponse ¶ added in v0.19.4

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

WriteResponse to the client

type OperatorSubnetAPIKeyParams ¶ added in v0.19.4

type OperatorSubnetAPIKeyParams struct {

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

	/*
	  Required: true
	  In: query
	*/
	Token string
}

OperatorSubnetAPIKeyParams contains all the bound params for the operator subnet Api key operation typically these are obtained from a http.Request

swagger:parameters OperatorSubnetApiKey

func NewOperatorSubnetAPIKeyParams ¶ added in v0.19.4

func NewOperatorSubnetAPIKeyParams() OperatorSubnetAPIKeyParams

NewOperatorSubnetAPIKeyParams creates a new OperatorSubnetAPIKeyParams object

There are no default values defined in the spec.

func (*OperatorSubnetAPIKeyParams) BindRequest ¶ added in v0.19.4

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

type OperatorSubnetAPIKeyURL ¶ added in v0.19.4

type OperatorSubnetAPIKeyURL struct {
	Token string
	// contains filtered or unexported fields
}

OperatorSubnetAPIKeyURL generates an URL for the operator subnet Api key operation

func (*OperatorSubnetAPIKeyURL) Build ¶ added in v0.19.4

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

Build a url path and query string

func (*OperatorSubnetAPIKeyURL) BuildFull ¶ added in v0.19.4

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

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

func (*OperatorSubnetAPIKeyURL) Must ¶ added in v0.19.4

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

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

func (*OperatorSubnetAPIKeyURL) SetBasePath ¶ added in v0.19.4

func (o *OperatorSubnetAPIKeyURL) 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 (*OperatorSubnetAPIKeyURL) String ¶ added in v0.19.4

func (o *OperatorSubnetAPIKeyURL) String() string

String returns the string representation of the path with query string

func (*OperatorSubnetAPIKeyURL) StringFull ¶ added in v0.19.4

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

StringFull returns the string representation of a complete url

func (*OperatorSubnetAPIKeyURL) WithBasePath ¶ added in v0.19.4

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 OperatorSubnetLogin ¶ added in v0.19.4

type OperatorSubnetLogin struct {
	Context *middleware.Context
	Handler OperatorSubnetLoginHandler
}
OperatorSubnetLogin swagger:route POST /subnet/login OperatorAPI operatorSubnetLogin

Login to subnet

func NewOperatorSubnetLogin ¶ added in v0.19.4

func NewOperatorSubnetLogin(ctx *middleware.Context, handler OperatorSubnetLoginHandler) *OperatorSubnetLogin

NewOperatorSubnetLogin creates a new http.Handler for the operator subnet login operation

func (*OperatorSubnetLogin) ServeHTTP ¶ added in v0.19.4

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

type OperatorSubnetLoginDefault ¶ added in v0.19.4

type OperatorSubnetLoginDefault struct {

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

OperatorSubnetLoginDefault Generic error response.

swagger:response operatorSubnetLoginDefault

func NewOperatorSubnetLoginDefault ¶ added in v0.19.4

func NewOperatorSubnetLoginDefault(code int) *OperatorSubnetLoginDefault

NewOperatorSubnetLoginDefault creates OperatorSubnetLoginDefault with default headers values

func (*OperatorSubnetLoginDefault) SetPayload ¶ added in v0.19.4

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

SetPayload sets the payload to the operator subnet login default response

func (*OperatorSubnetLoginDefault) SetStatusCode ¶ added in v0.19.4

func (o *OperatorSubnetLoginDefault) SetStatusCode(code int)

SetStatusCode sets the status to the operator subnet login default response

func (*OperatorSubnetLoginDefault) WithPayload ¶ added in v0.19.4

WithPayload adds the payload to the operator subnet login default response

func (*OperatorSubnetLoginDefault) WithStatusCode ¶ added in v0.19.4

WithStatusCode adds the status to the operator subnet login default response

func (*OperatorSubnetLoginDefault) WriteResponse ¶ added in v0.19.4

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

WriteResponse to the client

type OperatorSubnetLoginHandler ¶ added in v0.19.4

type OperatorSubnetLoginHandler interface {
	Handle(OperatorSubnetLoginParams, *models.Principal) middleware.Responder
}

OperatorSubnetLoginHandler interface for that can handle valid operator subnet login params

type OperatorSubnetLoginHandlerFunc ¶ added in v0.19.4

type OperatorSubnetLoginHandlerFunc func(OperatorSubnetLoginParams, *models.Principal) middleware.Responder

OperatorSubnetLoginHandlerFunc turns a function with the right signature into a operator subnet login handler

func (OperatorSubnetLoginHandlerFunc) Handle ¶ added in v0.19.4

Handle executing the request and returning a response

type OperatorSubnetLoginMFA ¶ added in v0.19.4

type OperatorSubnetLoginMFA struct {
	Context *middleware.Context
	Handler OperatorSubnetLoginMFAHandler
}
OperatorSubnetLoginMFA swagger:route POST /subnet/login/mfa OperatorAPI operatorSubnetLoginMFA

Login to subnet using mfa

func NewOperatorSubnetLoginMFA ¶ added in v0.19.4

func NewOperatorSubnetLoginMFA(ctx *middleware.Context, handler OperatorSubnetLoginMFAHandler) *OperatorSubnetLoginMFA

NewOperatorSubnetLoginMFA creates a new http.Handler for the operator subnet login m f a operation

func (*OperatorSubnetLoginMFA) ServeHTTP ¶ added in v0.19.4

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

type OperatorSubnetLoginMFADefault ¶ added in v0.19.4

type OperatorSubnetLoginMFADefault struct {

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

OperatorSubnetLoginMFADefault Generic error response.

swagger:response operatorSubnetLoginMFADefault

func NewOperatorSubnetLoginMFADefault ¶ added in v0.19.4

func NewOperatorSubnetLoginMFADefault(code int) *OperatorSubnetLoginMFADefault

NewOperatorSubnetLoginMFADefault creates OperatorSubnetLoginMFADefault with default headers values

func (*OperatorSubnetLoginMFADefault) SetPayload ¶ added in v0.19.4

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

SetPayload sets the payload to the operator subnet login m f a default response

func (*OperatorSubnetLoginMFADefault) SetStatusCode ¶ added in v0.19.4

func (o *OperatorSubnetLoginMFADefault) SetStatusCode(code int)

SetStatusCode sets the status to the operator subnet login m f a default response

func (*OperatorSubnetLoginMFADefault) WithPayload ¶ added in v0.19.4

WithPayload adds the payload to the operator subnet login m f a default response

func (*OperatorSubnetLoginMFADefault) WithStatusCode ¶ added in v0.19.4

WithStatusCode adds the status to the operator subnet login m f a default response

func (*OperatorSubnetLoginMFADefault) WriteResponse ¶ added in v0.19.4

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

WriteResponse to the client

type OperatorSubnetLoginMFAHandler ¶ added in v0.19.4

type OperatorSubnetLoginMFAHandler interface {
	Handle(OperatorSubnetLoginMFAParams, *models.Principal) middleware.Responder
}

OperatorSubnetLoginMFAHandler interface for that can handle valid operator subnet login m f a params

type OperatorSubnetLoginMFAHandlerFunc ¶ added in v0.19.4

type OperatorSubnetLoginMFAHandlerFunc func(OperatorSubnetLoginMFAParams, *models.Principal) middleware.Responder

OperatorSubnetLoginMFAHandlerFunc turns a function with the right signature into a operator subnet login m f a handler

func (OperatorSubnetLoginMFAHandlerFunc) Handle ¶ added in v0.19.4

Handle executing the request and returning a response

type OperatorSubnetLoginMFAOK ¶ added in v0.19.4

type OperatorSubnetLoginMFAOK struct {

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

OperatorSubnetLoginMFAOK A successful response.

swagger:response operatorSubnetLoginMFAOK

func NewOperatorSubnetLoginMFAOK ¶ added in v0.19.4

func NewOperatorSubnetLoginMFAOK() *OperatorSubnetLoginMFAOK

NewOperatorSubnetLoginMFAOK creates OperatorSubnetLoginMFAOK with default headers values

func (*OperatorSubnetLoginMFAOK) SetPayload ¶ added in v0.19.4

SetPayload sets the payload to the operator subnet login m f a o k response

func (*OperatorSubnetLoginMFAOK) WithPayload ¶ added in v0.19.4

WithPayload adds the payload to the operator subnet login m f a o k response

func (*OperatorSubnetLoginMFAOK) WriteResponse ¶ added in v0.19.4

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

WriteResponse to the client

type OperatorSubnetLoginMFAParams ¶ added in v0.19.4

type OperatorSubnetLoginMFAParams struct {

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

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

OperatorSubnetLoginMFAParams contains all the bound params for the operator subnet login m f a operation typically these are obtained from a http.Request

swagger:parameters OperatorSubnetLoginMFA

func NewOperatorSubnetLoginMFAParams ¶ added in v0.19.4

func NewOperatorSubnetLoginMFAParams() OperatorSubnetLoginMFAParams

NewOperatorSubnetLoginMFAParams creates a new OperatorSubnetLoginMFAParams object

There are no default values defined in the spec.

func (*OperatorSubnetLoginMFAParams) BindRequest ¶ added in v0.19.4

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

type OperatorSubnetLoginMFAURL ¶ added in v0.19.4

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

OperatorSubnetLoginMFAURL generates an URL for the operator subnet login m f a operation

func (*OperatorSubnetLoginMFAURL) Build ¶ added in v0.19.4

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

Build a url path and query string

func (*OperatorSubnetLoginMFAURL) BuildFull ¶ added in v0.19.4

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

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

func (*OperatorSubnetLoginMFAURL) Must ¶ added in v0.19.4

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

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

func (*OperatorSubnetLoginMFAURL) SetBasePath ¶ added in v0.19.4

func (o *OperatorSubnetLoginMFAURL) 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 (*OperatorSubnetLoginMFAURL) String ¶ added in v0.19.4

func (o *OperatorSubnetLoginMFAURL) String() string

String returns the string representation of the path with query string

func (*OperatorSubnetLoginMFAURL) StringFull ¶ added in v0.19.4

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

StringFull returns the string representation of a complete url

func (*OperatorSubnetLoginMFAURL) WithBasePath ¶ added in v0.19.4

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 OperatorSubnetLoginOK ¶ added in v0.19.4

type OperatorSubnetLoginOK struct {

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

OperatorSubnetLoginOK A successful response.

swagger:response operatorSubnetLoginOK

func NewOperatorSubnetLoginOK ¶ added in v0.19.4

func NewOperatorSubnetLoginOK() *OperatorSubnetLoginOK

NewOperatorSubnetLoginOK creates OperatorSubnetLoginOK with default headers values

func (*OperatorSubnetLoginOK) SetPayload ¶ added in v0.19.4

SetPayload sets the payload to the operator subnet login o k response

func (*OperatorSubnetLoginOK) WithPayload ¶ added in v0.19.4

WithPayload adds the payload to the operator subnet login o k response

func (*OperatorSubnetLoginOK) WriteResponse ¶ added in v0.19.4

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

WriteResponse to the client

type OperatorSubnetLoginParams ¶ added in v0.19.4

type OperatorSubnetLoginParams struct {

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

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

OperatorSubnetLoginParams contains all the bound params for the operator subnet login operation typically these are obtained from a http.Request

swagger:parameters OperatorSubnetLogin

func NewOperatorSubnetLoginParams ¶ added in v0.19.4

func NewOperatorSubnetLoginParams() OperatorSubnetLoginParams

NewOperatorSubnetLoginParams creates a new OperatorSubnetLoginParams object

There are no default values defined in the spec.

func (*OperatorSubnetLoginParams) BindRequest ¶ added in v0.19.4

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

type OperatorSubnetLoginURL ¶ added in v0.19.4

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

OperatorSubnetLoginURL generates an URL for the operator subnet login operation

func (*OperatorSubnetLoginURL) Build ¶ added in v0.19.4

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

Build a url path and query string

func (*OperatorSubnetLoginURL) BuildFull ¶ added in v0.19.4

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

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

func (*OperatorSubnetLoginURL) Must ¶ added in v0.19.4

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

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

func (*OperatorSubnetLoginURL) SetBasePath ¶ added in v0.19.4

func (o *OperatorSubnetLoginURL) 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 (*OperatorSubnetLoginURL) String ¶ added in v0.19.4

func (o *OperatorSubnetLoginURL) String() string

String returns the string representation of the path with query string

func (*OperatorSubnetLoginURL) StringFull ¶ added in v0.19.4

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

StringFull returns the string representation of a complete url

func (*OperatorSubnetLoginURL) WithBasePath ¶ added in v0.19.4

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 OperatorSubnetRegisterAPIKey ¶ added in v0.19.4

type OperatorSubnetRegisterAPIKey struct {
	Context *middleware.Context
	Handler OperatorSubnetRegisterAPIKeyHandler
}
OperatorSubnetRegisterAPIKey swagger:route POST /subnet/apikey/register OperatorAPI operatorSubnetRegisterApiKey

Register Operator with Subnet

func NewOperatorSubnetRegisterAPIKey ¶ added in v0.19.4

func NewOperatorSubnetRegisterAPIKey(ctx *middleware.Context, handler OperatorSubnetRegisterAPIKeyHandler) *OperatorSubnetRegisterAPIKey

NewOperatorSubnetRegisterAPIKey creates a new http.Handler for the operator subnet register API key operation

func (*OperatorSubnetRegisterAPIKey) ServeHTTP ¶ added in v0.19.4

type OperatorSubnetRegisterAPIKeyDefault ¶ added in v0.19.4

type OperatorSubnetRegisterAPIKeyDefault struct {

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

OperatorSubnetRegisterAPIKeyDefault Generic error response.

swagger:response operatorSubnetRegisterApiKeyDefault

func NewOperatorSubnetRegisterAPIKeyDefault ¶ added in v0.19.4

func NewOperatorSubnetRegisterAPIKeyDefault(code int) *OperatorSubnetRegisterAPIKeyDefault

NewOperatorSubnetRegisterAPIKeyDefault creates OperatorSubnetRegisterAPIKeyDefault with default headers values

func (*OperatorSubnetRegisterAPIKeyDefault) SetPayload ¶ added in v0.19.4

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

SetPayload sets the payload to the operator subnet register API key default response

func (*OperatorSubnetRegisterAPIKeyDefault) SetStatusCode ¶ added in v0.19.4

func (o *OperatorSubnetRegisterAPIKeyDefault) SetStatusCode(code int)

SetStatusCode sets the status to the operator subnet register API key default response

func (*OperatorSubnetRegisterAPIKeyDefault) WithPayload ¶ added in v0.19.4

WithPayload adds the payload to the operator subnet register API key default response

func (*OperatorSubnetRegisterAPIKeyDefault) WithStatusCode ¶ added in v0.19.4

WithStatusCode adds the status to the operator subnet register API key default response

func (*OperatorSubnetRegisterAPIKeyDefault) WriteResponse ¶ added in v0.19.4

WriteResponse to the client

type OperatorSubnetRegisterAPIKeyHandler ¶ added in v0.19.4

type OperatorSubnetRegisterAPIKeyHandler interface {
	Handle(OperatorSubnetRegisterAPIKeyParams, *models.Principal) middleware.Responder
}

OperatorSubnetRegisterAPIKeyHandler interface for that can handle valid operator subnet register API key params

type OperatorSubnetRegisterAPIKeyHandlerFunc ¶ added in v0.19.4

type OperatorSubnetRegisterAPIKeyHandlerFunc func(OperatorSubnetRegisterAPIKeyParams, *models.Principal) middleware.Responder

OperatorSubnetRegisterAPIKeyHandlerFunc turns a function with the right signature into a operator subnet register API key handler

func (OperatorSubnetRegisterAPIKeyHandlerFunc) Handle ¶ added in v0.19.4

Handle executing the request and returning a response

type OperatorSubnetRegisterAPIKeyOK ¶ added in v0.19.4

type OperatorSubnetRegisterAPIKeyOK struct {

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

OperatorSubnetRegisterAPIKeyOK A successful response.

swagger:response operatorSubnetRegisterApiKeyOK

func NewOperatorSubnetRegisterAPIKeyOK ¶ added in v0.19.4

func NewOperatorSubnetRegisterAPIKeyOK() *OperatorSubnetRegisterAPIKeyOK

NewOperatorSubnetRegisterAPIKeyOK creates OperatorSubnetRegisterAPIKeyOK with default headers values

func (*OperatorSubnetRegisterAPIKeyOK) SetPayload ¶ added in v0.19.5

SetPayload sets the payload to the operator subnet register Api key o k response

func (*OperatorSubnetRegisterAPIKeyOK) WithPayload ¶ added in v0.19.5

WithPayload adds the payload to the operator subnet register Api key o k response

func (*OperatorSubnetRegisterAPIKeyOK) WriteResponse ¶ added in v0.19.4

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

WriteResponse to the client

type OperatorSubnetRegisterAPIKeyParams ¶ added in v0.19.4

type OperatorSubnetRegisterAPIKeyParams struct {

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

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

OperatorSubnetRegisterAPIKeyParams contains all the bound params for the operator subnet register API key operation typically these are obtained from a http.Request

swagger:parameters OperatorSubnetRegisterAPIKey

func NewOperatorSubnetRegisterAPIKeyParams ¶ added in v0.19.4

func NewOperatorSubnetRegisterAPIKeyParams() OperatorSubnetRegisterAPIKeyParams

NewOperatorSubnetRegisterAPIKeyParams creates a new OperatorSubnetRegisterAPIKeyParams object

There are no default values defined in the spec.

func (*OperatorSubnetRegisterAPIKeyParams) BindRequest ¶ added in v0.19.4

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

type OperatorSubnetRegisterAPIKeyURL ¶ added in v0.19.4

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

OperatorSubnetRegisterAPIKeyURL generates an URL for the operator subnet register API key operation

func (*OperatorSubnetRegisterAPIKeyURL) Build ¶ added in v0.19.4

Build a url path and query string

func (*OperatorSubnetRegisterAPIKeyURL) BuildFull ¶ added in v0.19.4

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

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

func (*OperatorSubnetRegisterAPIKeyURL) Must ¶ added in v0.19.4

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

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

func (*OperatorSubnetRegisterAPIKeyURL) SetBasePath ¶ added in v0.19.4

func (o *OperatorSubnetRegisterAPIKeyURL) 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 (*OperatorSubnetRegisterAPIKeyURL) String ¶ added in v0.19.4

String returns the string representation of the path with query string

func (*OperatorSubnetRegisterAPIKeyURL) StringFull ¶ added in v0.19.4

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

StringFull returns the string representation of a complete url

func (*OperatorSubnetRegisterAPIKeyURL) WithBasePath ¶ added in v0.19.4

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 PostMPIntegration ¶ added in v0.19.0

type PostMPIntegration struct {
	Context *middleware.Context
	Handler PostMPIntegrationHandler
}
PostMPIntegration swagger:route POST /mp-integration OperatorAPI postMPIntegration

Set email to register for marketplace integration

func NewPostMPIntegration ¶ added in v0.19.0

func NewPostMPIntegration(ctx *middleware.Context, handler PostMPIntegrationHandler) *PostMPIntegration

NewPostMPIntegration creates a new http.Handler for the post m p integration operation

func (*PostMPIntegration) ServeHTTP ¶ added in v0.19.0

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

type PostMPIntegrationCreated ¶ added in v0.19.0

type PostMPIntegrationCreated struct {
}

PostMPIntegrationCreated A successful response.

swagger:response postMPIntegrationCreated

func NewPostMPIntegrationCreated ¶ added in v0.19.0

func NewPostMPIntegrationCreated() *PostMPIntegrationCreated

NewPostMPIntegrationCreated creates PostMPIntegrationCreated with default headers values

func (*PostMPIntegrationCreated) WriteResponse ¶ added in v0.19.0

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

WriteResponse to the client

type PostMPIntegrationDefault ¶ added in v0.19.0

type PostMPIntegrationDefault struct {

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

PostMPIntegrationDefault Generic error response.

swagger:response postMPIntegrationDefault

func NewPostMPIntegrationDefault ¶ added in v0.19.0

func NewPostMPIntegrationDefault(code int) *PostMPIntegrationDefault

NewPostMPIntegrationDefault creates PostMPIntegrationDefault with default headers values

func (*PostMPIntegrationDefault) SetPayload ¶ added in v0.19.0

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

SetPayload sets the payload to the post m p integration default response

func (*PostMPIntegrationDefault) SetStatusCode ¶ added in v0.19.0

func (o *PostMPIntegrationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the post m p integration default response

func (*PostMPIntegrationDefault) WithPayload ¶ added in v0.19.0

WithPayload adds the payload to the post m p integration default response

func (*PostMPIntegrationDefault) WithStatusCode ¶ added in v0.19.0

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

WithStatusCode adds the status to the post m p integration default response

func (*PostMPIntegrationDefault) WriteResponse ¶ added in v0.19.0

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

WriteResponse to the client

type PostMPIntegrationHandler ¶ added in v0.19.0

type PostMPIntegrationHandler interface {
	Handle(PostMPIntegrationParams, *models.Principal) middleware.Responder
}

PostMPIntegrationHandler interface for that can handle valid post m p integration params

type PostMPIntegrationHandlerFunc ¶ added in v0.19.0

type PostMPIntegrationHandlerFunc func(PostMPIntegrationParams, *models.Principal) middleware.Responder

PostMPIntegrationHandlerFunc turns a function with the right signature into a post m p integration handler

func (PostMPIntegrationHandlerFunc) Handle ¶ added in v0.19.0

Handle executing the request and returning a response

type PostMPIntegrationParams ¶ added in v0.19.0

type PostMPIntegrationParams struct {

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

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

PostMPIntegrationParams contains all the bound params for the post m p integration operation typically these are obtained from a http.Request

swagger:parameters PostMPIntegration

func NewPostMPIntegrationParams ¶ added in v0.19.0

func NewPostMPIntegrationParams() PostMPIntegrationParams

NewPostMPIntegrationParams creates a new PostMPIntegrationParams object

There are no default values defined in the spec.

func (*PostMPIntegrationParams) BindRequest ¶ added in v0.19.0

func (o *PostMPIntegrationParams) 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 NewPostMPIntegrationParams() beforehand.

type PostMPIntegrationURL ¶ added in v0.19.0

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

PostMPIntegrationURL generates an URL for the post m p integration operation

func (*PostMPIntegrationURL) Build ¶ added in v0.19.0

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

Build a url path and query string

func (*PostMPIntegrationURL) BuildFull ¶ added in v0.19.0

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

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

func (*PostMPIntegrationURL) Must ¶ added in v0.19.0

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

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

func (*PostMPIntegrationURL) SetBasePath ¶ added in v0.19.0

func (o *PostMPIntegrationURL) 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 (*PostMPIntegrationURL) String ¶ added in v0.19.0

func (o *PostMPIntegrationURL) String() string

String returns the string representation of the path with query string

func (*PostMPIntegrationURL) StringFull ¶ added in v0.19.0

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

StringFull returns the string representation of a complete url

func (*PostMPIntegrationURL) WithBasePath ¶ added in v0.19.0

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

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 SetTenantAdministrators ¶ added in v0.19.2

type SetTenantAdministrators struct {
	Context *middleware.Context
	Handler SetTenantAdministratorsHandler
}
SetTenantAdministrators swagger:route POST /namespaces/{namespace}/tenants/{tenant}/set-administrators OperatorAPI setTenantAdministrators

Set the consoleAdmin policy to the specified users and groups

func NewSetTenantAdministrators ¶ added in v0.19.2

func NewSetTenantAdministrators(ctx *middleware.Context, handler SetTenantAdministratorsHandler) *SetTenantAdministrators

NewSetTenantAdministrators creates a new http.Handler for the set tenant administrators operation

func (*SetTenantAdministrators) ServeHTTP ¶ added in v0.19.2

type SetTenantAdministratorsDefault ¶ added in v0.19.2

type SetTenantAdministratorsDefault struct {

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

SetTenantAdministratorsDefault Generic error response.

swagger:response setTenantAdministratorsDefault

func NewSetTenantAdministratorsDefault ¶ added in v0.19.2

func NewSetTenantAdministratorsDefault(code int) *SetTenantAdministratorsDefault

NewSetTenantAdministratorsDefault creates SetTenantAdministratorsDefault with default headers values

func (*SetTenantAdministratorsDefault) SetPayload ¶ added in v0.19.2

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

SetPayload sets the payload to the set tenant administrators default response

func (*SetTenantAdministratorsDefault) SetStatusCode ¶ added in v0.19.2

func (o *SetTenantAdministratorsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set tenant administrators default response

func (*SetTenantAdministratorsDefault) WithPayload ¶ added in v0.19.2

WithPayload adds the payload to the set tenant administrators default response

func (*SetTenantAdministratorsDefault) WithStatusCode ¶ added in v0.19.2

WithStatusCode adds the status to the set tenant administrators default response

func (*SetTenantAdministratorsDefault) WriteResponse ¶ added in v0.19.2

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

WriteResponse to the client

type SetTenantAdministratorsHandler ¶ added in v0.19.2

type SetTenantAdministratorsHandler interface {
	Handle(SetTenantAdministratorsParams, *models.Principal) middleware.Responder
}

SetTenantAdministratorsHandler interface for that can handle valid set tenant administrators params

type SetTenantAdministratorsHandlerFunc ¶ added in v0.19.2

type SetTenantAdministratorsHandlerFunc func(SetTenantAdministratorsParams, *models.Principal) middleware.Responder

SetTenantAdministratorsHandlerFunc turns a function with the right signature into a set tenant administrators handler

func (SetTenantAdministratorsHandlerFunc) Handle ¶ added in v0.19.2

Handle executing the request and returning a response

type SetTenantAdministratorsNoContent ¶ added in v0.19.2

type SetTenantAdministratorsNoContent struct {
}

SetTenantAdministratorsNoContent A successful response.

swagger:response setTenantAdministratorsNoContent

func NewSetTenantAdministratorsNoContent ¶ added in v0.19.2

func NewSetTenantAdministratorsNoContent() *SetTenantAdministratorsNoContent

NewSetTenantAdministratorsNoContent creates SetTenantAdministratorsNoContent with default headers values

func (*SetTenantAdministratorsNoContent) WriteResponse ¶ added in v0.19.2

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

WriteResponse to the client

type SetTenantAdministratorsParams ¶ added in v0.19.2

type SetTenantAdministratorsParams struct {

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

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

SetTenantAdministratorsParams contains all the bound params for the set tenant administrators operation typically these are obtained from a http.Request

swagger:parameters SetTenantAdministrators

func NewSetTenantAdministratorsParams ¶ added in v0.19.2

func NewSetTenantAdministratorsParams() SetTenantAdministratorsParams

NewSetTenantAdministratorsParams creates a new SetTenantAdministratorsParams object

There are no default values defined in the spec.

func (*SetTenantAdministratorsParams) BindRequest ¶ added in v0.19.2

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

type SetTenantAdministratorsURL ¶ added in v0.19.2

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

SetTenantAdministratorsURL generates an URL for the set tenant administrators operation

func (*SetTenantAdministratorsURL) Build ¶ added in v0.19.2

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

Build a url path and query string

func (*SetTenantAdministratorsURL) BuildFull ¶ added in v0.19.2

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

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

func (*SetTenantAdministratorsURL) Must ¶ added in v0.19.2

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

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

func (*SetTenantAdministratorsURL) SetBasePath ¶ added in v0.19.2

func (o *SetTenantAdministratorsURL) 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 (*SetTenantAdministratorsURL) String ¶ added in v0.19.2

func (o *SetTenantAdministratorsURL) String() string

String returns the string representation of the path with query string

func (*SetTenantAdministratorsURL) StringFull ¶ added in v0.19.2

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

StringFull returns the string representation of a complete url

func (*SetTenantAdministratorsURL) WithBasePath ¶ added in v0.19.2

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 SetTenantLogs ¶ added in v0.13.3

type SetTenantLogs struct {
	Context *middleware.Context
	Handler SetTenantLogsHandler
}
SetTenantLogs swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/log OperatorAPI setTenantLogs

Set Tenant Logs

func NewSetTenantLogs ¶ added in v0.13.3

func NewSetTenantLogs(ctx *middleware.Context, handler SetTenantLogsHandler) *SetTenantLogs

NewSetTenantLogs creates a new http.Handler for the set tenant logs operation

func (*SetTenantLogs) ServeHTTP ¶ added in v0.13.3

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

type SetTenantLogsDefault ¶ added in v0.13.3

type SetTenantLogsDefault struct {

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

SetTenantLogsDefault Generic error response.

swagger:response setTenantLogsDefault

func NewSetTenantLogsDefault ¶ added in v0.13.3

func NewSetTenantLogsDefault(code int) *SetTenantLogsDefault

NewSetTenantLogsDefault creates SetTenantLogsDefault with default headers values

func (*SetTenantLogsDefault) SetPayload ¶ added in v0.13.3

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

SetPayload sets the payload to the set tenant logs default response

func (*SetTenantLogsDefault) SetStatusCode ¶ added in v0.13.3

func (o *SetTenantLogsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set tenant logs default response

func (*SetTenantLogsDefault) WithPayload ¶ added in v0.13.3

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

WithPayload adds the payload to the set tenant logs default response

func (*SetTenantLogsDefault) WithStatusCode ¶ added in v0.13.3

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

WithStatusCode adds the status to the set tenant logs default response

func (*SetTenantLogsDefault) WriteResponse ¶ added in v0.13.3

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

WriteResponse to the client

type SetTenantLogsHandler ¶ added in v0.13.3

type SetTenantLogsHandler interface {
	Handle(SetTenantLogsParams, *models.Principal) middleware.Responder
}

SetTenantLogsHandler interface for that can handle valid set tenant logs params

type SetTenantLogsHandlerFunc ¶ added in v0.13.3

type SetTenantLogsHandlerFunc func(SetTenantLogsParams, *models.Principal) middleware.Responder

SetTenantLogsHandlerFunc turns a function with the right signature into a set tenant logs handler

func (SetTenantLogsHandlerFunc) Handle ¶ added in v0.13.3

Handle executing the request and returning a response

type SetTenantLogsOK ¶ added in v0.13.3

type SetTenantLogsOK struct {

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

SetTenantLogsOK A successful response.

swagger:response setTenantLogsOK

func NewSetTenantLogsOK ¶ added in v0.13.3

func NewSetTenantLogsOK() *SetTenantLogsOK

NewSetTenantLogsOK creates SetTenantLogsOK with default headers values

func (*SetTenantLogsOK) SetPayload ¶ added in v0.13.3

func (o *SetTenantLogsOK) SetPayload(payload bool)

SetPayload sets the payload to the set tenant logs o k response

func (*SetTenantLogsOK) WithPayload ¶ added in v0.13.3

func (o *SetTenantLogsOK) WithPayload(payload bool) *SetTenantLogsOK

WithPayload adds the payload to the set tenant logs o k response

func (*SetTenantLogsOK) WriteResponse ¶ added in v0.13.3

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

WriteResponse to the client

type SetTenantLogsParams ¶ added in v0.13.3

type SetTenantLogsParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Data *models.TenantLogs
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

SetTenantLogsParams contains all the bound params for the set tenant logs operation typically these are obtained from a http.Request

swagger:parameters SetTenantLogs

func NewSetTenantLogsParams ¶ added in v0.13.3

func NewSetTenantLogsParams() SetTenantLogsParams

NewSetTenantLogsParams creates a new SetTenantLogsParams object

There are no default values defined in the spec.

func (*SetTenantLogsParams) BindRequest ¶ added in v0.13.3

func (o *SetTenantLogsParams) 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 NewSetTenantLogsParams() beforehand.

type SetTenantLogsURL ¶ added in v0.13.3

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

SetTenantLogsURL generates an URL for the set tenant logs operation

func (*SetTenantLogsURL) Build ¶ added in v0.13.3

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

Build a url path and query string

func (*SetTenantLogsURL) BuildFull ¶ added in v0.13.3

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

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

func (*SetTenantLogsURL) Must ¶ added in v0.13.3

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

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

func (*SetTenantLogsURL) SetBasePath ¶ added in v0.13.3

func (o *SetTenantLogsURL) 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 (*SetTenantLogsURL) String ¶ added in v0.13.3

func (o *SetTenantLogsURL) String() string

String returns the string representation of the path with query string

func (*SetTenantLogsURL) StringFull ¶ added in v0.13.3

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

StringFull returns the string representation of a complete url

func (*SetTenantLogsURL) WithBasePath ¶ added in v0.13.3

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

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 SetTenantMonitoring ¶ added in v0.13.2

type SetTenantMonitoring struct {
	Context *middleware.Context
	Handler SetTenantMonitoringHandler
}
SetTenantMonitoring swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/monitoring OperatorAPI setTenantMonitoring

Set Prometheus monitoring fields for tenant

func NewSetTenantMonitoring ¶ added in v0.13.2

func NewSetTenantMonitoring(ctx *middleware.Context, handler SetTenantMonitoringHandler) *SetTenantMonitoring

NewSetTenantMonitoring creates a new http.Handler for the set tenant monitoring operation

func (*SetTenantMonitoring) ServeHTTP ¶ added in v0.13.2

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

type SetTenantMonitoringCreated ¶ added in v0.13.2

type SetTenantMonitoringCreated struct {
}

SetTenantMonitoringCreated A successful response.

swagger:response setTenantMonitoringCreated

func NewSetTenantMonitoringCreated ¶ added in v0.13.2

func NewSetTenantMonitoringCreated() *SetTenantMonitoringCreated

NewSetTenantMonitoringCreated creates SetTenantMonitoringCreated with default headers values

func (*SetTenantMonitoringCreated) WriteResponse ¶ added in v0.13.2

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

WriteResponse to the client

type SetTenantMonitoringDefault ¶ added in v0.13.2

type SetTenantMonitoringDefault struct {

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

SetTenantMonitoringDefault Generic error response.

swagger:response setTenantMonitoringDefault

func NewSetTenantMonitoringDefault ¶ added in v0.13.2

func NewSetTenantMonitoringDefault(code int) *SetTenantMonitoringDefault

NewSetTenantMonitoringDefault creates SetTenantMonitoringDefault with default headers values

func (*SetTenantMonitoringDefault) SetPayload ¶ added in v0.13.2

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

SetPayload sets the payload to the set tenant monitoring default response

func (*SetTenantMonitoringDefault) SetStatusCode ¶ added in v0.13.2

func (o *SetTenantMonitoringDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set tenant monitoring default response

func (*SetTenantMonitoringDefault) WithPayload ¶ added in v0.13.2

WithPayload adds the payload to the set tenant monitoring default response

func (*SetTenantMonitoringDefault) WithStatusCode ¶ added in v0.13.2

WithStatusCode adds the status to the set tenant monitoring default response

func (*SetTenantMonitoringDefault) WriteResponse ¶ added in v0.13.2

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

WriteResponse to the client

type SetTenantMonitoringHandler ¶ added in v0.13.2

type SetTenantMonitoringHandler interface {
	Handle(SetTenantMonitoringParams, *models.Principal) middleware.Responder
}

SetTenantMonitoringHandler interface for that can handle valid set tenant monitoring params

type SetTenantMonitoringHandlerFunc ¶ added in v0.13.2

type SetTenantMonitoringHandlerFunc func(SetTenantMonitoringParams, *models.Principal) middleware.Responder

SetTenantMonitoringHandlerFunc turns a function with the right signature into a set tenant monitoring handler

func (SetTenantMonitoringHandlerFunc) Handle ¶ added in v0.13.2

Handle executing the request and returning a response

type SetTenantMonitoringParams ¶ added in v0.13.2

type SetTenantMonitoringParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Data *models.TenantMonitoringInfo
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

SetTenantMonitoringParams contains all the bound params for the set tenant monitoring operation typically these are obtained from a http.Request

swagger:parameters SetTenantMonitoring

func NewSetTenantMonitoringParams ¶ added in v0.13.2

func NewSetTenantMonitoringParams() SetTenantMonitoringParams

NewSetTenantMonitoringParams creates a new SetTenantMonitoringParams object

There are no default values defined in the spec.

func (*SetTenantMonitoringParams) BindRequest ¶ added in v0.13.2

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

type SetTenantMonitoringURL ¶ added in v0.13.2

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

SetTenantMonitoringURL generates an URL for the set tenant monitoring operation

func (*SetTenantMonitoringURL) Build ¶ added in v0.13.2

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

Build a url path and query string

func (*SetTenantMonitoringURL) BuildFull ¶ added in v0.13.2

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

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

func (*SetTenantMonitoringURL) Must ¶ added in v0.13.2

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

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

func (*SetTenantMonitoringURL) SetBasePath ¶ added in v0.13.2

func (o *SetTenantMonitoringURL) 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 (*SetTenantMonitoringURL) String ¶ added in v0.13.2

func (o *SetTenantMonitoringURL) String() string

String returns the string representation of the path with query string

func (*SetTenantMonitoringURL) StringFull ¶ added in v0.13.2

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

StringFull returns the string representation of a complete url

func (*SetTenantMonitoringURL) WithBasePath ¶ added in v0.13.2

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 TenantConfiguration ¶ added in v0.20.5

type TenantConfiguration struct {
	Context *middleware.Context
	Handler TenantConfigurationHandler
}
TenantConfiguration swagger:route GET /namespaces/{namespace}/tenants/{tenant}/configuration OperatorAPI tenantConfiguration

Tenant Configuration

func NewTenantConfiguration ¶ added in v0.20.5

func NewTenantConfiguration(ctx *middleware.Context, handler TenantConfigurationHandler) *TenantConfiguration

NewTenantConfiguration creates a new http.Handler for the tenant configuration operation

func (*TenantConfiguration) ServeHTTP ¶ added in v0.20.5

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

type TenantConfigurationDefault ¶ added in v0.20.5

type TenantConfigurationDefault struct {

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

TenantConfigurationDefault Generic error response.

swagger:response tenantConfigurationDefault

func NewTenantConfigurationDefault ¶ added in v0.20.5

func NewTenantConfigurationDefault(code int) *TenantConfigurationDefault

NewTenantConfigurationDefault creates TenantConfigurationDefault with default headers values

func (*TenantConfigurationDefault) SetPayload ¶ added in v0.20.5

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

SetPayload sets the payload to the tenant configuration default response

func (*TenantConfigurationDefault) SetStatusCode ¶ added in v0.20.5

func (o *TenantConfigurationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant configuration default response

func (*TenantConfigurationDefault) WithPayload ¶ added in v0.20.5

WithPayload adds the payload to the tenant configuration default response

func (*TenantConfigurationDefault) WithStatusCode ¶ added in v0.20.5

WithStatusCode adds the status to the tenant configuration default response

func (*TenantConfigurationDefault) WriteResponse ¶ added in v0.20.5

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

WriteResponse to the client

type TenantConfigurationHandler ¶ added in v0.20.5

type TenantConfigurationHandler interface {
	Handle(TenantConfigurationParams, *models.Principal) middleware.Responder
}

TenantConfigurationHandler interface for that can handle valid tenant configuration params

type TenantConfigurationHandlerFunc ¶ added in v0.20.5

type TenantConfigurationHandlerFunc func(TenantConfigurationParams, *models.Principal) middleware.Responder

TenantConfigurationHandlerFunc turns a function with the right signature into a tenant configuration handler

func (TenantConfigurationHandlerFunc) Handle ¶ added in v0.20.5

Handle executing the request and returning a response

type TenantConfigurationOK ¶ added in v0.20.5

type TenantConfigurationOK struct {

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

TenantConfigurationOK A successful response.

swagger:response tenantConfigurationOK

func NewTenantConfigurationOK ¶ added in v0.20.5

func NewTenantConfigurationOK() *TenantConfigurationOK

NewTenantConfigurationOK creates TenantConfigurationOK with default headers values

func (*TenantConfigurationOK) SetPayload ¶ added in v0.20.5

SetPayload sets the payload to the tenant configuration o k response

func (*TenantConfigurationOK) WithPayload ¶ added in v0.20.5

WithPayload adds the payload to the tenant configuration o k response

func (*TenantConfigurationOK) WriteResponse ¶ added in v0.20.5

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

WriteResponse to the client

type TenantConfigurationParams ¶ added in v0.20.5

type TenantConfigurationParams struct {

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

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

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

swagger:parameters TenantConfiguration

func NewTenantConfigurationParams ¶ added in v0.20.5

func NewTenantConfigurationParams() TenantConfigurationParams

NewTenantConfigurationParams creates a new TenantConfigurationParams object

There are no default values defined in the spec.

func (*TenantConfigurationParams) BindRequest ¶ added in v0.20.5

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

type TenantConfigurationURL ¶ added in v0.20.5

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

TenantConfigurationURL generates an URL for the tenant configuration operation

func (*TenantConfigurationURL) Build ¶ added in v0.20.5

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

Build a url path and query string

func (*TenantConfigurationURL) BuildFull ¶ added in v0.20.5

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

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

func (*TenantConfigurationURL) Must ¶ added in v0.20.5

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

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

func (*TenantConfigurationURL) SetBasePath ¶ added in v0.20.5

func (o *TenantConfigurationURL) 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 (*TenantConfigurationURL) String ¶ added in v0.20.5

func (o *TenantConfigurationURL) String() string

String returns the string representation of the path with query string

func (*TenantConfigurationURL) StringFull ¶ added in v0.20.5

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

StringFull returns the string representation of a complete url

func (*TenantConfigurationURL) WithBasePath ¶ added in v0.20.5

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 TenantDeleteEncryption ¶ added in v0.15.0

type TenantDeleteEncryption struct {
	Context *middleware.Context
	Handler TenantDeleteEncryptionHandler
}
TenantDeleteEncryption swagger:route DELETE /namespaces/{namespace}/tenants/{tenant}/encryption OperatorAPI tenantDeleteEncryption

Tenant Delete Encryption

func NewTenantDeleteEncryption ¶ added in v0.15.0

func NewTenantDeleteEncryption(ctx *middleware.Context, handler TenantDeleteEncryptionHandler) *TenantDeleteEncryption

NewTenantDeleteEncryption creates a new http.Handler for the tenant delete encryption operation

func (*TenantDeleteEncryption) ServeHTTP ¶ added in v0.15.0

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

type TenantDeleteEncryptionDefault ¶ added in v0.15.0

type TenantDeleteEncryptionDefault struct {

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

TenantDeleteEncryptionDefault Generic error response.

swagger:response tenantDeleteEncryptionDefault

func NewTenantDeleteEncryptionDefault ¶ added in v0.15.0

func NewTenantDeleteEncryptionDefault(code int) *TenantDeleteEncryptionDefault

NewTenantDeleteEncryptionDefault creates TenantDeleteEncryptionDefault with default headers values

func (*TenantDeleteEncryptionDefault) SetPayload ¶ added in v0.15.0

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

SetPayload sets the payload to the tenant delete encryption default response

func (*TenantDeleteEncryptionDefault) SetStatusCode ¶ added in v0.15.0

func (o *TenantDeleteEncryptionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant delete encryption default response

func (*TenantDeleteEncryptionDefault) WithPayload ¶ added in v0.15.0

WithPayload adds the payload to the tenant delete encryption default response

func (*TenantDeleteEncryptionDefault) WithStatusCode ¶ added in v0.15.0

WithStatusCode adds the status to the tenant delete encryption default response

func (*TenantDeleteEncryptionDefault) WriteResponse ¶ added in v0.15.0

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

WriteResponse to the client

type TenantDeleteEncryptionHandler ¶ added in v0.15.0

type TenantDeleteEncryptionHandler interface {
	Handle(TenantDeleteEncryptionParams, *models.Principal) middleware.Responder
}

TenantDeleteEncryptionHandler interface for that can handle valid tenant delete encryption params

type TenantDeleteEncryptionHandlerFunc ¶ added in v0.15.0

type TenantDeleteEncryptionHandlerFunc func(TenantDeleteEncryptionParams, *models.Principal) middleware.Responder

TenantDeleteEncryptionHandlerFunc turns a function with the right signature into a tenant delete encryption handler

func (TenantDeleteEncryptionHandlerFunc) Handle ¶ added in v0.15.0

Handle executing the request and returning a response

type TenantDeleteEncryptionNoContent ¶ added in v0.15.0

type TenantDeleteEncryptionNoContent struct {
}

TenantDeleteEncryptionNoContent A successful response.

swagger:response tenantDeleteEncryptionNoContent

func NewTenantDeleteEncryptionNoContent ¶ added in v0.15.0

func NewTenantDeleteEncryptionNoContent() *TenantDeleteEncryptionNoContent

NewTenantDeleteEncryptionNoContent creates TenantDeleteEncryptionNoContent with default headers values

func (*TenantDeleteEncryptionNoContent) WriteResponse ¶ added in v0.15.0

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

WriteResponse to the client

type TenantDeleteEncryptionParams ¶ added in v0.15.0

type TenantDeleteEncryptionParams struct {

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

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

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

swagger:parameters TenantDeleteEncryption

func NewTenantDeleteEncryptionParams ¶ added in v0.15.0

func NewTenantDeleteEncryptionParams() TenantDeleteEncryptionParams

NewTenantDeleteEncryptionParams creates a new TenantDeleteEncryptionParams object

There are no default values defined in the spec.

func (*TenantDeleteEncryptionParams) BindRequest ¶ added in v0.15.0

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

type TenantDeleteEncryptionURL ¶ added in v0.15.0

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

TenantDeleteEncryptionURL generates an URL for the tenant delete encryption operation

func (*TenantDeleteEncryptionURL) Build ¶ added in v0.15.0

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

Build a url path and query string

func (*TenantDeleteEncryptionURL) BuildFull ¶ added in v0.15.0

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

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

func (*TenantDeleteEncryptionURL) Must ¶ added in v0.15.0

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

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

func (*TenantDeleteEncryptionURL) SetBasePath ¶ added in v0.15.0

func (o *TenantDeleteEncryptionURL) 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 (*TenantDeleteEncryptionURL) String ¶ added in v0.15.0

func (o *TenantDeleteEncryptionURL) String() string

String returns the string representation of the path with query string

func (*TenantDeleteEncryptionURL) StringFull ¶ added in v0.15.0

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

StringFull returns the string representation of a complete url

func (*TenantDeleteEncryptionURL) WithBasePath ¶ added in v0.15.0

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 TenantEncryptionInfo ¶ added in v0.15.0

type TenantEncryptionInfo struct {
	Context *middleware.Context
	Handler TenantEncryptionInfoHandler
}
TenantEncryptionInfo swagger:route GET /namespaces/{namespace}/tenants/{tenant}/encryption OperatorAPI tenantEncryptionInfo

Tenant Encryption Info

func NewTenantEncryptionInfo ¶ added in v0.15.0

func NewTenantEncryptionInfo(ctx *middleware.Context, handler TenantEncryptionInfoHandler) *TenantEncryptionInfo

NewTenantEncryptionInfo creates a new http.Handler for the tenant encryption info operation

func (*TenantEncryptionInfo) ServeHTTP ¶ added in v0.15.0

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

type TenantEncryptionInfoDefault ¶ added in v0.15.0

type TenantEncryptionInfoDefault struct {

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

TenantEncryptionInfoDefault Generic error response.

swagger:response tenantEncryptionInfoDefault

func NewTenantEncryptionInfoDefault ¶ added in v0.15.0

func NewTenantEncryptionInfoDefault(code int) *TenantEncryptionInfoDefault

NewTenantEncryptionInfoDefault creates TenantEncryptionInfoDefault with default headers values

func (*TenantEncryptionInfoDefault) SetPayload ¶ added in v0.15.0

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

SetPayload sets the payload to the tenant encryption info default response

func (*TenantEncryptionInfoDefault) SetStatusCode ¶ added in v0.15.0

func (o *TenantEncryptionInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant encryption info default response

func (*TenantEncryptionInfoDefault) WithPayload ¶ added in v0.15.0

WithPayload adds the payload to the tenant encryption info default response

func (*TenantEncryptionInfoDefault) WithStatusCode ¶ added in v0.15.0

WithStatusCode adds the status to the tenant encryption info default response

func (*TenantEncryptionInfoDefault) WriteResponse ¶ added in v0.15.0

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

WriteResponse to the client

type TenantEncryptionInfoHandler ¶ added in v0.15.0

type TenantEncryptionInfoHandler interface {
	Handle(TenantEncryptionInfoParams, *models.Principal) middleware.Responder
}

TenantEncryptionInfoHandler interface for that can handle valid tenant encryption info params

type TenantEncryptionInfoHandlerFunc ¶ added in v0.15.0

type TenantEncryptionInfoHandlerFunc func(TenantEncryptionInfoParams, *models.Principal) middleware.Responder

TenantEncryptionInfoHandlerFunc turns a function with the right signature into a tenant encryption info handler

func (TenantEncryptionInfoHandlerFunc) Handle ¶ added in v0.15.0

Handle executing the request and returning a response

type TenantEncryptionInfoOK ¶ added in v0.15.0

type TenantEncryptionInfoOK struct {

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

TenantEncryptionInfoOK A successful response.

swagger:response tenantEncryptionInfoOK

func NewTenantEncryptionInfoOK ¶ added in v0.15.0

func NewTenantEncryptionInfoOK() *TenantEncryptionInfoOK

NewTenantEncryptionInfoOK creates TenantEncryptionInfoOK with default headers values

func (*TenantEncryptionInfoOK) SetPayload ¶ added in v0.15.0

SetPayload sets the payload to the tenant encryption info o k response

func (*TenantEncryptionInfoOK) WithPayload ¶ added in v0.15.0

WithPayload adds the payload to the tenant encryption info o k response

func (*TenantEncryptionInfoOK) WriteResponse ¶ added in v0.15.0

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

WriteResponse to the client

type TenantEncryptionInfoParams ¶ added in v0.15.0

type TenantEncryptionInfoParams struct {

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

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

TenantEncryptionInfoParams contains all the bound params for the tenant encryption info operation typically these are obtained from a http.Request

swagger:parameters TenantEncryptionInfo

func NewTenantEncryptionInfoParams ¶ added in v0.15.0

func NewTenantEncryptionInfoParams() TenantEncryptionInfoParams

NewTenantEncryptionInfoParams creates a new TenantEncryptionInfoParams object

There are no default values defined in the spec.

func (*TenantEncryptionInfoParams) BindRequest ¶ added in v0.15.0

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

type TenantEncryptionInfoURL ¶ added in v0.15.0

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

TenantEncryptionInfoURL generates an URL for the tenant encryption info operation

func (*TenantEncryptionInfoURL) Build ¶ added in v0.15.0

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

Build a url path and query string

func (*TenantEncryptionInfoURL) BuildFull ¶ added in v0.15.0

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

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

func (*TenantEncryptionInfoURL) Must ¶ added in v0.15.0

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

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

func (*TenantEncryptionInfoURL) SetBasePath ¶ added in v0.15.0

func (o *TenantEncryptionInfoURL) 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 (*TenantEncryptionInfoURL) String ¶ added in v0.15.0

func (o *TenantEncryptionInfoURL) String() string

String returns the string representation of the path with query string

func (*TenantEncryptionInfoURL) StringFull ¶ added in v0.15.0

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

StringFull returns the string representation of a complete url

func (*TenantEncryptionInfoURL) WithBasePath ¶ added in v0.15.0

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 TenantIdentityProvider ¶ added in v0.15.10

type TenantIdentityProvider struct {
	Context *middleware.Context
	Handler TenantIdentityProviderHandler
}
TenantIdentityProvider swagger:route GET /namespaces/{namespace}/tenants/{tenant}/identity-provider OperatorAPI tenantIdentityProvider

Tenant Identity Provider

func NewTenantIdentityProvider ¶ added in v0.15.10

func NewTenantIdentityProvider(ctx *middleware.Context, handler TenantIdentityProviderHandler) *TenantIdentityProvider

NewTenantIdentityProvider creates a new http.Handler for the tenant identity provider operation

func (*TenantIdentityProvider) ServeHTTP ¶ added in v0.15.10

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

type TenantIdentityProviderDefault ¶ added in v0.15.10

type TenantIdentityProviderDefault struct {

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

TenantIdentityProviderDefault Generic error response.

swagger:response tenantIdentityProviderDefault

func NewTenantIdentityProviderDefault ¶ added in v0.15.10

func NewTenantIdentityProviderDefault(code int) *TenantIdentityProviderDefault

NewTenantIdentityProviderDefault creates TenantIdentityProviderDefault with default headers values

func (*TenantIdentityProviderDefault) SetPayload ¶ added in v0.15.10

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

SetPayload sets the payload to the tenant identity provider default response

func (*TenantIdentityProviderDefault) SetStatusCode ¶ added in v0.15.10

func (o *TenantIdentityProviderDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant identity provider default response

func (*TenantIdentityProviderDefault) WithPayload ¶ added in v0.15.10

WithPayload adds the payload to the tenant identity provider default response

func (*TenantIdentityProviderDefault) WithStatusCode ¶ added in v0.15.10

WithStatusCode adds the status to the tenant identity provider default response

func (*TenantIdentityProviderDefault) WriteResponse ¶ added in v0.15.10

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

WriteResponse to the client

type TenantIdentityProviderHandler ¶ added in v0.15.10

type TenantIdentityProviderHandler interface {
	Handle(TenantIdentityProviderParams, *models.Principal) middleware.Responder
}

TenantIdentityProviderHandler interface for that can handle valid tenant identity provider params

type TenantIdentityProviderHandlerFunc ¶ added in v0.15.10

type TenantIdentityProviderHandlerFunc func(TenantIdentityProviderParams, *models.Principal) middleware.Responder

TenantIdentityProviderHandlerFunc turns a function with the right signature into a tenant identity provider handler

func (TenantIdentityProviderHandlerFunc) Handle ¶ added in v0.15.10

Handle executing the request and returning a response

type TenantIdentityProviderOK ¶ added in v0.15.10

type TenantIdentityProviderOK struct {

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

TenantIdentityProviderOK A successful response.

swagger:response tenantIdentityProviderOK

func NewTenantIdentityProviderOK ¶ added in v0.15.10

func NewTenantIdentityProviderOK() *TenantIdentityProviderOK

NewTenantIdentityProviderOK creates TenantIdentityProviderOK with default headers values

func (*TenantIdentityProviderOK) SetPayload ¶ added in v0.15.10

func (o *TenantIdentityProviderOK) SetPayload(payload *models.IdpConfiguration)

SetPayload sets the payload to the tenant identity provider o k response

func (*TenantIdentityProviderOK) WithPayload ¶ added in v0.15.10

WithPayload adds the payload to the tenant identity provider o k response

func (*TenantIdentityProviderOK) WriteResponse ¶ added in v0.15.10

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

WriteResponse to the client

type TenantIdentityProviderParams ¶ added in v0.15.10

type TenantIdentityProviderParams struct {

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

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

TenantIdentityProviderParams contains all the bound params for the tenant identity provider operation typically these are obtained from a http.Request

swagger:parameters TenantIdentityProvider

func NewTenantIdentityProviderParams ¶ added in v0.15.10

func NewTenantIdentityProviderParams() TenantIdentityProviderParams

NewTenantIdentityProviderParams creates a new TenantIdentityProviderParams object

There are no default values defined in the spec.

func (*TenantIdentityProviderParams) BindRequest ¶ added in v0.15.10

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

type TenantIdentityProviderURL ¶ added in v0.15.10

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

TenantIdentityProviderURL generates an URL for the tenant identity provider operation

func (*TenantIdentityProviderURL) Build ¶ added in v0.15.10

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

Build a url path and query string

func (*TenantIdentityProviderURL) BuildFull ¶ added in v0.15.10

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

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

func (*TenantIdentityProviderURL) Must ¶ added in v0.15.10

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

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

func (*TenantIdentityProviderURL) SetBasePath ¶ added in v0.15.10

func (o *TenantIdentityProviderURL) 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 (*TenantIdentityProviderURL) String ¶ added in v0.15.10

func (o *TenantIdentityProviderURL) String() string

String returns the string representation of the path with query string

func (*TenantIdentityProviderURL) StringFull ¶ added in v0.15.10

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

StringFull returns the string representation of a complete url

func (*TenantIdentityProviderURL) WithBasePath ¶ added in v0.15.10

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 UpdateTenantConfiguration ¶ added in v0.20.5

type UpdateTenantConfiguration struct {
	Context *middleware.Context
	Handler UpdateTenantConfigurationHandler
}
UpdateTenantConfiguration swagger:route PATCH /namespaces/{namespace}/tenants/{tenant}/configuration OperatorAPI updateTenantConfiguration

Update Tenant Configuration

func NewUpdateTenantConfiguration ¶ added in v0.20.5

func NewUpdateTenantConfiguration(ctx *middleware.Context, handler UpdateTenantConfigurationHandler) *UpdateTenantConfiguration

NewUpdateTenantConfiguration creates a new http.Handler for the update tenant configuration operation

func (*UpdateTenantConfiguration) ServeHTTP ¶ added in v0.20.5

type UpdateTenantConfigurationDefault ¶ added in v0.20.5

type UpdateTenantConfigurationDefault struct {

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

UpdateTenantConfigurationDefault Generic error response.

swagger:response updateTenantConfigurationDefault

func NewUpdateTenantConfigurationDefault ¶ added in v0.20.5

func NewUpdateTenantConfigurationDefault(code int) *UpdateTenantConfigurationDefault

NewUpdateTenantConfigurationDefault creates UpdateTenantConfigurationDefault with default headers values

func (*UpdateTenantConfigurationDefault) SetPayload ¶ added in v0.20.5

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

SetPayload sets the payload to the update tenant configuration default response

func (*UpdateTenantConfigurationDefault) SetStatusCode ¶ added in v0.20.5

func (o *UpdateTenantConfigurationDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update tenant configuration default response

func (*UpdateTenantConfigurationDefault) WithPayload ¶ added in v0.20.5

WithPayload adds the payload to the update tenant configuration default response

func (*UpdateTenantConfigurationDefault) WithStatusCode ¶ added in v0.20.5

WithStatusCode adds the status to the update tenant configuration default response

func (*UpdateTenantConfigurationDefault) WriteResponse ¶ added in v0.20.5

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

WriteResponse to the client

type UpdateTenantConfigurationHandler ¶ added in v0.20.5

type UpdateTenantConfigurationHandler interface {
	Handle(UpdateTenantConfigurationParams, *models.Principal) middleware.Responder
}

UpdateTenantConfigurationHandler interface for that can handle valid update tenant configuration params

type UpdateTenantConfigurationHandlerFunc ¶ added in v0.20.5

type UpdateTenantConfigurationHandlerFunc func(UpdateTenantConfigurationParams, *models.Principal) middleware.Responder

UpdateTenantConfigurationHandlerFunc turns a function with the right signature into a update tenant configuration handler

func (UpdateTenantConfigurationHandlerFunc) Handle ¶ added in v0.20.5

Handle executing the request and returning a response

type UpdateTenantConfigurationNoContent ¶ added in v0.20.5

type UpdateTenantConfigurationNoContent struct {
}

UpdateTenantConfigurationNoContent A successful response.

swagger:response updateTenantConfigurationNoContent

func NewUpdateTenantConfigurationNoContent ¶ added in v0.20.5

func NewUpdateTenantConfigurationNoContent() *UpdateTenantConfigurationNoContent

NewUpdateTenantConfigurationNoContent creates UpdateTenantConfigurationNoContent with default headers values

func (*UpdateTenantConfigurationNoContent) WriteResponse ¶ added in v0.20.5

WriteResponse to the client

type UpdateTenantConfigurationParams ¶ added in v0.20.5

type UpdateTenantConfigurationParams struct {

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

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

UpdateTenantConfigurationParams contains all the bound params for the update tenant configuration operation typically these are obtained from a http.Request

swagger:parameters UpdateTenantConfiguration

func NewUpdateTenantConfigurationParams ¶ added in v0.20.5

func NewUpdateTenantConfigurationParams() UpdateTenantConfigurationParams

NewUpdateTenantConfigurationParams creates a new UpdateTenantConfigurationParams object

There are no default values defined in the spec.

func (*UpdateTenantConfigurationParams) BindRequest ¶ added in v0.20.5

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

type UpdateTenantConfigurationURL ¶ added in v0.20.5

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

UpdateTenantConfigurationURL generates an URL for the update tenant configuration operation

func (*UpdateTenantConfigurationURL) Build ¶ added in v0.20.5

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

Build a url path and query string

func (*UpdateTenantConfigurationURL) BuildFull ¶ added in v0.20.5

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

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

func (*UpdateTenantConfigurationURL) Must ¶ added in v0.20.5

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

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

func (*UpdateTenantConfigurationURL) SetBasePath ¶ added in v0.20.5

func (o *UpdateTenantConfigurationURL) 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 (*UpdateTenantConfigurationURL) String ¶ added in v0.20.5

String returns the string representation of the path with query string

func (*UpdateTenantConfigurationURL) StringFull ¶ added in v0.20.5

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

StringFull returns the string representation of a complete url

func (*UpdateTenantConfigurationURL) WithBasePath ¶ added in v0.20.5

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 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 UpdateTenantDomains ¶ added in v0.16.0

type UpdateTenantDomains struct {
	Context *middleware.Context
	Handler UpdateTenantDomainsHandler
}
UpdateTenantDomains swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/domains OperatorAPI updateTenantDomains

Update Domains for a Tenant

func NewUpdateTenantDomains ¶ added in v0.16.0

func NewUpdateTenantDomains(ctx *middleware.Context, handler UpdateTenantDomainsHandler) *UpdateTenantDomains

NewUpdateTenantDomains creates a new http.Handler for the update tenant domains operation

func (*UpdateTenantDomains) ServeHTTP ¶ added in v0.16.0

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

type UpdateTenantDomainsDefault ¶ added in v0.16.0

type UpdateTenantDomainsDefault struct {

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

UpdateTenantDomainsDefault Generic error response.

swagger:response updateTenantDomainsDefault

func NewUpdateTenantDomainsDefault ¶ added in v0.16.0

func NewUpdateTenantDomainsDefault(code int) *UpdateTenantDomainsDefault

NewUpdateTenantDomainsDefault creates UpdateTenantDomainsDefault with default headers values

func (*UpdateTenantDomainsDefault) SetPayload ¶ added in v0.16.0

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

SetPayload sets the payload to the update tenant domains default response

func (*UpdateTenantDomainsDefault) SetStatusCode ¶ added in v0.16.0

func (o *UpdateTenantDomainsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update tenant domains default response

func (*UpdateTenantDomainsDefault) WithPayload ¶ added in v0.16.0

WithPayload adds the payload to the update tenant domains default response

func (*UpdateTenantDomainsDefault) WithStatusCode ¶ added in v0.16.0

WithStatusCode adds the status to the update tenant domains default response

func (*UpdateTenantDomainsDefault) WriteResponse ¶ added in v0.16.0

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

WriteResponse to the client

type UpdateTenantDomainsHandler ¶ added in v0.16.0

type UpdateTenantDomainsHandler interface {
	Handle(UpdateTenantDomainsParams, *models.Principal) middleware.Responder
}

UpdateTenantDomainsHandler interface for that can handle valid update tenant domains params

type UpdateTenantDomainsHandlerFunc ¶ added in v0.16.0

type UpdateTenantDomainsHandlerFunc func(UpdateTenantDomainsParams, *models.Principal) middleware.Responder

UpdateTenantDomainsHandlerFunc turns a function with the right signature into a update tenant domains handler

func (UpdateTenantDomainsHandlerFunc) Handle ¶ added in v0.16.0

Handle executing the request and returning a response

type UpdateTenantDomainsNoContent ¶ added in v0.16.0

type UpdateTenantDomainsNoContent struct {
}

UpdateTenantDomainsNoContent A successful response.

swagger:response updateTenantDomainsNoContent

func NewUpdateTenantDomainsNoContent ¶ added in v0.16.0

func NewUpdateTenantDomainsNoContent() *UpdateTenantDomainsNoContent

NewUpdateTenantDomainsNoContent creates UpdateTenantDomainsNoContent with default headers values

func (*UpdateTenantDomainsNoContent) WriteResponse ¶ added in v0.16.0

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

WriteResponse to the client

type UpdateTenantDomainsParams ¶ added in v0.16.0

type UpdateTenantDomainsParams struct {

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

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

UpdateTenantDomainsParams contains all the bound params for the update tenant domains operation typically these are obtained from a http.Request

swagger:parameters UpdateTenantDomains

func NewUpdateTenantDomainsParams ¶ added in v0.16.0

func NewUpdateTenantDomainsParams() UpdateTenantDomainsParams

NewUpdateTenantDomainsParams creates a new UpdateTenantDomainsParams object

There are no default values defined in the spec.

func (*UpdateTenantDomainsParams) BindRequest ¶ added in v0.16.0

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

type UpdateTenantDomainsURL ¶ added in v0.16.0

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

UpdateTenantDomainsURL generates an URL for the update tenant domains operation

func (*UpdateTenantDomainsURL) Build ¶ added in v0.16.0

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

Build a url path and query string

func (*UpdateTenantDomainsURL) BuildFull ¶ added in v0.16.0

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

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

func (*UpdateTenantDomainsURL) Must ¶ added in v0.16.0

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

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

func (*UpdateTenantDomainsURL) SetBasePath ¶ added in v0.16.0

func (o *UpdateTenantDomainsURL) 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 (*UpdateTenantDomainsURL) String ¶ added in v0.16.0

func (o *UpdateTenantDomainsURL) String() string

String returns the string representation of the path with query string

func (*UpdateTenantDomainsURL) StringFull ¶ added in v0.16.0

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

StringFull returns the string representation of a complete url

func (*UpdateTenantDomainsURL) WithBasePath ¶ added in v0.16.0

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 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 UpdateTenantIdentityProvider ¶ added in v0.15.10

type UpdateTenantIdentityProvider struct {
	Context *middleware.Context
	Handler UpdateTenantIdentityProviderHandler
}
UpdateTenantIdentityProvider swagger:route POST /namespaces/{namespace}/tenants/{tenant}/identity-provider OperatorAPI updateTenantIdentityProvider

Update Tenant Identity Provider

func NewUpdateTenantIdentityProvider ¶ added in v0.15.10

func NewUpdateTenantIdentityProvider(ctx *middleware.Context, handler UpdateTenantIdentityProviderHandler) *UpdateTenantIdentityProvider

NewUpdateTenantIdentityProvider creates a new http.Handler for the update tenant identity provider operation

func (*UpdateTenantIdentityProvider) ServeHTTP ¶ added in v0.15.10

type UpdateTenantIdentityProviderDefault ¶ added in v0.15.10

type UpdateTenantIdentityProviderDefault struct {

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

UpdateTenantIdentityProviderDefault Generic error response.

swagger:response updateTenantIdentityProviderDefault

func NewUpdateTenantIdentityProviderDefault ¶ added in v0.15.10

func NewUpdateTenantIdentityProviderDefault(code int) *UpdateTenantIdentityProviderDefault

NewUpdateTenantIdentityProviderDefault creates UpdateTenantIdentityProviderDefault with default headers values

func (*UpdateTenantIdentityProviderDefault) SetPayload ¶ added in v0.15.10

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

SetPayload sets the payload to the update tenant identity provider default response

func (*UpdateTenantIdentityProviderDefault) SetStatusCode ¶ added in v0.15.10

func (o *UpdateTenantIdentityProviderDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update tenant identity provider default response

func (*UpdateTenantIdentityProviderDefault) WithPayload ¶ added in v0.15.10

WithPayload adds the payload to the update tenant identity provider default response

func (*UpdateTenantIdentityProviderDefault) WithStatusCode ¶ added in v0.15.10

WithStatusCode adds the status to the update tenant identity provider default response

func (*UpdateTenantIdentityProviderDefault) WriteResponse ¶ added in v0.15.10

WriteResponse to the client

type UpdateTenantIdentityProviderHandler ¶ added in v0.15.10

type UpdateTenantIdentityProviderHandler interface {
	Handle(UpdateTenantIdentityProviderParams, *models.Principal) middleware.Responder
}

UpdateTenantIdentityProviderHandler interface for that can handle valid update tenant identity provider params

type UpdateTenantIdentityProviderHandlerFunc ¶ added in v0.15.10

type UpdateTenantIdentityProviderHandlerFunc func(UpdateTenantIdentityProviderParams, *models.Principal) middleware.Responder

UpdateTenantIdentityProviderHandlerFunc turns a function with the right signature into a update tenant identity provider handler

func (UpdateTenantIdentityProviderHandlerFunc) Handle ¶ added in v0.15.10

Handle executing the request and returning a response

type UpdateTenantIdentityProviderNoContent ¶ added in v0.15.10

type UpdateTenantIdentityProviderNoContent struct {
}

UpdateTenantIdentityProviderNoContent A successful response.

swagger:response updateTenantIdentityProviderNoContent

func NewUpdateTenantIdentityProviderNoContent ¶ added in v0.15.10

func NewUpdateTenantIdentityProviderNoContent() *UpdateTenantIdentityProviderNoContent

NewUpdateTenantIdentityProviderNoContent creates UpdateTenantIdentityProviderNoContent with default headers values

func (*UpdateTenantIdentityProviderNoContent) WriteResponse ¶ added in v0.15.10

WriteResponse to the client

type UpdateTenantIdentityProviderParams ¶ added in v0.15.10

type UpdateTenantIdentityProviderParams struct {

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

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

UpdateTenantIdentityProviderParams contains all the bound params for the update tenant identity provider operation typically these are obtained from a http.Request

swagger:parameters UpdateTenantIdentityProvider

func NewUpdateTenantIdentityProviderParams ¶ added in v0.15.10

func NewUpdateTenantIdentityProviderParams() UpdateTenantIdentityProviderParams

NewUpdateTenantIdentityProviderParams creates a new UpdateTenantIdentityProviderParams object

There are no default values defined in the spec.

func (*UpdateTenantIdentityProviderParams) BindRequest ¶ added in v0.15.10

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

type UpdateTenantIdentityProviderURL ¶ added in v0.15.10

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

UpdateTenantIdentityProviderURL generates an URL for the update tenant identity provider operation

func (*UpdateTenantIdentityProviderURL) Build ¶ added in v0.15.10

Build a url path and query string

func (*UpdateTenantIdentityProviderURL) BuildFull ¶ added in v0.15.10

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

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

func (*UpdateTenantIdentityProviderURL) Must ¶ added in v0.15.10

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

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

func (*UpdateTenantIdentityProviderURL) SetBasePath ¶ added in v0.15.10

func (o *UpdateTenantIdentityProviderURL) 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 (*UpdateTenantIdentityProviderURL) String ¶ added in v0.15.10

String returns the string representation of the path with query string

func (*UpdateTenantIdentityProviderURL) StringFull ¶ added in v0.15.10

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

StringFull returns the string representation of a complete url

func (*UpdateTenantIdentityProviderURL) WithBasePath ¶ added in v0.15.10

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 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