admin_api

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

View Source
const AddGroupCreatedCode int = 201

AddGroupCreatedCode is the HTTP code returned for type AddGroupCreated

View Source
const AddNotificationEndpointCreatedCode int = 201

AddNotificationEndpointCreatedCode is the HTTP code returned for type AddNotificationEndpointCreated

View Source
const AddPolicyCreatedCode int = 201

AddPolicyCreatedCode is the HTTP code returned for type AddPolicyCreated

View Source
const AddTierCreatedCode int = 201

AddTierCreatedCode is the HTTP code returned for type AddTierCreated

View Source
const AddUserCreatedCode int = 201

AddUserCreatedCode is the HTTP code returned for type AddUserCreated

View Source
const AdminInfoOKCode int = 200

AdminInfoOKCode is the HTTP code returned for type AdminInfoOK

View Source
const ArnListOKCode int = 200

ArnListOKCode is the HTTP code returned for type ArnListOK

View Source
const BulkUpdateUsersGroupsOKCode int = 200

BulkUpdateUsersGroupsOKCode is the HTTP code returned for type BulkUpdateUsersGroupsOK

View Source
const ConfigInfoOKCode int = 200

ConfigInfoOKCode is the HTTP code returned for type ConfigInfoOK

View Source
const CreateTenantOKCode int = 200

CreateTenantOKCode is the HTTP code returned for type CreateTenantOK

View Source
const DashboardWidgetDetailsOKCode int = 200

DashboardWidgetDetailsOKCode is the HTTP code returned for type DashboardWidgetDetailsOK

View Source
const DeleteTenantNoContentCode int = 204

DeleteTenantNoContentCode is the HTTP code returned for type DeleteTenantNoContent

View Source
const DirectCSIFormatDriveOKCode int = 200

DirectCSIFormatDriveOKCode is the HTTP code returned for type DirectCSIFormatDriveOK

View Source
const EditTierCredentialsOKCode int = 200

EditTierCredentialsOKCode is the HTTP code returned for type EditTierCredentialsOK

View Source
const GetDirectCSIDriveListOKCode int = 200

GetDirectCSIDriveListOKCode is the HTTP code returned for type GetDirectCSIDriveListOK

View Source
const GetDirectCSIVolumeListOKCode int = 200

GetDirectCSIVolumeListOKCode is the HTTP code returned for type GetDirectCSIVolumeListOK

View Source
const GetMaxAllocatableMemOKCode int = 200

GetMaxAllocatableMemOKCode is the HTTP code returned for type GetMaxAllocatableMemOK

View Source
const GetParityOKCode int = 200

GetParityOKCode is the HTTP code returned for type GetParityOK

View Source
const GetResourceQuotaOKCode int = 200

GetResourceQuotaOKCode is the HTTP code returned for type GetResourceQuotaOK

View Source
const GetTenantPodsOKCode int = 200

GetTenantPodsOKCode is the HTTP code returned for type GetTenantPodsOK

View Source
const GetTenantUsageOKCode int = 200

GetTenantUsageOKCode is the HTTP code returned for type GetTenantUsageOK

View Source
const GetTenantYAMLOKCode int = 200

GetTenantYAMLOKCode is the HTTP code returned for type GetTenantYAMLOK

View Source
const GetTierOKCode int = 200

GetTierOKCode is the HTTP code returned for type GetTierOK

View Source
const GetUserInfoOKCode int = 200

GetUserInfoOKCode is the HTTP code returned for type GetUserInfoOK

View Source
const GroupInfoOKCode int = 200

GroupInfoOKCode is the HTTP code returned for type GroupInfoOK

View Source
const ListAllTenantsOKCode int = 200

ListAllTenantsOKCode is the HTTP code returned for type ListAllTenantsOK

View Source
const ListConfigOKCode int = 200

ListConfigOKCode is the HTTP code returned for type ListConfigOK

View Source
const ListGroupsOKCode int = 200

ListGroupsOKCode is the HTTP code returned for type ListGroupsOK

View Source
const ListPVCsOKCode int = 200

ListPVCsOKCode is the HTTP code returned for type ListPVCsOK

View Source
const ListPoliciesOKCode int = 200

ListPoliciesOKCode is the HTTP code returned for type ListPoliciesOK

View Source
const ListPoliciesWithBucketOKCode int = 200

ListPoliciesWithBucketOKCode is the HTTP code returned for type ListPoliciesWithBucketOK

View Source
const ListTenantsOKCode int = 200

ListTenantsOKCode is the HTTP code returned for type ListTenantsOK

View Source
const ListUsersForPolicyOKCode int = 200

ListUsersForPolicyOKCode is the HTTP code returned for type ListUsersForPolicyOK

View Source
const ListUsersOKCode int = 200

ListUsersOKCode is the HTTP code returned for type ListUsersOK

View Source
const ListUsersWithAccessToBucketOKCode int = 200

ListUsersWithAccessToBucketOKCode is the HTTP code returned for type ListUsersWithAccessToBucketOK

View Source
const NotificationEndpointListOKCode int = 200

NotificationEndpointListOKCode is the HTTP code returned for type NotificationEndpointListOK

View Source
const PolicyInfoOKCode int = 200

PolicyInfoOKCode is the HTTP code returned for type PolicyInfoOK

View Source
const ProfilingStartCreatedCode int = 201

ProfilingStartCreatedCode is the HTTP code returned for type ProfilingStartCreated

View Source
const ProfilingStopCreatedCode int = 201

ProfilingStopCreatedCode is the HTTP code returned for type ProfilingStopCreated

View Source
const PutTenantYAMLCreatedCode int = 201

PutTenantYAMLCreatedCode is the HTTP code returned for type PutTenantYAMLCreated

View Source
const RemoveGroupNoContentCode int = 204

RemoveGroupNoContentCode is the HTTP code returned for type RemoveGroupNoContent

View Source
const RemovePolicyNoContentCode int = 204

RemovePolicyNoContentCode is the HTTP code returned for type RemovePolicyNoContent

View Source
const RemoveUserNoContentCode int = 204

RemoveUserNoContentCode is the HTTP code returned for type RemoveUserNoContent

View Source
const RestartServiceNoContentCode int = 204

RestartServiceNoContentCode is the HTTP code returned for type RestartServiceNoContent

View Source
const SetConfigOKCode int = 200

SetConfigOKCode is the HTTP code returned for type SetConfigOK

View Source
const SetPolicyMultipleNoContentCode int = 204

SetPolicyMultipleNoContentCode is the HTTP code returned for type SetPolicyMultipleNoContent

View Source
const SetPolicyNoContentCode int = 204

SetPolicyNoContentCode is the HTTP code returned for type SetPolicyNoContent

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

TenantInfoOKCode is the HTTP code returned for type TenantInfoOK

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

TiersListOKCode is the HTTP code returned for type TiersListOK

View Source
const UpdateGroupOKCode int = 200

UpdateGroupOKCode is the HTTP code returned for type UpdateGroupOK

View Source
const UpdateTenantCreatedCode int = 201

UpdateTenantCreatedCode is the HTTP code returned for type UpdateTenantCreated

View Source
const UpdateUserGroupsOKCode int = 200

UpdateUserGroupsOKCode is the HTTP code returned for type UpdateUserGroupsOK

View Source
const UpdateUserInfoOKCode int = 200

UpdateUserInfoOKCode is the HTTP code returned for type UpdateUserInfoOK

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type AddGroup ¶

type AddGroup struct {
	Context *middleware.Context
	Handler AddGroupHandler
}

AddGroup swagger:route POST /groups AdminAPI addGroup

Add Group

func NewAddGroup ¶

func NewAddGroup(ctx *middleware.Context, handler AddGroupHandler) *AddGroup

NewAddGroup creates a new http.Handler for the add group operation

func (*AddGroup) ServeHTTP ¶

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

type AddGroupCreated ¶

type AddGroupCreated struct {
}

AddGroupCreated A successful response.

swagger:response addGroupCreated

func NewAddGroupCreated ¶

func NewAddGroupCreated() *AddGroupCreated

NewAddGroupCreated creates AddGroupCreated with default headers values

func (*AddGroupCreated) WriteResponse ¶

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

WriteResponse to the client

type AddGroupDefault ¶

type AddGroupDefault struct {

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

AddGroupDefault Generic error response.

swagger:response addGroupDefault

func NewAddGroupDefault ¶

func NewAddGroupDefault(code int) *AddGroupDefault

NewAddGroupDefault creates AddGroupDefault with default headers values

func (*AddGroupDefault) SetPayload ¶

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

SetPayload sets the payload to the add group default response

func (*AddGroupDefault) SetStatusCode ¶

func (o *AddGroupDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add group default response

func (*AddGroupDefault) WithPayload ¶

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

WithPayload adds the payload to the add group default response

func (*AddGroupDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the add group default response

func (*AddGroupDefault) WriteResponse ¶

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

WriteResponse to the client

type AddGroupHandler ¶

type AddGroupHandler interface {
	Handle(AddGroupParams, *models.Principal) middleware.Responder
}

AddGroupHandler interface for that can handle valid add group params

type AddGroupHandlerFunc ¶

type AddGroupHandlerFunc func(AddGroupParams, *models.Principal) middleware.Responder

AddGroupHandlerFunc turns a function with the right signature into a add group handler

func (AddGroupHandlerFunc) Handle ¶

Handle executing the request and returning a response

type AddGroupParams ¶

type AddGroupParams struct {

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

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

AddGroupParams contains all the bound params for the add group operation typically these are obtained from a http.Request

swagger:parameters AddGroup

func NewAddGroupParams ¶

func NewAddGroupParams() AddGroupParams

NewAddGroupParams creates a new AddGroupParams object no default values defined in spec.

func (*AddGroupParams) BindRequest ¶

func (o *AddGroupParams) 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 NewAddGroupParams() beforehand.

type AddGroupURL ¶

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

AddGroupURL generates an URL for the add group operation

func (*AddGroupURL) Build ¶

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

Build a url path and query string

func (*AddGroupURL) BuildFull ¶

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

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

func (*AddGroupURL) Must ¶

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

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

func (*AddGroupURL) SetBasePath ¶

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

func (o *AddGroupURL) String() string

String returns the string representation of the path with query string

func (*AddGroupURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*AddGroupURL) WithBasePath ¶

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

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 AddNotificationEndpoint ¶

type AddNotificationEndpoint struct {
	Context *middleware.Context
	Handler AddNotificationEndpointHandler
}

AddNotificationEndpoint swagger:route POST /admin/notification_endpoints AdminAPI addNotificationEndpoint

Allows to configure a new notification endpoint

func NewAddNotificationEndpoint ¶

func NewAddNotificationEndpoint(ctx *middleware.Context, handler AddNotificationEndpointHandler) *AddNotificationEndpoint

NewAddNotificationEndpoint creates a new http.Handler for the add notification endpoint operation

func (*AddNotificationEndpoint) ServeHTTP ¶

type AddNotificationEndpointCreated ¶

type AddNotificationEndpointCreated struct {

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

AddNotificationEndpointCreated A successful response.

swagger:response addNotificationEndpointCreated

func NewAddNotificationEndpointCreated ¶

func NewAddNotificationEndpointCreated() *AddNotificationEndpointCreated

NewAddNotificationEndpointCreated creates AddNotificationEndpointCreated with default headers values

func (*AddNotificationEndpointCreated) SetPayload ¶

SetPayload sets the payload to the add notification endpoint created response

func (*AddNotificationEndpointCreated) WithPayload ¶

WithPayload adds the payload to the add notification endpoint created response

func (*AddNotificationEndpointCreated) WriteResponse ¶

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

WriteResponse to the client

type AddNotificationEndpointDefault ¶

type AddNotificationEndpointDefault struct {

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

AddNotificationEndpointDefault Generic error response.

swagger:response addNotificationEndpointDefault

func NewAddNotificationEndpointDefault ¶

func NewAddNotificationEndpointDefault(code int) *AddNotificationEndpointDefault

NewAddNotificationEndpointDefault creates AddNotificationEndpointDefault with default headers values

func (*AddNotificationEndpointDefault) SetPayload ¶

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

SetPayload sets the payload to the add notification endpoint default response

func (*AddNotificationEndpointDefault) SetStatusCode ¶

func (o *AddNotificationEndpointDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add notification endpoint default response

func (*AddNotificationEndpointDefault) WithPayload ¶

WithPayload adds the payload to the add notification endpoint default response

func (*AddNotificationEndpointDefault) WithStatusCode ¶

WithStatusCode adds the status to the add notification endpoint default response

func (*AddNotificationEndpointDefault) WriteResponse ¶

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

WriteResponse to the client

type AddNotificationEndpointHandler ¶

type AddNotificationEndpointHandler interface {
	Handle(AddNotificationEndpointParams, *models.Principal) middleware.Responder
}

AddNotificationEndpointHandler interface for that can handle valid add notification endpoint params

type AddNotificationEndpointHandlerFunc ¶

type AddNotificationEndpointHandlerFunc func(AddNotificationEndpointParams, *models.Principal) middleware.Responder

AddNotificationEndpointHandlerFunc turns a function with the right signature into a add notification endpoint handler

func (AddNotificationEndpointHandlerFunc) Handle ¶

Handle executing the request and returning a response

type AddNotificationEndpointParams ¶

type AddNotificationEndpointParams struct {

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

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

AddNotificationEndpointParams contains all the bound params for the add notification endpoint operation typically these are obtained from a http.Request

swagger:parameters AddNotificationEndpoint

func NewAddNotificationEndpointParams ¶

func NewAddNotificationEndpointParams() AddNotificationEndpointParams

NewAddNotificationEndpointParams creates a new AddNotificationEndpointParams object no default values defined in spec.

func (*AddNotificationEndpointParams) 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 NewAddNotificationEndpointParams() beforehand.

type AddNotificationEndpointURL ¶

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

AddNotificationEndpointURL generates an URL for the add notification endpoint operation

func (*AddNotificationEndpointURL) Build ¶

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

Build a url path and query string

func (*AddNotificationEndpointURL) BuildFull ¶

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

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

func (*AddNotificationEndpointURL) Must ¶

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

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

func (*AddNotificationEndpointURL) SetBasePath ¶

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

func (o *AddNotificationEndpointURL) String() string

String returns the string representation of the path with query string

func (*AddNotificationEndpointURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*AddNotificationEndpointURL) 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 AddPolicy ¶

type AddPolicy struct {
	Context *middleware.Context
	Handler AddPolicyHandler
}

AddPolicy swagger:route POST /policies AdminAPI addPolicy

Add Policy

func NewAddPolicy ¶

func NewAddPolicy(ctx *middleware.Context, handler AddPolicyHandler) *AddPolicy

NewAddPolicy creates a new http.Handler for the add policy operation

func (*AddPolicy) ServeHTTP ¶

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

type AddPolicyCreated ¶

type AddPolicyCreated struct {

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

AddPolicyCreated A successful response.

swagger:response addPolicyCreated

func NewAddPolicyCreated ¶

func NewAddPolicyCreated() *AddPolicyCreated

NewAddPolicyCreated creates AddPolicyCreated with default headers values

func (*AddPolicyCreated) SetPayload ¶

func (o *AddPolicyCreated) SetPayload(payload *models.Policy)

SetPayload sets the payload to the add policy created response

func (*AddPolicyCreated) WithPayload ¶

func (o *AddPolicyCreated) WithPayload(payload *models.Policy) *AddPolicyCreated

WithPayload adds the payload to the add policy created response

func (*AddPolicyCreated) WriteResponse ¶

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

WriteResponse to the client

type AddPolicyDefault ¶

type AddPolicyDefault struct {

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

AddPolicyDefault Generic error response.

swagger:response addPolicyDefault

func NewAddPolicyDefault ¶

func NewAddPolicyDefault(code int) *AddPolicyDefault

NewAddPolicyDefault creates AddPolicyDefault with default headers values

func (*AddPolicyDefault) SetPayload ¶

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

SetPayload sets the payload to the add policy default response

func (*AddPolicyDefault) SetStatusCode ¶

func (o *AddPolicyDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add policy default response

func (*AddPolicyDefault) WithPayload ¶

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

WithPayload adds the payload to the add policy default response

func (*AddPolicyDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the add policy default response

func (*AddPolicyDefault) WriteResponse ¶

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

WriteResponse to the client

type AddPolicyHandler ¶

type AddPolicyHandler interface {
	Handle(AddPolicyParams, *models.Principal) middleware.Responder
}

AddPolicyHandler interface for that can handle valid add policy params

type AddPolicyHandlerFunc ¶

type AddPolicyHandlerFunc func(AddPolicyParams, *models.Principal) middleware.Responder

AddPolicyHandlerFunc turns a function with the right signature into a add policy handler

func (AddPolicyHandlerFunc) Handle ¶

Handle executing the request and returning a response

type AddPolicyParams ¶

type AddPolicyParams struct {

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

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

AddPolicyParams contains all the bound params for the add policy operation typically these are obtained from a http.Request

swagger:parameters AddPolicy

func NewAddPolicyParams ¶

func NewAddPolicyParams() AddPolicyParams

NewAddPolicyParams creates a new AddPolicyParams object no default values defined in spec.

func (*AddPolicyParams) BindRequest ¶

func (o *AddPolicyParams) 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 NewAddPolicyParams() beforehand.

type AddPolicyURL ¶

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

AddPolicyURL generates an URL for the add policy operation

func (*AddPolicyURL) Build ¶

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

Build a url path and query string

func (*AddPolicyURL) BuildFull ¶

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

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

func (*AddPolicyURL) Must ¶

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

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

func (*AddPolicyURL) SetBasePath ¶

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

func (o *AddPolicyURL) String() string

String returns the string representation of the path with query string

func (*AddPolicyURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*AddPolicyURL) WithBasePath ¶

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

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 AddTier ¶ added in v0.7.0

type AddTier struct {
	Context *middleware.Context
	Handler AddTierHandler
}

AddTier swagger:route POST /admin/tiers AdminAPI addTier

Allows to configure a new tier

func NewAddTier ¶ added in v0.7.0

func NewAddTier(ctx *middleware.Context, handler AddTierHandler) *AddTier

NewAddTier creates a new http.Handler for the add tier operation

func (*AddTier) ServeHTTP ¶ added in v0.7.0

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

type AddTierCreated ¶ added in v0.7.0

type AddTierCreated struct {
}

AddTierCreated A successful response.

swagger:response addTierCreated

func NewAddTierCreated ¶ added in v0.7.0

func NewAddTierCreated() *AddTierCreated

NewAddTierCreated creates AddTierCreated with default headers values

func (*AddTierCreated) WriteResponse ¶ added in v0.7.0

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

WriteResponse to the client

type AddTierDefault ¶ added in v0.7.0

type AddTierDefault struct {

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

AddTierDefault Generic error response.

swagger:response addTierDefault

func NewAddTierDefault ¶ added in v0.7.0

func NewAddTierDefault(code int) *AddTierDefault

NewAddTierDefault creates AddTierDefault with default headers values

func (*AddTierDefault) SetPayload ¶ added in v0.7.0

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

SetPayload sets the payload to the add tier default response

func (*AddTierDefault) SetStatusCode ¶ added in v0.7.0

func (o *AddTierDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add tier default response

func (*AddTierDefault) WithPayload ¶ added in v0.7.0

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

WithPayload adds the payload to the add tier default response

func (*AddTierDefault) WithStatusCode ¶ added in v0.7.0

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

WithStatusCode adds the status to the add tier default response

func (*AddTierDefault) WriteResponse ¶ added in v0.7.0

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

WriteResponse to the client

type AddTierHandler ¶ added in v0.7.0

type AddTierHandler interface {
	Handle(AddTierParams, *models.Principal) middleware.Responder
}

AddTierHandler interface for that can handle valid add tier params

type AddTierHandlerFunc ¶ added in v0.7.0

type AddTierHandlerFunc func(AddTierParams, *models.Principal) middleware.Responder

AddTierHandlerFunc turns a function with the right signature into a add tier handler

func (AddTierHandlerFunc) Handle ¶ added in v0.7.0

func (fn AddTierHandlerFunc) Handle(params AddTierParams, principal *models.Principal) middleware.Responder

Handle executing the request and returning a response

type AddTierParams ¶ added in v0.7.0

type AddTierParams struct {

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

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

AddTierParams contains all the bound params for the add tier operation typically these are obtained from a http.Request

swagger:parameters AddTier

func NewAddTierParams ¶ added in v0.7.0

func NewAddTierParams() AddTierParams

NewAddTierParams creates a new AddTierParams object no default values defined in spec.

func (*AddTierParams) BindRequest ¶ added in v0.7.0

func (o *AddTierParams) 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 NewAddTierParams() beforehand.

type AddTierURL ¶ added in v0.7.0

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

AddTierURL generates an URL for the add tier operation

func (*AddTierURL) Build ¶ added in v0.7.0

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

Build a url path and query string

func (*AddTierURL) BuildFull ¶ added in v0.7.0

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

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

func (*AddTierURL) Must ¶ added in v0.7.0

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

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

func (*AddTierURL) SetBasePath ¶ added in v0.7.0

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

func (o *AddTierURL) String() string

String returns the string representation of the path with query string

func (*AddTierURL) StringFull ¶ added in v0.7.0

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

StringFull returns the string representation of a complete url

func (*AddTierURL) WithBasePath ¶ added in v0.7.0

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

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 AddUser ¶

type AddUser struct {
	Context *middleware.Context
	Handler AddUserHandler
}

AddUser swagger:route POST /users AdminAPI addUser

Add User

func NewAddUser ¶

func NewAddUser(ctx *middleware.Context, handler AddUserHandler) *AddUser

NewAddUser creates a new http.Handler for the add user operation

func (*AddUser) ServeHTTP ¶

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

type AddUserCreated ¶

type AddUserCreated struct {

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

AddUserCreated A successful response.

swagger:response addUserCreated

func NewAddUserCreated ¶

func NewAddUserCreated() *AddUserCreated

NewAddUserCreated creates AddUserCreated with default headers values

func (*AddUserCreated) SetPayload ¶

func (o *AddUserCreated) SetPayload(payload *models.User)

SetPayload sets the payload to the add user created response

func (*AddUserCreated) WithPayload ¶

func (o *AddUserCreated) WithPayload(payload *models.User) *AddUserCreated

WithPayload adds the payload to the add user created response

func (*AddUserCreated) WriteResponse ¶

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

WriteResponse to the client

type AddUserDefault ¶

type AddUserDefault struct {

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

AddUserDefault Generic error response.

swagger:response addUserDefault

func NewAddUserDefault ¶

func NewAddUserDefault(code int) *AddUserDefault

NewAddUserDefault creates AddUserDefault with default headers values

func (*AddUserDefault) SetPayload ¶

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

SetPayload sets the payload to the add user default response

func (*AddUserDefault) SetStatusCode ¶

func (o *AddUserDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add user default response

func (*AddUserDefault) WithPayload ¶

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

WithPayload adds the payload to the add user default response

func (*AddUserDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the add user default response

func (*AddUserDefault) WriteResponse ¶

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

WriteResponse to the client

type AddUserHandler ¶

type AddUserHandler interface {
	Handle(AddUserParams, *models.Principal) middleware.Responder
}

AddUserHandler interface for that can handle valid add user params

type AddUserHandlerFunc ¶

type AddUserHandlerFunc func(AddUserParams, *models.Principal) middleware.Responder

AddUserHandlerFunc turns a function with the right signature into a add user handler

func (AddUserHandlerFunc) Handle ¶

func (fn AddUserHandlerFunc) Handle(params AddUserParams, principal *models.Principal) middleware.Responder

Handle executing the request and returning a response

type AddUserParams ¶

type AddUserParams struct {

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

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

AddUserParams contains all the bound params for the add user operation typically these are obtained from a http.Request

swagger:parameters AddUser

func NewAddUserParams ¶

func NewAddUserParams() AddUserParams

NewAddUserParams creates a new AddUserParams object no default values defined in spec.

func (*AddUserParams) BindRequest ¶

func (o *AddUserParams) 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 NewAddUserParams() beforehand.

type AddUserURL ¶

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

AddUserURL generates an URL for the add user operation

func (*AddUserURL) Build ¶

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

Build a url path and query string

func (*AddUserURL) BuildFull ¶

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

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

func (*AddUserURL) Must ¶

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

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

func (*AddUserURL) SetBasePath ¶

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

func (o *AddUserURL) String() string

String returns the string representation of the path with query string

func (*AddUserURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*AddUserURL) WithBasePath ¶

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

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 AdminInfo ¶

type AdminInfo struct {
	Context *middleware.Context
	Handler AdminInfoHandler
}

AdminInfo swagger:route GET /admin/info AdminAPI adminInfo

Returns information about the deployment

func NewAdminInfo ¶

func NewAdminInfo(ctx *middleware.Context, handler AdminInfoHandler) *AdminInfo

NewAdminInfo creates a new http.Handler for the admin info operation

func (*AdminInfo) ServeHTTP ¶

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

type AdminInfoDefault ¶

type AdminInfoDefault struct {

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

AdminInfoDefault Generic error response.

swagger:response adminInfoDefault

func NewAdminInfoDefault ¶

func NewAdminInfoDefault(code int) *AdminInfoDefault

NewAdminInfoDefault creates AdminInfoDefault with default headers values

func (*AdminInfoDefault) SetPayload ¶

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

SetPayload sets the payload to the admin info default response

func (*AdminInfoDefault) SetStatusCode ¶

func (o *AdminInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the admin info default response

func (*AdminInfoDefault) WithPayload ¶

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

WithPayload adds the payload to the admin info default response

func (*AdminInfoDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the admin info default response

func (*AdminInfoDefault) WriteResponse ¶

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

WriteResponse to the client

type AdminInfoHandler ¶

type AdminInfoHandler interface {
	Handle(AdminInfoParams, *models.Principal) middleware.Responder
}

AdminInfoHandler interface for that can handle valid admin info params

type AdminInfoHandlerFunc ¶

type AdminInfoHandlerFunc func(AdminInfoParams, *models.Principal) middleware.Responder

AdminInfoHandlerFunc turns a function with the right signature into a admin info handler

func (AdminInfoHandlerFunc) Handle ¶

Handle executing the request and returning a response

type AdminInfoOK ¶

type AdminInfoOK struct {

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

AdminInfoOK A successful response.

swagger:response adminInfoOK

func NewAdminInfoOK ¶

func NewAdminInfoOK() *AdminInfoOK

NewAdminInfoOK creates AdminInfoOK with default headers values

func (*AdminInfoOK) SetPayload ¶

func (o *AdminInfoOK) SetPayload(payload *models.AdminInfoResponse)

SetPayload sets the payload to the admin info o k response

func (*AdminInfoOK) WithPayload ¶

func (o *AdminInfoOK) WithPayload(payload *models.AdminInfoResponse) *AdminInfoOK

WithPayload adds the payload to the admin info o k response

func (*AdminInfoOK) WriteResponse ¶

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

WriteResponse to the client

type AdminInfoParams ¶

type AdminInfoParams struct {

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

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

swagger:parameters AdminInfo

func NewAdminInfoParams ¶

func NewAdminInfoParams() AdminInfoParams

NewAdminInfoParams creates a new AdminInfoParams object no default values defined in spec.

func (*AdminInfoParams) BindRequest ¶

func (o *AdminInfoParams) 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 NewAdminInfoParams() beforehand.

type AdminInfoURL ¶

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

AdminInfoURL generates an URL for the admin info operation

func (*AdminInfoURL) Build ¶

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

Build a url path and query string

func (*AdminInfoURL) BuildFull ¶

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

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

func (*AdminInfoURL) Must ¶

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

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

func (*AdminInfoURL) SetBasePath ¶

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

func (o *AdminInfoURL) String() string

String returns the string representation of the path with query string

func (*AdminInfoURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*AdminInfoURL) WithBasePath ¶

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

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 ArnList ¶

type ArnList struct {
	Context *middleware.Context
	Handler ArnListHandler
}

ArnList swagger:route GET /admin/arns AdminAPI arnList

Returns a list of active ARNs in the instance

func NewArnList ¶

func NewArnList(ctx *middleware.Context, handler ArnListHandler) *ArnList

NewArnList creates a new http.Handler for the arn list operation

func (*ArnList) ServeHTTP ¶

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

type ArnListDefault ¶

type ArnListDefault struct {

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

ArnListDefault Generic error response.

swagger:response arnListDefault

func NewArnListDefault ¶

func NewArnListDefault(code int) *ArnListDefault

NewArnListDefault creates ArnListDefault with default headers values

func (*ArnListDefault) SetPayload ¶

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

SetPayload sets the payload to the arn list default response

func (*ArnListDefault) SetStatusCode ¶

func (o *ArnListDefault) SetStatusCode(code int)

SetStatusCode sets the status to the arn list default response

func (*ArnListDefault) WithPayload ¶

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

WithPayload adds the payload to the arn list default response

func (*ArnListDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the arn list default response

func (*ArnListDefault) WriteResponse ¶

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

WriteResponse to the client

type ArnListHandler ¶

type ArnListHandler interface {
	Handle(ArnListParams, *models.Principal) middleware.Responder
}

ArnListHandler interface for that can handle valid arn list params

type ArnListHandlerFunc ¶

type ArnListHandlerFunc func(ArnListParams, *models.Principal) middleware.Responder

ArnListHandlerFunc turns a function with the right signature into a arn list handler

func (ArnListHandlerFunc) Handle ¶

func (fn ArnListHandlerFunc) Handle(params ArnListParams, principal *models.Principal) middleware.Responder

Handle executing the request and returning a response

type ArnListOK ¶

type ArnListOK struct {

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

ArnListOK A successful response.

swagger:response arnListOK

func NewArnListOK ¶

func NewArnListOK() *ArnListOK

NewArnListOK creates ArnListOK with default headers values

func (*ArnListOK) SetPayload ¶

func (o *ArnListOK) SetPayload(payload *models.ArnsResponse)

SetPayload sets the payload to the arn list o k response

func (*ArnListOK) WithPayload ¶

func (o *ArnListOK) WithPayload(payload *models.ArnsResponse) *ArnListOK

WithPayload adds the payload to the arn list o k response

func (*ArnListOK) WriteResponse ¶

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

WriteResponse to the client

type ArnListParams ¶

type ArnListParams struct {

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

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

swagger:parameters ArnList

func NewArnListParams ¶

func NewArnListParams() ArnListParams

NewArnListParams creates a new ArnListParams object no default values defined in spec.

func (*ArnListParams) BindRequest ¶

func (o *ArnListParams) 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 NewArnListParams() beforehand.

type ArnListURL ¶

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

ArnListURL generates an URL for the arn list operation

func (*ArnListURL) Build ¶

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

Build a url path and query string

func (*ArnListURL) BuildFull ¶

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

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

func (*ArnListURL) Must ¶

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

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

func (*ArnListURL) SetBasePath ¶

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

func (o *ArnListURL) String() string

String returns the string representation of the path with query string

func (*ArnListURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*ArnListURL) WithBasePath ¶

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

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 BulkUpdateUsersGroups ¶

type BulkUpdateUsersGroups struct {
	Context *middleware.Context
	Handler BulkUpdateUsersGroupsHandler
}

BulkUpdateUsersGroups swagger:route PUT /users-groups-bulk AdminAPI bulkUpdateUsersGroups

Bulk functionality to Add Users to Groups

func NewBulkUpdateUsersGroups ¶

func NewBulkUpdateUsersGroups(ctx *middleware.Context, handler BulkUpdateUsersGroupsHandler) *BulkUpdateUsersGroups

NewBulkUpdateUsersGroups creates a new http.Handler for the bulk update users groups operation

func (*BulkUpdateUsersGroups) ServeHTTP ¶

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

type BulkUpdateUsersGroupsDefault ¶

type BulkUpdateUsersGroupsDefault struct {

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

BulkUpdateUsersGroupsDefault Generic error response.

swagger:response bulkUpdateUsersGroupsDefault

func NewBulkUpdateUsersGroupsDefault ¶

func NewBulkUpdateUsersGroupsDefault(code int) *BulkUpdateUsersGroupsDefault

NewBulkUpdateUsersGroupsDefault creates BulkUpdateUsersGroupsDefault with default headers values

func (*BulkUpdateUsersGroupsDefault) SetPayload ¶

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

SetPayload sets the payload to the bulk update users groups default response

func (*BulkUpdateUsersGroupsDefault) SetStatusCode ¶

func (o *BulkUpdateUsersGroupsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the bulk update users groups default response

func (*BulkUpdateUsersGroupsDefault) WithPayload ¶

WithPayload adds the payload to the bulk update users groups default response

func (*BulkUpdateUsersGroupsDefault) WithStatusCode ¶

WithStatusCode adds the status to the bulk update users groups default response

func (*BulkUpdateUsersGroupsDefault) WriteResponse ¶

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

WriteResponse to the client

type BulkUpdateUsersGroupsHandler ¶

type BulkUpdateUsersGroupsHandler interface {
	Handle(BulkUpdateUsersGroupsParams, *models.Principal) middleware.Responder
}

BulkUpdateUsersGroupsHandler interface for that can handle valid bulk update users groups params

type BulkUpdateUsersGroupsHandlerFunc ¶

type BulkUpdateUsersGroupsHandlerFunc func(BulkUpdateUsersGroupsParams, *models.Principal) middleware.Responder

BulkUpdateUsersGroupsHandlerFunc turns a function with the right signature into a bulk update users groups handler

func (BulkUpdateUsersGroupsHandlerFunc) Handle ¶

Handle executing the request and returning a response

type BulkUpdateUsersGroupsOK ¶

type BulkUpdateUsersGroupsOK struct {
}

BulkUpdateUsersGroupsOK A successful response.

swagger:response bulkUpdateUsersGroupsOK

func NewBulkUpdateUsersGroupsOK ¶

func NewBulkUpdateUsersGroupsOK() *BulkUpdateUsersGroupsOK

NewBulkUpdateUsersGroupsOK creates BulkUpdateUsersGroupsOK with default headers values

func (*BulkUpdateUsersGroupsOK) WriteResponse ¶

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

WriteResponse to the client

type BulkUpdateUsersGroupsParams ¶

type BulkUpdateUsersGroupsParams struct {

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

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

BulkUpdateUsersGroupsParams contains all the bound params for the bulk update users groups operation typically these are obtained from a http.Request

swagger:parameters BulkUpdateUsersGroups

func NewBulkUpdateUsersGroupsParams ¶

func NewBulkUpdateUsersGroupsParams() BulkUpdateUsersGroupsParams

NewBulkUpdateUsersGroupsParams creates a new BulkUpdateUsersGroupsParams object no default values defined in spec.

func (*BulkUpdateUsersGroupsParams) 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 NewBulkUpdateUsersGroupsParams() beforehand.

type BulkUpdateUsersGroupsURL ¶

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

BulkUpdateUsersGroupsURL generates an URL for the bulk update users groups operation

func (*BulkUpdateUsersGroupsURL) Build ¶

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

Build a url path and query string

func (*BulkUpdateUsersGroupsURL) BuildFull ¶

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

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

func (*BulkUpdateUsersGroupsURL) Must ¶

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

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

func (*BulkUpdateUsersGroupsURL) SetBasePath ¶

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

func (o *BulkUpdateUsersGroupsURL) String() string

String returns the string representation of the path with query string

func (*BulkUpdateUsersGroupsURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*BulkUpdateUsersGroupsURL) 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 ConfigInfo ¶

type ConfigInfo struct {
	Context *middleware.Context
	Handler ConfigInfoHandler
}

ConfigInfo swagger:route GET /configs/{name} AdminAPI configInfo

Configuration info

func NewConfigInfo ¶

func NewConfigInfo(ctx *middleware.Context, handler ConfigInfoHandler) *ConfigInfo

NewConfigInfo creates a new http.Handler for the config info operation

func (*ConfigInfo) ServeHTTP ¶

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

type ConfigInfoDefault ¶

type ConfigInfoDefault struct {

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

ConfigInfoDefault Generic error response.

swagger:response configInfoDefault

func NewConfigInfoDefault ¶

func NewConfigInfoDefault(code int) *ConfigInfoDefault

NewConfigInfoDefault creates ConfigInfoDefault with default headers values

func (*ConfigInfoDefault) SetPayload ¶

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

SetPayload sets the payload to the config info default response

func (*ConfigInfoDefault) SetStatusCode ¶

func (o *ConfigInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the config info default response

func (*ConfigInfoDefault) WithPayload ¶

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

WithPayload adds the payload to the config info default response

func (*ConfigInfoDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the config info default response

func (*ConfigInfoDefault) WriteResponse ¶

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

WriteResponse to the client

type ConfigInfoHandler ¶

type ConfigInfoHandler interface {
	Handle(ConfigInfoParams, *models.Principal) middleware.Responder
}

ConfigInfoHandler interface for that can handle valid config info params

type ConfigInfoHandlerFunc ¶

type ConfigInfoHandlerFunc func(ConfigInfoParams, *models.Principal) middleware.Responder

ConfigInfoHandlerFunc turns a function with the right signature into a config info handler

func (ConfigInfoHandlerFunc) Handle ¶

Handle executing the request and returning a response

type ConfigInfoOK ¶

type ConfigInfoOK struct {

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

ConfigInfoOK A successful response.

swagger:response configInfoOK

func NewConfigInfoOK ¶

func NewConfigInfoOK() *ConfigInfoOK

NewConfigInfoOK creates ConfigInfoOK with default headers values

func (*ConfigInfoOK) SetPayload ¶

func (o *ConfigInfoOK) SetPayload(payload *models.Configuration)

SetPayload sets the payload to the config info o k response

func (*ConfigInfoOK) WithPayload ¶

func (o *ConfigInfoOK) WithPayload(payload *models.Configuration) *ConfigInfoOK

WithPayload adds the payload to the config info o k response

func (*ConfigInfoOK) WriteResponse ¶

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

WriteResponse to the client

type ConfigInfoParams ¶

type ConfigInfoParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Name string
}

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

swagger:parameters ConfigInfo

func NewConfigInfoParams ¶

func NewConfigInfoParams() ConfigInfoParams

NewConfigInfoParams creates a new ConfigInfoParams object no default values defined in spec.

func (*ConfigInfoParams) BindRequest ¶

func (o *ConfigInfoParams) 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 NewConfigInfoParams() beforehand.

type ConfigInfoURL ¶

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

ConfigInfoURL generates an URL for the config info operation

func (*ConfigInfoURL) Build ¶

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

Build a url path and query string

func (*ConfigInfoURL) BuildFull ¶

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

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

func (*ConfigInfoURL) Must ¶

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

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

func (*ConfigInfoURL) SetBasePath ¶

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

func (o *ConfigInfoURL) String() string

String returns the string representation of the path with query string

func (*ConfigInfoURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*ConfigInfoURL) WithBasePath ¶

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

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 AdminAPI 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 no default values defined in 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 DashboardWidgetDetails ¶ added in v0.7.2

type DashboardWidgetDetails struct {
	Context *middleware.Context
	Handler DashboardWidgetDetailsHandler
}

DashboardWidgetDetails swagger:route GET /admin/info/widgets/{widgetId} AdminAPI dashboardWidgetDetails

Returns information about the deployment

func NewDashboardWidgetDetails ¶ added in v0.7.2

func NewDashboardWidgetDetails(ctx *middleware.Context, handler DashboardWidgetDetailsHandler) *DashboardWidgetDetails

NewDashboardWidgetDetails creates a new http.Handler for the dashboard widget details operation

func (*DashboardWidgetDetails) ServeHTTP ¶ added in v0.7.2

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

type DashboardWidgetDetailsDefault ¶ added in v0.7.2

type DashboardWidgetDetailsDefault struct {

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

DashboardWidgetDetailsDefault Generic error response.

swagger:response dashboardWidgetDetailsDefault

func NewDashboardWidgetDetailsDefault ¶ added in v0.7.2

func NewDashboardWidgetDetailsDefault(code int) *DashboardWidgetDetailsDefault

NewDashboardWidgetDetailsDefault creates DashboardWidgetDetailsDefault with default headers values

func (*DashboardWidgetDetailsDefault) SetPayload ¶ added in v0.7.2

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

SetPayload sets the payload to the dashboard widget details default response

func (*DashboardWidgetDetailsDefault) SetStatusCode ¶ added in v0.7.2

func (o *DashboardWidgetDetailsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the dashboard widget details default response

func (*DashboardWidgetDetailsDefault) WithPayload ¶ added in v0.7.2

WithPayload adds the payload to the dashboard widget details default response

func (*DashboardWidgetDetailsDefault) WithStatusCode ¶ added in v0.7.2

WithStatusCode adds the status to the dashboard widget details default response

func (*DashboardWidgetDetailsDefault) WriteResponse ¶ added in v0.7.2

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

WriteResponse to the client

type DashboardWidgetDetailsHandler ¶ added in v0.7.2

type DashboardWidgetDetailsHandler interface {
	Handle(DashboardWidgetDetailsParams, *models.Principal) middleware.Responder
}

DashboardWidgetDetailsHandler interface for that can handle valid dashboard widget details params

type DashboardWidgetDetailsHandlerFunc ¶ added in v0.7.2

type DashboardWidgetDetailsHandlerFunc func(DashboardWidgetDetailsParams, *models.Principal) middleware.Responder

DashboardWidgetDetailsHandlerFunc turns a function with the right signature into a dashboard widget details handler

func (DashboardWidgetDetailsHandlerFunc) Handle ¶ added in v0.7.2

Handle executing the request and returning a response

type DashboardWidgetDetailsOK ¶ added in v0.7.2

type DashboardWidgetDetailsOK struct {

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

DashboardWidgetDetailsOK A successful response.

swagger:response dashboardWidgetDetailsOK

func NewDashboardWidgetDetailsOK ¶ added in v0.7.2

func NewDashboardWidgetDetailsOK() *DashboardWidgetDetailsOK

NewDashboardWidgetDetailsOK creates DashboardWidgetDetailsOK with default headers values

func (*DashboardWidgetDetailsOK) SetPayload ¶ added in v0.7.2

func (o *DashboardWidgetDetailsOK) SetPayload(payload *models.WidgetDetails)

SetPayload sets the payload to the dashboard widget details o k response

func (*DashboardWidgetDetailsOK) WithPayload ¶ added in v0.7.2

WithPayload adds the payload to the dashboard widget details o k response

func (*DashboardWidgetDetailsOK) WriteResponse ¶ added in v0.7.2

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

WriteResponse to the client

type DashboardWidgetDetailsParams ¶ added in v0.7.2

type DashboardWidgetDetailsParams struct {

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

	/*
	  In: query
	*/
	End *int64
	/*
	  In: query
	*/
	Start *int64
	/*
	  In: query
	*/
	Step *int32
	/*
	  Required: true
	  In: path
	*/
	WidgetID int32
}

DashboardWidgetDetailsParams contains all the bound params for the dashboard widget details operation typically these are obtained from a http.Request

swagger:parameters DashboardWidgetDetails

func NewDashboardWidgetDetailsParams ¶ added in v0.7.2

func NewDashboardWidgetDetailsParams() DashboardWidgetDetailsParams

NewDashboardWidgetDetailsParams creates a new DashboardWidgetDetailsParams object no default values defined in spec.

func (*DashboardWidgetDetailsParams) BindRequest ¶ added in v0.7.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 NewDashboardWidgetDetailsParams() beforehand.

type DashboardWidgetDetailsURL ¶ added in v0.7.2

type DashboardWidgetDetailsURL struct {
	WidgetID int32

	End   *int64
	Start *int64
	Step  *int32
	// contains filtered or unexported fields
}

DashboardWidgetDetailsURL generates an URL for the dashboard widget details operation

func (*DashboardWidgetDetailsURL) Build ¶ added in v0.7.2

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

Build a url path and query string

func (*DashboardWidgetDetailsURL) BuildFull ¶ added in v0.7.2

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

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

func (*DashboardWidgetDetailsURL) Must ¶ added in v0.7.2

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

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

func (*DashboardWidgetDetailsURL) SetBasePath ¶ added in v0.7.2

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

func (o *DashboardWidgetDetailsURL) String() string

String returns the string representation of the path with query string

func (*DashboardWidgetDetailsURL) StringFull ¶ added in v0.7.2

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

StringFull returns the string representation of a complete url

func (*DashboardWidgetDetailsURL) WithBasePath ¶ added in v0.7.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 DeleteTenant ¶

type DeleteTenant struct {
	Context *middleware.Context
	Handler DeleteTenantHandler
}

DeleteTenant swagger:route DELETE /namespaces/{namespace}/tenants/{tenant} AdminAPI 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 no default values defined in spec.

func (*DeleteTenantParams) BindRequest ¶

func (o *DeleteTenantParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewDeleteTenantParams() beforehand.

type DeleteTenantURL ¶

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

DeleteTenantURL generates an URL for the delete tenant operation

func (*DeleteTenantURL) Build ¶

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

Build a url path and query string

func (*DeleteTenantURL) BuildFull ¶

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

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

func (*DeleteTenantURL) Must ¶

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

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

func (*DeleteTenantURL) SetBasePath ¶

func (o *DeleteTenantURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DeleteTenantURL) String ¶

func (o *DeleteTenantURL) String() string

String returns the string representation of the path with query string

func (*DeleteTenantURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*DeleteTenantURL) WithBasePath ¶

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

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type DirectCSIFormatDrive ¶ added in v0.7.0

type DirectCSIFormatDrive struct {
	Context *middleware.Context
	Handler DirectCSIFormatDriveHandler
}

DirectCSIFormatDrive swagger:route POST /direct-csi/drives/format AdminAPI directCSIFormatDrive

Format direct-csi drives from a list

func NewDirectCSIFormatDrive ¶ added in v0.7.0

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

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

func (*DirectCSIFormatDrive) ServeHTTP ¶ added in v0.7.0

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

type DirectCSIFormatDriveDefault ¶ added in v0.7.0

type DirectCSIFormatDriveDefault struct {

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

DirectCSIFormatDriveDefault Generic error response.

swagger:response directCSIFormatDriveDefault

func NewDirectCSIFormatDriveDefault ¶ added in v0.7.0

func NewDirectCSIFormatDriveDefault(code int) *DirectCSIFormatDriveDefault

NewDirectCSIFormatDriveDefault creates DirectCSIFormatDriveDefault with default headers values

func (*DirectCSIFormatDriveDefault) SetPayload ¶ added in v0.7.0

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

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

func (*DirectCSIFormatDriveDefault) SetStatusCode ¶ added in v0.7.0

func (o *DirectCSIFormatDriveDefault) SetStatusCode(code int)

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

func (*DirectCSIFormatDriveDefault) WithPayload ¶ added in v0.7.0

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

func (*DirectCSIFormatDriveDefault) WithStatusCode ¶ added in v0.7.0

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

func (*DirectCSIFormatDriveDefault) WriteResponse ¶ added in v0.7.0

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

WriteResponse to the client

type DirectCSIFormatDriveHandler ¶ added in v0.7.0

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

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

type DirectCSIFormatDriveHandlerFunc ¶ added in v0.7.0

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

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

func (DirectCSIFormatDriveHandlerFunc) Handle ¶ added in v0.7.0

Handle executing the request and returning a response

type DirectCSIFormatDriveOK ¶ added in v0.7.0

type DirectCSIFormatDriveOK struct {

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

DirectCSIFormatDriveOK A successful response.

swagger:response directCSIFormatDriveOK

func NewDirectCSIFormatDriveOK ¶ added in v0.7.0

func NewDirectCSIFormatDriveOK() *DirectCSIFormatDriveOK

NewDirectCSIFormatDriveOK creates DirectCSIFormatDriveOK with default headers values

func (*DirectCSIFormatDriveOK) SetPayload ¶ added in v0.7.0

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

func (*DirectCSIFormatDriveOK) WithPayload ¶ added in v0.7.0

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

func (*DirectCSIFormatDriveOK) WriteResponse ¶ added in v0.7.0

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

WriteResponse to the client

type DirectCSIFormatDriveParams ¶ added in v0.7.0

type DirectCSIFormatDriveParams struct {

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

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

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

swagger:parameters DirectCSIFormatDrive

func NewDirectCSIFormatDriveParams ¶ added in v0.7.0

func NewDirectCSIFormatDriveParams() DirectCSIFormatDriveParams

NewDirectCSIFormatDriveParams creates a new DirectCSIFormatDriveParams object no default values defined in spec.

func (*DirectCSIFormatDriveParams) BindRequest ¶ added in v0.7.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 NewDirectCSIFormatDriveParams() beforehand.

type DirectCSIFormatDriveURL ¶ added in v0.7.0

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

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

func (*DirectCSIFormatDriveURL) Build ¶ added in v0.7.0

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

Build a url path and query string

func (*DirectCSIFormatDriveURL) BuildFull ¶ added in v0.7.0

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

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

func (*DirectCSIFormatDriveURL) Must ¶ added in v0.7.0

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

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

func (*DirectCSIFormatDriveURL) SetBasePath ¶ added in v0.7.0

func (o *DirectCSIFormatDriveURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*DirectCSIFormatDriveURL) String ¶ added in v0.7.0

func (o *DirectCSIFormatDriveURL) String() string

String returns the string representation of the path with query string

func (*DirectCSIFormatDriveURL) StringFull ¶ added in v0.7.0

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

StringFull returns the string representation of a complete url

func (*DirectCSIFormatDriveURL) WithBasePath ¶ added in v0.7.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 EditTierCredentials ¶ added in v0.7.0

type EditTierCredentials struct {
	Context *middleware.Context
	Handler EditTierCredentialsHandler
}

EditTierCredentials swagger:route PUT /admin/tiers/{type}/{name}/credentials AdminAPI editTierCredentials

Edit Tier Credentials

func NewEditTierCredentials ¶ added in v0.7.0

func NewEditTierCredentials(ctx *middleware.Context, handler EditTierCredentialsHandler) *EditTierCredentials

NewEditTierCredentials creates a new http.Handler for the edit tier credentials operation

func (*EditTierCredentials) ServeHTTP ¶ added in v0.7.0

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

type EditTierCredentialsDefault ¶ added in v0.7.0

type EditTierCredentialsDefault struct {

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

EditTierCredentialsDefault Generic error response.

swagger:response editTierCredentialsDefault

func NewEditTierCredentialsDefault ¶ added in v0.7.0

func NewEditTierCredentialsDefault(code int) *EditTierCredentialsDefault

NewEditTierCredentialsDefault creates EditTierCredentialsDefault with default headers values

func (*EditTierCredentialsDefault) SetPayload ¶ added in v0.7.0

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

SetPayload sets the payload to the edit tier credentials default response

func (*EditTierCredentialsDefault) SetStatusCode ¶ added in v0.7.0

func (o *EditTierCredentialsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the edit tier credentials default response

func (*EditTierCredentialsDefault) WithPayload ¶ added in v0.7.0

WithPayload adds the payload to the edit tier credentials default response

func (*EditTierCredentialsDefault) WithStatusCode ¶ added in v0.7.0

WithStatusCode adds the status to the edit tier credentials default response

func (*EditTierCredentialsDefault) WriteResponse ¶ added in v0.7.0

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

WriteResponse to the client

type EditTierCredentialsHandler ¶ added in v0.7.0

type EditTierCredentialsHandler interface {
	Handle(EditTierCredentialsParams, *models.Principal) middleware.Responder
}

EditTierCredentialsHandler interface for that can handle valid edit tier credentials params

type EditTierCredentialsHandlerFunc ¶ added in v0.7.0

type EditTierCredentialsHandlerFunc func(EditTierCredentialsParams, *models.Principal) middleware.Responder

EditTierCredentialsHandlerFunc turns a function with the right signature into a edit tier credentials handler

func (EditTierCredentialsHandlerFunc) Handle ¶ added in v0.7.0

Handle executing the request and returning a response

type EditTierCredentialsOK ¶ added in v0.7.0

type EditTierCredentialsOK struct {
}

EditTierCredentialsOK A successful response.

swagger:response editTierCredentialsOK

func NewEditTierCredentialsOK ¶ added in v0.7.0

func NewEditTierCredentialsOK() *EditTierCredentialsOK

NewEditTierCredentialsOK creates EditTierCredentialsOK with default headers values

func (*EditTierCredentialsOK) WriteResponse ¶ added in v0.7.0

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

WriteResponse to the client

type EditTierCredentialsParams ¶ added in v0.7.0

type EditTierCredentialsParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.TierCredentialsRequest
	/*
	  Required: true
	  In: path
	*/
	Name string
	/*
	  Required: true
	  In: path
	*/
	Type string
}

EditTierCredentialsParams contains all the bound params for the edit tier credentials operation typically these are obtained from a http.Request

swagger:parameters EditTierCredentials

func NewEditTierCredentialsParams ¶ added in v0.7.0

func NewEditTierCredentialsParams() EditTierCredentialsParams

NewEditTierCredentialsParams creates a new EditTierCredentialsParams object no default values defined in spec.

func (*EditTierCredentialsParams) BindRequest ¶ added in v0.7.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 NewEditTierCredentialsParams() beforehand.

type EditTierCredentialsURL ¶ added in v0.7.0

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

EditTierCredentialsURL generates an URL for the edit tier credentials operation

func (*EditTierCredentialsURL) Build ¶ added in v0.7.0

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

Build a url path and query string

func (*EditTierCredentialsURL) BuildFull ¶ added in v0.7.0

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

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

func (*EditTierCredentialsURL) Must ¶ added in v0.7.0

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

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

func (*EditTierCredentialsURL) SetBasePath ¶ added in v0.7.0

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

func (o *EditTierCredentialsURL) String() string

String returns the string representation of the path with query string

func (*EditTierCredentialsURL) StringFull ¶ added in v0.7.0

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

StringFull returns the string representation of a complete url

func (*EditTierCredentialsURL) WithBasePath ¶ added in v0.7.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 GetDirectCSIDriveList ¶ added in v0.6.4

type GetDirectCSIDriveList struct {
	Context *middleware.Context
	Handler GetDirectCSIDriveListHandler
}

GetDirectCSIDriveList swagger:route GET /direct-csi/drives AdminAPI getDirectCSIDriveList

Get direct-csi drives list

func NewGetDirectCSIDriveList ¶ added in v0.6.4

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

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

func (*GetDirectCSIDriveList) ServeHTTP ¶ added in v0.6.4

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

type GetDirectCSIDriveListDefault ¶ added in v0.6.4

type GetDirectCSIDriveListDefault struct {

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

GetDirectCSIDriveListDefault Generic error response.

swagger:response getDirectCSIDriveListDefault

func NewGetDirectCSIDriveListDefault ¶ added in v0.6.4

func NewGetDirectCSIDriveListDefault(code int) *GetDirectCSIDriveListDefault

NewGetDirectCSIDriveListDefault creates GetDirectCSIDriveListDefault with default headers values

func (*GetDirectCSIDriveListDefault) SetPayload ¶ added in v0.6.4

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

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

func (*GetDirectCSIDriveListDefault) SetStatusCode ¶ added in v0.6.4

func (o *GetDirectCSIDriveListDefault) SetStatusCode(code int)

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

func (*GetDirectCSIDriveListDefault) WithPayload ¶ added in v0.6.4

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

func (*GetDirectCSIDriveListDefault) WithStatusCode ¶ added in v0.6.4

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

func (*GetDirectCSIDriveListDefault) WriteResponse ¶ added in v0.6.4

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

WriteResponse to the client

type GetDirectCSIDriveListHandler ¶ added in v0.6.4

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

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

type GetDirectCSIDriveListHandlerFunc ¶ added in v0.6.4

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

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

func (GetDirectCSIDriveListHandlerFunc) Handle ¶ added in v0.6.4

Handle executing the request and returning a response

type GetDirectCSIDriveListOK ¶ added in v0.6.4

type GetDirectCSIDriveListOK struct {

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

GetDirectCSIDriveListOK A successful response.

swagger:response getDirectCSIDriveListOK

func NewGetDirectCSIDriveListOK ¶ added in v0.6.4

func NewGetDirectCSIDriveListOK() *GetDirectCSIDriveListOK

NewGetDirectCSIDriveListOK creates GetDirectCSIDriveListOK with default headers values

func (*GetDirectCSIDriveListOK) SetPayload ¶ added in v0.6.4

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

func (*GetDirectCSIDriveListOK) WithPayload ¶ added in v0.6.4

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

func (*GetDirectCSIDriveListOK) WriteResponse ¶ added in v0.6.4

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

WriteResponse to the client

type GetDirectCSIDriveListParams ¶ added in v0.6.4

type GetDirectCSIDriveListParams struct {

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

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

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

swagger:parameters GetDirectCSIDriveList

func NewGetDirectCSIDriveListParams ¶ added in v0.6.4

func NewGetDirectCSIDriveListParams() GetDirectCSIDriveListParams

NewGetDirectCSIDriveListParams creates a new GetDirectCSIDriveListParams object no default values defined in spec.

func (*GetDirectCSIDriveListParams) BindRequest ¶ added in v0.6.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 NewGetDirectCSIDriveListParams() beforehand.

type GetDirectCSIDriveListURL ¶ added in v0.6.4

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

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

func (*GetDirectCSIDriveListURL) Build ¶ added in v0.6.4

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

Build a url path and query string

func (*GetDirectCSIDriveListURL) BuildFull ¶ added in v0.6.4

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

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

func (*GetDirectCSIDriveListURL) Must ¶ added in v0.6.4

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

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

func (*GetDirectCSIDriveListURL) SetBasePath ¶ added in v0.6.4

func (o *GetDirectCSIDriveListURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetDirectCSIDriveListURL) String ¶ added in v0.6.4

func (o *GetDirectCSIDriveListURL) String() string

String returns the string representation of the path with query string

func (*GetDirectCSIDriveListURL) StringFull ¶ added in v0.6.4

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

StringFull returns the string representation of a complete url

func (*GetDirectCSIDriveListURL) WithBasePath ¶ added in v0.6.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 GetDirectCSIVolumeList ¶ added in v0.6.4

type GetDirectCSIVolumeList struct {
	Context *middleware.Context
	Handler GetDirectCSIVolumeListHandler
}

GetDirectCSIVolumeList swagger:route GET /direct-csi/volumes AdminAPI getDirectCSIVolumeList

Get direct-csi volumes list

func NewGetDirectCSIVolumeList ¶ added in v0.6.4

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

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

func (*GetDirectCSIVolumeList) ServeHTTP ¶ added in v0.6.4

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

type GetDirectCSIVolumeListDefault ¶ added in v0.6.4

type GetDirectCSIVolumeListDefault struct {

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

GetDirectCSIVolumeListDefault Generic error response.

swagger:response getDirectCSIVolumeListDefault

func NewGetDirectCSIVolumeListDefault ¶ added in v0.6.4

func NewGetDirectCSIVolumeListDefault(code int) *GetDirectCSIVolumeListDefault

NewGetDirectCSIVolumeListDefault creates GetDirectCSIVolumeListDefault with default headers values

func (*GetDirectCSIVolumeListDefault) SetPayload ¶ added in v0.6.4

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

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

func (*GetDirectCSIVolumeListDefault) SetStatusCode ¶ added in v0.6.4

func (o *GetDirectCSIVolumeListDefault) SetStatusCode(code int)

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

func (*GetDirectCSIVolumeListDefault) WithPayload ¶ added in v0.6.4

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

func (*GetDirectCSIVolumeListDefault) WithStatusCode ¶ added in v0.6.4

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

func (*GetDirectCSIVolumeListDefault) WriteResponse ¶ added in v0.6.4

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

WriteResponse to the client

type GetDirectCSIVolumeListHandler ¶ added in v0.6.4

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

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

type GetDirectCSIVolumeListHandlerFunc ¶ added in v0.6.4

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

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

func (GetDirectCSIVolumeListHandlerFunc) Handle ¶ added in v0.6.4

Handle executing the request and returning a response

type GetDirectCSIVolumeListOK ¶ added in v0.6.4

type GetDirectCSIVolumeListOK struct {

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

GetDirectCSIVolumeListOK A successful response.

swagger:response getDirectCSIVolumeListOK

func NewGetDirectCSIVolumeListOK ¶ added in v0.6.4

func NewGetDirectCSIVolumeListOK() *GetDirectCSIVolumeListOK

NewGetDirectCSIVolumeListOK creates GetDirectCSIVolumeListOK with default headers values

func (*GetDirectCSIVolumeListOK) SetPayload ¶ added in v0.6.4

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

func (*GetDirectCSIVolumeListOK) WithPayload ¶ added in v0.6.4

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

func (*GetDirectCSIVolumeListOK) WriteResponse ¶ added in v0.6.4

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

WriteResponse to the client

type GetDirectCSIVolumeListParams ¶ added in v0.6.4

type GetDirectCSIVolumeListParams struct {

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

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

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

swagger:parameters GetDirectCSIVolumeList

func NewGetDirectCSIVolumeListParams ¶ added in v0.6.4

func NewGetDirectCSIVolumeListParams() GetDirectCSIVolumeListParams

NewGetDirectCSIVolumeListParams creates a new GetDirectCSIVolumeListParams object no default values defined in spec.

func (*GetDirectCSIVolumeListParams) BindRequest ¶ added in v0.6.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 NewGetDirectCSIVolumeListParams() beforehand.

type GetDirectCSIVolumeListURL ¶ added in v0.6.4

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

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

func (*GetDirectCSIVolumeListURL) Build ¶ added in v0.6.4

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

Build a url path and query string

func (*GetDirectCSIVolumeListURL) BuildFull ¶ added in v0.6.4

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

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

func (*GetDirectCSIVolumeListURL) Must ¶ added in v0.6.4

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

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

func (*GetDirectCSIVolumeListURL) SetBasePath ¶ added in v0.6.4

func (o *GetDirectCSIVolumeListURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetDirectCSIVolumeListURL) String ¶ added in v0.6.4

func (o *GetDirectCSIVolumeListURL) String() string

String returns the string representation of the path with query string

func (*GetDirectCSIVolumeListURL) StringFull ¶ added in v0.6.4

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

StringFull returns the string representation of a complete url

func (*GetDirectCSIVolumeListURL) WithBasePath ¶ added in v0.6.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 GetMaxAllocatableMem ¶ added in v0.3.19

type GetMaxAllocatableMem struct {
	Context *middleware.Context
	Handler GetMaxAllocatableMemHandler
}

GetMaxAllocatableMem swagger:route GET /cluster/max-allocatable-memory AdminAPI getMaxAllocatableMem

Get maximum allocatable memory for given number of nodes

func NewGetMaxAllocatableMem ¶ added in v0.3.19

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

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

func (*GetMaxAllocatableMem) ServeHTTP ¶ added in v0.3.19

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

type GetMaxAllocatableMemDefault ¶ added in v0.3.19

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

func NewGetMaxAllocatableMemDefault(code int) *GetMaxAllocatableMemDefault

NewGetMaxAllocatableMemDefault creates GetMaxAllocatableMemDefault with default headers values

func (*GetMaxAllocatableMemDefault) SetPayload ¶ added in v0.3.19

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

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

func (*GetMaxAllocatableMemDefault) SetStatusCode ¶ added in v0.3.19

func (o *GetMaxAllocatableMemDefault) SetStatusCode(code int)

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

func (*GetMaxAllocatableMemDefault) WithPayload ¶ added in v0.3.19

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

func (*GetMaxAllocatableMemDefault) WithStatusCode ¶ added in v0.3.19

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

func (*GetMaxAllocatableMemDefault) WriteResponse ¶ added in v0.3.19

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

WriteResponse to the client

type GetMaxAllocatableMemHandler ¶ added in v0.3.19

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

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

type GetMaxAllocatableMemHandlerFunc ¶ added in v0.3.19

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

Handle executing the request and returning a response

type GetMaxAllocatableMemOK ¶ added in v0.3.19

type GetMaxAllocatableMemOK struct {

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

GetMaxAllocatableMemOK A successful response.

swagger:response getMaxAllocatableMemOK

func NewGetMaxAllocatableMemOK ¶ added in v0.3.19

func NewGetMaxAllocatableMemOK() *GetMaxAllocatableMemOK

NewGetMaxAllocatableMemOK creates GetMaxAllocatableMemOK with default headers values

func (*GetMaxAllocatableMemOK) SetPayload ¶ added in v0.3.19

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

func (*GetMaxAllocatableMemOK) WithPayload ¶ added in v0.3.19

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

func (*GetMaxAllocatableMemOK) WriteResponse ¶ added in v0.3.19

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

WriteResponse to the client

type GetMaxAllocatableMemParams ¶ added in v0.3.19

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

func NewGetMaxAllocatableMemParams() GetMaxAllocatableMemParams

NewGetMaxAllocatableMemParams creates a new GetMaxAllocatableMemParams object no default values defined in spec.

func (*GetMaxAllocatableMemParams) BindRequest ¶ added in v0.3.19

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

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

GetMaxAllocatableMemURL generates an URL for the get max allocatable mem operation

func (*GetMaxAllocatableMemURL) Build ¶ added in v0.3.19

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

Build a url path and query string

func (*GetMaxAllocatableMemURL) BuildFull ¶ added in v0.3.19

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

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

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

func (o *GetMaxAllocatableMemURL) String() string

String returns the string representation of the path with query string

func (*GetMaxAllocatableMemURL) StringFull ¶ added in v0.3.19

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

StringFull returns the string representation of a complete url

func (*GetMaxAllocatableMemURL) WithBasePath ¶ added in v0.3.19

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

type GetParity struct {
	Context *middleware.Context
	Handler GetParityHandler
}

GetParity swagger:route GET /get-parity/{nodes}/{disksPerNode} AdminAPI getParity

Gets parity by sending number of nodes & number of disks

func NewGetParity ¶ added in v0.3.26

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

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

func (*GetParity) ServeHTTP ¶ added in v0.3.26

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

type GetParityDefault ¶ added in v0.3.26

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

func NewGetParityDefault(code int) *GetParityDefault

NewGetParityDefault creates GetParityDefault with default headers values

func (*GetParityDefault) SetPayload ¶ added in v0.3.26

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

SetPayload sets the payload to the get parity default response

func (*GetParityDefault) SetStatusCode ¶ added in v0.3.26

func (o *GetParityDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get parity default response

func (*GetParityDefault) WithPayload ¶ added in v0.3.26

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

WithPayload adds the payload to the get parity default response

func (*GetParityDefault) WithStatusCode ¶ added in v0.3.26

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

WithStatusCode adds the status to the get parity default response

func (*GetParityDefault) WriteResponse ¶ added in v0.3.26

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

WriteResponse to the client

type GetParityHandler ¶ added in v0.3.26

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

GetParityHandler interface for that can handle valid get parity params

type GetParityHandlerFunc ¶ added in v0.3.26

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

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

func (GetParityHandlerFunc) Handle ¶ added in v0.3.26

Handle executing the request and returning a response

type GetParityOK ¶ added in v0.3.26

type GetParityOK struct {

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

GetParityOK A successful response.

swagger:response getParityOK

func NewGetParityOK ¶ added in v0.3.26

func NewGetParityOK() *GetParityOK

NewGetParityOK creates GetParityOK with default headers values

func (*GetParityOK) SetPayload ¶ added in v0.3.26

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

SetPayload sets the payload to the get parity o k response

func (*GetParityOK) WithPayload ¶ added in v0.3.26

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

WithPayload adds the payload to the get parity o k response

func (*GetParityOK) WriteResponse ¶ added in v0.3.26

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

WriteResponse to the client

type GetParityParams ¶ added in v0.3.26

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

func NewGetParityParams() GetParityParams

NewGetParityParams creates a new GetParityParams object no default values defined in spec.

func (*GetParityParams) BindRequest ¶ added in v0.3.26

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

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

GetParityURL generates an URL for the get parity operation

func (*GetParityURL) Build ¶ added in v0.3.26

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

Build a url path and query string

func (*GetParityURL) BuildFull ¶ added in v0.3.26

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

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

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

func (o *GetParityURL) String() string

String returns the string representation of the path with query string

func (*GetParityURL) StringFull ¶ added in v0.3.26

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

StringFull returns the string representation of a complete url

func (*GetParityURL) WithBasePath ¶ added in v0.3.26

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 GetResourceQuota ¶

type GetResourceQuota struct {
	Context *middleware.Context
	Handler GetResourceQuotaHandler
}

GetResourceQuota swagger:route GET /namespaces/{namespace}/resourcequotas/{resource-quota-name} AdminAPI 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 no default values defined in spec.

func (*GetResourceQuotaParams) BindRequest ¶

func (o *GetResourceQuotaParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewGetResourceQuotaParams() beforehand.

type GetResourceQuotaURL ¶

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

GetResourceQuotaURL generates an URL for the get resource quota operation

func (*GetResourceQuotaURL) Build ¶

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

Build a url path and query string

func (*GetResourceQuotaURL) BuildFull ¶

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

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

func (*GetResourceQuotaURL) Must ¶

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

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

func (*GetResourceQuotaURL) SetBasePath ¶

func (o *GetResourceQuotaURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*GetResourceQuotaURL) String ¶

func (o *GetResourceQuotaURL) String() string

String returns the string representation of the path with query string

func (*GetResourceQuotaURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*GetResourceQuotaURL) WithBasePath ¶

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

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type GetTenantPods ¶ added in v0.7.1

type GetTenantPods struct {
	Context *middleware.Context
	Handler GetTenantPodsHandler
}

GetTenantPods swagger:route GET /namespaces/{namespace}/tenants/{tenant}/pods AdminAPI getTenantPods

Get Pods For The Tenant

func NewGetTenantPods ¶ added in v0.7.1

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

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

func (*GetTenantPods) ServeHTTP ¶ added in v0.7.1

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

type GetTenantPodsDefault ¶ added in v0.7.1

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

func NewGetTenantPodsDefault(code int) *GetTenantPodsDefault

NewGetTenantPodsDefault creates GetTenantPodsDefault with default headers values

func (*GetTenantPodsDefault) SetPayload ¶ added in v0.7.1

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

SetPayload sets the payload to the get tenant pods default response

func (*GetTenantPodsDefault) SetStatusCode ¶ added in v0.7.1

func (o *GetTenantPodsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get tenant pods default response

func (*GetTenantPodsDefault) WithPayload ¶ added in v0.7.1

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

WithPayload adds the payload to the get tenant pods default response

func (*GetTenantPodsDefault) WithStatusCode ¶ added in v0.7.1

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

WithStatusCode adds the status to the get tenant pods default response

func (*GetTenantPodsDefault) WriteResponse ¶ added in v0.7.1

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

WriteResponse to the client

type GetTenantPodsHandler ¶ added in v0.7.1

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

GetTenantPodsHandler interface for that can handle valid get tenant pods params

type GetTenantPodsHandlerFunc ¶ added in v0.7.1

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

Handle executing the request and returning a response

type GetTenantPodsOK ¶ added in v0.7.1

type GetTenantPodsOK struct {

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

GetTenantPodsOK A successful response.

swagger:response getTenantPodsOK

func NewGetTenantPodsOK ¶ added in v0.7.1

func NewGetTenantPodsOK() *GetTenantPodsOK

NewGetTenantPodsOK creates GetTenantPodsOK with default headers values

func (*GetTenantPodsOK) SetPayload ¶ added in v0.7.1

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

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

func (*GetTenantPodsOK) WithPayload ¶ added in v0.7.1

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

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

func (*GetTenantPodsOK) WriteResponse ¶ added in v0.7.1

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

WriteResponse to the client

type GetTenantPodsParams ¶ added in v0.7.1

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

func NewGetTenantPodsParams() GetTenantPodsParams

NewGetTenantPodsParams creates a new GetTenantPodsParams object no default values defined in spec.

func (*GetTenantPodsParams) BindRequest ¶ added in v0.7.1

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

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

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

Build a url path and query string

func (*GetTenantPodsURL) BuildFull ¶ added in v0.7.1

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

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

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

func (o *GetTenantPodsURL) String() string

String returns the string representation of the path with query string

func (*GetTenantPodsURL) StringFull ¶ added in v0.7.1

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

StringFull returns the string representation of a complete url

func (*GetTenantPodsURL) WithBasePath ¶ added in v0.7.1

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

type GetTenantUsage struct {
	Context *middleware.Context
	Handler GetTenantUsageHandler
}

GetTenantUsage swagger:route GET /namespaces/{namespace}/tenants/{tenant}/usage AdminAPI getTenantUsage

Get Usage For The Tenant

func NewGetTenantUsage ¶ added in v0.3.1

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

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

func (*GetTenantUsage) ServeHTTP ¶ added in v0.3.1

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

type GetTenantUsageDefault ¶ added in v0.3.1

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

func NewGetTenantUsageDefault(code int) *GetTenantUsageDefault

NewGetTenantUsageDefault creates GetTenantUsageDefault with default headers values

func (*GetTenantUsageDefault) SetPayload ¶ added in v0.3.1

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

SetPayload sets the payload to the get tenant usage default response

func (*GetTenantUsageDefault) SetStatusCode ¶ added in v0.3.1

func (o *GetTenantUsageDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get tenant usage default response

func (*GetTenantUsageDefault) WithPayload ¶ added in v0.3.1

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

WithPayload adds the payload to the get tenant usage default response

func (*GetTenantUsageDefault) WithStatusCode ¶ added in v0.3.1

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

WithStatusCode adds the status to the get tenant usage default response

func (*GetTenantUsageDefault) WriteResponse ¶ added in v0.3.1

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

WriteResponse to the client

type GetTenantUsageHandler ¶ added in v0.3.1

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

GetTenantUsageHandler interface for that can handle valid get tenant usage params

type GetTenantUsageHandlerFunc ¶ added in v0.3.1

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

Handle executing the request and returning a response

type GetTenantUsageOK ¶ added in v0.3.1

type GetTenantUsageOK struct {

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

GetTenantUsageOK A successful response.

swagger:response getTenantUsageOK

func NewGetTenantUsageOK ¶ added in v0.3.1

func NewGetTenantUsageOK() *GetTenantUsageOK

NewGetTenantUsageOK creates GetTenantUsageOK with default headers values

func (*GetTenantUsageOK) SetPayload ¶ added in v0.3.1

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

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

func (*GetTenantUsageOK) WithPayload ¶ added in v0.3.1

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

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

func (*GetTenantUsageOK) WriteResponse ¶ added in v0.3.1

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

WriteResponse to the client

type GetTenantUsageParams ¶ added in v0.3.1

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

func NewGetTenantUsageParams() GetTenantUsageParams

NewGetTenantUsageParams creates a new GetTenantUsageParams object no default values defined in spec.

func (*GetTenantUsageParams) BindRequest ¶ added in v0.3.1

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

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

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

Build a url path and query string

func (*GetTenantUsageURL) BuildFull ¶ added in v0.3.1

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

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

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

func (o *GetTenantUsageURL) String() string

String returns the string representation of the path with query string

func (*GetTenantUsageURL) StringFull ¶ added in v0.3.1

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

StringFull returns the string representation of a complete url

func (*GetTenantUsageURL) WithBasePath ¶ added in v0.3.1

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

type GetTenantYAML struct {
	Context *middleware.Context
	Handler GetTenantYAMLHandler
}

GetTenantYAML swagger:route GET /namespaces/{namespace}/tenants/{tenant}/yaml AdminAPI getTenantYAML

Get the Tenant YAML

func NewGetTenantYAML ¶ added in v0.7.1

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

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

type GetTenantYAMLDefault ¶ added in v0.7.1

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

func NewGetTenantYAMLDefault(code int) *GetTenantYAMLDefault

NewGetTenantYAMLDefault creates GetTenantYAMLDefault with default headers values

func (*GetTenantYAMLDefault) SetPayload ¶ added in v0.7.1

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

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

func (*GetTenantYAMLDefault) SetStatusCode ¶ added in v0.7.1

func (o *GetTenantYAMLDefault) SetStatusCode(code int)

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

func (*GetTenantYAMLDefault) WithPayload ¶ added in v0.7.1

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

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

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

func (*GetTenantYAMLDefault) WriteResponse ¶ added in v0.7.1

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

WriteResponse to the client

type GetTenantYAMLHandler ¶ added in v0.7.1

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

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

Handle executing the request and returning a response

type GetTenantYAMLOK ¶ added in v0.7.1

type GetTenantYAMLOK struct {

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

GetTenantYAMLOK A successful response.

swagger:response getTenantYAMLOK

func NewGetTenantYAMLOK ¶ added in v0.7.1

func NewGetTenantYAMLOK() *GetTenantYAMLOK

NewGetTenantYAMLOK creates GetTenantYAMLOK with default headers values

func (*GetTenantYAMLOK) SetPayload ¶ added in v0.7.1

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

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

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

WriteResponse to the client

type GetTenantYAMLParams ¶ added in v0.7.1

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

func NewGetTenantYAMLParams() GetTenantYAMLParams

NewGetTenantYAMLParams creates a new GetTenantYAMLParams object no default values defined in spec.

func (*GetTenantYAMLParams) BindRequest ¶ added in v0.7.1

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

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

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

Build a url path and query string

func (*GetTenantYAMLURL) BuildFull ¶ added in v0.7.1

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

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

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

func (o *GetTenantYAMLURL) String() string

String returns the string representation of the path with query string

func (*GetTenantYAMLURL) StringFull ¶ added in v0.7.1

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

StringFull returns the string representation of a complete url

func (*GetTenantYAMLURL) WithBasePath ¶ added in v0.7.1

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 GetTier ¶ added in v0.7.0

type GetTier struct {
	Context *middleware.Context
	Handler GetTierHandler
}

GetTier swagger:route GET /admin/tiers/{type}/{name} AdminAPI getTier

Get Tier

func NewGetTier ¶ added in v0.7.0

func NewGetTier(ctx *middleware.Context, handler GetTierHandler) *GetTier

NewGetTier creates a new http.Handler for the get tier operation

func (*GetTier) ServeHTTP ¶ added in v0.7.0

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

type GetTierDefault ¶ added in v0.7.0

type GetTierDefault struct {

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

GetTierDefault Generic error response.

swagger:response getTierDefault

func NewGetTierDefault ¶ added in v0.7.0

func NewGetTierDefault(code int) *GetTierDefault

NewGetTierDefault creates GetTierDefault with default headers values

func (*GetTierDefault) SetPayload ¶ added in v0.7.0

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

SetPayload sets the payload to the get tier default response

func (*GetTierDefault) SetStatusCode ¶ added in v0.7.0

func (o *GetTierDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get tier default response

func (*GetTierDefault) WithPayload ¶ added in v0.7.0

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

WithPayload adds the payload to the get tier default response

func (*GetTierDefault) WithStatusCode ¶ added in v0.7.0

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

WithStatusCode adds the status to the get tier default response

func (*GetTierDefault) WriteResponse ¶ added in v0.7.0

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

WriteResponse to the client

type GetTierHandler ¶ added in v0.7.0

type GetTierHandler interface {
	Handle(GetTierParams, *models.Principal) middleware.Responder
}

GetTierHandler interface for that can handle valid get tier params

type GetTierHandlerFunc ¶ added in v0.7.0

type GetTierHandlerFunc func(GetTierParams, *models.Principal) middleware.Responder

GetTierHandlerFunc turns a function with the right signature into a get tier handler

func (GetTierHandlerFunc) Handle ¶ added in v0.7.0

func (fn GetTierHandlerFunc) Handle(params GetTierParams, principal *models.Principal) middleware.Responder

Handle executing the request and returning a response

type GetTierOK ¶ added in v0.7.0

type GetTierOK struct {

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

GetTierOK A successful response.

swagger:response getTierOK

func NewGetTierOK ¶ added in v0.7.0

func NewGetTierOK() *GetTierOK

NewGetTierOK creates GetTierOK with default headers values

func (*GetTierOK) SetPayload ¶ added in v0.7.0

func (o *GetTierOK) SetPayload(payload *models.Tier)

SetPayload sets the payload to the get tier o k response

func (*GetTierOK) WithPayload ¶ added in v0.7.0

func (o *GetTierOK) WithPayload(payload *models.Tier) *GetTierOK

WithPayload adds the payload to the get tier o k response

func (*GetTierOK) WriteResponse ¶ added in v0.7.0

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

WriteResponse to the client

type GetTierParams ¶ added in v0.7.0

type GetTierParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Name string
	/*
	  Required: true
	  In: path
	*/
	Type string
}

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

swagger:parameters GetTier

func NewGetTierParams ¶ added in v0.7.0

func NewGetTierParams() GetTierParams

NewGetTierParams creates a new GetTierParams object no default values defined in spec.

func (*GetTierParams) BindRequest ¶ added in v0.7.0

func (o *GetTierParams) 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 NewGetTierParams() beforehand.

type GetTierURL ¶ added in v0.7.0

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

GetTierURL generates an URL for the get tier operation

func (*GetTierURL) Build ¶ added in v0.7.0

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

Build a url path and query string

func (*GetTierURL) BuildFull ¶ added in v0.7.0

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

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

func (*GetTierURL) Must ¶ added in v0.7.0

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

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

func (*GetTierURL) SetBasePath ¶ added in v0.7.0

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

func (o *GetTierURL) String() string

String returns the string representation of the path with query string

func (*GetTierURL) StringFull ¶ added in v0.7.0

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

StringFull returns the string representation of a complete url

func (*GetTierURL) WithBasePath ¶ added in v0.7.0

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

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 GetUserInfo ¶

type GetUserInfo struct {
	Context *middleware.Context
	Handler GetUserInfoHandler
}

GetUserInfo swagger:route GET /users/{name} AdminAPI getUserInfo

Get User Info

func NewGetUserInfo ¶

func NewGetUserInfo(ctx *middleware.Context, handler GetUserInfoHandler) *GetUserInfo

NewGetUserInfo creates a new http.Handler for the get user info operation

func (*GetUserInfo) ServeHTTP ¶

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

type GetUserInfoDefault ¶

type GetUserInfoDefault struct {

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

GetUserInfoDefault Generic error response.

swagger:response getUserInfoDefault

func NewGetUserInfoDefault ¶

func NewGetUserInfoDefault(code int) *GetUserInfoDefault

NewGetUserInfoDefault creates GetUserInfoDefault with default headers values

func (*GetUserInfoDefault) SetPayload ¶

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

SetPayload sets the payload to the get user info default response

func (*GetUserInfoDefault) SetStatusCode ¶

func (o *GetUserInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get user info default response

func (*GetUserInfoDefault) WithPayload ¶

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

WithPayload adds the payload to the get user info default response

func (*GetUserInfoDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the get user info default response

func (*GetUserInfoDefault) WriteResponse ¶

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

WriteResponse to the client

type GetUserInfoHandler ¶

type GetUserInfoHandler interface {
	Handle(GetUserInfoParams, *models.Principal) middleware.Responder
}

GetUserInfoHandler interface for that can handle valid get user info params

type GetUserInfoHandlerFunc ¶

type GetUserInfoHandlerFunc func(GetUserInfoParams, *models.Principal) middleware.Responder

GetUserInfoHandlerFunc turns a function with the right signature into a get user info handler

func (GetUserInfoHandlerFunc) Handle ¶

Handle executing the request and returning a response

type GetUserInfoOK ¶

type GetUserInfoOK struct {

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

GetUserInfoOK A successful response.

swagger:response getUserInfoOK

func NewGetUserInfoOK ¶

func NewGetUserInfoOK() *GetUserInfoOK

NewGetUserInfoOK creates GetUserInfoOK with default headers values

func (*GetUserInfoOK) SetPayload ¶

func (o *GetUserInfoOK) SetPayload(payload *models.User)

SetPayload sets the payload to the get user info o k response

func (*GetUserInfoOK) WithPayload ¶

func (o *GetUserInfoOK) WithPayload(payload *models.User) *GetUserInfoOK

WithPayload adds the payload to the get user info o k response

func (*GetUserInfoOK) WriteResponse ¶

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

WriteResponse to the client

type GetUserInfoParams ¶

type GetUserInfoParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Name string
}

GetUserInfoParams contains all the bound params for the get user info operation typically these are obtained from a http.Request

swagger:parameters GetUserInfo

func NewGetUserInfoParams ¶

func NewGetUserInfoParams() GetUserInfoParams

NewGetUserInfoParams creates a new GetUserInfoParams object no default values defined in spec.

func (*GetUserInfoParams) BindRequest ¶

func (o *GetUserInfoParams) 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 NewGetUserInfoParams() beforehand.

type GetUserInfoURL ¶

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

GetUserInfoURL generates an URL for the get user info operation

func (*GetUserInfoURL) Build ¶

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

Build a url path and query string

func (*GetUserInfoURL) BuildFull ¶

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

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

func (*GetUserInfoURL) Must ¶

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

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

func (*GetUserInfoURL) SetBasePath ¶

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

func (o *GetUserInfoURL) String() string

String returns the string representation of the path with query string

func (*GetUserInfoURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*GetUserInfoURL) WithBasePath ¶

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

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 GroupInfo ¶

type GroupInfo struct {
	Context *middleware.Context
	Handler GroupInfoHandler
}

GroupInfo swagger:route GET /groups/{name} AdminAPI groupInfo

Group info

func NewGroupInfo ¶

func NewGroupInfo(ctx *middleware.Context, handler GroupInfoHandler) *GroupInfo

NewGroupInfo creates a new http.Handler for the group info operation

func (*GroupInfo) ServeHTTP ¶

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

type GroupInfoDefault ¶

type GroupInfoDefault struct {

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

GroupInfoDefault Generic error response.

swagger:response groupInfoDefault

func NewGroupInfoDefault ¶

func NewGroupInfoDefault(code int) *GroupInfoDefault

NewGroupInfoDefault creates GroupInfoDefault with default headers values

func (*GroupInfoDefault) SetPayload ¶

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

SetPayload sets the payload to the group info default response

func (*GroupInfoDefault) SetStatusCode ¶

func (o *GroupInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the group info default response

func (*GroupInfoDefault) WithPayload ¶

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

WithPayload adds the payload to the group info default response

func (*GroupInfoDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the group info default response

func (*GroupInfoDefault) WriteResponse ¶

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

WriteResponse to the client

type GroupInfoHandler ¶

type GroupInfoHandler interface {
	Handle(GroupInfoParams, *models.Principal) middleware.Responder
}

GroupInfoHandler interface for that can handle valid group info params

type GroupInfoHandlerFunc ¶

type GroupInfoHandlerFunc func(GroupInfoParams, *models.Principal) middleware.Responder

GroupInfoHandlerFunc turns a function with the right signature into a group info handler

func (GroupInfoHandlerFunc) Handle ¶

Handle executing the request and returning a response

type GroupInfoOK ¶

type GroupInfoOK struct {

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

GroupInfoOK A successful response.

swagger:response groupInfoOK

func NewGroupInfoOK ¶

func NewGroupInfoOK() *GroupInfoOK

NewGroupInfoOK creates GroupInfoOK with default headers values

func (*GroupInfoOK) SetPayload ¶

func (o *GroupInfoOK) SetPayload(payload *models.Group)

SetPayload sets the payload to the group info o k response

func (*GroupInfoOK) WithPayload ¶

func (o *GroupInfoOK) WithPayload(payload *models.Group) *GroupInfoOK

WithPayload adds the payload to the group info o k response

func (*GroupInfoOK) WriteResponse ¶

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

WriteResponse to the client

type GroupInfoParams ¶

type GroupInfoParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Name string
}

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

swagger:parameters GroupInfo

func NewGroupInfoParams ¶

func NewGroupInfoParams() GroupInfoParams

NewGroupInfoParams creates a new GroupInfoParams object no default values defined in spec.

func (*GroupInfoParams) BindRequest ¶

func (o *GroupInfoParams) 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 NewGroupInfoParams() beforehand.

type GroupInfoURL ¶

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

GroupInfoURL generates an URL for the group info operation

func (*GroupInfoURL) Build ¶

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

Build a url path and query string

func (*GroupInfoURL) BuildFull ¶

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

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

func (*GroupInfoURL) Must ¶

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

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

func (*GroupInfoURL) SetBasePath ¶

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

func (o *GroupInfoURL) String() string

String returns the string representation of the path with query string

func (*GroupInfoURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*GroupInfoURL) WithBasePath ¶

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

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 AdminAPI 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 no default values defined in 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 ListConfig ¶

type ListConfig struct {
	Context *middleware.Context
	Handler ListConfigHandler
}

ListConfig swagger:route GET /configs AdminAPI listConfig

List Configurations

func NewListConfig ¶

func NewListConfig(ctx *middleware.Context, handler ListConfigHandler) *ListConfig

NewListConfig creates a new http.Handler for the list config operation

func (*ListConfig) ServeHTTP ¶

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

type ListConfigDefault ¶

type ListConfigDefault struct {

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

ListConfigDefault Generic error response.

swagger:response listConfigDefault

func NewListConfigDefault ¶

func NewListConfigDefault(code int) *ListConfigDefault

NewListConfigDefault creates ListConfigDefault with default headers values

func (*ListConfigDefault) SetPayload ¶

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

SetPayload sets the payload to the list config default response

func (*ListConfigDefault) SetStatusCode ¶

func (o *ListConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list config default response

func (*ListConfigDefault) WithPayload ¶

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

WithPayload adds the payload to the list config default response

func (*ListConfigDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the list config default response

func (*ListConfigDefault) WriteResponse ¶

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

WriteResponse to the client

type ListConfigHandler ¶

type ListConfigHandler interface {
	Handle(ListConfigParams, *models.Principal) middleware.Responder
}

ListConfigHandler interface for that can handle valid list config params

type ListConfigHandlerFunc ¶

type ListConfigHandlerFunc func(ListConfigParams, *models.Principal) middleware.Responder

ListConfigHandlerFunc turns a function with the right signature into a list config handler

func (ListConfigHandlerFunc) Handle ¶

Handle executing the request and returning a response

type ListConfigOK ¶

type ListConfigOK struct {

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

ListConfigOK A successful response.

swagger:response listConfigOK

func NewListConfigOK ¶

func NewListConfigOK() *ListConfigOK

NewListConfigOK creates ListConfigOK with default headers values

func (*ListConfigOK) SetPayload ¶

func (o *ListConfigOK) SetPayload(payload *models.ListConfigResponse)

SetPayload sets the payload to the list config o k response

func (*ListConfigOK) WithPayload ¶

func (o *ListConfigOK) WithPayload(payload *models.ListConfigResponse) *ListConfigOK

WithPayload adds the payload to the list config o k response

func (*ListConfigOK) WriteResponse ¶

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

WriteResponse to the client

type ListConfigParams ¶

type ListConfigParams struct {

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

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

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

swagger:parameters ListConfig

func NewListConfigParams ¶

func NewListConfigParams() ListConfigParams

NewListConfigParams creates a new ListConfigParams object no default values defined in spec.

func (*ListConfigParams) BindRequest ¶

func (o *ListConfigParams) 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 NewListConfigParams() beforehand.

type ListConfigURL ¶

type ListConfigURL struct {
	Limit  *int32
	Offset *int32
	// contains filtered or unexported fields
}

ListConfigURL generates an URL for the list config operation

func (*ListConfigURL) Build ¶

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

Build a url path and query string

func (*ListConfigURL) BuildFull ¶

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

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

func (*ListConfigURL) Must ¶

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

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

func (*ListConfigURL) SetBasePath ¶

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

func (o *ListConfigURL) String() string

String returns the string representation of the path with query string

func (*ListConfigURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*ListConfigURL) WithBasePath ¶

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

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 ListGroups ¶

type ListGroups struct {
	Context *middleware.Context
	Handler ListGroupsHandler
}

ListGroups swagger:route GET /groups AdminAPI listGroups

List Groups

func NewListGroups ¶

func NewListGroups(ctx *middleware.Context, handler ListGroupsHandler) *ListGroups

NewListGroups creates a new http.Handler for the list groups operation

func (*ListGroups) ServeHTTP ¶

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

type ListGroupsDefault ¶

type ListGroupsDefault struct {

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

ListGroupsDefault Generic error response.

swagger:response listGroupsDefault

func NewListGroupsDefault ¶

func NewListGroupsDefault(code int) *ListGroupsDefault

NewListGroupsDefault creates ListGroupsDefault with default headers values

func (*ListGroupsDefault) SetPayload ¶

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

SetPayload sets the payload to the list groups default response

func (*ListGroupsDefault) SetStatusCode ¶

func (o *ListGroupsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list groups default response

func (*ListGroupsDefault) WithPayload ¶

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

WithPayload adds the payload to the list groups default response

func (*ListGroupsDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the list groups default response

func (*ListGroupsDefault) WriteResponse ¶

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

WriteResponse to the client

type ListGroupsHandler ¶

type ListGroupsHandler interface {
	Handle(ListGroupsParams, *models.Principal) middleware.Responder
}

ListGroupsHandler interface for that can handle valid list groups params

type ListGroupsHandlerFunc ¶

type ListGroupsHandlerFunc func(ListGroupsParams, *models.Principal) middleware.Responder

ListGroupsHandlerFunc turns a function with the right signature into a list groups handler

func (ListGroupsHandlerFunc) Handle ¶

Handle executing the request and returning a response

type ListGroupsOK ¶

type ListGroupsOK struct {

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

ListGroupsOK A successful response.

swagger:response listGroupsOK

func NewListGroupsOK ¶

func NewListGroupsOK() *ListGroupsOK

NewListGroupsOK creates ListGroupsOK with default headers values

func (*ListGroupsOK) SetPayload ¶

func (o *ListGroupsOK) SetPayload(payload *models.ListGroupsResponse)

SetPayload sets the payload to the list groups o k response

func (*ListGroupsOK) WithPayload ¶

func (o *ListGroupsOK) WithPayload(payload *models.ListGroupsResponse) *ListGroupsOK

WithPayload adds the payload to the list groups o k response

func (*ListGroupsOK) WriteResponse ¶

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

WriteResponse to the client

type ListGroupsParams ¶

type ListGroupsParams struct {

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

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

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

swagger:parameters ListGroups

func NewListGroupsParams ¶

func NewListGroupsParams() ListGroupsParams

NewListGroupsParams creates a new ListGroupsParams object no default values defined in spec.

func (*ListGroupsParams) BindRequest ¶

func (o *ListGroupsParams) 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 NewListGroupsParams() beforehand.

type ListGroupsURL ¶

type ListGroupsURL struct {
	Limit  *int32
	Offset *int32
	// contains filtered or unexported fields
}

ListGroupsURL generates an URL for the list groups operation

func (*ListGroupsURL) Build ¶

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

Build a url path and query string

func (*ListGroupsURL) BuildFull ¶

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

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

func (*ListGroupsURL) Must ¶

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

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

func (*ListGroupsURL) SetBasePath ¶

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

func (o *ListGroupsURL) String() string

String returns the string representation of the path with query string

func (*ListGroupsURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*ListGroupsURL) WithBasePath ¶

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

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

type ListPVCs struct {
	Context *middleware.Context
	Handler ListPVCsHandler
}

ListPVCs swagger:route GET /list-pvcs AdminAPI listPVCs

List all PVCs from namespaces that the user has access to

func NewListPVCs ¶ added in v0.7.2

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

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

func (*ListPVCs) ServeHTTP ¶ added in v0.7.2

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

type ListPVCsDefault ¶ added in v0.7.2

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

func NewListPVCsDefault(code int) *ListPVCsDefault

NewListPVCsDefault creates ListPVCsDefault with default headers values

func (*ListPVCsDefault) SetPayload ¶ added in v0.7.2

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

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

func (*ListPVCsDefault) SetStatusCode ¶ added in v0.7.2

func (o *ListPVCsDefault) SetStatusCode(code int)

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

func (*ListPVCsDefault) WithPayload ¶ added in v0.7.2

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

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

func (*ListPVCsDefault) WithStatusCode ¶ added in v0.7.2

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

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

func (*ListPVCsDefault) WriteResponse ¶ added in v0.7.2

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

WriteResponse to the client

type ListPVCsHandler ¶ added in v0.7.2

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

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

type ListPVCsHandlerFunc ¶ added in v0.7.2

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

Handle executing the request and returning a response

type ListPVCsOK ¶ added in v0.7.2

type ListPVCsOK struct {

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

ListPVCsOK A successful response.

swagger:response listPVCsOK

func NewListPVCsOK ¶ added in v0.7.2

func NewListPVCsOK() *ListPVCsOK

NewListPVCsOK creates ListPVCsOK with default headers values

func (*ListPVCsOK) SetPayload ¶ added in v0.7.2

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

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

func (*ListPVCsOK) WithPayload ¶ added in v0.7.2

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

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

func (*ListPVCsOK) WriteResponse ¶ added in v0.7.2

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

WriteResponse to the client

type ListPVCsParams ¶ added in v0.7.2

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

func NewListPVCsParams() ListPVCsParams

NewListPVCsParams creates a new ListPVCsParams object no default values defined in spec.

func (*ListPVCsParams) BindRequest ¶ added in v0.7.2

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

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

ListPVCsURL generates an URL for the list p v cs operation

func (*ListPVCsURL) Build ¶ added in v0.7.2

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

Build a url path and query string

func (*ListPVCsURL) BuildFull ¶ added in v0.7.2

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

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

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

func (o *ListPVCsURL) String() string

String returns the string representation of the path with query string

func (*ListPVCsURL) StringFull ¶ added in v0.7.2

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

StringFull returns the string representation of a complete url

func (*ListPVCsURL) WithBasePath ¶ added in v0.7.2

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 ListPolicies ¶

type ListPolicies struct {
	Context *middleware.Context
	Handler ListPoliciesHandler
}

ListPolicies swagger:route GET /policies AdminAPI listPolicies

List Policies

func NewListPolicies ¶

func NewListPolicies(ctx *middleware.Context, handler ListPoliciesHandler) *ListPolicies

NewListPolicies creates a new http.Handler for the list policies operation

func (*ListPolicies) ServeHTTP ¶

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

type ListPoliciesDefault ¶

type ListPoliciesDefault struct {

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

ListPoliciesDefault Generic error response.

swagger:response listPoliciesDefault

func NewListPoliciesDefault ¶

func NewListPoliciesDefault(code int) *ListPoliciesDefault

NewListPoliciesDefault creates ListPoliciesDefault with default headers values

func (*ListPoliciesDefault) SetPayload ¶

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

SetPayload sets the payload to the list policies default response

func (*ListPoliciesDefault) SetStatusCode ¶

func (o *ListPoliciesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list policies default response

func (*ListPoliciesDefault) WithPayload ¶

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

WithPayload adds the payload to the list policies default response

func (*ListPoliciesDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the list policies default response

func (*ListPoliciesDefault) WriteResponse ¶

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

WriteResponse to the client

type ListPoliciesHandler ¶

type ListPoliciesHandler interface {
	Handle(ListPoliciesParams, *models.Principal) middleware.Responder
}

ListPoliciesHandler interface for that can handle valid list policies params

type ListPoliciesHandlerFunc ¶

type ListPoliciesHandlerFunc func(ListPoliciesParams, *models.Principal) middleware.Responder

ListPoliciesHandlerFunc turns a function with the right signature into a list policies handler

func (ListPoliciesHandlerFunc) Handle ¶

Handle executing the request and returning a response

type ListPoliciesOK ¶

type ListPoliciesOK struct {

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

ListPoliciesOK A successful response.

swagger:response listPoliciesOK

func NewListPoliciesOK ¶

func NewListPoliciesOK() *ListPoliciesOK

NewListPoliciesOK creates ListPoliciesOK with default headers values

func (*ListPoliciesOK) SetPayload ¶

func (o *ListPoliciesOK) SetPayload(payload *models.ListPoliciesResponse)

SetPayload sets the payload to the list policies o k response

func (*ListPoliciesOK) WithPayload ¶

func (o *ListPoliciesOK) WithPayload(payload *models.ListPoliciesResponse) *ListPoliciesOK

WithPayload adds the payload to the list policies o k response

func (*ListPoliciesOK) WriteResponse ¶

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

WriteResponse to the client

type ListPoliciesParams ¶

type ListPoliciesParams struct {

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

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

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

swagger:parameters ListPolicies

func NewListPoliciesParams ¶

func NewListPoliciesParams() ListPoliciesParams

NewListPoliciesParams creates a new ListPoliciesParams object no default values defined in spec.

func (*ListPoliciesParams) BindRequest ¶

func (o *ListPoliciesParams) 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 NewListPoliciesParams() beforehand.

type ListPoliciesURL ¶

type ListPoliciesURL struct {
	Limit  *int32
	Offset *int32
	// contains filtered or unexported fields
}

ListPoliciesURL generates an URL for the list policies operation

func (*ListPoliciesURL) Build ¶

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

Build a url path and query string

func (*ListPoliciesURL) BuildFull ¶

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

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

func (*ListPoliciesURL) Must ¶

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

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

func (*ListPoliciesURL) SetBasePath ¶

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

func (o *ListPoliciesURL) String() string

String returns the string representation of the path with query string

func (*ListPoliciesURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*ListPoliciesURL) WithBasePath ¶

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

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 ListPoliciesWithBucket ¶ added in v0.6.4

type ListPoliciesWithBucket struct {
	Context *middleware.Context
	Handler ListPoliciesWithBucketHandler
}

ListPoliciesWithBucket swagger:route GET /bucket-policy/{bucket} AdminAPI listPoliciesWithBucket

List Policies With Given Bucket

func NewListPoliciesWithBucket ¶ added in v0.6.4

func NewListPoliciesWithBucket(ctx *middleware.Context, handler ListPoliciesWithBucketHandler) *ListPoliciesWithBucket

NewListPoliciesWithBucket creates a new http.Handler for the list policies with bucket operation

func (*ListPoliciesWithBucket) ServeHTTP ¶ added in v0.6.4

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

type ListPoliciesWithBucketDefault ¶ added in v0.6.4

type ListPoliciesWithBucketDefault struct {

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

ListPoliciesWithBucketDefault Generic error response.

swagger:response listPoliciesWithBucketDefault

func NewListPoliciesWithBucketDefault ¶ added in v0.6.4

func NewListPoliciesWithBucketDefault(code int) *ListPoliciesWithBucketDefault

NewListPoliciesWithBucketDefault creates ListPoliciesWithBucketDefault with default headers values

func (*ListPoliciesWithBucketDefault) SetPayload ¶ added in v0.6.4

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

SetPayload sets the payload to the list policies with bucket default response

func (*ListPoliciesWithBucketDefault) SetStatusCode ¶ added in v0.6.4

func (o *ListPoliciesWithBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list policies with bucket default response

func (*ListPoliciesWithBucketDefault) WithPayload ¶ added in v0.6.4

WithPayload adds the payload to the list policies with bucket default response

func (*ListPoliciesWithBucketDefault) WithStatusCode ¶ added in v0.6.4

WithStatusCode adds the status to the list policies with bucket default response

func (*ListPoliciesWithBucketDefault) WriteResponse ¶ added in v0.6.4

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

WriteResponse to the client

type ListPoliciesWithBucketHandler ¶ added in v0.6.4

type ListPoliciesWithBucketHandler interface {
	Handle(ListPoliciesWithBucketParams, *models.Principal) middleware.Responder
}

ListPoliciesWithBucketHandler interface for that can handle valid list policies with bucket params

type ListPoliciesWithBucketHandlerFunc ¶ added in v0.6.4

type ListPoliciesWithBucketHandlerFunc func(ListPoliciesWithBucketParams, *models.Principal) middleware.Responder

ListPoliciesWithBucketHandlerFunc turns a function with the right signature into a list policies with bucket handler

func (ListPoliciesWithBucketHandlerFunc) Handle ¶ added in v0.6.4

Handle executing the request and returning a response

type ListPoliciesWithBucketOK ¶ added in v0.6.4

type ListPoliciesWithBucketOK struct {

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

ListPoliciesWithBucketOK A successful response.

swagger:response listPoliciesWithBucketOK

func NewListPoliciesWithBucketOK ¶ added in v0.6.4

func NewListPoliciesWithBucketOK() *ListPoliciesWithBucketOK

NewListPoliciesWithBucketOK creates ListPoliciesWithBucketOK with default headers values

func (*ListPoliciesWithBucketOK) SetPayload ¶ added in v0.6.4

func (o *ListPoliciesWithBucketOK) SetPayload(payload *models.ListPoliciesResponse)

SetPayload sets the payload to the list policies with bucket o k response

func (*ListPoliciesWithBucketOK) WithPayload ¶ added in v0.6.4

WithPayload adds the payload to the list policies with bucket o k response

func (*ListPoliciesWithBucketOK) WriteResponse ¶ added in v0.6.4

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

WriteResponse to the client

type ListPoliciesWithBucketParams ¶ added in v0.6.4

type ListPoliciesWithBucketParams struct {

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

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

ListPoliciesWithBucketParams contains all the bound params for the list policies with bucket operation typically these are obtained from a http.Request

swagger:parameters ListPoliciesWithBucket

func NewListPoliciesWithBucketParams ¶ added in v0.6.4

func NewListPoliciesWithBucketParams() ListPoliciesWithBucketParams

NewListPoliciesWithBucketParams creates a new ListPoliciesWithBucketParams object no default values defined in spec.

func (*ListPoliciesWithBucketParams) BindRequest ¶ added in v0.6.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 NewListPoliciesWithBucketParams() beforehand.

type ListPoliciesWithBucketURL ¶ added in v0.6.4

type ListPoliciesWithBucketURL struct {
	Bucket string

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

ListPoliciesWithBucketURL generates an URL for the list policies with bucket operation

func (*ListPoliciesWithBucketURL) Build ¶ added in v0.6.4

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

Build a url path and query string

func (*ListPoliciesWithBucketURL) BuildFull ¶ added in v0.6.4

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

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

func (*ListPoliciesWithBucketURL) Must ¶ added in v0.6.4

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

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

func (*ListPoliciesWithBucketURL) SetBasePath ¶ added in v0.6.4

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

func (o *ListPoliciesWithBucketURL) String() string

String returns the string representation of the path with query string

func (*ListPoliciesWithBucketURL) StringFull ¶ added in v0.6.4

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

StringFull returns the string representation of a complete url

func (*ListPoliciesWithBucketURL) WithBasePath ¶ added in v0.6.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 ListTenants ¶

type ListTenants struct {
	Context *middleware.Context
	Handler ListTenantsHandler
}

ListTenants swagger:route GET /namespaces/{namespace}/tenants AdminAPI 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 no default values defined in 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 ListUsers ¶

type ListUsers struct {
	Context *middleware.Context
	Handler ListUsersHandler
}

ListUsers swagger:route GET /users AdminAPI listUsers

List Users

func NewListUsers ¶

func NewListUsers(ctx *middleware.Context, handler ListUsersHandler) *ListUsers

NewListUsers creates a new http.Handler for the list users operation

func (*ListUsers) ServeHTTP ¶

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

type ListUsersDefault ¶

type ListUsersDefault struct {

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

ListUsersDefault Generic error response.

swagger:response listUsersDefault

func NewListUsersDefault ¶

func NewListUsersDefault(code int) *ListUsersDefault

NewListUsersDefault creates ListUsersDefault with default headers values

func (*ListUsersDefault) SetPayload ¶

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

SetPayload sets the payload to the list users default response

func (*ListUsersDefault) SetStatusCode ¶

func (o *ListUsersDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list users default response

func (*ListUsersDefault) WithPayload ¶

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

WithPayload adds the payload to the list users default response

func (*ListUsersDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the list users default response

func (*ListUsersDefault) WriteResponse ¶

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

WriteResponse to the client

type ListUsersForPolicy ¶ added in v0.7.2

type ListUsersForPolicy struct {
	Context *middleware.Context
	Handler ListUsersForPolicyHandler
}

ListUsersForPolicy swagger:route GET /policies/{policy}/users AdminAPI listUsersForPolicy

List Users for a Policy

func NewListUsersForPolicy ¶ added in v0.7.2

func NewListUsersForPolicy(ctx *middleware.Context, handler ListUsersForPolicyHandler) *ListUsersForPolicy

NewListUsersForPolicy creates a new http.Handler for the list users for policy operation

func (*ListUsersForPolicy) ServeHTTP ¶ added in v0.7.2

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

type ListUsersForPolicyDefault ¶ added in v0.7.2

type ListUsersForPolicyDefault struct {

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

ListUsersForPolicyDefault Generic error response.

swagger:response listUsersForPolicyDefault

func NewListUsersForPolicyDefault ¶ added in v0.7.2

func NewListUsersForPolicyDefault(code int) *ListUsersForPolicyDefault

NewListUsersForPolicyDefault creates ListUsersForPolicyDefault with default headers values

func (*ListUsersForPolicyDefault) SetPayload ¶ added in v0.7.2

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

SetPayload sets the payload to the list users for policy default response

func (*ListUsersForPolicyDefault) SetStatusCode ¶ added in v0.7.2

func (o *ListUsersForPolicyDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list users for policy default response

func (*ListUsersForPolicyDefault) WithPayload ¶ added in v0.7.2

WithPayload adds the payload to the list users for policy default response

func (*ListUsersForPolicyDefault) WithStatusCode ¶ added in v0.7.2

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

WithStatusCode adds the status to the list users for policy default response

func (*ListUsersForPolicyDefault) WriteResponse ¶ added in v0.7.2

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

WriteResponse to the client

type ListUsersForPolicyHandler ¶ added in v0.7.2

type ListUsersForPolicyHandler interface {
	Handle(ListUsersForPolicyParams, *models.Principal) middleware.Responder
}

ListUsersForPolicyHandler interface for that can handle valid list users for policy params

type ListUsersForPolicyHandlerFunc ¶ added in v0.7.2

type ListUsersForPolicyHandlerFunc func(ListUsersForPolicyParams, *models.Principal) middleware.Responder

ListUsersForPolicyHandlerFunc turns a function with the right signature into a list users for policy handler

func (ListUsersForPolicyHandlerFunc) Handle ¶ added in v0.7.2

Handle executing the request and returning a response

type ListUsersForPolicyOK ¶ added in v0.7.2

type ListUsersForPolicyOK struct {

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

ListUsersForPolicyOK A successful response.

swagger:response listUsersForPolicyOK

func NewListUsersForPolicyOK ¶ added in v0.7.2

func NewListUsersForPolicyOK() *ListUsersForPolicyOK

NewListUsersForPolicyOK creates ListUsersForPolicyOK with default headers values

func (*ListUsersForPolicyOK) SetPayload ¶ added in v0.7.2

func (o *ListUsersForPolicyOK) SetPayload(payload []string)

SetPayload sets the payload to the list users for policy o k response

func (*ListUsersForPolicyOK) WithPayload ¶ added in v0.7.2

func (o *ListUsersForPolicyOK) WithPayload(payload []string) *ListUsersForPolicyOK

WithPayload adds the payload to the list users for policy o k response

func (*ListUsersForPolicyOK) WriteResponse ¶ added in v0.7.2

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

WriteResponse to the client

type ListUsersForPolicyParams ¶ added in v0.7.2

type ListUsersForPolicyParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Policy string
}

ListUsersForPolicyParams contains all the bound params for the list users for policy operation typically these are obtained from a http.Request

swagger:parameters ListUsersForPolicy

func NewListUsersForPolicyParams ¶ added in v0.7.2

func NewListUsersForPolicyParams() ListUsersForPolicyParams

NewListUsersForPolicyParams creates a new ListUsersForPolicyParams object no default values defined in spec.

func (*ListUsersForPolicyParams) BindRequest ¶ added in v0.7.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 NewListUsersForPolicyParams() beforehand.

type ListUsersForPolicyURL ¶ added in v0.7.2

type ListUsersForPolicyURL struct {
	Policy string
	// contains filtered or unexported fields
}

ListUsersForPolicyURL generates an URL for the list users for policy operation

func (*ListUsersForPolicyURL) Build ¶ added in v0.7.2

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

Build a url path and query string

func (*ListUsersForPolicyURL) BuildFull ¶ added in v0.7.2

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

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

func (*ListUsersForPolicyURL) Must ¶ added in v0.7.2

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

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

func (*ListUsersForPolicyURL) SetBasePath ¶ added in v0.7.2

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

func (o *ListUsersForPolicyURL) String() string

String returns the string representation of the path with query string

func (*ListUsersForPolicyURL) StringFull ¶ added in v0.7.2

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

StringFull returns the string representation of a complete url

func (*ListUsersForPolicyURL) WithBasePath ¶ added in v0.7.2

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

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 ListUsersHandler ¶

type ListUsersHandler interface {
	Handle(ListUsersParams, *models.Principal) middleware.Responder
}

ListUsersHandler interface for that can handle valid list users params

type ListUsersHandlerFunc ¶

type ListUsersHandlerFunc func(ListUsersParams, *models.Principal) middleware.Responder

ListUsersHandlerFunc turns a function with the right signature into a list users handler

func (ListUsersHandlerFunc) Handle ¶

Handle executing the request and returning a response

type ListUsersOK ¶

type ListUsersOK struct {

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

ListUsersOK A successful response.

swagger:response listUsersOK

func NewListUsersOK ¶

func NewListUsersOK() *ListUsersOK

NewListUsersOK creates ListUsersOK with default headers values

func (*ListUsersOK) SetPayload ¶

func (o *ListUsersOK) SetPayload(payload *models.ListUsersResponse)

SetPayload sets the payload to the list users o k response

func (*ListUsersOK) WithPayload ¶

func (o *ListUsersOK) WithPayload(payload *models.ListUsersResponse) *ListUsersOK

WithPayload adds the payload to the list users o k response

func (*ListUsersOK) WriteResponse ¶

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

WriteResponse to the client

type ListUsersParams ¶

type ListUsersParams struct {

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

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

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

swagger:parameters ListUsers

func NewListUsersParams ¶

func NewListUsersParams() ListUsersParams

NewListUsersParams creates a new ListUsersParams object no default values defined in spec.

func (*ListUsersParams) BindRequest ¶

func (o *ListUsersParams) 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 NewListUsersParams() beforehand.

type ListUsersURL ¶

type ListUsersURL struct {
	Limit  *int32
	Offset *int32
	// contains filtered or unexported fields
}

ListUsersURL generates an URL for the list users operation

func (*ListUsersURL) Build ¶

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

Build a url path and query string

func (*ListUsersURL) BuildFull ¶

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

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

func (*ListUsersURL) Must ¶

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

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

func (*ListUsersURL) SetBasePath ¶

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

func (o *ListUsersURL) String() string

String returns the string representation of the path with query string

func (*ListUsersURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*ListUsersURL) WithBasePath ¶

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

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 ListUsersWithAccessToBucket ¶ added in v0.6.7

type ListUsersWithAccessToBucket struct {
	Context *middleware.Context
	Handler ListUsersWithAccessToBucketHandler
}

ListUsersWithAccessToBucket swagger:route GET /bucket-users/{bucket} AdminAPI listUsersWithAccessToBucket

List Users With Access to a Given Bucket

func NewListUsersWithAccessToBucket ¶ added in v0.6.7

func NewListUsersWithAccessToBucket(ctx *middleware.Context, handler ListUsersWithAccessToBucketHandler) *ListUsersWithAccessToBucket

NewListUsersWithAccessToBucket creates a new http.Handler for the list users with access to bucket operation

func (*ListUsersWithAccessToBucket) ServeHTTP ¶ added in v0.6.7

type ListUsersWithAccessToBucketDefault ¶ added in v0.6.7

type ListUsersWithAccessToBucketDefault struct {

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

ListUsersWithAccessToBucketDefault Generic error response.

swagger:response listUsersWithAccessToBucketDefault

func NewListUsersWithAccessToBucketDefault ¶ added in v0.6.7

func NewListUsersWithAccessToBucketDefault(code int) *ListUsersWithAccessToBucketDefault

NewListUsersWithAccessToBucketDefault creates ListUsersWithAccessToBucketDefault with default headers values

func (*ListUsersWithAccessToBucketDefault) SetPayload ¶ added in v0.6.7

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

SetPayload sets the payload to the list users with access to bucket default response

func (*ListUsersWithAccessToBucketDefault) SetStatusCode ¶ added in v0.6.7

func (o *ListUsersWithAccessToBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list users with access to bucket default response

func (*ListUsersWithAccessToBucketDefault) WithPayload ¶ added in v0.6.7

WithPayload adds the payload to the list users with access to bucket default response

func (*ListUsersWithAccessToBucketDefault) WithStatusCode ¶ added in v0.6.7

WithStatusCode adds the status to the list users with access to bucket default response

func (*ListUsersWithAccessToBucketDefault) WriteResponse ¶ added in v0.6.7

WriteResponse to the client

type ListUsersWithAccessToBucketHandler ¶ added in v0.6.7

type ListUsersWithAccessToBucketHandler interface {
	Handle(ListUsersWithAccessToBucketParams, *models.Principal) middleware.Responder
}

ListUsersWithAccessToBucketHandler interface for that can handle valid list users with access to bucket params

type ListUsersWithAccessToBucketHandlerFunc ¶ added in v0.6.7

type ListUsersWithAccessToBucketHandlerFunc func(ListUsersWithAccessToBucketParams, *models.Principal) middleware.Responder

ListUsersWithAccessToBucketHandlerFunc turns a function with the right signature into a list users with access to bucket handler

func (ListUsersWithAccessToBucketHandlerFunc) Handle ¶ added in v0.6.7

Handle executing the request and returning a response

type ListUsersWithAccessToBucketOK ¶ added in v0.6.7

type ListUsersWithAccessToBucketOK struct {

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

ListUsersWithAccessToBucketOK A successful response.

swagger:response listUsersWithAccessToBucketOK

func NewListUsersWithAccessToBucketOK ¶ added in v0.6.7

func NewListUsersWithAccessToBucketOK() *ListUsersWithAccessToBucketOK

NewListUsersWithAccessToBucketOK creates ListUsersWithAccessToBucketOK with default headers values

func (*ListUsersWithAccessToBucketOK) SetPayload ¶ added in v0.6.7

func (o *ListUsersWithAccessToBucketOK) SetPayload(payload []string)

SetPayload sets the payload to the list users with access to bucket o k response

func (*ListUsersWithAccessToBucketOK) WithPayload ¶ added in v0.6.7

WithPayload adds the payload to the list users with access to bucket o k response

func (*ListUsersWithAccessToBucketOK) WriteResponse ¶ added in v0.6.7

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

WriteResponse to the client

type ListUsersWithAccessToBucketParams ¶ added in v0.6.7

type ListUsersWithAccessToBucketParams struct {

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

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

ListUsersWithAccessToBucketParams contains all the bound params for the list users with access to bucket operation typically these are obtained from a http.Request

swagger:parameters ListUsersWithAccessToBucket

func NewListUsersWithAccessToBucketParams ¶ added in v0.6.7

func NewListUsersWithAccessToBucketParams() ListUsersWithAccessToBucketParams

NewListUsersWithAccessToBucketParams creates a new ListUsersWithAccessToBucketParams object no default values defined in spec.

func (*ListUsersWithAccessToBucketParams) BindRequest ¶ added in v0.6.7

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

type ListUsersWithAccessToBucketURL ¶ added in v0.6.7

type ListUsersWithAccessToBucketURL struct {
	Bucket string

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

ListUsersWithAccessToBucketURL generates an URL for the list users with access to bucket operation

func (*ListUsersWithAccessToBucketURL) Build ¶ added in v0.6.7

Build a url path and query string

func (*ListUsersWithAccessToBucketURL) BuildFull ¶ added in v0.6.7

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

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

func (*ListUsersWithAccessToBucketURL) Must ¶ added in v0.6.7

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

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

func (*ListUsersWithAccessToBucketURL) SetBasePath ¶ added in v0.6.7

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

String returns the string representation of the path with query string

func (*ListUsersWithAccessToBucketURL) StringFull ¶ added in v0.6.7

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

StringFull returns the string representation of a complete url

func (*ListUsersWithAccessToBucketURL) WithBasePath ¶ added in v0.6.7

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 NotificationEndpointList ¶

type NotificationEndpointList struct {
	Context *middleware.Context
	Handler NotificationEndpointListHandler
}

NotificationEndpointList swagger:route GET /admin/notification_endpoints AdminAPI notificationEndpointList

Returns a list of active notification endpoints

func NewNotificationEndpointList ¶

func NewNotificationEndpointList(ctx *middleware.Context, handler NotificationEndpointListHandler) *NotificationEndpointList

NewNotificationEndpointList creates a new http.Handler for the notification endpoint list operation

func (*NotificationEndpointList) ServeHTTP ¶

type NotificationEndpointListDefault ¶

type NotificationEndpointListDefault struct {

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

NotificationEndpointListDefault Generic error response.

swagger:response notificationEndpointListDefault

func NewNotificationEndpointListDefault ¶

func NewNotificationEndpointListDefault(code int) *NotificationEndpointListDefault

NewNotificationEndpointListDefault creates NotificationEndpointListDefault with default headers values

func (*NotificationEndpointListDefault) SetPayload ¶

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

SetPayload sets the payload to the notification endpoint list default response

func (*NotificationEndpointListDefault) SetStatusCode ¶

func (o *NotificationEndpointListDefault) SetStatusCode(code int)

SetStatusCode sets the status to the notification endpoint list default response

func (*NotificationEndpointListDefault) WithPayload ¶

WithPayload adds the payload to the notification endpoint list default response

func (*NotificationEndpointListDefault) WithStatusCode ¶

WithStatusCode adds the status to the notification endpoint list default response

func (*NotificationEndpointListDefault) WriteResponse ¶

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

WriteResponse to the client

type NotificationEndpointListHandler ¶

type NotificationEndpointListHandler interface {
	Handle(NotificationEndpointListParams, *models.Principal) middleware.Responder
}

NotificationEndpointListHandler interface for that can handle valid notification endpoint list params

type NotificationEndpointListHandlerFunc ¶

type NotificationEndpointListHandlerFunc func(NotificationEndpointListParams, *models.Principal) middleware.Responder

NotificationEndpointListHandlerFunc turns a function with the right signature into a notification endpoint list handler

func (NotificationEndpointListHandlerFunc) Handle ¶

Handle executing the request and returning a response

type NotificationEndpointListOK ¶

type NotificationEndpointListOK struct {

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

NotificationEndpointListOK A successful response.

swagger:response notificationEndpointListOK

func NewNotificationEndpointListOK ¶

func NewNotificationEndpointListOK() *NotificationEndpointListOK

NewNotificationEndpointListOK creates NotificationEndpointListOK with default headers values

func (*NotificationEndpointListOK) SetPayload ¶

SetPayload sets the payload to the notification endpoint list o k response

func (*NotificationEndpointListOK) WithPayload ¶

WithPayload adds the payload to the notification endpoint list o k response

func (*NotificationEndpointListOK) WriteResponse ¶

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

WriteResponse to the client

type NotificationEndpointListParams ¶

type NotificationEndpointListParams struct {

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

NotificationEndpointListParams contains all the bound params for the notification endpoint list operation typically these are obtained from a http.Request

swagger:parameters NotificationEndpointList

func NewNotificationEndpointListParams ¶

func NewNotificationEndpointListParams() NotificationEndpointListParams

NewNotificationEndpointListParams creates a new NotificationEndpointListParams object no default values defined in spec.

func (*NotificationEndpointListParams) 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 NewNotificationEndpointListParams() beforehand.

type NotificationEndpointListURL ¶

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

NotificationEndpointListURL generates an URL for the notification endpoint list operation

func (*NotificationEndpointListURL) Build ¶

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

Build a url path and query string

func (*NotificationEndpointListURL) BuildFull ¶

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

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

func (*NotificationEndpointListURL) Must ¶

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

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

func (*NotificationEndpointListURL) SetBasePath ¶

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

func (o *NotificationEndpointListURL) String() string

String returns the string representation of the path with query string

func (*NotificationEndpointListURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*NotificationEndpointListURL) 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 PolicyInfo ¶

type PolicyInfo struct {
	Context *middleware.Context
	Handler PolicyInfoHandler
}

PolicyInfo swagger:route GET /policy AdminAPI policyInfo

Policy info

func NewPolicyInfo ¶

func NewPolicyInfo(ctx *middleware.Context, handler PolicyInfoHandler) *PolicyInfo

NewPolicyInfo creates a new http.Handler for the policy info operation

func (*PolicyInfo) ServeHTTP ¶

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

type PolicyInfoDefault ¶

type PolicyInfoDefault struct {

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

PolicyInfoDefault Generic error response.

swagger:response policyInfoDefault

func NewPolicyInfoDefault ¶

func NewPolicyInfoDefault(code int) *PolicyInfoDefault

NewPolicyInfoDefault creates PolicyInfoDefault with default headers values

func (*PolicyInfoDefault) SetPayload ¶

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

SetPayload sets the payload to the policy info default response

func (*PolicyInfoDefault) SetStatusCode ¶

func (o *PolicyInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the policy info default response

func (*PolicyInfoDefault) WithPayload ¶

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

WithPayload adds the payload to the policy info default response

func (*PolicyInfoDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the policy info default response

func (*PolicyInfoDefault) WriteResponse ¶

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

WriteResponse to the client

type PolicyInfoHandler ¶

type PolicyInfoHandler interface {
	Handle(PolicyInfoParams, *models.Principal) middleware.Responder
}

PolicyInfoHandler interface for that can handle valid policy info params

type PolicyInfoHandlerFunc ¶

type PolicyInfoHandlerFunc func(PolicyInfoParams, *models.Principal) middleware.Responder

PolicyInfoHandlerFunc turns a function with the right signature into a policy info handler

func (PolicyInfoHandlerFunc) Handle ¶

Handle executing the request and returning a response

type PolicyInfoOK ¶

type PolicyInfoOK struct {

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

PolicyInfoOK A successful response.

swagger:response policyInfoOK

func NewPolicyInfoOK ¶

func NewPolicyInfoOK() *PolicyInfoOK

NewPolicyInfoOK creates PolicyInfoOK with default headers values

func (*PolicyInfoOK) SetPayload ¶

func (o *PolicyInfoOK) SetPayload(payload *models.Policy)

SetPayload sets the payload to the policy info o k response

func (*PolicyInfoOK) WithPayload ¶

func (o *PolicyInfoOK) WithPayload(payload *models.Policy) *PolicyInfoOK

WithPayload adds the payload to the policy info o k response

func (*PolicyInfoOK) WriteResponse ¶

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

WriteResponse to the client

type PolicyInfoParams ¶

type PolicyInfoParams struct {

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

	/*
	  Required: true
	  In: query
	*/
	Name string
}

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

swagger:parameters PolicyInfo

func NewPolicyInfoParams ¶

func NewPolicyInfoParams() PolicyInfoParams

NewPolicyInfoParams creates a new PolicyInfoParams object no default values defined in spec.

func (*PolicyInfoParams) BindRequest ¶

func (o *PolicyInfoParams) 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 NewPolicyInfoParams() beforehand.

type PolicyInfoURL ¶

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

PolicyInfoURL generates an URL for the policy info operation

func (*PolicyInfoURL) Build ¶

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

Build a url path and query string

func (*PolicyInfoURL) BuildFull ¶

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

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

func (*PolicyInfoURL) Must ¶

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

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

func (*PolicyInfoURL) SetBasePath ¶

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

func (o *PolicyInfoURL) String() string

String returns the string representation of the path with query string

func (*PolicyInfoURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*PolicyInfoURL) WithBasePath ¶

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

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 ProfilingStart ¶

type ProfilingStart struct {
	Context *middleware.Context
	Handler ProfilingStartHandler
}

ProfilingStart swagger:route POST /profiling/start AdminAPI profilingStart

Start recording profile data

func NewProfilingStart ¶

func NewProfilingStart(ctx *middleware.Context, handler ProfilingStartHandler) *ProfilingStart

NewProfilingStart creates a new http.Handler for the profiling start operation

func (*ProfilingStart) ServeHTTP ¶

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

type ProfilingStartCreated ¶

type ProfilingStartCreated struct {

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

ProfilingStartCreated A successful response.

swagger:response profilingStartCreated

func NewProfilingStartCreated ¶

func NewProfilingStartCreated() *ProfilingStartCreated

NewProfilingStartCreated creates ProfilingStartCreated with default headers values

func (*ProfilingStartCreated) SetPayload ¶

func (o *ProfilingStartCreated) SetPayload(payload *models.StartProfilingList)

SetPayload sets the payload to the profiling start created response

func (*ProfilingStartCreated) WithPayload ¶

WithPayload adds the payload to the profiling start created response

func (*ProfilingStartCreated) WriteResponse ¶

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

WriteResponse to the client

type ProfilingStartDefault ¶

type ProfilingStartDefault struct {

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

ProfilingStartDefault Generic error response.

swagger:response profilingStartDefault

func NewProfilingStartDefault ¶

func NewProfilingStartDefault(code int) *ProfilingStartDefault

NewProfilingStartDefault creates ProfilingStartDefault with default headers values

func (*ProfilingStartDefault) SetPayload ¶

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

SetPayload sets the payload to the profiling start default response

func (*ProfilingStartDefault) SetStatusCode ¶

func (o *ProfilingStartDefault) SetStatusCode(code int)

SetStatusCode sets the status to the profiling start default response

func (*ProfilingStartDefault) WithPayload ¶

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

WithPayload adds the payload to the profiling start default response

func (*ProfilingStartDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the profiling start default response

func (*ProfilingStartDefault) WriteResponse ¶

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

WriteResponse to the client

type ProfilingStartHandler ¶

type ProfilingStartHandler interface {
	Handle(ProfilingStartParams, *models.Principal) middleware.Responder
}

ProfilingStartHandler interface for that can handle valid profiling start params

type ProfilingStartHandlerFunc ¶

type ProfilingStartHandlerFunc func(ProfilingStartParams, *models.Principal) middleware.Responder

ProfilingStartHandlerFunc turns a function with the right signature into a profiling start handler

func (ProfilingStartHandlerFunc) Handle ¶

Handle executing the request and returning a response

type ProfilingStartParams ¶

type ProfilingStartParams struct {

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

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

ProfilingStartParams contains all the bound params for the profiling start operation typically these are obtained from a http.Request

swagger:parameters ProfilingStart

func NewProfilingStartParams ¶

func NewProfilingStartParams() ProfilingStartParams

NewProfilingStartParams creates a new ProfilingStartParams object no default values defined in spec.

func (*ProfilingStartParams) BindRequest ¶

func (o *ProfilingStartParams) 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 NewProfilingStartParams() beforehand.

type ProfilingStartURL ¶

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

ProfilingStartURL generates an URL for the profiling start operation

func (*ProfilingStartURL) Build ¶

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

Build a url path and query string

func (*ProfilingStartURL) BuildFull ¶

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

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

func (*ProfilingStartURL) Must ¶

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

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

func (*ProfilingStartURL) SetBasePath ¶

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

func (o *ProfilingStartURL) String() string

String returns the string representation of the path with query string

func (*ProfilingStartURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*ProfilingStartURL) WithBasePath ¶

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

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 ProfilingStop ¶

type ProfilingStop struct {
	Context *middleware.Context
	Handler ProfilingStopHandler
}

ProfilingStop swagger:route POST /profiling/stop AdminAPI profilingStop

Stop and download profile data

func NewProfilingStop ¶

func NewProfilingStop(ctx *middleware.Context, handler ProfilingStopHandler) *ProfilingStop

NewProfilingStop creates a new http.Handler for the profiling stop operation

func (*ProfilingStop) ServeHTTP ¶

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

type ProfilingStopCreated ¶

type ProfilingStopCreated struct {

	/*
	  In: Body
	*/
	Payload io.ReadCloser `json:"body,omitempty"`
}

ProfilingStopCreated A successful response.

swagger:response profilingStopCreated

func NewProfilingStopCreated ¶

func NewProfilingStopCreated() *ProfilingStopCreated

NewProfilingStopCreated creates ProfilingStopCreated with default headers values

func (*ProfilingStopCreated) SetPayload ¶

func (o *ProfilingStopCreated) SetPayload(payload io.ReadCloser)

SetPayload sets the payload to the profiling stop created response

func (*ProfilingStopCreated) WithPayload ¶

func (o *ProfilingStopCreated) WithPayload(payload io.ReadCloser) *ProfilingStopCreated

WithPayload adds the payload to the profiling stop created response

func (*ProfilingStopCreated) WriteResponse ¶

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

WriteResponse to the client

type ProfilingStopDefault ¶

type ProfilingStopDefault struct {

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

ProfilingStopDefault Generic error response.

swagger:response profilingStopDefault

func NewProfilingStopDefault ¶

func NewProfilingStopDefault(code int) *ProfilingStopDefault

NewProfilingStopDefault creates ProfilingStopDefault with default headers values

func (*ProfilingStopDefault) SetPayload ¶

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

SetPayload sets the payload to the profiling stop default response

func (*ProfilingStopDefault) SetStatusCode ¶

func (o *ProfilingStopDefault) SetStatusCode(code int)

SetStatusCode sets the status to the profiling stop default response

func (*ProfilingStopDefault) WithPayload ¶

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

WithPayload adds the payload to the profiling stop default response

func (*ProfilingStopDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the profiling stop default response

func (*ProfilingStopDefault) WriteResponse ¶

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

WriteResponse to the client

type ProfilingStopHandler ¶

type ProfilingStopHandler interface {
	Handle(ProfilingStopParams, *models.Principal) middleware.Responder
}

ProfilingStopHandler interface for that can handle valid profiling stop params

type ProfilingStopHandlerFunc ¶

type ProfilingStopHandlerFunc func(ProfilingStopParams, *models.Principal) middleware.Responder

ProfilingStopHandlerFunc turns a function with the right signature into a profiling stop handler

func (ProfilingStopHandlerFunc) Handle ¶

Handle executing the request and returning a response

type ProfilingStopParams ¶

type ProfilingStopParams struct {

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

ProfilingStopParams contains all the bound params for the profiling stop operation typically these are obtained from a http.Request

swagger:parameters ProfilingStop

func NewProfilingStopParams ¶

func NewProfilingStopParams() ProfilingStopParams

NewProfilingStopParams creates a new ProfilingStopParams object no default values defined in spec.

func (*ProfilingStopParams) BindRequest ¶

func (o *ProfilingStopParams) 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 NewProfilingStopParams() beforehand.

type ProfilingStopURL ¶

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

ProfilingStopURL generates an URL for the profiling stop operation

func (*ProfilingStopURL) Build ¶

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

Build a url path and query string

func (*ProfilingStopURL) BuildFull ¶

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

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

func (*ProfilingStopURL) Must ¶

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

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

func (*ProfilingStopURL) SetBasePath ¶

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

func (o *ProfilingStopURL) String() string

String returns the string representation of the path with query string

func (*ProfilingStopURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*ProfilingStopURL) WithBasePath ¶

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

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

type PutTenantYAML struct {
	Context *middleware.Context
	Handler PutTenantYAMLHandler
}

PutTenantYAML swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/yaml AdminAPI putTenantYAML

Put the Tenant YAML

func NewPutTenantYAML ¶ added in v0.7.1

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

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

type PutTenantYAMLCreated ¶ added in v0.7.1

type PutTenantYAMLCreated struct {
}

PutTenantYAMLCreated A successful response.

swagger:response putTenantYAMLCreated

func NewPutTenantYAMLCreated ¶ added in v0.7.1

func NewPutTenantYAMLCreated() *PutTenantYAMLCreated

NewPutTenantYAMLCreated creates PutTenantYAMLCreated with default headers values

func (*PutTenantYAMLCreated) WriteResponse ¶ added in v0.7.1

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

WriteResponse to the client

type PutTenantYAMLDefault ¶ added in v0.7.1

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

func NewPutTenantYAMLDefault(code int) *PutTenantYAMLDefault

NewPutTenantYAMLDefault creates PutTenantYAMLDefault with default headers values

func (*PutTenantYAMLDefault) SetPayload ¶ added in v0.7.1

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

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

func (*PutTenantYAMLDefault) SetStatusCode ¶ added in v0.7.1

func (o *PutTenantYAMLDefault) SetStatusCode(code int)

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

func (*PutTenantYAMLDefault) WithPayload ¶ added in v0.7.1

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

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

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

func (*PutTenantYAMLDefault) WriteResponse ¶ added in v0.7.1

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

WriteResponse to the client

type PutTenantYAMLHandler ¶ added in v0.7.1

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

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

Handle executing the request and returning a response

type PutTenantYAMLParams ¶ added in v0.7.1

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

func NewPutTenantYAMLParams() PutTenantYAMLParams

NewPutTenantYAMLParams creates a new PutTenantYAMLParams object no default values defined in spec.

func (*PutTenantYAMLParams) BindRequest ¶ added in v0.7.1

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

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

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

Build a url path and query string

func (*PutTenantYAMLURL) BuildFull ¶ added in v0.7.1

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

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

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

func (o *PutTenantYAMLURL) String() string

String returns the string representation of the path with query string

func (*PutTenantYAMLURL) StringFull ¶ added in v0.7.1

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

StringFull returns the string representation of a complete url

func (*PutTenantYAMLURL) WithBasePath ¶ added in v0.7.1

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 RemoveGroup ¶

type RemoveGroup struct {
	Context *middleware.Context
	Handler RemoveGroupHandler
}

RemoveGroup swagger:route DELETE /groups/{name} AdminAPI removeGroup

Remove group

func NewRemoveGroup ¶

func NewRemoveGroup(ctx *middleware.Context, handler RemoveGroupHandler) *RemoveGroup

NewRemoveGroup creates a new http.Handler for the remove group operation

func (*RemoveGroup) ServeHTTP ¶

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

type RemoveGroupDefault ¶

type RemoveGroupDefault struct {

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

RemoveGroupDefault Generic error response.

swagger:response removeGroupDefault

func NewRemoveGroupDefault ¶

func NewRemoveGroupDefault(code int) *RemoveGroupDefault

NewRemoveGroupDefault creates RemoveGroupDefault with default headers values

func (*RemoveGroupDefault) SetPayload ¶

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

SetPayload sets the payload to the remove group default response

func (*RemoveGroupDefault) SetStatusCode ¶

func (o *RemoveGroupDefault) SetStatusCode(code int)

SetStatusCode sets the status to the remove group default response

func (*RemoveGroupDefault) WithPayload ¶

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

WithPayload adds the payload to the remove group default response

func (*RemoveGroupDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the remove group default response

func (*RemoveGroupDefault) WriteResponse ¶

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

WriteResponse to the client

type RemoveGroupHandler ¶

type RemoveGroupHandler interface {
	Handle(RemoveGroupParams, *models.Principal) middleware.Responder
}

RemoveGroupHandler interface for that can handle valid remove group params

type RemoveGroupHandlerFunc ¶

type RemoveGroupHandlerFunc func(RemoveGroupParams, *models.Principal) middleware.Responder

RemoveGroupHandlerFunc turns a function with the right signature into a remove group handler

func (RemoveGroupHandlerFunc) Handle ¶

Handle executing the request and returning a response

type RemoveGroupNoContent ¶

type RemoveGroupNoContent struct {
}

RemoveGroupNoContent A successful response.

swagger:response removeGroupNoContent

func NewRemoveGroupNoContent ¶

func NewRemoveGroupNoContent() *RemoveGroupNoContent

NewRemoveGroupNoContent creates RemoveGroupNoContent with default headers values

func (*RemoveGroupNoContent) WriteResponse ¶

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

WriteResponse to the client

type RemoveGroupParams ¶

type RemoveGroupParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Name string
}

RemoveGroupParams contains all the bound params for the remove group operation typically these are obtained from a http.Request

swagger:parameters RemoveGroup

func NewRemoveGroupParams ¶

func NewRemoveGroupParams() RemoveGroupParams

NewRemoveGroupParams creates a new RemoveGroupParams object no default values defined in spec.

func (*RemoveGroupParams) BindRequest ¶

func (o *RemoveGroupParams) 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 NewRemoveGroupParams() beforehand.

type RemoveGroupURL ¶

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

RemoveGroupURL generates an URL for the remove group operation

func (*RemoveGroupURL) Build ¶

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

Build a url path and query string

func (*RemoveGroupURL) BuildFull ¶

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

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

func (*RemoveGroupURL) Must ¶

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

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

func (*RemoveGroupURL) SetBasePath ¶

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

func (o *RemoveGroupURL) String() string

String returns the string representation of the path with query string

func (*RemoveGroupURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*RemoveGroupURL) WithBasePath ¶

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

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 RemovePolicy ¶

type RemovePolicy struct {
	Context *middleware.Context
	Handler RemovePolicyHandler
}

RemovePolicy swagger:route DELETE /policy AdminAPI removePolicy

Remove policy

func NewRemovePolicy ¶

func NewRemovePolicy(ctx *middleware.Context, handler RemovePolicyHandler) *RemovePolicy

NewRemovePolicy creates a new http.Handler for the remove policy operation

func (*RemovePolicy) ServeHTTP ¶

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

type RemovePolicyDefault ¶

type RemovePolicyDefault struct {

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

RemovePolicyDefault Generic error response.

swagger:response removePolicyDefault

func NewRemovePolicyDefault ¶

func NewRemovePolicyDefault(code int) *RemovePolicyDefault

NewRemovePolicyDefault creates RemovePolicyDefault with default headers values

func (*RemovePolicyDefault) SetPayload ¶

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

SetPayload sets the payload to the remove policy default response

func (*RemovePolicyDefault) SetStatusCode ¶

func (o *RemovePolicyDefault) SetStatusCode(code int)

SetStatusCode sets the status to the remove policy default response

func (*RemovePolicyDefault) WithPayload ¶

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

WithPayload adds the payload to the remove policy default response

func (*RemovePolicyDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the remove policy default response

func (*RemovePolicyDefault) WriteResponse ¶

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

WriteResponse to the client

type RemovePolicyHandler ¶

type RemovePolicyHandler interface {
	Handle(RemovePolicyParams, *models.Principal) middleware.Responder
}

RemovePolicyHandler interface for that can handle valid remove policy params

type RemovePolicyHandlerFunc ¶

type RemovePolicyHandlerFunc func(RemovePolicyParams, *models.Principal) middleware.Responder

RemovePolicyHandlerFunc turns a function with the right signature into a remove policy handler

func (RemovePolicyHandlerFunc) Handle ¶

Handle executing the request and returning a response

type RemovePolicyNoContent ¶

type RemovePolicyNoContent struct {
}

RemovePolicyNoContent A successful response.

swagger:response removePolicyNoContent

func NewRemovePolicyNoContent ¶

func NewRemovePolicyNoContent() *RemovePolicyNoContent

NewRemovePolicyNoContent creates RemovePolicyNoContent with default headers values

func (*RemovePolicyNoContent) WriteResponse ¶

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

WriteResponse to the client

type RemovePolicyParams ¶

type RemovePolicyParams struct {

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

	/*
	  Required: true
	  In: query
	*/
	Name string
}

RemovePolicyParams contains all the bound params for the remove policy operation typically these are obtained from a http.Request

swagger:parameters RemovePolicy

func NewRemovePolicyParams ¶

func NewRemovePolicyParams() RemovePolicyParams

NewRemovePolicyParams creates a new RemovePolicyParams object no default values defined in spec.

func (*RemovePolicyParams) BindRequest ¶

func (o *RemovePolicyParams) 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 NewRemovePolicyParams() beforehand.

type RemovePolicyURL ¶

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

RemovePolicyURL generates an URL for the remove policy operation

func (*RemovePolicyURL) Build ¶

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

Build a url path and query string

func (*RemovePolicyURL) BuildFull ¶

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

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

func (*RemovePolicyURL) Must ¶

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

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

func (*RemovePolicyURL) SetBasePath ¶

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

func (o *RemovePolicyURL) String() string

String returns the string representation of the path with query string

func (*RemovePolicyURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*RemovePolicyURL) WithBasePath ¶

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

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 RemoveUser ¶

type RemoveUser struct {
	Context *middleware.Context
	Handler RemoveUserHandler
}

RemoveUser swagger:route DELETE /users/{name} AdminAPI removeUser

Remove user

func NewRemoveUser ¶

func NewRemoveUser(ctx *middleware.Context, handler RemoveUserHandler) *RemoveUser

NewRemoveUser creates a new http.Handler for the remove user operation

func (*RemoveUser) ServeHTTP ¶

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

type RemoveUserDefault ¶

type RemoveUserDefault struct {

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

RemoveUserDefault Generic error response.

swagger:response removeUserDefault

func NewRemoveUserDefault ¶

func NewRemoveUserDefault(code int) *RemoveUserDefault

NewRemoveUserDefault creates RemoveUserDefault with default headers values

func (*RemoveUserDefault) SetPayload ¶

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

SetPayload sets the payload to the remove user default response

func (*RemoveUserDefault) SetStatusCode ¶

func (o *RemoveUserDefault) SetStatusCode(code int)

SetStatusCode sets the status to the remove user default response

func (*RemoveUserDefault) WithPayload ¶

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

WithPayload adds the payload to the remove user default response

func (*RemoveUserDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the remove user default response

func (*RemoveUserDefault) WriteResponse ¶

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

WriteResponse to the client

type RemoveUserHandler ¶

type RemoveUserHandler interface {
	Handle(RemoveUserParams, *models.Principal) middleware.Responder
}

RemoveUserHandler interface for that can handle valid remove user params

type RemoveUserHandlerFunc ¶

type RemoveUserHandlerFunc func(RemoveUserParams, *models.Principal) middleware.Responder

RemoveUserHandlerFunc turns a function with the right signature into a remove user handler

func (RemoveUserHandlerFunc) Handle ¶

Handle executing the request and returning a response

type RemoveUserNoContent ¶

type RemoveUserNoContent struct {
}

RemoveUserNoContent A successful response.

swagger:response removeUserNoContent

func NewRemoveUserNoContent ¶

func NewRemoveUserNoContent() *RemoveUserNoContent

NewRemoveUserNoContent creates RemoveUserNoContent with default headers values

func (*RemoveUserNoContent) WriteResponse ¶

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

WriteResponse to the client

type RemoveUserParams ¶

type RemoveUserParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Name string
}

RemoveUserParams contains all the bound params for the remove user operation typically these are obtained from a http.Request

swagger:parameters RemoveUser

func NewRemoveUserParams ¶

func NewRemoveUserParams() RemoveUserParams

NewRemoveUserParams creates a new RemoveUserParams object no default values defined in spec.

func (*RemoveUserParams) BindRequest ¶

func (o *RemoveUserParams) 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 NewRemoveUserParams() beforehand.

type RemoveUserURL ¶

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

RemoveUserURL generates an URL for the remove user operation

func (*RemoveUserURL) Build ¶

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

Build a url path and query string

func (*RemoveUserURL) BuildFull ¶

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

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

func (*RemoveUserURL) Must ¶

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

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

func (*RemoveUserURL) SetBasePath ¶

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

func (o *RemoveUserURL) String() string

String returns the string representation of the path with query string

func (*RemoveUserURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*RemoveUserURL) WithBasePath ¶

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

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 RestartService ¶

type RestartService struct {
	Context *middleware.Context
	Handler RestartServiceHandler
}

RestartService swagger:route POST /service/restart AdminAPI restartService

Restart Service

func NewRestartService ¶

func NewRestartService(ctx *middleware.Context, handler RestartServiceHandler) *RestartService

NewRestartService creates a new http.Handler for the restart service operation

func (*RestartService) ServeHTTP ¶

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

type RestartServiceDefault ¶

type RestartServiceDefault struct {

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

RestartServiceDefault Generic error response.

swagger:response restartServiceDefault

func NewRestartServiceDefault ¶

func NewRestartServiceDefault(code int) *RestartServiceDefault

NewRestartServiceDefault creates RestartServiceDefault with default headers values

func (*RestartServiceDefault) SetPayload ¶

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

SetPayload sets the payload to the restart service default response

func (*RestartServiceDefault) SetStatusCode ¶

func (o *RestartServiceDefault) SetStatusCode(code int)

SetStatusCode sets the status to the restart service default response

func (*RestartServiceDefault) WithPayload ¶

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

WithPayload adds the payload to the restart service default response

func (*RestartServiceDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the restart service default response

func (*RestartServiceDefault) WriteResponse ¶

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

WriteResponse to the client

type RestartServiceHandler ¶

type RestartServiceHandler interface {
	Handle(RestartServiceParams, *models.Principal) middleware.Responder
}

RestartServiceHandler interface for that can handle valid restart service params

type RestartServiceHandlerFunc ¶

type RestartServiceHandlerFunc func(RestartServiceParams, *models.Principal) middleware.Responder

RestartServiceHandlerFunc turns a function with the right signature into a restart service handler

func (RestartServiceHandlerFunc) Handle ¶

Handle executing the request and returning a response

type RestartServiceNoContent ¶

type RestartServiceNoContent struct {
}

RestartServiceNoContent A successful response.

swagger:response restartServiceNoContent

func NewRestartServiceNoContent ¶

func NewRestartServiceNoContent() *RestartServiceNoContent

NewRestartServiceNoContent creates RestartServiceNoContent with default headers values

func (*RestartServiceNoContent) WriteResponse ¶

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

WriteResponse to the client

type RestartServiceParams ¶

type RestartServiceParams struct {

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

RestartServiceParams contains all the bound params for the restart service operation typically these are obtained from a http.Request

swagger:parameters RestartService

func NewRestartServiceParams ¶

func NewRestartServiceParams() RestartServiceParams

NewRestartServiceParams creates a new RestartServiceParams object no default values defined in spec.

func (*RestartServiceParams) BindRequest ¶

func (o *RestartServiceParams) 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 NewRestartServiceParams() beforehand.

type RestartServiceURL ¶

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

RestartServiceURL generates an URL for the restart service operation

func (*RestartServiceURL) Build ¶

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

Build a url path and query string

func (*RestartServiceURL) BuildFull ¶

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

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

func (*RestartServiceURL) Must ¶

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

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

func (*RestartServiceURL) SetBasePath ¶

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

func (o *RestartServiceURL) String() string

String returns the string representation of the path with query string

func (*RestartServiceURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*RestartServiceURL) WithBasePath ¶

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

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 SetConfig ¶

type SetConfig struct {
	Context *middleware.Context
	Handler SetConfigHandler
}

SetConfig swagger:route PUT /configs/{name} AdminAPI setConfig

Set Configuration

func NewSetConfig ¶

func NewSetConfig(ctx *middleware.Context, handler SetConfigHandler) *SetConfig

NewSetConfig creates a new http.Handler for the set config operation

func (*SetConfig) ServeHTTP ¶

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

type SetConfigDefault ¶

type SetConfigDefault struct {

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

SetConfigDefault Generic error response.

swagger:response setConfigDefault

func NewSetConfigDefault ¶

func NewSetConfigDefault(code int) *SetConfigDefault

NewSetConfigDefault creates SetConfigDefault with default headers values

func (*SetConfigDefault) SetPayload ¶

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

SetPayload sets the payload to the set config default response

func (*SetConfigDefault) SetStatusCode ¶

func (o *SetConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set config default response

func (*SetConfigDefault) WithPayload ¶

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

WithPayload adds the payload to the set config default response

func (*SetConfigDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the set config default response

func (*SetConfigDefault) WriteResponse ¶

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

WriteResponse to the client

type SetConfigHandler ¶

type SetConfigHandler interface {
	Handle(SetConfigParams, *models.Principal) middleware.Responder
}

SetConfigHandler interface for that can handle valid set config params

type SetConfigHandlerFunc ¶

type SetConfigHandlerFunc func(SetConfigParams, *models.Principal) middleware.Responder

SetConfigHandlerFunc turns a function with the right signature into a set config handler

func (SetConfigHandlerFunc) Handle ¶

Handle executing the request and returning a response

type SetConfigOK ¶ added in v0.5.0

type SetConfigOK struct {

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

SetConfigOK A successful response.

swagger:response setConfigOK

func NewSetConfigOK ¶ added in v0.5.0

func NewSetConfigOK() *SetConfigOK

NewSetConfigOK creates SetConfigOK with default headers values

func (*SetConfigOK) SetPayload ¶ added in v0.5.0

func (o *SetConfigOK) SetPayload(payload *models.SetConfigResponse)

SetPayload sets the payload to the set config o k response

func (*SetConfigOK) WithPayload ¶ added in v0.5.0

func (o *SetConfigOK) WithPayload(payload *models.SetConfigResponse) *SetConfigOK

WithPayload adds the payload to the set config o k response

func (*SetConfigOK) WriteResponse ¶ added in v0.5.0

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

WriteResponse to the client

type SetConfigParams ¶

type SetConfigParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.SetConfigRequest
	/*
	  Required: true
	  In: path
	*/
	Name string
}

SetConfigParams contains all the bound params for the set config operation typically these are obtained from a http.Request

swagger:parameters SetConfig

func NewSetConfigParams ¶

func NewSetConfigParams() SetConfigParams

NewSetConfigParams creates a new SetConfigParams object no default values defined in spec.

func (*SetConfigParams) BindRequest ¶

func (o *SetConfigParams) 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 NewSetConfigParams() beforehand.

type SetConfigURL ¶

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

SetConfigURL generates an URL for the set config operation

func (*SetConfigURL) Build ¶

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

Build a url path and query string

func (*SetConfigURL) BuildFull ¶

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

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

func (*SetConfigURL) Must ¶

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

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

func (*SetConfigURL) SetBasePath ¶

func (o *SetConfigURL) 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 (*SetConfigURL) String ¶

func (o *SetConfigURL) String() string

String returns the string representation of the path with query string

func (*SetConfigURL) StringFull ¶

func (o *SetConfigURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SetConfigURL) WithBasePath ¶

func (o *SetConfigURL) WithBasePath(bp string) *SetConfigURL

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 SetPolicy ¶

type SetPolicy struct {
	Context *middleware.Context
	Handler SetPolicyHandler
}

SetPolicy swagger:route PUT /set-policy/{name} AdminAPI setPolicy

Set policy

func NewSetPolicy ¶

func NewSetPolicy(ctx *middleware.Context, handler SetPolicyHandler) *SetPolicy

NewSetPolicy creates a new http.Handler for the set policy operation

func (*SetPolicy) ServeHTTP ¶

func (o *SetPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SetPolicyDefault ¶

type SetPolicyDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

SetPolicyDefault Generic error response.

swagger:response setPolicyDefault

func NewSetPolicyDefault ¶

func NewSetPolicyDefault(code int) *SetPolicyDefault

NewSetPolicyDefault creates SetPolicyDefault with default headers values

func (*SetPolicyDefault) SetPayload ¶

func (o *SetPolicyDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the set policy default response

func (*SetPolicyDefault) SetStatusCode ¶

func (o *SetPolicyDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set policy default response

func (*SetPolicyDefault) WithPayload ¶

func (o *SetPolicyDefault) WithPayload(payload *models.Error) *SetPolicyDefault

WithPayload adds the payload to the set policy default response

func (*SetPolicyDefault) WithStatusCode ¶

func (o *SetPolicyDefault) WithStatusCode(code int) *SetPolicyDefault

WithStatusCode adds the status to the set policy default response

func (*SetPolicyDefault) WriteResponse ¶

func (o *SetPolicyDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetPolicyHandler ¶

type SetPolicyHandler interface {
	Handle(SetPolicyParams, *models.Principal) middleware.Responder
}

SetPolicyHandler interface for that can handle valid set policy params

type SetPolicyHandlerFunc ¶

type SetPolicyHandlerFunc func(SetPolicyParams, *models.Principal) middleware.Responder

SetPolicyHandlerFunc turns a function with the right signature into a set policy handler

func (SetPolicyHandlerFunc) Handle ¶

Handle executing the request and returning a response

type SetPolicyMultiple ¶ added in v0.5.0

type SetPolicyMultiple struct {
	Context *middleware.Context
	Handler SetPolicyMultipleHandler
}

SetPolicyMultiple swagger:route PUT /set-policy-multi/{name} AdminAPI setPolicyMultiple

Set policy to multiple users/groups

func NewSetPolicyMultiple ¶ added in v0.5.0

func NewSetPolicyMultiple(ctx *middleware.Context, handler SetPolicyMultipleHandler) *SetPolicyMultiple

NewSetPolicyMultiple creates a new http.Handler for the set policy multiple operation

func (*SetPolicyMultiple) ServeHTTP ¶ added in v0.5.0

func (o *SetPolicyMultiple) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SetPolicyMultipleDefault ¶ added in v0.5.0

type SetPolicyMultipleDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

SetPolicyMultipleDefault Generic error response.

swagger:response setPolicyMultipleDefault

func NewSetPolicyMultipleDefault ¶ added in v0.5.0

func NewSetPolicyMultipleDefault(code int) *SetPolicyMultipleDefault

NewSetPolicyMultipleDefault creates SetPolicyMultipleDefault with default headers values

func (*SetPolicyMultipleDefault) SetPayload ¶ added in v0.5.0

func (o *SetPolicyMultipleDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the set policy multiple default response

func (*SetPolicyMultipleDefault) SetStatusCode ¶ added in v0.5.0

func (o *SetPolicyMultipleDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set policy multiple default response

func (*SetPolicyMultipleDefault) WithPayload ¶ added in v0.5.0

WithPayload adds the payload to the set policy multiple default response

func (*SetPolicyMultipleDefault) WithStatusCode ¶ added in v0.5.0

func (o *SetPolicyMultipleDefault) WithStatusCode(code int) *SetPolicyMultipleDefault

WithStatusCode adds the status to the set policy multiple default response

func (*SetPolicyMultipleDefault) WriteResponse ¶ added in v0.5.0

func (o *SetPolicyMultipleDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetPolicyMultipleHandler ¶ added in v0.5.0

type SetPolicyMultipleHandler interface {
	Handle(SetPolicyMultipleParams, *models.Principal) middleware.Responder
}

SetPolicyMultipleHandler interface for that can handle valid set policy multiple params

type SetPolicyMultipleHandlerFunc ¶ added in v0.5.0

type SetPolicyMultipleHandlerFunc func(SetPolicyMultipleParams, *models.Principal) middleware.Responder

SetPolicyMultipleHandlerFunc turns a function with the right signature into a set policy multiple handler

func (SetPolicyMultipleHandlerFunc) Handle ¶ added in v0.5.0

Handle executing the request and returning a response

type SetPolicyMultipleNoContent ¶ added in v0.5.0

type SetPolicyMultipleNoContent struct {
}

SetPolicyMultipleNoContent A successful response.

swagger:response setPolicyMultipleNoContent

func NewSetPolicyMultipleNoContent ¶ added in v0.5.0

func NewSetPolicyMultipleNoContent() *SetPolicyMultipleNoContent

NewSetPolicyMultipleNoContent creates SetPolicyMultipleNoContent with default headers values

func (*SetPolicyMultipleNoContent) WriteResponse ¶ added in v0.5.0

func (o *SetPolicyMultipleNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetPolicyMultipleParams ¶ added in v0.5.0

type SetPolicyMultipleParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.SetPolicyMultipleRequest
	/*
	  Required: true
	  In: path
	*/
	Name string
}

SetPolicyMultipleParams contains all the bound params for the set policy multiple operation typically these are obtained from a http.Request

swagger:parameters SetPolicyMultiple

func NewSetPolicyMultipleParams ¶ added in v0.5.0

func NewSetPolicyMultipleParams() SetPolicyMultipleParams

NewSetPolicyMultipleParams creates a new SetPolicyMultipleParams object no default values defined in spec.

func (*SetPolicyMultipleParams) BindRequest ¶ added in v0.5.0

func (o *SetPolicyMultipleParams) 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 NewSetPolicyMultipleParams() beforehand.

type SetPolicyMultipleURL ¶ added in v0.5.0

type SetPolicyMultipleURL struct {
	Name string
	// contains filtered or unexported fields
}

SetPolicyMultipleURL generates an URL for the set policy multiple operation

func (*SetPolicyMultipleURL) Build ¶ added in v0.5.0

func (o *SetPolicyMultipleURL) Build() (*url.URL, error)

Build a url path and query string

func (*SetPolicyMultipleURL) BuildFull ¶ added in v0.5.0

func (o *SetPolicyMultipleURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SetPolicyMultipleURL) Must ¶ added in v0.5.0

func (o *SetPolicyMultipleURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SetPolicyMultipleURL) SetBasePath ¶ added in v0.5.0

func (o *SetPolicyMultipleURL) 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 (*SetPolicyMultipleURL) String ¶ added in v0.5.0

func (o *SetPolicyMultipleURL) String() string

String returns the string representation of the path with query string

func (*SetPolicyMultipleURL) StringFull ¶ added in v0.5.0

func (o *SetPolicyMultipleURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SetPolicyMultipleURL) WithBasePath ¶ added in v0.5.0

func (o *SetPolicyMultipleURL) WithBasePath(bp string) *SetPolicyMultipleURL

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 SetPolicyNoContent ¶

type SetPolicyNoContent struct {
}

SetPolicyNoContent A successful response.

swagger:response setPolicyNoContent

func NewSetPolicyNoContent ¶

func NewSetPolicyNoContent() *SetPolicyNoContent

NewSetPolicyNoContent creates SetPolicyNoContent with default headers values

func (*SetPolicyNoContent) WriteResponse ¶

func (o *SetPolicyNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetPolicyParams ¶

type SetPolicyParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.SetPolicyRequest
	/*
	  Required: true
	  In: path
	*/
	Name string
}

SetPolicyParams contains all the bound params for the set policy operation typically these are obtained from a http.Request

swagger:parameters SetPolicy

func NewSetPolicyParams ¶

func NewSetPolicyParams() SetPolicyParams

NewSetPolicyParams creates a new SetPolicyParams object no default values defined in spec.

func (*SetPolicyParams) BindRequest ¶

func (o *SetPolicyParams) 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 NewSetPolicyParams() beforehand.

type SetPolicyURL ¶

type SetPolicyURL struct {
	Name string
	// contains filtered or unexported fields
}

SetPolicyURL generates an URL for the set policy operation

func (*SetPolicyURL) Build ¶

func (o *SetPolicyURL) Build() (*url.URL, error)

Build a url path and query string

func (*SetPolicyURL) BuildFull ¶

func (o *SetPolicyURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SetPolicyURL) Must ¶

func (o *SetPolicyURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SetPolicyURL) SetBasePath ¶

func (o *SetPolicyURL) 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 (*SetPolicyURL) String ¶

func (o *SetPolicyURL) String() string

String returns the string representation of the path with query string

func (*SetPolicyURL) StringFull ¶

func (o *SetPolicyURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SetPolicyURL) WithBasePath ¶

func (o *SetPolicyURL) WithBasePath(bp string) *SetPolicyURL

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 ¶ added in v0.5.0

type SubscriptionActivate struct {
	Context *middleware.Context
	Handler SubscriptionActivateHandler
}

SubscriptionActivate swagger:route POST /subscription/namespaces/{namespace}/tenants/{tenant}/activate AdminAPI subscriptionActivate

Activate a particular tenant using the existing subscription license

func NewSubscriptionActivate ¶ added in v0.5.0

func NewSubscriptionActivate(ctx *middleware.Context, handler SubscriptionActivateHandler) *SubscriptionActivate

NewSubscriptionActivate creates a new http.Handler for the subscription activate operation

func (*SubscriptionActivate) ServeHTTP ¶ added in v0.5.0

func (o *SubscriptionActivate) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SubscriptionActivateDefault ¶ added in v0.5.0

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 ¶ added in v0.5.0

func NewSubscriptionActivateDefault(code int) *SubscriptionActivateDefault

NewSubscriptionActivateDefault creates SubscriptionActivateDefault with default headers values

func (*SubscriptionActivateDefault) SetPayload ¶ added in v0.5.0

func (o *SubscriptionActivateDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the subscription activate default response

func (*SubscriptionActivateDefault) SetStatusCode ¶ added in v0.5.0

func (o *SubscriptionActivateDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subscription activate default response

func (*SubscriptionActivateDefault) WithPayload ¶ added in v0.5.0

WithPayload adds the payload to the subscription activate default response

func (*SubscriptionActivateDefault) WithStatusCode ¶ added in v0.5.0

WithStatusCode adds the status to the subscription activate default response

func (*SubscriptionActivateDefault) WriteResponse ¶ added in v0.5.0

func (o *SubscriptionActivateDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SubscriptionActivateHandler ¶ added in v0.5.0

type SubscriptionActivateHandler interface {
	Handle(SubscriptionActivateParams, *models.Principal) middleware.Responder
}

SubscriptionActivateHandler interface for that can handle valid subscription activate params

type SubscriptionActivateHandlerFunc ¶ added in v0.5.0

type SubscriptionActivateHandlerFunc func(SubscriptionActivateParams, *models.Principal) middleware.Responder

SubscriptionActivateHandlerFunc turns a function with the right signature into a subscription activate handler

func (SubscriptionActivateHandlerFunc) Handle ¶ added in v0.5.0

Handle executing the request and returning a response

type SubscriptionActivateNoContent ¶ added in v0.5.0

type SubscriptionActivateNoContent struct {
}

SubscriptionActivateNoContent A successful response.

swagger:response subscriptionActivateNoContent

func NewSubscriptionActivateNoContent ¶ added in v0.5.0

func NewSubscriptionActivateNoContent() *SubscriptionActivateNoContent

NewSubscriptionActivateNoContent creates SubscriptionActivateNoContent with default headers values

func (*SubscriptionActivateNoContent) WriteResponse ¶ added in v0.5.0

func (o *SubscriptionActivateNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SubscriptionActivateParams ¶ added in v0.5.0

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 ¶ added in v0.5.0

func NewSubscriptionActivateParams() SubscriptionActivateParams

NewSubscriptionActivateParams creates a new SubscriptionActivateParams object no default values defined in spec.

func (*SubscriptionActivateParams) BindRequest ¶ added in v0.5.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 NewSubscriptionActivateParams() beforehand.

type SubscriptionActivateURL ¶ added in v0.5.0

type SubscriptionActivateURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

SubscriptionActivateURL generates an URL for the subscription activate operation

func (*SubscriptionActivateURL) Build ¶ added in v0.5.0

func (o *SubscriptionActivateURL) Build() (*url.URL, error)

Build a url path and query string

func (*SubscriptionActivateURL) BuildFull ¶ added in v0.5.0

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 ¶ added in v0.5.0

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 ¶ added in v0.5.0

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 ¶ added in v0.5.0

func (o *SubscriptionActivateURL) String() string

String returns the string representation of the path with query string

func (*SubscriptionActivateURL) StringFull ¶ added in v0.5.0

func (o *SubscriptionActivateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SubscriptionActivateURL) WithBasePath ¶ added in v0.5.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 SubscriptionInfo ¶ added in v0.5.0

type SubscriptionInfo struct {
	Context *middleware.Context
	Handler SubscriptionInfoHandler
}

SubscriptionInfo swagger:route GET /subscription/info AdminAPI subscriptionInfo

Subscription info

func NewSubscriptionInfo ¶ added in v0.5.0

func NewSubscriptionInfo(ctx *middleware.Context, handler SubscriptionInfoHandler) *SubscriptionInfo

NewSubscriptionInfo creates a new http.Handler for the subscription info operation

func (*SubscriptionInfo) ServeHTTP ¶ added in v0.5.0

func (o *SubscriptionInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SubscriptionInfoDefault ¶ added in v0.5.0

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 ¶ added in v0.5.0

func NewSubscriptionInfoDefault(code int) *SubscriptionInfoDefault

NewSubscriptionInfoDefault creates SubscriptionInfoDefault with default headers values

func (*SubscriptionInfoDefault) SetPayload ¶ added in v0.5.0

func (o *SubscriptionInfoDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the subscription info default response

func (*SubscriptionInfoDefault) SetStatusCode ¶ added in v0.5.0

func (o *SubscriptionInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subscription info default response

func (*SubscriptionInfoDefault) WithPayload ¶ added in v0.5.0

func (o *SubscriptionInfoDefault) WithPayload(payload *models.Error) *SubscriptionInfoDefault

WithPayload adds the payload to the subscription info default response

func (*SubscriptionInfoDefault) WithStatusCode ¶ added in v0.5.0

func (o *SubscriptionInfoDefault) WithStatusCode(code int) *SubscriptionInfoDefault

WithStatusCode adds the status to the subscription info default response

func (*SubscriptionInfoDefault) WriteResponse ¶ added in v0.5.0

func (o *SubscriptionInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SubscriptionInfoHandler ¶ added in v0.5.0

type SubscriptionInfoHandler interface {
	Handle(SubscriptionInfoParams, *models.Principal) middleware.Responder
}

SubscriptionInfoHandler interface for that can handle valid subscription info params

type SubscriptionInfoHandlerFunc ¶ added in v0.5.0

type SubscriptionInfoHandlerFunc func(SubscriptionInfoParams, *models.Principal) middleware.Responder

SubscriptionInfoHandlerFunc turns a function with the right signature into a subscription info handler

func (SubscriptionInfoHandlerFunc) Handle ¶ added in v0.5.0

Handle executing the request and returning a response

type SubscriptionInfoOK ¶ added in v0.5.0

type SubscriptionInfoOK struct {

	/*
	  In: Body
	*/
	Payload *models.License `json:"body,omitempty"`
}

SubscriptionInfoOK A successful response.

swagger:response subscriptionInfoOK

func NewSubscriptionInfoOK ¶ added in v0.5.0

func NewSubscriptionInfoOK() *SubscriptionInfoOK

NewSubscriptionInfoOK creates SubscriptionInfoOK with default headers values

func (*SubscriptionInfoOK) SetPayload ¶ added in v0.5.0

func (o *SubscriptionInfoOK) SetPayload(payload *models.License)

SetPayload sets the payload to the subscription info o k response

func (*SubscriptionInfoOK) WithPayload ¶ added in v0.5.0

func (o *SubscriptionInfoOK) WithPayload(payload *models.License) *SubscriptionInfoOK

WithPayload adds the payload to the subscription info o k response

func (*SubscriptionInfoOK) WriteResponse ¶ added in v0.5.0

func (o *SubscriptionInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SubscriptionInfoParams ¶ added in v0.5.0

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 ¶ added in v0.5.0

func NewSubscriptionInfoParams() SubscriptionInfoParams

NewSubscriptionInfoParams creates a new SubscriptionInfoParams object no default values defined in spec.

func (*SubscriptionInfoParams) BindRequest ¶ added in v0.5.0

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 ¶ added in v0.5.0

type SubscriptionInfoURL struct {
	// contains filtered or unexported fields
}

SubscriptionInfoURL generates an URL for the subscription info operation

func (*SubscriptionInfoURL) Build ¶ added in v0.5.0

func (o *SubscriptionInfoURL) Build() (*url.URL, error)

Build a url path and query string

func (*SubscriptionInfoURL) BuildFull ¶ added in v0.5.0

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 ¶ added in v0.5.0

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 ¶ added in v0.5.0

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 ¶ added in v0.5.0

func (o *SubscriptionInfoURL) String() string

String returns the string representation of the path with query string

func (*SubscriptionInfoURL) StringFull ¶ added in v0.5.0

func (o *SubscriptionInfoURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SubscriptionInfoURL) WithBasePath ¶ added in v0.5.0

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 ¶ added in v0.6.4

type SubscriptionRefresh struct {
	Context *middleware.Context
	Handler SubscriptionRefreshHandler
}

SubscriptionRefresh swagger:route POST /subscription/refresh AdminAPI subscriptionRefresh

Refresh existing subscription license

func NewSubscriptionRefresh ¶ added in v0.6.4

func NewSubscriptionRefresh(ctx *middleware.Context, handler SubscriptionRefreshHandler) *SubscriptionRefresh

NewSubscriptionRefresh creates a new http.Handler for the subscription refresh operation

func (*SubscriptionRefresh) ServeHTTP ¶ added in v0.6.4

func (o *SubscriptionRefresh) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SubscriptionRefreshDefault ¶ added in v0.6.4

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 ¶ added in v0.6.4

func NewSubscriptionRefreshDefault(code int) *SubscriptionRefreshDefault

NewSubscriptionRefreshDefault creates SubscriptionRefreshDefault with default headers values

func (*SubscriptionRefreshDefault) SetPayload ¶ added in v0.6.4

func (o *SubscriptionRefreshDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the subscription refresh default response

func (*SubscriptionRefreshDefault) SetStatusCode ¶ added in v0.6.4

func (o *SubscriptionRefreshDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subscription refresh default response

func (*SubscriptionRefreshDefault) WithPayload ¶ added in v0.6.4

WithPayload adds the payload to the subscription refresh default response

func (*SubscriptionRefreshDefault) WithStatusCode ¶ added in v0.6.4

WithStatusCode adds the status to the subscription refresh default response

func (*SubscriptionRefreshDefault) WriteResponse ¶ added in v0.6.4

func (o *SubscriptionRefreshDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SubscriptionRefreshHandler ¶ added in v0.6.4

type SubscriptionRefreshHandler interface {
	Handle(SubscriptionRefreshParams, *models.Principal) middleware.Responder
}

SubscriptionRefreshHandler interface for that can handle valid subscription refresh params

type SubscriptionRefreshHandlerFunc ¶ added in v0.6.4

type SubscriptionRefreshHandlerFunc func(SubscriptionRefreshParams, *models.Principal) middleware.Responder

SubscriptionRefreshHandlerFunc turns a function with the right signature into a subscription refresh handler

func (SubscriptionRefreshHandlerFunc) Handle ¶ added in v0.6.4

Handle executing the request and returning a response

type SubscriptionRefreshOK ¶ added in v0.6.4

type SubscriptionRefreshOK struct {

	/*
	  In: Body
	*/
	Payload *models.License `json:"body,omitempty"`
}

SubscriptionRefreshOK A successful response.

swagger:response subscriptionRefreshOK

func NewSubscriptionRefreshOK ¶ added in v0.6.4

func NewSubscriptionRefreshOK() *SubscriptionRefreshOK

NewSubscriptionRefreshOK creates SubscriptionRefreshOK with default headers values

func (*SubscriptionRefreshOK) SetPayload ¶ added in v0.6.4

func (o *SubscriptionRefreshOK) SetPayload(payload *models.License)

SetPayload sets the payload to the subscription refresh o k response

func (*SubscriptionRefreshOK) WithPayload ¶ added in v0.6.4

func (o *SubscriptionRefreshOK) WithPayload(payload *models.License) *SubscriptionRefreshOK

WithPayload adds the payload to the subscription refresh o k response

func (*SubscriptionRefreshOK) WriteResponse ¶ added in v0.6.4

func (o *SubscriptionRefreshOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SubscriptionRefreshParams ¶ added in v0.6.4

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 ¶ added in v0.6.4

func NewSubscriptionRefreshParams() SubscriptionRefreshParams

NewSubscriptionRefreshParams creates a new SubscriptionRefreshParams object no default values defined in spec.

func (*SubscriptionRefreshParams) BindRequest ¶ added in v0.6.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 NewSubscriptionRefreshParams() beforehand.

type SubscriptionRefreshURL ¶ added in v0.6.4

type SubscriptionRefreshURL struct {
	// contains filtered or unexported fields
}

SubscriptionRefreshURL generates an URL for the subscription refresh operation

func (*SubscriptionRefreshURL) Build ¶ added in v0.6.4

func (o *SubscriptionRefreshURL) Build() (*url.URL, error)

Build a url path and query string

func (*SubscriptionRefreshURL) BuildFull ¶ added in v0.6.4

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 ¶ added in v0.6.4

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 ¶ added in v0.6.4

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 ¶ added in v0.6.4

func (o *SubscriptionRefreshURL) String() string

String returns the string representation of the path with query string

func (*SubscriptionRefreshURL) StringFull ¶ added in v0.6.4

func (o *SubscriptionRefreshURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SubscriptionRefreshURL) WithBasePath ¶ added in v0.6.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 SubscriptionValidate ¶ added in v0.5.0

type SubscriptionValidate struct {
	Context *middleware.Context
	Handler SubscriptionValidateHandler
}

SubscriptionValidate swagger:route POST /subscription/validate AdminAPI subscriptionValidate

Validates subscription license

func NewSubscriptionValidate ¶ added in v0.5.0

func NewSubscriptionValidate(ctx *middleware.Context, handler SubscriptionValidateHandler) *SubscriptionValidate

NewSubscriptionValidate creates a new http.Handler for the subscription validate operation

func (*SubscriptionValidate) ServeHTTP ¶ added in v0.5.0

func (o *SubscriptionValidate) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SubscriptionValidateDefault ¶ added in v0.5.0

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 ¶ added in v0.5.0

func NewSubscriptionValidateDefault(code int) *SubscriptionValidateDefault

NewSubscriptionValidateDefault creates SubscriptionValidateDefault with default headers values

func (*SubscriptionValidateDefault) SetPayload ¶ added in v0.5.0

func (o *SubscriptionValidateDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the subscription validate default response

func (*SubscriptionValidateDefault) SetStatusCode ¶ added in v0.5.0

func (o *SubscriptionValidateDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subscription validate default response

func (*SubscriptionValidateDefault) WithPayload ¶ added in v0.5.0

WithPayload adds the payload to the subscription validate default response

func (*SubscriptionValidateDefault) WithStatusCode ¶ added in v0.5.0

WithStatusCode adds the status to the subscription validate default response

func (*SubscriptionValidateDefault) WriteResponse ¶ added in v0.5.0

func (o *SubscriptionValidateDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SubscriptionValidateHandler ¶ added in v0.5.0

type SubscriptionValidateHandler interface {
	Handle(SubscriptionValidateParams, *models.Principal) middleware.Responder
}

SubscriptionValidateHandler interface for that can handle valid subscription validate params

type SubscriptionValidateHandlerFunc ¶ added in v0.5.0

type SubscriptionValidateHandlerFunc func(SubscriptionValidateParams, *models.Principal) middleware.Responder

SubscriptionValidateHandlerFunc turns a function with the right signature into a subscription validate handler

func (SubscriptionValidateHandlerFunc) Handle ¶ added in v0.5.0

Handle executing the request and returning a response

type SubscriptionValidateOK ¶ added in v0.5.0

type SubscriptionValidateOK struct {

	/*
	  In: Body
	*/
	Payload *models.License `json:"body,omitempty"`
}

SubscriptionValidateOK A successful response.

swagger:response subscriptionValidateOK

func NewSubscriptionValidateOK ¶ added in v0.5.0

func NewSubscriptionValidateOK() *SubscriptionValidateOK

NewSubscriptionValidateOK creates SubscriptionValidateOK with default headers values

func (*SubscriptionValidateOK) SetPayload ¶ added in v0.5.0

func (o *SubscriptionValidateOK) SetPayload(payload *models.License)

SetPayload sets the payload to the subscription validate o k response

func (*SubscriptionValidateOK) WithPayload ¶ added in v0.5.0

func (o *SubscriptionValidateOK) WithPayload(payload *models.License) *SubscriptionValidateOK

WithPayload adds the payload to the subscription validate o k response

func (*SubscriptionValidateOK) WriteResponse ¶ added in v0.5.0

func (o *SubscriptionValidateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SubscriptionValidateParams ¶ added in v0.5.0

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 ¶ added in v0.5.0

func NewSubscriptionValidateParams() SubscriptionValidateParams

NewSubscriptionValidateParams creates a new SubscriptionValidateParams object no default values defined in spec.

func (*SubscriptionValidateParams) BindRequest ¶ added in v0.5.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 NewSubscriptionValidateParams() beforehand.

type SubscriptionValidateURL ¶ added in v0.5.0

type SubscriptionValidateURL struct {
	// contains filtered or unexported fields
}

SubscriptionValidateURL generates an URL for the subscription validate operation

func (*SubscriptionValidateURL) Build ¶ added in v0.5.0

func (o *SubscriptionValidateURL) Build() (*url.URL, error)

Build a url path and query string

func (*SubscriptionValidateURL) BuildFull ¶ added in v0.5.0

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 ¶ added in v0.5.0

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 ¶ added in v0.5.0

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 ¶ added in v0.5.0

func (o *SubscriptionValidateURL) String() string

String returns the string representation of the path with query string

func (*SubscriptionValidateURL) StringFull ¶ added in v0.5.0

func (o *SubscriptionValidateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SubscriptionValidateURL) WithBasePath ¶ added in v0.5.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 TenantAddPool ¶ added in v0.5.0

type TenantAddPool struct {
	Context *middleware.Context
	Handler TenantAddPoolHandler
}

TenantAddPool swagger:route POST /namespaces/{namespace}/tenants/{tenant}/pools AdminAPI tenantAddPool

Tenant Add Pool

func NewTenantAddPool ¶ added in v0.5.0

func NewTenantAddPool(ctx *middleware.Context, handler TenantAddPoolHandler) *TenantAddPool

NewTenantAddPool creates a new http.Handler for the tenant add pool operation

func (*TenantAddPool) ServeHTTP ¶ added in v0.5.0

func (o *TenantAddPool) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantAddPoolCreated ¶ added in v0.5.0

type TenantAddPoolCreated struct {
}

TenantAddPoolCreated A successful response.

swagger:response tenantAddPoolCreated

func NewTenantAddPoolCreated ¶ added in v0.5.0

func NewTenantAddPoolCreated() *TenantAddPoolCreated

NewTenantAddPoolCreated creates TenantAddPoolCreated with default headers values

func (*TenantAddPoolCreated) WriteResponse ¶ added in v0.5.0

func (o *TenantAddPoolCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantAddPoolDefault ¶ added in v0.5.0

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 ¶ added in v0.5.0

func NewTenantAddPoolDefault(code int) *TenantAddPoolDefault

NewTenantAddPoolDefault creates TenantAddPoolDefault with default headers values

func (*TenantAddPoolDefault) SetPayload ¶ added in v0.5.0

func (o *TenantAddPoolDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tenant add pool default response

func (*TenantAddPoolDefault) SetStatusCode ¶ added in v0.5.0

func (o *TenantAddPoolDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant add pool default response

func (*TenantAddPoolDefault) WithPayload ¶ added in v0.5.0

func (o *TenantAddPoolDefault) WithPayload(payload *models.Error) *TenantAddPoolDefault

WithPayload adds the payload to the tenant add pool default response

func (*TenantAddPoolDefault) WithStatusCode ¶ added in v0.5.0

func (o *TenantAddPoolDefault) WithStatusCode(code int) *TenantAddPoolDefault

WithStatusCode adds the status to the tenant add pool default response

func (*TenantAddPoolDefault) WriteResponse ¶ added in v0.5.0

func (o *TenantAddPoolDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantAddPoolHandler ¶ added in v0.5.0

type TenantAddPoolHandler interface {
	Handle(TenantAddPoolParams, *models.Principal) middleware.Responder
}

TenantAddPoolHandler interface for that can handle valid tenant add pool params

type TenantAddPoolHandlerFunc ¶ added in v0.5.0

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 ¶ added in v0.5.0

Handle executing the request and returning a response

type TenantAddPoolParams ¶ added in v0.5.0

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 ¶ added in v0.5.0

func NewTenantAddPoolParams() TenantAddPoolParams

NewTenantAddPoolParams creates a new TenantAddPoolParams object no default values defined in spec.

func (*TenantAddPoolParams) BindRequest ¶ added in v0.5.0

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 ¶ added in v0.5.0

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 ¶ added in v0.5.0

func (o *TenantAddPoolURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantAddPoolURL) BuildFull ¶ added in v0.5.0

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 ¶ added in v0.5.0

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 ¶ added in v0.5.0

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 ¶ added in v0.5.0

func (o *TenantAddPoolURL) String() string

String returns the string representation of the path with query string

func (*TenantAddPoolURL) StringFull ¶ added in v0.5.0

func (o *TenantAddPoolURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantAddPoolURL) WithBasePath ¶ added in v0.5.0

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 TenantInfo ¶

type TenantInfo struct {
	Context *middleware.Context
	Handler TenantInfoHandler
}

TenantInfo swagger:route GET /namespaces/{namespace}/tenants/{tenant} AdminAPI tenantInfo

Tenant Info

func NewTenantInfo ¶

func NewTenantInfo(ctx *middleware.Context, handler TenantInfoHandler) *TenantInfo

NewTenantInfo creates a new http.Handler for the tenant info operation

func (*TenantInfo) ServeHTTP ¶

func (o *TenantInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantInfoDefault ¶

type TenantInfoDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

TenantInfoDefault Generic error response.

swagger:response tenantInfoDefault

func NewTenantInfoDefault ¶

func NewTenantInfoDefault(code int) *TenantInfoDefault

NewTenantInfoDefault creates TenantInfoDefault with default headers values

func (*TenantInfoDefault) SetPayload ¶

func (o *TenantInfoDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tenant info default response

func (*TenantInfoDefault) SetStatusCode ¶

func (o *TenantInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant info default response

func (*TenantInfoDefault) WithPayload ¶

func (o *TenantInfoDefault) WithPayload(payload *models.Error) *TenantInfoDefault

WithPayload adds the payload to the tenant info default response

func (*TenantInfoDefault) WithStatusCode ¶

func (o *TenantInfoDefault) WithStatusCode(code int) *TenantInfoDefault

WithStatusCode adds the status to the tenant info default response

func (*TenantInfoDefault) WriteResponse ¶

func (o *TenantInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantInfoHandler ¶

type TenantInfoHandler interface {
	Handle(TenantInfoParams, *models.Principal) middleware.Responder
}

TenantInfoHandler interface for that can handle valid tenant info params

type TenantInfoHandlerFunc ¶

type TenantInfoHandlerFunc func(TenantInfoParams, *models.Principal) middleware.Responder

TenantInfoHandlerFunc turns a function with the right signature into a tenant info handler

func (TenantInfoHandlerFunc) Handle ¶

Handle executing the request and returning a response

type TenantInfoOK ¶

type TenantInfoOK struct {

	/*
	  In: Body
	*/
	Payload *models.Tenant `json:"body,omitempty"`
}

TenantInfoOK A successful response.

swagger:response tenantInfoOK

func NewTenantInfoOK ¶

func NewTenantInfoOK() *TenantInfoOK

NewTenantInfoOK creates TenantInfoOK with default headers values

func (*TenantInfoOK) SetPayload ¶

func (o *TenantInfoOK) SetPayload(payload *models.Tenant)

SetPayload sets the payload to the tenant info o k response

func (*TenantInfoOK) WithPayload ¶

func (o *TenantInfoOK) WithPayload(payload *models.Tenant) *TenantInfoOK

WithPayload adds the payload to the tenant info o k response

func (*TenantInfoOK) WriteResponse ¶

func (o *TenantInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantInfoParams ¶

type TenantInfoParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

TenantInfoParams contains all the bound params for the tenant info operation typically these are obtained from a http.Request

swagger:parameters TenantInfo

func NewTenantInfoParams ¶

func NewTenantInfoParams() TenantInfoParams

NewTenantInfoParams creates a new TenantInfoParams object no default values defined in spec.

func (*TenantInfoParams) BindRequest ¶

func (o *TenantInfoParams) 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 NewTenantInfoParams() beforehand.

type TenantInfoURL ¶

type TenantInfoURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

TenantInfoURL generates an URL for the tenant info operation

func (*TenantInfoURL) Build ¶

func (o *TenantInfoURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantInfoURL) BuildFull ¶

func (o *TenantInfoURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TenantInfoURL) Must ¶

func (o *TenantInfoURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TenantInfoURL) SetBasePath ¶

func (o *TenantInfoURL) 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 (*TenantInfoURL) String ¶

func (o *TenantInfoURL) String() string

String returns the string representation of the path with query string

func (*TenantInfoURL) StringFull ¶

func (o *TenantInfoURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantInfoURL) WithBasePath ¶

func (o *TenantInfoURL) WithBasePath(bp string) *TenantInfoURL

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 ¶ added in v0.3.19

type TenantUpdateCertificate struct {
	Context *middleware.Context
	Handler TenantUpdateCertificateHandler
}

TenantUpdateCertificate swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/certificates AdminAPI tenantUpdateCertificate

Tenant Update Certificates

func NewTenantUpdateCertificate ¶ added in v0.3.19

func NewTenantUpdateCertificate(ctx *middleware.Context, handler TenantUpdateCertificateHandler) *TenantUpdateCertificate

NewTenantUpdateCertificate creates a new http.Handler for the tenant update certificate operation

func (*TenantUpdateCertificate) ServeHTTP ¶ added in v0.3.19

type TenantUpdateCertificateCreated ¶ added in v0.3.19

type TenantUpdateCertificateCreated struct {
}

TenantUpdateCertificateCreated A successful response.

swagger:response tenantUpdateCertificateCreated

func NewTenantUpdateCertificateCreated ¶ added in v0.3.19

func NewTenantUpdateCertificateCreated() *TenantUpdateCertificateCreated

NewTenantUpdateCertificateCreated creates TenantUpdateCertificateCreated with default headers values

func (*TenantUpdateCertificateCreated) WriteResponse ¶ added in v0.3.19

func (o *TenantUpdateCertificateCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantUpdateCertificateDefault ¶ added in v0.3.19

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 ¶ added in v0.3.19

func NewTenantUpdateCertificateDefault(code int) *TenantUpdateCertificateDefault

NewTenantUpdateCertificateDefault creates TenantUpdateCertificateDefault with default headers values

func (*TenantUpdateCertificateDefault) SetPayload ¶ added in v0.3.19

func (o *TenantUpdateCertificateDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tenant update certificate default response

func (*TenantUpdateCertificateDefault) SetStatusCode ¶ added in v0.3.19

func (o *TenantUpdateCertificateDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant update certificate default response

func (*TenantUpdateCertificateDefault) WithPayload ¶ added in v0.3.19

WithPayload adds the payload to the tenant update certificate default response

func (*TenantUpdateCertificateDefault) WithStatusCode ¶ added in v0.3.19

WithStatusCode adds the status to the tenant update certificate default response

func (*TenantUpdateCertificateDefault) WriteResponse ¶ added in v0.3.19

func (o *TenantUpdateCertificateDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantUpdateCertificateHandler ¶ added in v0.3.19

type TenantUpdateCertificateHandler interface {
	Handle(TenantUpdateCertificateParams, *models.Principal) middleware.Responder
}

TenantUpdateCertificateHandler interface for that can handle valid tenant update certificate params

type TenantUpdateCertificateHandlerFunc ¶ added in v0.3.19

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 ¶ added in v0.3.19

Handle executing the request and returning a response

type TenantUpdateCertificateParams ¶ added in v0.3.19

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 ¶ added in v0.3.19

func NewTenantUpdateCertificateParams() TenantUpdateCertificateParams

NewTenantUpdateCertificateParams creates a new TenantUpdateCertificateParams object no default values defined in spec.

func (*TenantUpdateCertificateParams) BindRequest ¶ added in v0.3.19

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 ¶ added in v0.3.19

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 ¶ added in v0.3.19

func (o *TenantUpdateCertificateURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantUpdateCertificateURL) BuildFull ¶ added in v0.3.19

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 ¶ added in v0.3.19

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 ¶ added in v0.3.19

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 ¶ added in v0.3.19

func (o *TenantUpdateCertificateURL) String() string

String returns the string representation of the path with query string

func (*TenantUpdateCertificateURL) StringFull ¶ added in v0.3.19

func (o *TenantUpdateCertificateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantUpdateCertificateURL) WithBasePath ¶ added in v0.3.19

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 ¶ added in v0.3.19

type TenantUpdateEncryption struct {
	Context *middleware.Context
	Handler TenantUpdateEncryptionHandler
}

TenantUpdateEncryption swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/encryption AdminAPI tenantUpdateEncryption

Tenant Update Encryption

func NewTenantUpdateEncryption ¶ added in v0.3.19

func NewTenantUpdateEncryption(ctx *middleware.Context, handler TenantUpdateEncryptionHandler) *TenantUpdateEncryption

NewTenantUpdateEncryption creates a new http.Handler for the tenant update encryption operation

func (*TenantUpdateEncryption) ServeHTTP ¶ added in v0.3.19

func (o *TenantUpdateEncryption) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantUpdateEncryptionCreated ¶ added in v0.3.19

type TenantUpdateEncryptionCreated struct {
}

TenantUpdateEncryptionCreated A successful response.

swagger:response tenantUpdateEncryptionCreated

func NewTenantUpdateEncryptionCreated ¶ added in v0.3.19

func NewTenantUpdateEncryptionCreated() *TenantUpdateEncryptionCreated

NewTenantUpdateEncryptionCreated creates TenantUpdateEncryptionCreated with default headers values

func (*TenantUpdateEncryptionCreated) WriteResponse ¶ added in v0.3.19

func (o *TenantUpdateEncryptionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantUpdateEncryptionDefault ¶ added in v0.3.19

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 ¶ added in v0.3.19

func NewTenantUpdateEncryptionDefault(code int) *TenantUpdateEncryptionDefault

NewTenantUpdateEncryptionDefault creates TenantUpdateEncryptionDefault with default headers values

func (*TenantUpdateEncryptionDefault) SetPayload ¶ added in v0.3.19

func (o *TenantUpdateEncryptionDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tenant update encryption default response

func (*TenantUpdateEncryptionDefault) SetStatusCode ¶ added in v0.3.19

func (o *TenantUpdateEncryptionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant update encryption default response

func (*TenantUpdateEncryptionDefault) WithPayload ¶ added in v0.3.19

WithPayload adds the payload to the tenant update encryption default response

func (*TenantUpdateEncryptionDefault) WithStatusCode ¶ added in v0.3.19

WithStatusCode adds the status to the tenant update encryption default response

func (*TenantUpdateEncryptionDefault) WriteResponse ¶ added in v0.3.19

func (o *TenantUpdateEncryptionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantUpdateEncryptionHandler ¶ added in v0.3.19

type TenantUpdateEncryptionHandler interface {
	Handle(TenantUpdateEncryptionParams, *models.Principal) middleware.Responder
}

TenantUpdateEncryptionHandler interface for that can handle valid tenant update encryption params

type TenantUpdateEncryptionHandlerFunc ¶ added in v0.3.19

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 ¶ added in v0.3.19

Handle executing the request and returning a response

type TenantUpdateEncryptionParams ¶ added in v0.3.19

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 ¶ added in v0.3.19

func NewTenantUpdateEncryptionParams() TenantUpdateEncryptionParams

NewTenantUpdateEncryptionParams creates a new TenantUpdateEncryptionParams object no default values defined in spec.

func (*TenantUpdateEncryptionParams) BindRequest ¶ added in v0.3.19

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 ¶ added in v0.3.19

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 ¶ added in v0.3.19

func (o *TenantUpdateEncryptionURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantUpdateEncryptionURL) BuildFull ¶ added in v0.3.19

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 ¶ added in v0.3.19

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 ¶ added in v0.3.19

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 ¶ added in v0.3.19

func (o *TenantUpdateEncryptionURL) String() string

String returns the string representation of the path with query string

func (*TenantUpdateEncryptionURL) StringFull ¶ added in v0.3.19

func (o *TenantUpdateEncryptionURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantUpdateEncryptionURL) WithBasePath ¶ added in v0.3.19

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 ¶ added in v0.5.0

type TenantUpdatePools struct {
	Context *middleware.Context
	Handler TenantUpdatePoolsHandler
}

TenantUpdatePools swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/pools AdminAPI tenantUpdatePools

Tenant Update Pools

func NewTenantUpdatePools ¶ added in v0.5.0

func NewTenantUpdatePools(ctx *middleware.Context, handler TenantUpdatePoolsHandler) *TenantUpdatePools

NewTenantUpdatePools creates a new http.Handler for the tenant update pools operation

func (*TenantUpdatePools) ServeHTTP ¶ added in v0.5.0

func (o *TenantUpdatePools) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantUpdatePoolsDefault ¶ added in v0.5.0

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 ¶ added in v0.5.0

func NewTenantUpdatePoolsDefault(code int) *TenantUpdatePoolsDefault

NewTenantUpdatePoolsDefault creates TenantUpdatePoolsDefault with default headers values

func (*TenantUpdatePoolsDefault) SetPayload ¶ added in v0.5.0

func (o *TenantUpdatePoolsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tenant update pools default response

func (*TenantUpdatePoolsDefault) SetStatusCode ¶ added in v0.5.0

func (o *TenantUpdatePoolsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant update pools default response

func (*TenantUpdatePoolsDefault) WithPayload ¶ added in v0.5.0

WithPayload adds the payload to the tenant update pools default response

func (*TenantUpdatePoolsDefault) WithStatusCode ¶ added in v0.5.0

func (o *TenantUpdatePoolsDefault) WithStatusCode(code int) *TenantUpdatePoolsDefault

WithStatusCode adds the status to the tenant update pools default response

func (*TenantUpdatePoolsDefault) WriteResponse ¶ added in v0.5.0

func (o *TenantUpdatePoolsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantUpdatePoolsHandler ¶ added in v0.5.0

type TenantUpdatePoolsHandler interface {
	Handle(TenantUpdatePoolsParams, *models.Principal) middleware.Responder
}

TenantUpdatePoolsHandler interface for that can handle valid tenant update pools params

type TenantUpdatePoolsHandlerFunc ¶ added in v0.5.0

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 ¶ added in v0.5.0

Handle executing the request and returning a response

type TenantUpdatePoolsOK ¶ added in v0.5.0

type TenantUpdatePoolsOK struct {

	/*
	  In: Body
	*/
	Payload *models.Tenant `json:"body,omitempty"`
}

TenantUpdatePoolsOK A successful response.

swagger:response tenantUpdatePoolsOK

func NewTenantUpdatePoolsOK ¶ added in v0.5.0

func NewTenantUpdatePoolsOK() *TenantUpdatePoolsOK

NewTenantUpdatePoolsOK creates TenantUpdatePoolsOK with default headers values

func (*TenantUpdatePoolsOK) SetPayload ¶ added in v0.5.0

func (o *TenantUpdatePoolsOK) SetPayload(payload *models.Tenant)

SetPayload sets the payload to the tenant update pools o k response

func (*TenantUpdatePoolsOK) WithPayload ¶ added in v0.5.0

func (o *TenantUpdatePoolsOK) WithPayload(payload *models.Tenant) *TenantUpdatePoolsOK

WithPayload adds the payload to the tenant update pools o k response

func (*TenantUpdatePoolsOK) WriteResponse ¶ added in v0.5.0

func (o *TenantUpdatePoolsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantUpdatePoolsParams ¶ added in v0.5.0

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 ¶ added in v0.5.0

func NewTenantUpdatePoolsParams() TenantUpdatePoolsParams

NewTenantUpdatePoolsParams creates a new TenantUpdatePoolsParams object no default values defined in spec.

func (*TenantUpdatePoolsParams) BindRequest ¶ added in v0.5.0

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 ¶ added in v0.5.0

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 ¶ added in v0.5.0

func (o *TenantUpdatePoolsURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantUpdatePoolsURL) BuildFull ¶ added in v0.5.0

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 ¶ added in v0.5.0

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 ¶ added in v0.5.0

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 ¶ added in v0.5.0

func (o *TenantUpdatePoolsURL) String() string

String returns the string representation of the path with query string

func (*TenantUpdatePoolsURL) StringFull ¶ added in v0.5.0

func (o *TenantUpdatePoolsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantUpdatePoolsURL) WithBasePath ¶ added in v0.5.0

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 TiersList ¶ added in v0.7.0

type TiersList struct {
	Context *middleware.Context
	Handler TiersListHandler
}

TiersList swagger:route GET /admin/tiers AdminAPI tiersList

Returns a list of tiers for ilm

func NewTiersList ¶ added in v0.7.0

func NewTiersList(ctx *middleware.Context, handler TiersListHandler) *TiersList

NewTiersList creates a new http.Handler for the tiers list operation

func (*TiersList) ServeHTTP ¶ added in v0.7.0

func (o *TiersList) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TiersListDefault ¶ added in v0.7.0

type TiersListDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

TiersListDefault Generic error response.

swagger:response tiersListDefault

func NewTiersListDefault ¶ added in v0.7.0

func NewTiersListDefault(code int) *TiersListDefault

NewTiersListDefault creates TiersListDefault with default headers values

func (*TiersListDefault) SetPayload ¶ added in v0.7.0

func (o *TiersListDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tiers list default response

func (*TiersListDefault) SetStatusCode ¶ added in v0.7.0

func (o *TiersListDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tiers list default response

func (*TiersListDefault) WithPayload ¶ added in v0.7.0

func (o *TiersListDefault) WithPayload(payload *models.Error) *TiersListDefault

WithPayload adds the payload to the tiers list default response

func (*TiersListDefault) WithStatusCode ¶ added in v0.7.0

func (o *TiersListDefault) WithStatusCode(code int) *TiersListDefault

WithStatusCode adds the status to the tiers list default response

func (*TiersListDefault) WriteResponse ¶ added in v0.7.0

func (o *TiersListDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TiersListHandler ¶ added in v0.7.0

type TiersListHandler interface {
	Handle(TiersListParams, *models.Principal) middleware.Responder
}

TiersListHandler interface for that can handle valid tiers list params

type TiersListHandlerFunc ¶ added in v0.7.0

type TiersListHandlerFunc func(TiersListParams, *models.Principal) middleware.Responder

TiersListHandlerFunc turns a function with the right signature into a tiers list handler

func (TiersListHandlerFunc) Handle ¶ added in v0.7.0

Handle executing the request and returning a response

type TiersListOK ¶ added in v0.7.0

type TiersListOK struct {

	/*
	  In: Body
	*/
	Payload *models.TierListResponse `json:"body,omitempty"`
}

TiersListOK A successful response.

swagger:response tiersListOK

func NewTiersListOK ¶ added in v0.7.0

func NewTiersListOK() *TiersListOK

NewTiersListOK creates TiersListOK with default headers values

func (*TiersListOK) SetPayload ¶ added in v0.7.0

func (o *TiersListOK) SetPayload(payload *models.TierListResponse)

SetPayload sets the payload to the tiers list o k response

func (*TiersListOK) WithPayload ¶ added in v0.7.0

func (o *TiersListOK) WithPayload(payload *models.TierListResponse) *TiersListOK

WithPayload adds the payload to the tiers list o k response

func (*TiersListOK) WriteResponse ¶ added in v0.7.0

func (o *TiersListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TiersListParams ¶ added in v0.7.0

type TiersListParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

TiersListParams contains all the bound params for the tiers list operation typically these are obtained from a http.Request

swagger:parameters TiersList

func NewTiersListParams ¶ added in v0.7.0

func NewTiersListParams() TiersListParams

NewTiersListParams creates a new TiersListParams object no default values defined in spec.

func (*TiersListParams) BindRequest ¶ added in v0.7.0

func (o *TiersListParams) 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 NewTiersListParams() beforehand.

type TiersListURL ¶ added in v0.7.0

type TiersListURL struct {
	// contains filtered or unexported fields
}

TiersListURL generates an URL for the tiers list operation

func (*TiersListURL) Build ¶ added in v0.7.0

func (o *TiersListURL) Build() (*url.URL, error)

Build a url path and query string

func (*TiersListURL) BuildFull ¶ added in v0.7.0

func (o *TiersListURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TiersListURL) Must ¶ added in v0.7.0

func (o *TiersListURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TiersListURL) SetBasePath ¶ added in v0.7.0

func (o *TiersListURL) 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 (*TiersListURL) String ¶ added in v0.7.0

func (o *TiersListURL) String() string

String returns the string representation of the path with query string

func (*TiersListURL) StringFull ¶ added in v0.7.0

func (o *TiersListURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TiersListURL) WithBasePath ¶ added in v0.7.0

func (o *TiersListURL) WithBasePath(bp string) *TiersListURL

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 UpdateGroup ¶

type UpdateGroup struct {
	Context *middleware.Context
	Handler UpdateGroupHandler
}

UpdateGroup swagger:route PUT /groups/{name} AdminAPI updateGroup

Update Group Members or Status

func NewUpdateGroup ¶

func NewUpdateGroup(ctx *middleware.Context, handler UpdateGroupHandler) *UpdateGroup

NewUpdateGroup creates a new http.Handler for the update group operation

func (*UpdateGroup) ServeHTTP ¶

func (o *UpdateGroup) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateGroupDefault ¶

type UpdateGroupDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UpdateGroupDefault Generic error response.

swagger:response updateGroupDefault

func NewUpdateGroupDefault ¶

func NewUpdateGroupDefault(code int) *UpdateGroupDefault

NewUpdateGroupDefault creates UpdateGroupDefault with default headers values

func (*UpdateGroupDefault) SetPayload ¶

func (o *UpdateGroupDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the update group default response

func (*UpdateGroupDefault) SetStatusCode ¶

func (o *UpdateGroupDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update group default response

func (*UpdateGroupDefault) WithPayload ¶

func (o *UpdateGroupDefault) WithPayload(payload *models.Error) *UpdateGroupDefault

WithPayload adds the payload to the update group default response

func (*UpdateGroupDefault) WithStatusCode ¶

func (o *UpdateGroupDefault) WithStatusCode(code int) *UpdateGroupDefault

WithStatusCode adds the status to the update group default response

func (*UpdateGroupDefault) WriteResponse ¶

func (o *UpdateGroupDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateGroupHandler ¶

type UpdateGroupHandler interface {
	Handle(UpdateGroupParams, *models.Principal) middleware.Responder
}

UpdateGroupHandler interface for that can handle valid update group params

type UpdateGroupHandlerFunc ¶

type UpdateGroupHandlerFunc func(UpdateGroupParams, *models.Principal) middleware.Responder

UpdateGroupHandlerFunc turns a function with the right signature into a update group handler

func (UpdateGroupHandlerFunc) Handle ¶

Handle executing the request and returning a response

type UpdateGroupOK ¶

type UpdateGroupOK struct {

	/*
	  In: Body
	*/
	Payload *models.Group `json:"body,omitempty"`
}

UpdateGroupOK A successful response.

swagger:response updateGroupOK

func NewUpdateGroupOK ¶

func NewUpdateGroupOK() *UpdateGroupOK

NewUpdateGroupOK creates UpdateGroupOK with default headers values

func (*UpdateGroupOK) SetPayload ¶

func (o *UpdateGroupOK) SetPayload(payload *models.Group)

SetPayload sets the payload to the update group o k response

func (*UpdateGroupOK) WithPayload ¶

func (o *UpdateGroupOK) WithPayload(payload *models.Group) *UpdateGroupOK

WithPayload adds the payload to the update group o k response

func (*UpdateGroupOK) WriteResponse ¶

func (o *UpdateGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateGroupParams ¶

type UpdateGroupParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.UpdateGroupRequest
	/*
	  Required: true
	  In: path
	*/
	Name string
}

UpdateGroupParams contains all the bound params for the update group operation typically these are obtained from a http.Request

swagger:parameters UpdateGroup

func NewUpdateGroupParams ¶

func NewUpdateGroupParams() UpdateGroupParams

NewUpdateGroupParams creates a new UpdateGroupParams object no default values defined in spec.

func (*UpdateGroupParams) BindRequest ¶

func (o *UpdateGroupParams) 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 NewUpdateGroupParams() beforehand.

type UpdateGroupURL ¶

type UpdateGroupURL struct {
	Name string
	// contains filtered or unexported fields
}

UpdateGroupURL generates an URL for the update group operation

func (*UpdateGroupURL) Build ¶

func (o *UpdateGroupURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateGroupURL) BuildFull ¶

func (o *UpdateGroupURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateGroupURL) Must ¶

func (o *UpdateGroupURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateGroupURL) SetBasePath ¶

func (o *UpdateGroupURL) 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 (*UpdateGroupURL) String ¶

func (o *UpdateGroupURL) String() string

String returns the string representation of the path with query string

func (*UpdateGroupURL) StringFull ¶

func (o *UpdateGroupURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateGroupURL) WithBasePath ¶

func (o *UpdateGroupURL) WithBasePath(bp string) *UpdateGroupURL

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} AdminAPI updateTenant

Update Tenant

func NewUpdateTenant ¶

func NewUpdateTenant(ctx *middleware.Context, handler UpdateTenantHandler) *UpdateTenant

NewUpdateTenant creates a new http.Handler for the update tenant operation

func (*UpdateTenant) ServeHTTP ¶

func (o *UpdateTenant) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateTenantCreated ¶

type UpdateTenantCreated struct {
}

UpdateTenantCreated A successful response.

swagger:response updateTenantCreated

func NewUpdateTenantCreated ¶

func NewUpdateTenantCreated() *UpdateTenantCreated

NewUpdateTenantCreated creates UpdateTenantCreated with default headers values

func (*UpdateTenantCreated) WriteResponse ¶

func (o *UpdateTenantCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateTenantDefault ¶

type UpdateTenantDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UpdateTenantDefault Generic error response.

swagger:response updateTenantDefault

func NewUpdateTenantDefault ¶

func NewUpdateTenantDefault(code int) *UpdateTenantDefault

NewUpdateTenantDefault creates UpdateTenantDefault with default headers values

func (*UpdateTenantDefault) SetPayload ¶

func (o *UpdateTenantDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the update tenant default response

func (*UpdateTenantDefault) SetStatusCode ¶

func (o *UpdateTenantDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update tenant default response

func (*UpdateTenantDefault) WithPayload ¶

func (o *UpdateTenantDefault) WithPayload(payload *models.Error) *UpdateTenantDefault

WithPayload adds the payload to the update tenant default response

func (*UpdateTenantDefault) WithStatusCode ¶

func (o *UpdateTenantDefault) WithStatusCode(code int) *UpdateTenantDefault

WithStatusCode adds the status to the update tenant default response

func (*UpdateTenantDefault) WriteResponse ¶

func (o *UpdateTenantDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateTenantHandler ¶

type UpdateTenantHandler interface {
	Handle(UpdateTenantParams, *models.Principal) middleware.Responder
}

UpdateTenantHandler interface for that can handle valid update tenant params

type UpdateTenantHandlerFunc ¶

type UpdateTenantHandlerFunc func(UpdateTenantParams, *models.Principal) middleware.Responder

UpdateTenantHandlerFunc turns a function with the right signature into a update tenant handler

func (UpdateTenantHandlerFunc) Handle ¶

Handle executing the request and returning a response

type UpdateTenantParams ¶

type UpdateTenantParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.UpdateTenantRequest
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

UpdateTenantParams contains all the bound params for the update tenant operation typically these are obtained from a http.Request

swagger:parameters UpdateTenant

func NewUpdateTenantParams ¶

func NewUpdateTenantParams() UpdateTenantParams

NewUpdateTenantParams creates a new UpdateTenantParams object no default values defined in 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 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

type UpdateUserGroups ¶

type UpdateUserGroups struct {
	Context *middleware.Context
	Handler UpdateUserGroupsHandler
}

UpdateUserGroups swagger:route PUT /users/{name}/groups AdminAPI updateUserGroups

Update Groups for a user

func NewUpdateUserGroups ¶

func NewUpdateUserGroups(ctx *middleware.Context, handler UpdateUserGroupsHandler) *UpdateUserGroups

NewUpdateUserGroups creates a new http.Handler for the update user groups operation

func (*UpdateUserGroups) ServeHTTP ¶

func (o *UpdateUserGroups) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateUserGroupsDefault ¶

type UpdateUserGroupsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UpdateUserGroupsDefault Generic error response.

swagger:response updateUserGroupsDefault

func NewUpdateUserGroupsDefault ¶

func NewUpdateUserGroupsDefault(code int) *UpdateUserGroupsDefault

NewUpdateUserGroupsDefault creates UpdateUserGroupsDefault with default headers values

func (*UpdateUserGroupsDefault) SetPayload ¶

func (o *UpdateUserGroupsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the update user groups default response

func (*UpdateUserGroupsDefault) SetStatusCode ¶

func (o *UpdateUserGroupsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update user groups default response

func (*UpdateUserGroupsDefault) WithPayload ¶

func (o *UpdateUserGroupsDefault) WithPayload(payload *models.Error) *UpdateUserGroupsDefault

WithPayload adds the payload to the update user groups default response

func (*UpdateUserGroupsDefault) WithStatusCode ¶

func (o *UpdateUserGroupsDefault) WithStatusCode(code int) *UpdateUserGroupsDefault

WithStatusCode adds the status to the update user groups default response

func (*UpdateUserGroupsDefault) WriteResponse ¶

func (o *UpdateUserGroupsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateUserGroupsHandler ¶

type UpdateUserGroupsHandler interface {
	Handle(UpdateUserGroupsParams, *models.Principal) middleware.Responder
}

UpdateUserGroupsHandler interface for that can handle valid update user groups params

type UpdateUserGroupsHandlerFunc ¶

type UpdateUserGroupsHandlerFunc func(UpdateUserGroupsParams, *models.Principal) middleware.Responder

UpdateUserGroupsHandlerFunc turns a function with the right signature into a update user groups handler

func (UpdateUserGroupsHandlerFunc) Handle ¶

Handle executing the request and returning a response

type UpdateUserGroupsOK ¶

type UpdateUserGroupsOK struct {

	/*
	  In: Body
	*/
	Payload *models.User `json:"body,omitempty"`
}

UpdateUserGroupsOK A successful response.

swagger:response updateUserGroupsOK

func NewUpdateUserGroupsOK ¶

func NewUpdateUserGroupsOK() *UpdateUserGroupsOK

NewUpdateUserGroupsOK creates UpdateUserGroupsOK with default headers values

func (*UpdateUserGroupsOK) SetPayload ¶

func (o *UpdateUserGroupsOK) SetPayload(payload *models.User)

SetPayload sets the payload to the update user groups o k response

func (*UpdateUserGroupsOK) WithPayload ¶

func (o *UpdateUserGroupsOK) WithPayload(payload *models.User) *UpdateUserGroupsOK

WithPayload adds the payload to the update user groups o k response

func (*UpdateUserGroupsOK) WriteResponse ¶

func (o *UpdateUserGroupsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateUserGroupsParams ¶

type UpdateUserGroupsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.UpdateUserGroups
	/*
	  Required: true
	  In: path
	*/
	Name string
}

UpdateUserGroupsParams contains all the bound params for the update user groups operation typically these are obtained from a http.Request

swagger:parameters UpdateUserGroups

func NewUpdateUserGroupsParams ¶

func NewUpdateUserGroupsParams() UpdateUserGroupsParams

NewUpdateUserGroupsParams creates a new UpdateUserGroupsParams object no default values defined in spec.

func (*UpdateUserGroupsParams) BindRequest ¶

func (o *UpdateUserGroupsParams) 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 NewUpdateUserGroupsParams() beforehand.

type UpdateUserGroupsURL ¶

type UpdateUserGroupsURL struct {
	Name string
	// contains filtered or unexported fields
}

UpdateUserGroupsURL generates an URL for the update user groups operation

func (*UpdateUserGroupsURL) Build ¶

func (o *UpdateUserGroupsURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateUserGroupsURL) BuildFull ¶

func (o *UpdateUserGroupsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateUserGroupsURL) Must ¶

func (o *UpdateUserGroupsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateUserGroupsURL) SetBasePath ¶

func (o *UpdateUserGroupsURL) 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 (*UpdateUserGroupsURL) String ¶

func (o *UpdateUserGroupsURL) String() string

String returns the string representation of the path with query string

func (*UpdateUserGroupsURL) StringFull ¶

func (o *UpdateUserGroupsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateUserGroupsURL) WithBasePath ¶

func (o *UpdateUserGroupsURL) WithBasePath(bp string) *UpdateUserGroupsURL

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 UpdateUserInfo ¶

type UpdateUserInfo struct {
	Context *middleware.Context
	Handler UpdateUserInfoHandler
}

UpdateUserInfo swagger:route PUT /users/{name} AdminAPI updateUserInfo

Update User Info

func NewUpdateUserInfo ¶

func NewUpdateUserInfo(ctx *middleware.Context, handler UpdateUserInfoHandler) *UpdateUserInfo

NewUpdateUserInfo creates a new http.Handler for the update user info operation

func (*UpdateUserInfo) ServeHTTP ¶

func (o *UpdateUserInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateUserInfoDefault ¶

type UpdateUserInfoDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UpdateUserInfoDefault Generic error response.

swagger:response updateUserInfoDefault

func NewUpdateUserInfoDefault ¶

func NewUpdateUserInfoDefault(code int) *UpdateUserInfoDefault

NewUpdateUserInfoDefault creates UpdateUserInfoDefault with default headers values

func (*UpdateUserInfoDefault) SetPayload ¶

func (o *UpdateUserInfoDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the update user info default response

func (*UpdateUserInfoDefault) SetStatusCode ¶

func (o *UpdateUserInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update user info default response

func (*UpdateUserInfoDefault) WithPayload ¶

func (o *UpdateUserInfoDefault) WithPayload(payload *models.Error) *UpdateUserInfoDefault

WithPayload adds the payload to the update user info default response

func (*UpdateUserInfoDefault) WithStatusCode ¶

func (o *UpdateUserInfoDefault) WithStatusCode(code int) *UpdateUserInfoDefault

WithStatusCode adds the status to the update user info default response

func (*UpdateUserInfoDefault) WriteResponse ¶

func (o *UpdateUserInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateUserInfoHandler ¶

type UpdateUserInfoHandler interface {
	Handle(UpdateUserInfoParams, *models.Principal) middleware.Responder
}

UpdateUserInfoHandler interface for that can handle valid update user info params

type UpdateUserInfoHandlerFunc ¶

type UpdateUserInfoHandlerFunc func(UpdateUserInfoParams, *models.Principal) middleware.Responder

UpdateUserInfoHandlerFunc turns a function with the right signature into a update user info handler

func (UpdateUserInfoHandlerFunc) Handle ¶

Handle executing the request and returning a response

type UpdateUserInfoOK ¶

type UpdateUserInfoOK struct {

	/*
	  In: Body
	*/
	Payload *models.User `json:"body,omitempty"`
}

UpdateUserInfoOK A successful response.

swagger:response updateUserInfoOK

func NewUpdateUserInfoOK ¶

func NewUpdateUserInfoOK() *UpdateUserInfoOK

NewUpdateUserInfoOK creates UpdateUserInfoOK with default headers values

func (*UpdateUserInfoOK) SetPayload ¶

func (o *UpdateUserInfoOK) SetPayload(payload *models.User)

SetPayload sets the payload to the update user info o k response

func (*UpdateUserInfoOK) WithPayload ¶

func (o *UpdateUserInfoOK) WithPayload(payload *models.User) *UpdateUserInfoOK

WithPayload adds the payload to the update user info o k response

func (*UpdateUserInfoOK) WriteResponse ¶

func (o *UpdateUserInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateUserInfoParams ¶

type UpdateUserInfoParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.UpdateUser
	/*
	  Required: true
	  In: path
	*/
	Name string
}

UpdateUserInfoParams contains all the bound params for the update user info operation typically these are obtained from a http.Request

swagger:parameters UpdateUserInfo

func NewUpdateUserInfoParams ¶

func NewUpdateUserInfoParams() UpdateUserInfoParams

NewUpdateUserInfoParams creates a new UpdateUserInfoParams object no default values defined in spec.

func (*UpdateUserInfoParams) BindRequest ¶

func (o *UpdateUserInfoParams) 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 NewUpdateUserInfoParams() beforehand.

type UpdateUserInfoURL ¶

type UpdateUserInfoURL struct {
	Name string
	// contains filtered or unexported fields
}

UpdateUserInfoURL generates an URL for the update user info operation

func (*UpdateUserInfoURL) Build ¶

func (o *UpdateUserInfoURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateUserInfoURL) BuildFull ¶

func (o *UpdateUserInfoURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateUserInfoURL) Must ¶

func (o *UpdateUserInfoURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateUserInfoURL) SetBasePath ¶

func (o *UpdateUserInfoURL) 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 (*UpdateUserInfoURL) String ¶

func (o *UpdateUserInfoURL) String() string

String returns the string representation of the path with query string

func (*UpdateUserInfoURL) StringFull ¶

func (o *UpdateUserInfoURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateUserInfoURL) WithBasePath ¶

func (o *UpdateUserInfoURL) WithBasePath(bp string) *UpdateUserInfoURL

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