admin_api

package
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: AGPL-3.0 Imports: 14 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 ChangeUserPasswordCreatedCode int = 201

ChangeUserPasswordCreatedCode is the HTTP code returned for type ChangeUserPasswordCreated

View Source
const ConfigInfoOKCode int = 200

ConfigInfoOKCode is the HTTP code returned for type ConfigInfoOK

View Source
const CreateNamespaceCreatedCode int = 201

CreateNamespaceCreatedCode is the HTTP code returned for type CreateNamespaceCreated

View Source
const CreateTenantOKCode int = 200

CreateTenantOKCode is the HTTP code returned for type CreateTenantOK

View Source
const DashboardWidgetDetailsOKCode int = 200

DashboardWidgetDetailsOKCode is the HTTP code returned for type DashboardWidgetDetailsOK

View Source
const DeletePodNoContentCode int = 204

DeletePodNoContentCode is the HTTP code returned for type DeletePodNoContent

View Source
const DeleteTenantNoContentCode int = 204

DeleteTenantNoContentCode is the HTTP code returned for type DeleteTenantNoContent

View Source
const DirectCSIFormatDriveOKCode int = 200

DirectCSIFormatDriveOKCode is the HTTP code returned for type DirectCSIFormatDriveOK

View Source
const 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 GetPodEventsOKCode int = 200

GetPodEventsOKCode is the HTTP code returned for type GetPodEventsOK

View Source
const GetPodLogsOKCode int = 200

GetPodLogsOKCode is the HTTP code returned for type GetPodLogsOK

View Source
const GetResourceQuotaOKCode int = 200

GetResourceQuotaOKCode is the HTTP code returned for type GetResourceQuotaOK

View Source
const GetTenantPodsOKCode int = 200

GetTenantPodsOKCode is the HTTP code returned for type GetTenantPodsOK

View Source
const GetTenantUsageOKCode int = 200

GetTenantUsageOKCode is the HTTP code returned for type GetTenantUsageOK

View Source
const GetTenantYAMLOKCode int = 200

GetTenantYAMLOKCode is the HTTP code returned for type GetTenantYAMLOK

View Source
const 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 ListAUserServiceAccountsOKCode int = 200

ListAUserServiceAccountsOKCode is the HTTP code returned for type ListAUserServiceAccountsOK

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

ListGroupsForPolicyOKCode is the HTTP code returned for type ListGroupsForPolicyOK

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

TenantDetailsOKCode is the HTTP code returned for type TenantDetailsOK

View Source
const TenantInfoOKCode int = 200

TenantInfoOKCode is the HTTP code returned for type TenantInfoOK

View Source
const TenantSecurityOKCode int = 200

TenantSecurityOKCode is the HTTP code returned for type TenantSecurityOK

View Source
const TenantUpdateCertificateCreatedCode int = 201

TenantUpdateCertificateCreatedCode is the HTTP code returned for type TenantUpdateCertificateCreated

View Source
const TenantUpdateEncryptionCreatedCode int = 201

TenantUpdateEncryptionCreatedCode is the HTTP code returned for type TenantUpdateEncryptionCreated

View Source
const TenantUpdatePoolsOKCode int = 200

TenantUpdatePoolsOKCode is the HTTP code returned for type TenantUpdatePoolsOK

View Source
const TenantWidgetDetailsOKCode int = 200

TenantWidgetDetailsOKCode is the HTTP code returned for type TenantWidgetDetailsOK

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

UpdateTenantSecurityNoContentCode is the HTTP code returned for type UpdateTenantSecurityNoContent

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

There are no default values defined in the 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

There are no default values defined in the 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

There are no default values defined in the 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 ¶

type AddTier struct {
	Context *middleware.Context
	Handler AddTierHandler
}
AddTier swagger:route POST /admin/tiers AdminAPI addTier

Allows to configure a new tier

func NewAddTier ¶

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

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

func (*AddTier) ServeHTTP ¶

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

type AddTierCreated ¶

type AddTierCreated struct {
}

AddTierCreated A successful response.

swagger:response addTierCreated

func NewAddTierCreated ¶

func NewAddTierCreated() *AddTierCreated

NewAddTierCreated creates AddTierCreated with default headers values

func (*AddTierCreated) WriteResponse ¶

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

WriteResponse to the client

type AddTierDefault ¶

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 ¶

func NewAddTierDefault(code int) *AddTierDefault

NewAddTierDefault creates AddTierDefault with default headers values

func (*AddTierDefault) SetPayload ¶

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

SetPayload sets the payload to the add tier default response

func (*AddTierDefault) SetStatusCode ¶

func (o *AddTierDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add tier default response

func (*AddTierDefault) WithPayload ¶

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

WithPayload adds the payload to the add tier default response

func (*AddTierDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the add tier default response

func (*AddTierDefault) WriteResponse ¶

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

WriteResponse to the client

type AddTierHandler ¶

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

AddTierHandler interface for that can handle valid add tier params

type AddTierHandlerFunc ¶

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

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

func (AddTierHandlerFunc) Handle ¶

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

Handle executing the request and returning a response

type AddTierParams ¶

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 ¶

func NewAddTierParams() AddTierParams

NewAddTierParams creates a new AddTierParams object

There are no default values defined in the spec.

func (*AddTierParams) BindRequest ¶

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 ¶

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

AddTierURL generates an URL for the add tier operation

func (*AddTierURL) Build ¶

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

Build a url path and query string

func (*AddTierURL) BuildFull ¶

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 ¶

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 ¶

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 ¶

func (o *AddTierURL) String() string

String returns the string representation of the path with query string

func (*AddTierURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*AddTierURL) WithBasePath ¶

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

There are no default values defined in the 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

There are no default values defined in the 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

There are no default values defined in the 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

There are no default values defined in the 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 ChangeUserPassword ¶

type ChangeUserPassword struct {
	Context *middleware.Context
	Handler ChangeUserPasswordHandler
}
ChangeUserPassword swagger:route POST /account/change-user-password AdminAPI changeUserPassword

Change password of currently logged in user.

func NewChangeUserPassword ¶

func NewChangeUserPassword(ctx *middleware.Context, handler ChangeUserPasswordHandler) *ChangeUserPassword

NewChangeUserPassword creates a new http.Handler for the change user password operation

func (*ChangeUserPassword) ServeHTTP ¶

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

type ChangeUserPasswordCreated ¶

type ChangeUserPasswordCreated struct {
}

ChangeUserPasswordCreated Password successfully changed.

swagger:response changeUserPasswordCreated

func NewChangeUserPasswordCreated ¶

func NewChangeUserPasswordCreated() *ChangeUserPasswordCreated

NewChangeUserPasswordCreated creates ChangeUserPasswordCreated with default headers values

func (*ChangeUserPasswordCreated) WriteResponse ¶

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

WriteResponse to the client

type ChangeUserPasswordDefault ¶

type ChangeUserPasswordDefault struct {

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

ChangeUserPasswordDefault Generic error response.

swagger:response changeUserPasswordDefault

func NewChangeUserPasswordDefault ¶

func NewChangeUserPasswordDefault(code int) *ChangeUserPasswordDefault

NewChangeUserPasswordDefault creates ChangeUserPasswordDefault with default headers values

func (*ChangeUserPasswordDefault) SetPayload ¶

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

SetPayload sets the payload to the change user password default response

func (*ChangeUserPasswordDefault) SetStatusCode ¶

func (o *ChangeUserPasswordDefault) SetStatusCode(code int)

SetStatusCode sets the status to the change user password default response

func (*ChangeUserPasswordDefault) WithPayload ¶

WithPayload adds the payload to the change user password default response

func (*ChangeUserPasswordDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the change user password default response

func (*ChangeUserPasswordDefault) WriteResponse ¶

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

WriteResponse to the client

type ChangeUserPasswordHandler ¶

type ChangeUserPasswordHandler interface {
	Handle(ChangeUserPasswordParams, *models.Principal) middleware.Responder
}

ChangeUserPasswordHandler interface for that can handle valid change user password params

type ChangeUserPasswordHandlerFunc ¶

type ChangeUserPasswordHandlerFunc func(ChangeUserPasswordParams, *models.Principal) middleware.Responder

ChangeUserPasswordHandlerFunc turns a function with the right signature into a change user password handler

func (ChangeUserPasswordHandlerFunc) Handle ¶

Handle executing the request and returning a response

type ChangeUserPasswordParams ¶

type ChangeUserPasswordParams struct {

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

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

ChangeUserPasswordParams contains all the bound params for the change user password operation typically these are obtained from a http.Request

swagger:parameters ChangeUserPassword

func NewChangeUserPasswordParams ¶

func NewChangeUserPasswordParams() ChangeUserPasswordParams

NewChangeUserPasswordParams creates a new ChangeUserPasswordParams object

There are no default values defined in the spec.

func (*ChangeUserPasswordParams) 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 NewChangeUserPasswordParams() beforehand.

type ChangeUserPasswordURL ¶

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

ChangeUserPasswordURL generates an URL for the change user password operation

func (*ChangeUserPasswordURL) Build ¶

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

Build a url path and query string

func (*ChangeUserPasswordURL) BuildFull ¶

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

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

func (*ChangeUserPasswordURL) Must ¶

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

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

func (*ChangeUserPasswordURL) SetBasePath ¶

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

func (o *ChangeUserPasswordURL) String() string

String returns the string representation of the path with query string

func (*ChangeUserPasswordURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*ChangeUserPasswordURL) WithBasePath ¶

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

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

There are no default values defined in the 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 CreateNamespace ¶

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

Creates a new Namespace with given information

func NewCreateNamespace ¶

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

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

func (*CreateNamespace) ServeHTTP ¶

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

type CreateNamespaceCreated ¶

type CreateNamespaceCreated struct {
}

CreateNamespaceCreated A successful response.

swagger:response createNamespaceCreated

func NewCreateNamespaceCreated ¶

func NewCreateNamespaceCreated() *CreateNamespaceCreated

NewCreateNamespaceCreated creates CreateNamespaceCreated with default headers values

func (*CreateNamespaceCreated) WriteResponse ¶

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

WriteResponse to the client

type CreateNamespaceDefault ¶

type CreateNamespaceDefault struct {

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

CreateNamespaceDefault Generic error response.

swagger:response createNamespaceDefault

func NewCreateNamespaceDefault ¶

func NewCreateNamespaceDefault(code int) *CreateNamespaceDefault

NewCreateNamespaceDefault creates CreateNamespaceDefault with default headers values

func (*CreateNamespaceDefault) SetPayload ¶

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

SetPayload sets the payload to the create namespace default response

func (*CreateNamespaceDefault) SetStatusCode ¶

func (o *CreateNamespaceDefault) SetStatusCode(code int)

SetStatusCode sets the status to the create namespace default response

func (*CreateNamespaceDefault) WithPayload ¶

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

WithPayload adds the payload to the create namespace default response

func (*CreateNamespaceDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the create namespace default response

func (*CreateNamespaceDefault) WriteResponse ¶

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

WriteResponse to the client

type CreateNamespaceHandler ¶

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

CreateNamespaceHandler interface for that can handle valid create namespace params

type CreateNamespaceHandlerFunc ¶

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

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

func (CreateNamespaceHandlerFunc) Handle ¶

Handle executing the request and returning a response

type CreateNamespaceParams ¶

type CreateNamespaceParams struct {

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

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

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

swagger:parameters CreateNamespace

func NewCreateNamespaceParams ¶

func NewCreateNamespaceParams() CreateNamespaceParams

NewCreateNamespaceParams creates a new CreateNamespaceParams object

There are no default values defined in the spec.

func (*CreateNamespaceParams) BindRequest ¶

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

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

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

type CreateNamespaceURL ¶

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

CreateNamespaceURL generates an URL for the create namespace operation

func (*CreateNamespaceURL) Build ¶

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

Build a url path and query string

func (*CreateNamespaceURL) BuildFull ¶

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

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

func (*CreateNamespaceURL) Must ¶

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

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

func (*CreateNamespaceURL) SetBasePath ¶

func (o *CreateNamespaceURL) SetBasePath(bp string)

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

func (*CreateNamespaceURL) String ¶

func (o *CreateNamespaceURL) String() string

String returns the string representation of the path with query string

func (*CreateNamespaceURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*CreateNamespaceURL) WithBasePath ¶

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

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

type CreateTenant ¶

type CreateTenant struct {
	Context *middleware.Context
	Handler CreateTenantHandler
}
CreateTenant swagger:route POST /tenants 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

There are no default values defined in the spec.

func (*CreateTenantParams) BindRequest ¶

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

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

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

type CreateTenantURL ¶

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

CreateTenantURL generates an URL for the create tenant operation

func (*CreateTenantURL) Build ¶

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

Build a url path and query string

func (*CreateTenantURL) BuildFull ¶

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

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

func (*CreateTenantURL) Must ¶

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

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

func (*CreateTenantURL) SetBasePath ¶

func (o *CreateTenantURL) SetBasePath(bp string)

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

func (*CreateTenantURL) String ¶

func (o *CreateTenantURL) String() string

String returns the string representation of the path with query string

func (*CreateTenantURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*CreateTenantURL) WithBasePath ¶

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

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

type DashboardWidgetDetails ¶

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 ¶

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

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

func (*DashboardWidgetDetails) ServeHTTP ¶

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

type DashboardWidgetDetailsDefault ¶

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 ¶

func NewDashboardWidgetDetailsDefault(code int) *DashboardWidgetDetailsDefault

NewDashboardWidgetDetailsDefault creates DashboardWidgetDetailsDefault with default headers values

func (*DashboardWidgetDetailsDefault) SetPayload ¶

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

SetPayload sets the payload to the dashboard widget details default response

func (*DashboardWidgetDetailsDefault) SetStatusCode ¶

func (o *DashboardWidgetDetailsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the dashboard widget details default response

func (*DashboardWidgetDetailsDefault) WithPayload ¶

WithPayload adds the payload to the dashboard widget details default response

func (*DashboardWidgetDetailsDefault) WithStatusCode ¶

WithStatusCode adds the status to the dashboard widget details default response

func (*DashboardWidgetDetailsDefault) WriteResponse ¶

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

WriteResponse to the client

type DashboardWidgetDetailsHandler ¶

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

DashboardWidgetDetailsHandler interface for that can handle valid dashboard widget details params

type DashboardWidgetDetailsHandlerFunc ¶

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 ¶

Handle executing the request and returning a response

type DashboardWidgetDetailsOK ¶

type DashboardWidgetDetailsOK struct {

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

DashboardWidgetDetailsOK A successful response.

swagger:response dashboardWidgetDetailsOK

func NewDashboardWidgetDetailsOK ¶

func NewDashboardWidgetDetailsOK() *DashboardWidgetDetailsOK

NewDashboardWidgetDetailsOK creates DashboardWidgetDetailsOK with default headers values

func (*DashboardWidgetDetailsOK) SetPayload ¶

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

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

func (*DashboardWidgetDetailsOK) WithPayload ¶

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

func (*DashboardWidgetDetailsOK) WriteResponse ¶

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

WriteResponse to the client

type DashboardWidgetDetailsParams ¶

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 ¶

func NewDashboardWidgetDetailsParams() DashboardWidgetDetailsParams

NewDashboardWidgetDetailsParams creates a new DashboardWidgetDetailsParams object

There are no default values defined in the spec.

func (*DashboardWidgetDetailsParams) 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 NewDashboardWidgetDetailsParams() beforehand.

type DashboardWidgetDetailsURL ¶

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 ¶

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

Build a url path and query string

func (*DashboardWidgetDetailsURL) BuildFull ¶

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 ¶

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 ¶

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 ¶

func (o *DashboardWidgetDetailsURL) String() string

String returns the string representation of the path with query string

func (*DashboardWidgetDetailsURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*DashboardWidgetDetailsURL) 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 DeletePod ¶

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

Delete pod

func NewDeletePod ¶

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

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

func (*DeletePod) ServeHTTP ¶

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

type DeletePodDefault ¶

type DeletePodDefault struct {

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

DeletePodDefault Generic error response.

swagger:response deletePodDefault

func NewDeletePodDefault ¶

func NewDeletePodDefault(code int) *DeletePodDefault

NewDeletePodDefault creates DeletePodDefault with default headers values

func (*DeletePodDefault) SetPayload ¶

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

SetPayload sets the payload to the delete pod default response

func (*DeletePodDefault) SetStatusCode ¶

func (o *DeletePodDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete pod default response

func (*DeletePodDefault) WithPayload ¶

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

WithPayload adds the payload to the delete pod default response

func (*DeletePodDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the delete pod default response

func (*DeletePodDefault) WriteResponse ¶

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

WriteResponse to the client

type DeletePodHandler ¶

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

DeletePodHandler interface for that can handle valid delete pod params

type DeletePodHandlerFunc ¶

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

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

func (DeletePodHandlerFunc) Handle ¶

Handle executing the request and returning a response

type DeletePodNoContent ¶

type DeletePodNoContent struct {
}

DeletePodNoContent A successful response.

swagger:response deletePodNoContent

func NewDeletePodNoContent ¶

func NewDeletePodNoContent() *DeletePodNoContent

NewDeletePodNoContent creates DeletePodNoContent with default headers values

func (*DeletePodNoContent) WriteResponse ¶

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

WriteResponse to the client

type DeletePodParams ¶

type DeletePodParams struct {

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

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

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

swagger:parameters DeletePod

func NewDeletePodParams ¶

func NewDeletePodParams() DeletePodParams

NewDeletePodParams creates a new DeletePodParams object

There are no default values defined in the spec.

func (*DeletePodParams) BindRequest ¶

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

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

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

type DeletePodURL ¶

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

DeletePodURL generates an URL for the delete pod operation

func (*DeletePodURL) Build ¶

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

Build a url path and query string

func (*DeletePodURL) BuildFull ¶

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

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

func (*DeletePodURL) Must ¶

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

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

func (*DeletePodURL) SetBasePath ¶

func (o *DeletePodURL) SetBasePath(bp string)

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

func (*DeletePodURL) String ¶

func (o *DeletePodURL) String() string

String returns the string representation of the path with query string

func (*DeletePodURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*DeletePodURL) WithBasePath ¶

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

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

type DeleteTenant ¶

type DeleteTenant struct {
	Context *middleware.Context
	Handler DeleteTenantHandler
}
DeleteTenant swagger:route DELETE /namespaces/{namespace}/tenants/{tenant} 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

There are no default values defined in the spec.

func (*DeleteTenantParams) BindRequest ¶

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

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

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

type DeleteTenantURL ¶

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

DeleteTenantURL generates an URL for the delete tenant operation

func (*DeleteTenantURL) Build ¶

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

Build a url path and query string

func (*DeleteTenantURL) BuildFull ¶

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

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

func (*DeleteTenantURL) Must ¶

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

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

func (*DeleteTenantURL) SetBasePath ¶

func (o *DeleteTenantURL) SetBasePath(bp string)

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

func (*DeleteTenantURL) String ¶

func (o *DeleteTenantURL) String() string

String returns the string representation of the path with query string

func (*DeleteTenantURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*DeleteTenantURL) WithBasePath ¶

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

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

type DirectCSIFormatDrive ¶

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

Format direct-csi drives from a list

func NewDirectCSIFormatDrive ¶

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

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

func (*DirectCSIFormatDrive) ServeHTTP ¶

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

type DirectCSIFormatDriveDefault ¶

type DirectCSIFormatDriveDefault struct {

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

DirectCSIFormatDriveDefault Generic error response.

swagger:response directCSIFormatDriveDefault

func NewDirectCSIFormatDriveDefault ¶

func NewDirectCSIFormatDriveDefault(code int) *DirectCSIFormatDriveDefault

NewDirectCSIFormatDriveDefault creates DirectCSIFormatDriveDefault with default headers values

func (*DirectCSIFormatDriveDefault) SetPayload ¶

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

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

func (*DirectCSIFormatDriveDefault) SetStatusCode ¶

func (o *DirectCSIFormatDriveDefault) SetStatusCode(code int)

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

func (*DirectCSIFormatDriveDefault) WithPayload ¶

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

func (*DirectCSIFormatDriveDefault) WithStatusCode ¶

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

func (*DirectCSIFormatDriveDefault) WriteResponse ¶

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

WriteResponse to the client

type DirectCSIFormatDriveHandler ¶

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

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

type DirectCSIFormatDriveHandlerFunc ¶

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

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

func (DirectCSIFormatDriveHandlerFunc) Handle ¶

Handle executing the request and returning a response

type DirectCSIFormatDriveOK ¶

type DirectCSIFormatDriveOK struct {

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

DirectCSIFormatDriveOK A successful response.

swagger:response directCSIFormatDriveOK

func NewDirectCSIFormatDriveOK ¶

func NewDirectCSIFormatDriveOK() *DirectCSIFormatDriveOK

NewDirectCSIFormatDriveOK creates DirectCSIFormatDriveOK with default headers values

func (*DirectCSIFormatDriveOK) SetPayload ¶

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

func (*DirectCSIFormatDriveOK) WithPayload ¶

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

func (*DirectCSIFormatDriveOK) WriteResponse ¶

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

WriteResponse to the client

type DirectCSIFormatDriveParams ¶

type DirectCSIFormatDriveParams struct {

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

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

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

swagger:parameters DirectCSIFormatDrive

func NewDirectCSIFormatDriveParams ¶

func NewDirectCSIFormatDriveParams() DirectCSIFormatDriveParams

NewDirectCSIFormatDriveParams creates a new DirectCSIFormatDriveParams object

There are no default values defined in the spec.

func (*DirectCSIFormatDriveParams) BindRequest ¶

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

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

type DirectCSIFormatDriveURL ¶

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

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

func (*DirectCSIFormatDriveURL) Build ¶

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

Build a url path and query string

func (*DirectCSIFormatDriveURL) BuildFull ¶

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

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

func (*DirectCSIFormatDriveURL) Must ¶

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

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

func (*DirectCSIFormatDriveURL) SetBasePath ¶

func (o *DirectCSIFormatDriveURL) SetBasePath(bp string)

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

func (*DirectCSIFormatDriveURL) String ¶

func (o *DirectCSIFormatDriveURL) String() string

String returns the string representation of the path with query string

func (*DirectCSIFormatDriveURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*DirectCSIFormatDriveURL) WithBasePath ¶

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

type EditTierCredentials ¶

type EditTierCredentials struct {
	Context *middleware.Context
	Handler EditTierCredentialsHandler
}
EditTierCredentials swagger:route PUT /admin/tiers/{type}/{name}/credentials AdminAPI editTierCredentials

Edit Tier Credentials

func NewEditTierCredentials ¶

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

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

func (*EditTierCredentials) ServeHTTP ¶

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

type EditTierCredentialsDefault ¶

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 ¶

func NewEditTierCredentialsDefault(code int) *EditTierCredentialsDefault

NewEditTierCredentialsDefault creates EditTierCredentialsDefault with default headers values

func (*EditTierCredentialsDefault) SetPayload ¶

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

SetPayload sets the payload to the edit tier credentials default response

func (*EditTierCredentialsDefault) SetStatusCode ¶

func (o *EditTierCredentialsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the edit tier credentials default response

func (*EditTierCredentialsDefault) WithPayload ¶

WithPayload adds the payload to the edit tier credentials default response

func (*EditTierCredentialsDefault) WithStatusCode ¶

WithStatusCode adds the status to the edit tier credentials default response

func (*EditTierCredentialsDefault) WriteResponse ¶

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

WriteResponse to the client

type EditTierCredentialsHandler ¶

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

EditTierCredentialsHandler interface for that can handle valid edit tier credentials params

type EditTierCredentialsHandlerFunc ¶

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 ¶

Handle executing the request and returning a response

type EditTierCredentialsOK ¶

type EditTierCredentialsOK struct {
}

EditTierCredentialsOK A successful response.

swagger:response editTierCredentialsOK

func NewEditTierCredentialsOK ¶

func NewEditTierCredentialsOK() *EditTierCredentialsOK

NewEditTierCredentialsOK creates EditTierCredentialsOK with default headers values

func (*EditTierCredentialsOK) WriteResponse ¶

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

WriteResponse to the client

type EditTierCredentialsParams ¶

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 ¶

func NewEditTierCredentialsParams() EditTierCredentialsParams

NewEditTierCredentialsParams creates a new EditTierCredentialsParams object

There are no default values defined in the spec.

func (*EditTierCredentialsParams) 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 NewEditTierCredentialsParams() beforehand.

type EditTierCredentialsURL ¶

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 ¶

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

Build a url path and query string

func (*EditTierCredentialsURL) BuildFull ¶

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 ¶

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 ¶

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 ¶

func (o *EditTierCredentialsURL) String() string

String returns the string representation of the path with query string

func (*EditTierCredentialsURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*EditTierCredentialsURL) WithBasePath ¶

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

type GetDirectCSIDriveList ¶

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

Get direct-csi drives list

func NewGetDirectCSIDriveList ¶

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

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

func (*GetDirectCSIDriveList) ServeHTTP ¶

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

type GetDirectCSIDriveListDefault ¶

type GetDirectCSIDriveListDefault struct {

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

GetDirectCSIDriveListDefault Generic error response.

swagger:response getDirectCSIDriveListDefault

func NewGetDirectCSIDriveListDefault ¶

func NewGetDirectCSIDriveListDefault(code int) *GetDirectCSIDriveListDefault

NewGetDirectCSIDriveListDefault creates GetDirectCSIDriveListDefault with default headers values

func (*GetDirectCSIDriveListDefault) SetPayload ¶

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

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

func (*GetDirectCSIDriveListDefault) SetStatusCode ¶

func (o *GetDirectCSIDriveListDefault) SetStatusCode(code int)

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

func (*GetDirectCSIDriveListDefault) WithPayload ¶

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

func (*GetDirectCSIDriveListDefault) WithStatusCode ¶

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

func (*GetDirectCSIDriveListDefault) WriteResponse ¶

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

WriteResponse to the client

type GetDirectCSIDriveListHandler ¶

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

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

type GetDirectCSIDriveListHandlerFunc ¶

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

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

func (GetDirectCSIDriveListHandlerFunc) Handle ¶

Handle executing the request and returning a response

type GetDirectCSIDriveListOK ¶

type GetDirectCSIDriveListOK struct {

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

GetDirectCSIDriveListOK A successful response.

swagger:response getDirectCSIDriveListOK

func NewGetDirectCSIDriveListOK ¶

func NewGetDirectCSIDriveListOK() *GetDirectCSIDriveListOK

NewGetDirectCSIDriveListOK creates GetDirectCSIDriveListOK with default headers values

func (*GetDirectCSIDriveListOK) SetPayload ¶

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

func (*GetDirectCSIDriveListOK) WithPayload ¶

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

func (*GetDirectCSIDriveListOK) WriteResponse ¶

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

WriteResponse to the client

type GetDirectCSIDriveListParams ¶

type GetDirectCSIDriveListParams struct {

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

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

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

swagger:parameters GetDirectCSIDriveList

func NewGetDirectCSIDriveListParams ¶

func NewGetDirectCSIDriveListParams() GetDirectCSIDriveListParams

NewGetDirectCSIDriveListParams creates a new GetDirectCSIDriveListParams object

There are no default values defined in the spec.

func (*GetDirectCSIDriveListParams) BindRequest ¶

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

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

type GetDirectCSIDriveListURL ¶

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

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

func (*GetDirectCSIDriveListURL) Build ¶

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

Build a url path and query string

func (*GetDirectCSIDriveListURL) BuildFull ¶

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

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

func (*GetDirectCSIDriveListURL) Must ¶

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

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

func (*GetDirectCSIDriveListURL) SetBasePath ¶

func (o *GetDirectCSIDriveListURL) SetBasePath(bp string)

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

func (*GetDirectCSIDriveListURL) String ¶

func (o *GetDirectCSIDriveListURL) String() string

String returns the string representation of the path with query string

func (*GetDirectCSIDriveListURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*GetDirectCSIDriveListURL) WithBasePath ¶

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

type GetDirectCSIVolumeList ¶

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

Get direct-csi volumes list

func NewGetDirectCSIVolumeList ¶

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

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

func (*GetDirectCSIVolumeList) ServeHTTP ¶

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

type GetDirectCSIVolumeListDefault ¶

type GetDirectCSIVolumeListDefault struct {

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

GetDirectCSIVolumeListDefault Generic error response.

swagger:response getDirectCSIVolumeListDefault

func NewGetDirectCSIVolumeListDefault ¶

func NewGetDirectCSIVolumeListDefault(code int) *GetDirectCSIVolumeListDefault

NewGetDirectCSIVolumeListDefault creates GetDirectCSIVolumeListDefault with default headers values

func (*GetDirectCSIVolumeListDefault) SetPayload ¶

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

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

func (*GetDirectCSIVolumeListDefault) SetStatusCode ¶

func (o *GetDirectCSIVolumeListDefault) SetStatusCode(code int)

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

func (*GetDirectCSIVolumeListDefault) WithPayload ¶

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

func (*GetDirectCSIVolumeListDefault) WithStatusCode ¶

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

func (*GetDirectCSIVolumeListDefault) WriteResponse ¶

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

WriteResponse to the client

type GetDirectCSIVolumeListHandler ¶

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

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

type GetDirectCSIVolumeListHandlerFunc ¶

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

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

func (GetDirectCSIVolumeListHandlerFunc) Handle ¶

Handle executing the request and returning a response

type GetDirectCSIVolumeListOK ¶

type GetDirectCSIVolumeListOK struct {

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

GetDirectCSIVolumeListOK A successful response.

swagger:response getDirectCSIVolumeListOK

func NewGetDirectCSIVolumeListOK ¶

func NewGetDirectCSIVolumeListOK() *GetDirectCSIVolumeListOK

NewGetDirectCSIVolumeListOK creates GetDirectCSIVolumeListOK with default headers values

func (*GetDirectCSIVolumeListOK) SetPayload ¶

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

func (*GetDirectCSIVolumeListOK) WithPayload ¶

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

func (*GetDirectCSIVolumeListOK) WriteResponse ¶

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

WriteResponse to the client

type GetDirectCSIVolumeListParams ¶

type GetDirectCSIVolumeListParams struct {

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

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

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

swagger:parameters GetDirectCSIVolumeList

func NewGetDirectCSIVolumeListParams ¶

func NewGetDirectCSIVolumeListParams() GetDirectCSIVolumeListParams

NewGetDirectCSIVolumeListParams creates a new GetDirectCSIVolumeListParams object

There are no default values defined in the spec.

func (*GetDirectCSIVolumeListParams) BindRequest ¶

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

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

type GetDirectCSIVolumeListURL ¶

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

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

func (*GetDirectCSIVolumeListURL) Build ¶

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

Build a url path and query string

func (*GetDirectCSIVolumeListURL) BuildFull ¶

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

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

func (*GetDirectCSIVolumeListURL) Must ¶

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

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

func (*GetDirectCSIVolumeListURL) SetBasePath ¶

func (o *GetDirectCSIVolumeListURL) SetBasePath(bp string)

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

func (*GetDirectCSIVolumeListURL) String ¶

func (o *GetDirectCSIVolumeListURL) String() string

String returns the string representation of the path with query string

func (*GetDirectCSIVolumeListURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*GetDirectCSIVolumeListURL) WithBasePath ¶

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

type GetMaxAllocatableMem ¶

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

Get maximum allocatable memory for given number of nodes

func NewGetMaxAllocatableMem ¶

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

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

func (*GetMaxAllocatableMem) ServeHTTP ¶

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

type GetMaxAllocatableMemDefault ¶

type GetMaxAllocatableMemDefault struct {

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

GetMaxAllocatableMemDefault Generic error response.

swagger:response getMaxAllocatableMemDefault

func NewGetMaxAllocatableMemDefault ¶

func NewGetMaxAllocatableMemDefault(code int) *GetMaxAllocatableMemDefault

NewGetMaxAllocatableMemDefault creates GetMaxAllocatableMemDefault with default headers values

func (*GetMaxAllocatableMemDefault) SetPayload ¶

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

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

func (*GetMaxAllocatableMemDefault) SetStatusCode ¶

func (o *GetMaxAllocatableMemDefault) SetStatusCode(code int)

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

func (*GetMaxAllocatableMemDefault) WithPayload ¶

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

func (*GetMaxAllocatableMemDefault) WithStatusCode ¶

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

func (*GetMaxAllocatableMemDefault) WriteResponse ¶

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

WriteResponse to the client

type GetMaxAllocatableMemHandler ¶

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

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

type GetMaxAllocatableMemHandlerFunc ¶

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

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

func (GetMaxAllocatableMemHandlerFunc) Handle ¶

Handle executing the request and returning a response

type GetMaxAllocatableMemOK ¶

type GetMaxAllocatableMemOK struct {

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

GetMaxAllocatableMemOK A successful response.

swagger:response getMaxAllocatableMemOK

func NewGetMaxAllocatableMemOK ¶

func NewGetMaxAllocatableMemOK() *GetMaxAllocatableMemOK

NewGetMaxAllocatableMemOK creates GetMaxAllocatableMemOK with default headers values

func (*GetMaxAllocatableMemOK) SetPayload ¶

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

func (*GetMaxAllocatableMemOK) WithPayload ¶

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

func (*GetMaxAllocatableMemOK) WriteResponse ¶

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

WriteResponse to the client

type GetMaxAllocatableMemParams ¶

type GetMaxAllocatableMemParams struct {

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

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

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

swagger:parameters GetMaxAllocatableMem

func NewGetMaxAllocatableMemParams ¶

func NewGetMaxAllocatableMemParams() GetMaxAllocatableMemParams

NewGetMaxAllocatableMemParams creates a new GetMaxAllocatableMemParams object

There are no default values defined in the spec.

func (*GetMaxAllocatableMemParams) BindRequest ¶

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

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

type GetMaxAllocatableMemURL ¶

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

GetMaxAllocatableMemURL generates an URL for the get max allocatable mem operation

func (*GetMaxAllocatableMemURL) Build ¶

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

Build a url path and query string

func (*GetMaxAllocatableMemURL) BuildFull ¶

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

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

func (*GetMaxAllocatableMemURL) Must ¶

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

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

func (*GetMaxAllocatableMemURL) SetBasePath ¶

func (o *GetMaxAllocatableMemURL) SetBasePath(bp string)

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

func (*GetMaxAllocatableMemURL) String ¶

func (o *GetMaxAllocatableMemURL) String() string

String returns the string representation of the path with query string

func (*GetMaxAllocatableMemURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*GetMaxAllocatableMemURL) WithBasePath ¶

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

type GetParity ¶

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

Gets parity by sending number of nodes & number of disks

func NewGetParity ¶

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

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

func (*GetParity) ServeHTTP ¶

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

type GetParityDefault ¶

type GetParityDefault struct {

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

GetParityDefault Generic error response.

swagger:response getParityDefault

func NewGetParityDefault ¶

func NewGetParityDefault(code int) *GetParityDefault

NewGetParityDefault creates GetParityDefault with default headers values

func (*GetParityDefault) SetPayload ¶

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

SetPayload sets the payload to the get parity default response

func (*GetParityDefault) SetStatusCode ¶

func (o *GetParityDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get parity default response

func (*GetParityDefault) WithPayload ¶

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

WithPayload adds the payload to the get parity default response

func (*GetParityDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the get parity default response

func (*GetParityDefault) WriteResponse ¶

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

WriteResponse to the client

type GetParityHandler ¶

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

GetParityHandler interface for that can handle valid get parity params

type GetParityHandlerFunc ¶

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

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

func (GetParityHandlerFunc) Handle ¶

Handle executing the request and returning a response

type GetParityOK ¶

type GetParityOK struct {

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

GetParityOK A successful response.

swagger:response getParityOK

func NewGetParityOK ¶

func NewGetParityOK() *GetParityOK

NewGetParityOK creates GetParityOK with default headers values

func (*GetParityOK) SetPayload ¶

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

SetPayload sets the payload to the get parity o k response

func (*GetParityOK) WithPayload ¶

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

WithPayload adds the payload to the get parity o k response

func (*GetParityOK) WriteResponse ¶

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

WriteResponse to the client

type GetParityParams ¶

type GetParityParams struct {

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

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

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

swagger:parameters GetParity

func NewGetParityParams ¶

func NewGetParityParams() GetParityParams

NewGetParityParams creates a new GetParityParams object

There are no default values defined in the spec.

func (*GetParityParams) BindRequest ¶

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

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

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

type GetParityURL ¶

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

GetParityURL generates an URL for the get parity operation

func (*GetParityURL) Build ¶

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

Build a url path and query string

func (*GetParityURL) BuildFull ¶

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

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

func (*GetParityURL) Must ¶

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

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

func (*GetParityURL) SetBasePath ¶

func (o *GetParityURL) SetBasePath(bp string)

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

func (*GetParityURL) String ¶

func (o *GetParityURL) String() string

String returns the string representation of the path with query string

func (*GetParityURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*GetParityURL) WithBasePath ¶

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

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

type GetPodEvents ¶

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

Get Events for Pod

func NewGetPodEvents ¶

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

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

func (*GetPodEvents) ServeHTTP ¶

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

type GetPodEventsDefault ¶

type GetPodEventsDefault struct {

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

GetPodEventsDefault Generic error response.

swagger:response getPodEventsDefault

func NewGetPodEventsDefault ¶

func NewGetPodEventsDefault(code int) *GetPodEventsDefault

NewGetPodEventsDefault creates GetPodEventsDefault with default headers values

func (*GetPodEventsDefault) SetPayload ¶

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

SetPayload sets the payload to the get pod events default response

func (*GetPodEventsDefault) SetStatusCode ¶

func (o *GetPodEventsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get pod events default response

func (*GetPodEventsDefault) WithPayload ¶

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

WithPayload adds the payload to the get pod events default response

func (*GetPodEventsDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the get pod events default response

func (*GetPodEventsDefault) WriteResponse ¶

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

WriteResponse to the client

type GetPodEventsHandler ¶

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

GetPodEventsHandler interface for that can handle valid get pod events params

type GetPodEventsHandlerFunc ¶

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

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

func (GetPodEventsHandlerFunc) Handle ¶

Handle executing the request and returning a response

type GetPodEventsOK ¶

type GetPodEventsOK struct {

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

GetPodEventsOK A successful response.

swagger:response getPodEventsOK

func NewGetPodEventsOK ¶

func NewGetPodEventsOK() *GetPodEventsOK

NewGetPodEventsOK creates GetPodEventsOK with default headers values

func (*GetPodEventsOK) SetPayload ¶

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

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

func (*GetPodEventsOK) WithPayload ¶

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

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

func (*GetPodEventsOK) WriteResponse ¶

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

WriteResponse to the client

type GetPodEventsParams ¶

type GetPodEventsParams struct {

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

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

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

swagger:parameters GetPodEvents

func NewGetPodEventsParams ¶

func NewGetPodEventsParams() GetPodEventsParams

NewGetPodEventsParams creates a new GetPodEventsParams object

There are no default values defined in the spec.

func (*GetPodEventsParams) BindRequest ¶

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

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

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

type GetPodEventsURL ¶

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

GetPodEventsURL generates an URL for the get pod events operation

func (*GetPodEventsURL) Build ¶

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

Build a url path and query string

func (*GetPodEventsURL) BuildFull ¶

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

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

func (*GetPodEventsURL) Must ¶

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

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

func (*GetPodEventsURL) SetBasePath ¶

func (o *GetPodEventsURL) SetBasePath(bp string)

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

func (*GetPodEventsURL) String ¶

func (o *GetPodEventsURL) String() string

String returns the string representation of the path with query string

func (*GetPodEventsURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*GetPodEventsURL) WithBasePath ¶

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

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

type GetPodLogs ¶

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

Get Logs for Pod

func NewGetPodLogs ¶

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

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

func (*GetPodLogs) ServeHTTP ¶

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

type GetPodLogsDefault ¶

type GetPodLogsDefault struct {

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

GetPodLogsDefault Generic error response.

swagger:response getPodLogsDefault

func NewGetPodLogsDefault ¶

func NewGetPodLogsDefault(code int) *GetPodLogsDefault

NewGetPodLogsDefault creates GetPodLogsDefault with default headers values

func (*GetPodLogsDefault) SetPayload ¶

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

SetPayload sets the payload to the get pod logs default response

func (*GetPodLogsDefault) SetStatusCode ¶

func (o *GetPodLogsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get pod logs default response

func (*GetPodLogsDefault) WithPayload ¶

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

WithPayload adds the payload to the get pod logs default response

func (*GetPodLogsDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the get pod logs default response

func (*GetPodLogsDefault) WriteResponse ¶

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

WriteResponse to the client

type GetPodLogsHandler ¶

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

GetPodLogsHandler interface for that can handle valid get pod logs params

type GetPodLogsHandlerFunc ¶

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

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

func (GetPodLogsHandlerFunc) Handle ¶

Handle executing the request and returning a response

type GetPodLogsOK ¶

type GetPodLogsOK struct {

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

GetPodLogsOK A successful response.

swagger:response getPodLogsOK

func NewGetPodLogsOK ¶

func NewGetPodLogsOK() *GetPodLogsOK

NewGetPodLogsOK creates GetPodLogsOK with default headers values

func (*GetPodLogsOK) SetPayload ¶

func (o *GetPodLogsOK) SetPayload(payload string)

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

func (*GetPodLogsOK) WithPayload ¶

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

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

func (*GetPodLogsOK) WriteResponse ¶

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

WriteResponse to the client

type GetPodLogsParams ¶

type GetPodLogsParams struct {

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

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

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

swagger:parameters GetPodLogs

func NewGetPodLogsParams ¶

func NewGetPodLogsParams() GetPodLogsParams

NewGetPodLogsParams creates a new GetPodLogsParams object

There are no default values defined in the spec.

func (*GetPodLogsParams) BindRequest ¶

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

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

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

type GetPodLogsURL ¶

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

GetPodLogsURL generates an URL for the get pod logs operation

func (*GetPodLogsURL) Build ¶

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

Build a url path and query string

func (*GetPodLogsURL) BuildFull ¶

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

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

func (*GetPodLogsURL) Must ¶

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

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

func (*GetPodLogsURL) SetBasePath ¶

func (o *GetPodLogsURL) SetBasePath(bp string)

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

func (*GetPodLogsURL) String ¶

func (o *GetPodLogsURL) String() string

String returns the string representation of the path with query string

func (*GetPodLogsURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*GetPodLogsURL) WithBasePath ¶

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

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

type GetResourceQuota ¶

type GetResourceQuota struct {
	Context *middleware.Context
	Handler GetResourceQuotaHandler
}
GetResourceQuota swagger:route GET /namespaces/{namespace}/resourcequotas/{resource-quota-name} 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

There are no default values defined in the spec.

func (*GetResourceQuotaParams) BindRequest ¶

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

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

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

type GetResourceQuotaURL ¶

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

GetResourceQuotaURL generates an URL for the get resource quota operation

func (*GetResourceQuotaURL) Build ¶

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

Build a url path and query string

func (*GetResourceQuotaURL) BuildFull ¶

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

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

func (*GetResourceQuotaURL) Must ¶

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

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

func (*GetResourceQuotaURL) SetBasePath ¶

func (o *GetResourceQuotaURL) SetBasePath(bp string)

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

func (*GetResourceQuotaURL) String ¶

func (o *GetResourceQuotaURL) String() string

String returns the string representation of the path with query string

func (*GetResourceQuotaURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*GetResourceQuotaURL) WithBasePath ¶

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

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

type GetTenantPods ¶

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

Get Pods For The Tenant

func NewGetTenantPods ¶

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

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

func (*GetTenantPods) ServeHTTP ¶

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

type GetTenantPodsDefault ¶

type GetTenantPodsDefault struct {

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

GetTenantPodsDefault Generic error response.

swagger:response getTenantPodsDefault

func NewGetTenantPodsDefault ¶

func NewGetTenantPodsDefault(code int) *GetTenantPodsDefault

NewGetTenantPodsDefault creates GetTenantPodsDefault with default headers values

func (*GetTenantPodsDefault) SetPayload ¶

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

SetPayload sets the payload to the get tenant pods default response

func (*GetTenantPodsDefault) SetStatusCode ¶

func (o *GetTenantPodsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get tenant pods default response

func (*GetTenantPodsDefault) WithPayload ¶

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

WithPayload adds the payload to the get tenant pods default response

func (*GetTenantPodsDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the get tenant pods default response

func (*GetTenantPodsDefault) WriteResponse ¶

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

WriteResponse to the client

type GetTenantPodsHandler ¶

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

GetTenantPodsHandler interface for that can handle valid get tenant pods params

type GetTenantPodsHandlerFunc ¶

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

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

func (GetTenantPodsHandlerFunc) Handle ¶

Handle executing the request and returning a response

type GetTenantPodsOK ¶

type GetTenantPodsOK struct {

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

GetTenantPodsOK A successful response.

swagger:response getTenantPodsOK

func NewGetTenantPodsOK ¶

func NewGetTenantPodsOK() *GetTenantPodsOK

NewGetTenantPodsOK creates GetTenantPodsOK with default headers values

func (*GetTenantPodsOK) SetPayload ¶

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

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

func (*GetTenantPodsOK) WithPayload ¶

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

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

func (*GetTenantPodsOK) WriteResponse ¶

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

WriteResponse to the client

type GetTenantPodsParams ¶

type GetTenantPodsParams struct {

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

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

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

swagger:parameters GetTenantPods

func NewGetTenantPodsParams ¶

func NewGetTenantPodsParams() GetTenantPodsParams

NewGetTenantPodsParams creates a new GetTenantPodsParams object

There are no default values defined in the spec.

func (*GetTenantPodsParams) BindRequest ¶

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

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

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

type GetTenantPodsURL ¶

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

GetTenantPodsURL generates an URL for the get tenant pods operation

func (*GetTenantPodsURL) Build ¶

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

Build a url path and query string

func (*GetTenantPodsURL) BuildFull ¶

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

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

func (*GetTenantPodsURL) Must ¶

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

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

func (*GetTenantPodsURL) SetBasePath ¶

func (o *GetTenantPodsURL) SetBasePath(bp string)

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

func (*GetTenantPodsURL) String ¶

func (o *GetTenantPodsURL) String() string

String returns the string representation of the path with query string

func (*GetTenantPodsURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*GetTenantPodsURL) WithBasePath ¶

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

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

type GetTenantUsage ¶

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

Get Usage For The Tenant

func NewGetTenantUsage ¶

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

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

func (*GetTenantUsage) ServeHTTP ¶

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

type GetTenantUsageDefault ¶

type GetTenantUsageDefault struct {

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

GetTenantUsageDefault Generic error response.

swagger:response getTenantUsageDefault

func NewGetTenantUsageDefault ¶

func NewGetTenantUsageDefault(code int) *GetTenantUsageDefault

NewGetTenantUsageDefault creates GetTenantUsageDefault with default headers values

func (*GetTenantUsageDefault) SetPayload ¶

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

SetPayload sets the payload to the get tenant usage default response

func (*GetTenantUsageDefault) SetStatusCode ¶

func (o *GetTenantUsageDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get tenant usage default response

func (*GetTenantUsageDefault) WithPayload ¶

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

WithPayload adds the payload to the get tenant usage default response

func (*GetTenantUsageDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the get tenant usage default response

func (*GetTenantUsageDefault) WriteResponse ¶

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

WriteResponse to the client

type GetTenantUsageHandler ¶

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

GetTenantUsageHandler interface for that can handle valid get tenant usage params

type GetTenantUsageHandlerFunc ¶

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

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

func (GetTenantUsageHandlerFunc) Handle ¶

Handle executing the request and returning a response

type GetTenantUsageOK ¶

type GetTenantUsageOK struct {

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

GetTenantUsageOK A successful response.

swagger:response getTenantUsageOK

func NewGetTenantUsageOK ¶

func NewGetTenantUsageOK() *GetTenantUsageOK

NewGetTenantUsageOK creates GetTenantUsageOK with default headers values

func (*GetTenantUsageOK) SetPayload ¶

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

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

func (*GetTenantUsageOK) WithPayload ¶

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

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

func (*GetTenantUsageOK) WriteResponse ¶

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

WriteResponse to the client

type GetTenantUsageParams ¶

type GetTenantUsageParams struct {

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

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

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

swagger:parameters GetTenantUsage

func NewGetTenantUsageParams ¶

func NewGetTenantUsageParams() GetTenantUsageParams

NewGetTenantUsageParams creates a new GetTenantUsageParams object

There are no default values defined in the spec.

func (*GetTenantUsageParams) BindRequest ¶

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

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

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

type GetTenantUsageURL ¶

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

GetTenantUsageURL generates an URL for the get tenant usage operation

func (*GetTenantUsageURL) Build ¶

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

Build a url path and query string

func (*GetTenantUsageURL) BuildFull ¶

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

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

func (*GetTenantUsageURL) Must ¶

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

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

func (*GetTenantUsageURL) SetBasePath ¶

func (o *GetTenantUsageURL) SetBasePath(bp string)

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

func (*GetTenantUsageURL) String ¶

func (o *GetTenantUsageURL) String() string

String returns the string representation of the path with query string

func (*GetTenantUsageURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*GetTenantUsageURL) WithBasePath ¶

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

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

type GetTenantYAML ¶

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

Get the Tenant YAML

func NewGetTenantYAML ¶

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

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

func (*GetTenantYAML) ServeHTTP ¶

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

type GetTenantYAMLDefault ¶

type GetTenantYAMLDefault struct {

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

GetTenantYAMLDefault Generic error response.

swagger:response getTenantYAMLDefault

func NewGetTenantYAMLDefault ¶

func NewGetTenantYAMLDefault(code int) *GetTenantYAMLDefault

NewGetTenantYAMLDefault creates GetTenantYAMLDefault with default headers values

func (*GetTenantYAMLDefault) SetPayload ¶

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

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

func (*GetTenantYAMLDefault) SetStatusCode ¶

func (o *GetTenantYAMLDefault) SetStatusCode(code int)

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

func (*GetTenantYAMLDefault) WithPayload ¶

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

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

func (*GetTenantYAMLDefault) WithStatusCode ¶

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

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

func (*GetTenantYAMLDefault) WriteResponse ¶

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

WriteResponse to the client

type GetTenantYAMLHandler ¶

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

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

type GetTenantYAMLHandlerFunc ¶

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

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

func (GetTenantYAMLHandlerFunc) Handle ¶

Handle executing the request and returning a response

type GetTenantYAMLOK ¶

type GetTenantYAMLOK struct {

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

GetTenantYAMLOK A successful response.

swagger:response getTenantYAMLOK

func NewGetTenantYAMLOK ¶

func NewGetTenantYAMLOK() *GetTenantYAMLOK

NewGetTenantYAMLOK creates GetTenantYAMLOK with default headers values

func (*GetTenantYAMLOK) SetPayload ¶

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

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

func (*GetTenantYAMLOK) WithPayload ¶

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

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

func (*GetTenantYAMLOK) WriteResponse ¶

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

WriteResponse to the client

type GetTenantYAMLParams ¶

type GetTenantYAMLParams struct {

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

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

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

swagger:parameters GetTenantYAML

func NewGetTenantYAMLParams ¶

func NewGetTenantYAMLParams() GetTenantYAMLParams

NewGetTenantYAMLParams creates a new GetTenantYAMLParams object

There are no default values defined in the spec.

func (*GetTenantYAMLParams) BindRequest ¶

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

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

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

type GetTenantYAMLURL ¶

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

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

func (*GetTenantYAMLURL) Build ¶

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

Build a url path and query string

func (*GetTenantYAMLURL) BuildFull ¶

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

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

func (*GetTenantYAMLURL) Must ¶

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

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

func (*GetTenantYAMLURL) SetBasePath ¶

func (o *GetTenantYAMLURL) SetBasePath(bp string)

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

func (*GetTenantYAMLURL) String ¶

func (o *GetTenantYAMLURL) String() string

String returns the string representation of the path with query string

func (*GetTenantYAMLURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*GetTenantYAMLURL) WithBasePath ¶

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

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

type GetTier ¶

type GetTier struct {
	Context *middleware.Context
	Handler GetTierHandler
}
GetTier swagger:route GET /admin/tiers/{type}/{name} AdminAPI getTier

Get Tier

func NewGetTier ¶

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

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

func (*GetTier) ServeHTTP ¶

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

type GetTierDefault ¶

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 ¶

func NewGetTierDefault(code int) *GetTierDefault

NewGetTierDefault creates GetTierDefault with default headers values

func (*GetTierDefault) SetPayload ¶

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

SetPayload sets the payload to the get tier default response

func (*GetTierDefault) SetStatusCode ¶

func (o *GetTierDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get tier default response

func (*GetTierDefault) WithPayload ¶

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

WithPayload adds the payload to the get tier default response

func (*GetTierDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the get tier default response

func (*GetTierDefault) WriteResponse ¶

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

WriteResponse to the client

type GetTierHandler ¶

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

GetTierHandler interface for that can handle valid get tier params

type GetTierHandlerFunc ¶

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

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

func (GetTierHandlerFunc) Handle ¶

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

Handle executing the request and returning a response

type GetTierOK ¶

type GetTierOK struct {

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

GetTierOK A successful response.

swagger:response getTierOK

func NewGetTierOK ¶

func NewGetTierOK() *GetTierOK

NewGetTierOK creates GetTierOK with default headers values

func (*GetTierOK) SetPayload ¶

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

SetPayload sets the payload to the get tier o k response

func (*GetTierOK) WithPayload ¶

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

WithPayload adds the payload to the get tier o k response

func (*GetTierOK) WriteResponse ¶

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

WriteResponse to the client

type GetTierParams ¶

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 ¶

func NewGetTierParams() GetTierParams

NewGetTierParams creates a new GetTierParams object

There are no default values defined in the spec.

func (*GetTierParams) BindRequest ¶

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 ¶

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

GetTierURL generates an URL for the get tier operation

func (*GetTierURL) Build ¶

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

Build a url path and query string

func (*GetTierURL) BuildFull ¶

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 ¶

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 ¶

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 ¶

func (o *GetTierURL) String() string

String returns the string representation of the path with query string

func (*GetTierURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*GetTierURL) WithBasePath ¶

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

There are no default values defined in the 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

There are no default values defined in the 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 ListAUserServiceAccounts ¶

type ListAUserServiceAccounts struct {
	Context *middleware.Context
	Handler ListAUserServiceAccountsHandler
}
ListAUserServiceAccounts swagger:route GET /users/{name}/service-accounts AdminAPI listAUserServiceAccounts

returns a list of service accounts for a user

func NewListAUserServiceAccounts ¶

func NewListAUserServiceAccounts(ctx *middleware.Context, handler ListAUserServiceAccountsHandler) *ListAUserServiceAccounts

NewListAUserServiceAccounts creates a new http.Handler for the list a user service accounts operation

func (*ListAUserServiceAccounts) ServeHTTP ¶

type ListAUserServiceAccountsDefault ¶

type ListAUserServiceAccountsDefault struct {

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

ListAUserServiceAccountsDefault Generic error response.

swagger:response listAUserServiceAccountsDefault

func NewListAUserServiceAccountsDefault ¶

func NewListAUserServiceAccountsDefault(code int) *ListAUserServiceAccountsDefault

NewListAUserServiceAccountsDefault creates ListAUserServiceAccountsDefault with default headers values

func (*ListAUserServiceAccountsDefault) SetPayload ¶

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

SetPayload sets the payload to the list a user service accounts default response

func (*ListAUserServiceAccountsDefault) SetStatusCode ¶

func (o *ListAUserServiceAccountsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list a user service accounts default response

func (*ListAUserServiceAccountsDefault) WithPayload ¶

WithPayload adds the payload to the list a user service accounts default response

func (*ListAUserServiceAccountsDefault) WithStatusCode ¶

WithStatusCode adds the status to the list a user service accounts default response

func (*ListAUserServiceAccountsDefault) WriteResponse ¶

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

WriteResponse to the client

type ListAUserServiceAccountsHandler ¶

type ListAUserServiceAccountsHandler interface {
	Handle(ListAUserServiceAccountsParams, *models.Principal) middleware.Responder
}

ListAUserServiceAccountsHandler interface for that can handle valid list a user service accounts params

type ListAUserServiceAccountsHandlerFunc ¶

type ListAUserServiceAccountsHandlerFunc func(ListAUserServiceAccountsParams, *models.Principal) middleware.Responder

ListAUserServiceAccountsHandlerFunc turns a function with the right signature into a list a user service accounts handler

func (ListAUserServiceAccountsHandlerFunc) Handle ¶

Handle executing the request and returning a response

type ListAUserServiceAccountsOK ¶

type ListAUserServiceAccountsOK struct {

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

ListAUserServiceAccountsOK A successful response.

swagger:response listAUserServiceAccountsOK

func NewListAUserServiceAccountsOK ¶

func NewListAUserServiceAccountsOK() *ListAUserServiceAccountsOK

NewListAUserServiceAccountsOK creates ListAUserServiceAccountsOK with default headers values

func (*ListAUserServiceAccountsOK) SetPayload ¶

func (o *ListAUserServiceAccountsOK) SetPayload(payload models.ServiceAccounts)

SetPayload sets the payload to the list a user service accounts o k response

func (*ListAUserServiceAccountsOK) WithPayload ¶

WithPayload adds the payload to the list a user service accounts o k response

func (*ListAUserServiceAccountsOK) WriteResponse ¶

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

WriteResponse to the client

type ListAUserServiceAccountsParams ¶

type ListAUserServiceAccountsParams struct {

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

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

ListAUserServiceAccountsParams contains all the bound params for the list a user service accounts operation typically these are obtained from a http.Request

swagger:parameters ListAUserServiceAccounts

func NewListAUserServiceAccountsParams ¶

func NewListAUserServiceAccountsParams() ListAUserServiceAccountsParams

NewListAUserServiceAccountsParams creates a new ListAUserServiceAccountsParams object

There are no default values defined in the spec.

func (*ListAUserServiceAccountsParams) 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 NewListAUserServiceAccountsParams() beforehand.

type ListAUserServiceAccountsURL ¶

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

ListAUserServiceAccountsURL generates an URL for the list a user service accounts operation

func (*ListAUserServiceAccountsURL) Build ¶

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

Build a url path and query string

func (*ListAUserServiceAccountsURL) BuildFull ¶

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

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

func (*ListAUserServiceAccountsURL) Must ¶

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

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

func (*ListAUserServiceAccountsURL) SetBasePath ¶

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

func (o *ListAUserServiceAccountsURL) String() string

String returns the string representation of the path with query string

func (*ListAUserServiceAccountsURL) StringFull ¶

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

StringFull returns the string representation of a complete url

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

There are no default values defined in the spec.

func (*ListAllTenantsParams) BindRequest ¶

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

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

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

type ListAllTenantsURL ¶

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

ListAllTenantsURL generates an URL for the list all tenants operation

func (*ListAllTenantsURL) Build ¶

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

Build a url path and query string

func (*ListAllTenantsURL) BuildFull ¶

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

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

func (*ListAllTenantsURL) Must ¶

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

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

func (*ListAllTenantsURL) SetBasePath ¶

func (o *ListAllTenantsURL) SetBasePath(bp string)

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

func (*ListAllTenantsURL) String ¶

func (o *ListAllTenantsURL) String() string

String returns the string representation of the path with query string

func (*ListAllTenantsURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*ListAllTenantsURL) WithBasePath ¶

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

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

type 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

There are no default values defined in the 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 ListGroupsForPolicy ¶

type ListGroupsForPolicy struct {
	Context *middleware.Context
	Handler ListGroupsForPolicyHandler
}
ListGroupsForPolicy swagger:route GET /policies/{policy}/groups AdminAPI listGroupsForPolicy

List Groups for a Policy

func NewListGroupsForPolicy ¶

func NewListGroupsForPolicy(ctx *middleware.Context, handler ListGroupsForPolicyHandler) *ListGroupsForPolicy

NewListGroupsForPolicy creates a new http.Handler for the list groups for policy operation

func (*ListGroupsForPolicy) ServeHTTP ¶

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

type ListGroupsForPolicyDefault ¶

type ListGroupsForPolicyDefault struct {

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

ListGroupsForPolicyDefault Generic error response.

swagger:response listGroupsForPolicyDefault

func NewListGroupsForPolicyDefault ¶

func NewListGroupsForPolicyDefault(code int) *ListGroupsForPolicyDefault

NewListGroupsForPolicyDefault creates ListGroupsForPolicyDefault with default headers values

func (*ListGroupsForPolicyDefault) SetPayload ¶

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

SetPayload sets the payload to the list groups for policy default response

func (*ListGroupsForPolicyDefault) SetStatusCode ¶

func (o *ListGroupsForPolicyDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list groups for policy default response

func (*ListGroupsForPolicyDefault) WithPayload ¶

WithPayload adds the payload to the list groups for policy default response

func (*ListGroupsForPolicyDefault) WithStatusCode ¶

WithStatusCode adds the status to the list groups for policy default response

func (*ListGroupsForPolicyDefault) WriteResponse ¶

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

WriteResponse to the client

type ListGroupsForPolicyHandler ¶

type ListGroupsForPolicyHandler interface {
	Handle(ListGroupsForPolicyParams, *models.Principal) middleware.Responder
}

ListGroupsForPolicyHandler interface for that can handle valid list groups for policy params

type ListGroupsForPolicyHandlerFunc ¶

type ListGroupsForPolicyHandlerFunc func(ListGroupsForPolicyParams, *models.Principal) middleware.Responder

ListGroupsForPolicyHandlerFunc turns a function with the right signature into a list groups for policy handler

func (ListGroupsForPolicyHandlerFunc) Handle ¶

Handle executing the request and returning a response

type ListGroupsForPolicyOK ¶

type ListGroupsForPolicyOK struct {

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

ListGroupsForPolicyOK A successful response.

swagger:response listGroupsForPolicyOK

func NewListGroupsForPolicyOK ¶

func NewListGroupsForPolicyOK() *ListGroupsForPolicyOK

NewListGroupsForPolicyOK creates ListGroupsForPolicyOK with default headers values

func (*ListGroupsForPolicyOK) SetPayload ¶

func (o *ListGroupsForPolicyOK) SetPayload(payload []string)

SetPayload sets the payload to the list groups for policy o k response

func (*ListGroupsForPolicyOK) WithPayload ¶

func (o *ListGroupsForPolicyOK) WithPayload(payload []string) *ListGroupsForPolicyOK

WithPayload adds the payload to the list groups for policy o k response

func (*ListGroupsForPolicyOK) WriteResponse ¶

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

WriteResponse to the client

type ListGroupsForPolicyParams ¶

type ListGroupsForPolicyParams struct {

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

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

ListGroupsForPolicyParams contains all the bound params for the list groups for policy operation typically these are obtained from a http.Request

swagger:parameters ListGroupsForPolicy

func NewListGroupsForPolicyParams ¶

func NewListGroupsForPolicyParams() ListGroupsForPolicyParams

NewListGroupsForPolicyParams creates a new ListGroupsForPolicyParams object

There are no default values defined in the spec.

func (*ListGroupsForPolicyParams) 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 NewListGroupsForPolicyParams() beforehand.

type ListGroupsForPolicyURL ¶

type ListGroupsForPolicyURL struct {
	Policy string
	// contains filtered or unexported fields
}

ListGroupsForPolicyURL generates an URL for the list groups for policy operation

func (*ListGroupsForPolicyURL) Build ¶

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

Build a url path and query string

func (*ListGroupsForPolicyURL) BuildFull ¶

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

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

func (*ListGroupsForPolicyURL) Must ¶

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

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

func (*ListGroupsForPolicyURL) SetBasePath ¶

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

func (o *ListGroupsForPolicyURL) String() string

String returns the string representation of the path with query string

func (*ListGroupsForPolicyURL) StringFull ¶

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

StringFull returns the string representation of a complete url

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

There are no default values defined in the 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 ¶

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 ¶

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

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

func (*ListPVCs) ServeHTTP ¶

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

type ListPVCsDefault ¶

type ListPVCsDefault struct {

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

ListPVCsDefault Generic error response.

swagger:response listPVCsDefault

func NewListPVCsDefault ¶

func NewListPVCsDefault(code int) *ListPVCsDefault

NewListPVCsDefault creates ListPVCsDefault with default headers values

func (*ListPVCsDefault) SetPayload ¶

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

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

func (*ListPVCsDefault) SetStatusCode ¶

func (o *ListPVCsDefault) SetStatusCode(code int)

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

func (*ListPVCsDefault) WithPayload ¶

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

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

func (*ListPVCsDefault) WithStatusCode ¶

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

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

func (*ListPVCsDefault) WriteResponse ¶

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

WriteResponse to the client

type ListPVCsHandler ¶

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

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

type ListPVCsHandlerFunc ¶

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

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

func (ListPVCsHandlerFunc) Handle ¶

Handle executing the request and returning a response

type ListPVCsOK ¶

type ListPVCsOK struct {

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

ListPVCsOK A successful response.

swagger:response listPVCsOK

func NewListPVCsOK ¶

func NewListPVCsOK() *ListPVCsOK

NewListPVCsOK creates ListPVCsOK with default headers values

func (*ListPVCsOK) SetPayload ¶

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

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

func (*ListPVCsOK) WithPayload ¶

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

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

func (*ListPVCsOK) WriteResponse ¶

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

WriteResponse to the client

type ListPVCsParams ¶

type ListPVCsParams struct {

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

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

swagger:parameters ListPVCs

func NewListPVCsParams ¶

func NewListPVCsParams() ListPVCsParams

NewListPVCsParams creates a new ListPVCsParams object

There are no default values defined in the spec.

func (*ListPVCsParams) BindRequest ¶

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

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

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

type ListPVCsURL ¶

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

ListPVCsURL generates an URL for the list p v cs operation

func (*ListPVCsURL) Build ¶

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

Build a url path and query string

func (*ListPVCsURL) BuildFull ¶

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

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

func (*ListPVCsURL) Must ¶

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

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

func (*ListPVCsURL) SetBasePath ¶

func (o *ListPVCsURL) SetBasePath(bp string)

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

func (*ListPVCsURL) String ¶

func (o *ListPVCsURL) String() string

String returns the string representation of the path with query string

func (*ListPVCsURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*ListPVCsURL) WithBasePath ¶

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

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

type 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

There are no default values defined in the 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 ¶

type ListPoliciesWithBucket struct {
	Context *middleware.Context
	Handler ListPoliciesWithBucketHandler
}
ListPoliciesWithBucket swagger:route GET /bucket-policy/{bucket} AdminAPI listPoliciesWithBucket

List Policies With Given Bucket

func NewListPoliciesWithBucket ¶

func NewListPoliciesWithBucket(ctx *middleware.Context, handler ListPoliciesWithBucketHandler) *ListPoliciesWithBucket

NewListPoliciesWithBucket creates a new http.Handler for the list policies with bucket operation

func (*ListPoliciesWithBucket) ServeHTTP ¶

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

type ListPoliciesWithBucketDefault ¶

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 ¶

func NewListPoliciesWithBucketDefault(code int) *ListPoliciesWithBucketDefault

NewListPoliciesWithBucketDefault creates ListPoliciesWithBucketDefault with default headers values

func (*ListPoliciesWithBucketDefault) SetPayload ¶

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

SetPayload sets the payload to the list policies with bucket default response

func (*ListPoliciesWithBucketDefault) SetStatusCode ¶

func (o *ListPoliciesWithBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list policies with bucket default response

func (*ListPoliciesWithBucketDefault) WithPayload ¶

WithPayload adds the payload to the list policies with bucket default response

func (*ListPoliciesWithBucketDefault) WithStatusCode ¶

WithStatusCode adds the status to the list policies with bucket default response

func (*ListPoliciesWithBucketDefault) WriteResponse ¶

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

WriteResponse to the client

type ListPoliciesWithBucketHandler ¶

type ListPoliciesWithBucketHandler interface {
	Handle(ListPoliciesWithBucketParams, *models.Principal) middleware.Responder
}

ListPoliciesWithBucketHandler interface for that can handle valid list policies with bucket params

type ListPoliciesWithBucketHandlerFunc ¶

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 ¶

Handle executing the request and returning a response

type ListPoliciesWithBucketOK ¶

type ListPoliciesWithBucketOK struct {

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

ListPoliciesWithBucketOK A successful response.

swagger:response listPoliciesWithBucketOK

func NewListPoliciesWithBucketOK ¶

func NewListPoliciesWithBucketOK() *ListPoliciesWithBucketOK

NewListPoliciesWithBucketOK creates ListPoliciesWithBucketOK with default headers values

func (*ListPoliciesWithBucketOK) SetPayload ¶

func (o *ListPoliciesWithBucketOK) SetPayload(payload *models.ListPoliciesResponse)

SetPayload sets the payload to the list policies with bucket o k response

func (*ListPoliciesWithBucketOK) WithPayload ¶

WithPayload adds the payload to the list policies with bucket o k response

func (*ListPoliciesWithBucketOK) WriteResponse ¶

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

WriteResponse to the client

type ListPoliciesWithBucketParams ¶

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 ¶

func NewListPoliciesWithBucketParams() ListPoliciesWithBucketParams

NewListPoliciesWithBucketParams creates a new ListPoliciesWithBucketParams object

There are no default values defined in the spec.

func (*ListPoliciesWithBucketParams) 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 NewListPoliciesWithBucketParams() beforehand.

type ListPoliciesWithBucketURL ¶

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 ¶

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

Build a url path and query string

func (*ListPoliciesWithBucketURL) BuildFull ¶

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 ¶

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 ¶

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 ¶

func (o *ListPoliciesWithBucketURL) String() string

String returns the string representation of the path with query string

func (*ListPoliciesWithBucketURL) StringFull ¶

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

StringFull returns the string representation of a complete url

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

There are no default values defined in the spec.

func (*ListTenantsParams) BindRequest ¶

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

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

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

type ListTenantsURL ¶

type ListTenantsURL struct {
	Namespace string

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

ListTenantsURL generates an URL for the list tenants operation

func (*ListTenantsURL) Build ¶

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

Build a url path and query string

func (*ListTenantsURL) BuildFull ¶

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

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

func (*ListTenantsURL) Must ¶

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

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

func (*ListTenantsURL) SetBasePath ¶

func (o *ListTenantsURL) SetBasePath(bp string)

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

func (*ListTenantsURL) String ¶

func (o *ListTenantsURL) String() string

String returns the string representation of the path with query string

func (*ListTenantsURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*ListTenantsURL) WithBasePath ¶

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

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

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

type ListUsersForPolicy struct {
	Context *middleware.Context
	Handler ListUsersForPolicyHandler
}
ListUsersForPolicy swagger:route GET /policies/{policy}/users AdminAPI listUsersForPolicy

List Users for a Policy

func NewListUsersForPolicy ¶

func NewListUsersForPolicy(ctx *middleware.Context, handler ListUsersForPolicyHandler) *ListUsersForPolicy

NewListUsersForPolicy creates a new http.Handler for the list users for policy operation

func (*ListUsersForPolicy) ServeHTTP ¶

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

type ListUsersForPolicyDefault ¶

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 ¶

func NewListUsersForPolicyDefault(code int) *ListUsersForPolicyDefault

NewListUsersForPolicyDefault creates ListUsersForPolicyDefault with default headers values

func (*ListUsersForPolicyDefault) SetPayload ¶

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

SetPayload sets the payload to the list users for policy default response

func (*ListUsersForPolicyDefault) SetStatusCode ¶

func (o *ListUsersForPolicyDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list users for policy default response

func (*ListUsersForPolicyDefault) WithPayload ¶

WithPayload adds the payload to the list users for policy default response

func (*ListUsersForPolicyDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the list users for policy default response

func (*ListUsersForPolicyDefault) WriteResponse ¶

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

WriteResponse to the client

type ListUsersForPolicyHandler ¶

type ListUsersForPolicyHandler interface {
	Handle(ListUsersForPolicyParams, *models.Principal) middleware.Responder
}

ListUsersForPolicyHandler interface for that can handle valid list users for policy params

type ListUsersForPolicyHandlerFunc ¶

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 ¶

Handle executing the request and returning a response

type ListUsersForPolicyOK ¶

type ListUsersForPolicyOK struct {

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

ListUsersForPolicyOK A successful response.

swagger:response listUsersForPolicyOK

func NewListUsersForPolicyOK ¶

func NewListUsersForPolicyOK() *ListUsersForPolicyOK

NewListUsersForPolicyOK creates ListUsersForPolicyOK with default headers values

func (*ListUsersForPolicyOK) SetPayload ¶

func (o *ListUsersForPolicyOK) SetPayload(payload []string)

SetPayload sets the payload to the list users for policy o k response

func (*ListUsersForPolicyOK) WithPayload ¶

func (o *ListUsersForPolicyOK) WithPayload(payload []string) *ListUsersForPolicyOK

WithPayload adds the payload to the list users for policy o k response

func (*ListUsersForPolicyOK) WriteResponse ¶

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

WriteResponse to the client

type ListUsersForPolicyParams ¶

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 ¶

func NewListUsersForPolicyParams() ListUsersForPolicyParams

NewListUsersForPolicyParams creates a new ListUsersForPolicyParams object

There are no default values defined in the spec.

func (*ListUsersForPolicyParams) 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 NewListUsersForPolicyParams() beforehand.

type ListUsersForPolicyURL ¶

type ListUsersForPolicyURL struct {
	Policy string
	// contains filtered or unexported fields
}

ListUsersForPolicyURL generates an URL for the list users for policy operation

func (*ListUsersForPolicyURL) Build ¶

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

Build a url path and query string

func (*ListUsersForPolicyURL) BuildFull ¶

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 ¶

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 ¶

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 ¶

func (o *ListUsersForPolicyURL) String() string

String returns the string representation of the path with query string

func (*ListUsersForPolicyURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*ListUsersForPolicyURL) WithBasePath ¶

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

There are no default values defined in the 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 ¶

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 ¶

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 ¶

type ListUsersWithAccessToBucketDefault ¶

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 ¶

func NewListUsersWithAccessToBucketDefault(code int) *ListUsersWithAccessToBucketDefault

NewListUsersWithAccessToBucketDefault creates ListUsersWithAccessToBucketDefault with default headers values

func (*ListUsersWithAccessToBucketDefault) SetPayload ¶

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

SetPayload sets the payload to the list users with access to bucket default response

func (*ListUsersWithAccessToBucketDefault) SetStatusCode ¶

func (o *ListUsersWithAccessToBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list users with access to bucket default response

func (*ListUsersWithAccessToBucketDefault) WithPayload ¶

WithPayload adds the payload to the list users with access to bucket default response

func (*ListUsersWithAccessToBucketDefault) WithStatusCode ¶

WithStatusCode adds the status to the list users with access to bucket default response

func (*ListUsersWithAccessToBucketDefault) WriteResponse ¶

WriteResponse to the client

type ListUsersWithAccessToBucketHandler ¶

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 ¶

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 ¶

Handle executing the request and returning a response

type ListUsersWithAccessToBucketOK ¶

type ListUsersWithAccessToBucketOK struct {

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

ListUsersWithAccessToBucketOK A successful response.

swagger:response listUsersWithAccessToBucketOK

func NewListUsersWithAccessToBucketOK ¶

func NewListUsersWithAccessToBucketOK() *ListUsersWithAccessToBucketOK

NewListUsersWithAccessToBucketOK creates ListUsersWithAccessToBucketOK with default headers values

func (*ListUsersWithAccessToBucketOK) SetPayload ¶

func (o *ListUsersWithAccessToBucketOK) SetPayload(payload []string)

SetPayload sets the payload to the list users with access to bucket o k response

func (*ListUsersWithAccessToBucketOK) WithPayload ¶

WithPayload adds the payload to the list users with access to bucket o k response

func (*ListUsersWithAccessToBucketOK) WriteResponse ¶

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

WriteResponse to the client

type ListUsersWithAccessToBucketParams ¶

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 ¶

func NewListUsersWithAccessToBucketParams() ListUsersWithAccessToBucketParams

NewListUsersWithAccessToBucketParams creates a new ListUsersWithAccessToBucketParams object

There are no default values defined in the spec.

func (*ListUsersWithAccessToBucketParams) 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 NewListUsersWithAccessToBucketParams() beforehand.

type ListUsersWithAccessToBucketURL ¶

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 ¶

Build a url path and query string

func (*ListUsersWithAccessToBucketURL) BuildFull ¶

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 ¶

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 ¶

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 ¶

String returns the string representation of the path with query string

func (*ListUsersWithAccessToBucketURL) StringFull ¶

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

StringFull returns the string representation of a complete url

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

There are no default values defined in the 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

There are no default values defined in the 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

There are no default values defined in the 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

There are no default values defined in the 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 ¶

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 ¶

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

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

func (*PutTenantYAML) ServeHTTP ¶

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

type PutTenantYAMLCreated ¶

type PutTenantYAMLCreated struct {
}

PutTenantYAMLCreated A successful response.

swagger:response putTenantYAMLCreated

func NewPutTenantYAMLCreated ¶

func NewPutTenantYAMLCreated() *PutTenantYAMLCreated

NewPutTenantYAMLCreated creates PutTenantYAMLCreated with default headers values

func (*PutTenantYAMLCreated) WriteResponse ¶

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

WriteResponse to the client

type PutTenantYAMLDefault ¶

type PutTenantYAMLDefault struct {

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

PutTenantYAMLDefault Generic error response.

swagger:response putTenantYAMLDefault

func NewPutTenantYAMLDefault ¶

func NewPutTenantYAMLDefault(code int) *PutTenantYAMLDefault

NewPutTenantYAMLDefault creates PutTenantYAMLDefault with default headers values

func (*PutTenantYAMLDefault) SetPayload ¶

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

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

func (*PutTenantYAMLDefault) SetStatusCode ¶

func (o *PutTenantYAMLDefault) SetStatusCode(code int)

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

func (*PutTenantYAMLDefault) WithPayload ¶

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

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

func (*PutTenantYAMLDefault) WithStatusCode ¶

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

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

func (*PutTenantYAMLDefault) WriteResponse ¶

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

WriteResponse to the client

type PutTenantYAMLHandler ¶

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

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

type PutTenantYAMLHandlerFunc ¶

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

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

func (PutTenantYAMLHandlerFunc) Handle ¶

Handle executing the request and returning a response

type PutTenantYAMLParams ¶

type PutTenantYAMLParams struct {

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

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

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

swagger:parameters PutTenantYAML

func NewPutTenantYAMLParams ¶

func NewPutTenantYAMLParams() PutTenantYAMLParams

NewPutTenantYAMLParams creates a new PutTenantYAMLParams object

There are no default values defined in the spec.

func (*PutTenantYAMLParams) BindRequest ¶

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

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

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

type PutTenantYAMLURL ¶

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

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

func (*PutTenantYAMLURL) Build ¶

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

Build a url path and query string

func (*PutTenantYAMLURL) BuildFull ¶

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

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

func (*PutTenantYAMLURL) Must ¶

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

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

func (*PutTenantYAMLURL) SetBasePath ¶

func (o *PutTenantYAMLURL) SetBasePath(bp string)

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

func (*PutTenantYAMLURL) String ¶

func (o *PutTenantYAMLURL) String() string

String returns the string representation of the path with query string

func (*PutTenantYAMLURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*PutTenantYAMLURL) WithBasePath ¶

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

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

type 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

There are no default values defined in the 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

There are no default values defined in the 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

There are no default values defined in the 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

There are no default values defined in the 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 ¶

type SetConfigOK struct {

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

SetConfigOK A successful response.

swagger:response setConfigOK

func NewSetConfigOK ¶

func NewSetConfigOK() *SetConfigOK

NewSetConfigOK creates SetConfigOK with default headers values

func (*SetConfigOK) SetPayload ¶

func (o *SetConfigOK) SetPayload(payload *models.SetConfigResponse)

SetPayload sets the payload to the set config o k response

func (*SetConfigOK) WithPayload ¶

func (o *SetConfigOK) WithPayload(payload *models.SetConfigResponse) *SetConfigOK

WithPayload adds the payload to the set config o k response

func (*SetConfigOK) WriteResponse ¶

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

There are no default values defined in the 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 ¶

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 ¶

func NewSetPolicyMultiple(ctx *middleware.Context, handler SetPolicyMultipleHandler) *SetPolicyMultiple

NewSetPolicyMultiple creates a new http.Handler for the set policy multiple operation

func (*SetPolicyMultiple) ServeHTTP ¶

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

type SetPolicyMultipleDefault ¶

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 ¶

func NewSetPolicyMultipleDefault(code int) *SetPolicyMultipleDefault

NewSetPolicyMultipleDefault creates SetPolicyMultipleDefault with default headers values

func (*SetPolicyMultipleDefault) SetPayload ¶

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

SetPayload sets the payload to the set policy multiple default response

func (*SetPolicyMultipleDefault) SetStatusCode ¶

func (o *SetPolicyMultipleDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set policy multiple default response

func (*SetPolicyMultipleDefault) WithPayload ¶

WithPayload adds the payload to the set policy multiple default response

func (*SetPolicyMultipleDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the set policy multiple default response

func (*SetPolicyMultipleDefault) WriteResponse ¶

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

WriteResponse to the client

type SetPolicyMultipleHandler ¶

type SetPolicyMultipleHandler interface {
	Handle(SetPolicyMultipleParams, *models.Principal) middleware.Responder
}

SetPolicyMultipleHandler interface for that can handle valid set policy multiple params

type SetPolicyMultipleHandlerFunc ¶

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 ¶

Handle executing the request and returning a response

type SetPolicyMultipleNoContent ¶

type SetPolicyMultipleNoContent struct {
}

SetPolicyMultipleNoContent A successful response.

swagger:response setPolicyMultipleNoContent

func NewSetPolicyMultipleNoContent ¶

func NewSetPolicyMultipleNoContent() *SetPolicyMultipleNoContent

NewSetPolicyMultipleNoContent creates SetPolicyMultipleNoContent with default headers values

func (*SetPolicyMultipleNoContent) WriteResponse ¶

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

WriteResponse to the client

type SetPolicyMultipleParams ¶

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 ¶

func NewSetPolicyMultipleParams() SetPolicyMultipleParams

NewSetPolicyMultipleParams creates a new SetPolicyMultipleParams object

There are no default values defined in the spec.

func (*SetPolicyMultipleParams) BindRequest ¶

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 ¶

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

SetPolicyMultipleURL generates an URL for the set policy multiple operation

func (*SetPolicyMultipleURL) Build ¶

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

Build a url path and query string

func (*SetPolicyMultipleURL) BuildFull ¶

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 ¶

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 ¶

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 ¶

func (o *SetPolicyMultipleURL) String() string

String returns the string representation of the path with query string

func (*SetPolicyMultipleURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*SetPolicyMultipleURL) WithBasePath ¶

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

There are no default values defined in the 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 ¶

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 ¶

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

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

func (*SubscriptionActivate) ServeHTTP ¶

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

type SubscriptionActivateDefault ¶

type SubscriptionActivateDefault struct {

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

SubscriptionActivateDefault Generic error response.

swagger:response subscriptionActivateDefault

func NewSubscriptionActivateDefault ¶

func NewSubscriptionActivateDefault(code int) *SubscriptionActivateDefault

NewSubscriptionActivateDefault creates SubscriptionActivateDefault with default headers values

func (*SubscriptionActivateDefault) SetPayload ¶

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

SetPayload sets the payload to the subscription activate default response

func (*SubscriptionActivateDefault) SetStatusCode ¶

func (o *SubscriptionActivateDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subscription activate default response

func (*SubscriptionActivateDefault) WithPayload ¶

WithPayload adds the payload to the subscription activate default response

func (*SubscriptionActivateDefault) WithStatusCode ¶

WithStatusCode adds the status to the subscription activate default response

func (*SubscriptionActivateDefault) WriteResponse ¶

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

WriteResponse to the client

type SubscriptionActivateHandler ¶

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

SubscriptionActivateHandler interface for that can handle valid subscription activate params

type SubscriptionActivateHandlerFunc ¶

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

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

func (SubscriptionActivateHandlerFunc) Handle ¶

Handle executing the request and returning a response

type SubscriptionActivateNoContent ¶

type SubscriptionActivateNoContent struct {
}

SubscriptionActivateNoContent A successful response.

swagger:response subscriptionActivateNoContent

func NewSubscriptionActivateNoContent ¶

func NewSubscriptionActivateNoContent() *SubscriptionActivateNoContent

NewSubscriptionActivateNoContent creates SubscriptionActivateNoContent with default headers values

func (*SubscriptionActivateNoContent) WriteResponse ¶

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

WriteResponse to the client

type SubscriptionActivateParams ¶

type SubscriptionActivateParams struct {

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

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

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

swagger:parameters SubscriptionActivate

func NewSubscriptionActivateParams ¶

func NewSubscriptionActivateParams() SubscriptionActivateParams

NewSubscriptionActivateParams creates a new SubscriptionActivateParams object

There are no default values defined in the spec.

func (*SubscriptionActivateParams) BindRequest ¶

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

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

type SubscriptionActivateURL ¶

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

SubscriptionActivateURL generates an URL for the subscription activate operation

func (*SubscriptionActivateURL) Build ¶

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

Build a url path and query string

func (*SubscriptionActivateURL) BuildFull ¶

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

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

func (*SubscriptionActivateURL) Must ¶

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

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

func (*SubscriptionActivateURL) SetBasePath ¶

func (o *SubscriptionActivateURL) SetBasePath(bp string)

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

func (*SubscriptionActivateURL) String ¶

func (o *SubscriptionActivateURL) String() string

String returns the string representation of the path with query string

func (*SubscriptionActivateURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*SubscriptionActivateURL) WithBasePath ¶

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

type SubscriptionInfo ¶

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

Subscription info

func NewSubscriptionInfo ¶

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

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

func (*SubscriptionInfo) ServeHTTP ¶

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

type SubscriptionInfoDefault ¶

type SubscriptionInfoDefault struct {

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

SubscriptionInfoDefault Generic error response.

swagger:response subscriptionInfoDefault

func NewSubscriptionInfoDefault ¶

func NewSubscriptionInfoDefault(code int) *SubscriptionInfoDefault

NewSubscriptionInfoDefault creates SubscriptionInfoDefault with default headers values

func (*SubscriptionInfoDefault) SetPayload ¶

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

SetPayload sets the payload to the subscription info default response

func (*SubscriptionInfoDefault) SetStatusCode ¶

func (o *SubscriptionInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subscription info default response

func (*SubscriptionInfoDefault) WithPayload ¶

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

WithPayload adds the payload to the subscription info default response

func (*SubscriptionInfoDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the subscription info default response

func (*SubscriptionInfoDefault) WriteResponse ¶

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

WriteResponse to the client

type SubscriptionInfoHandler ¶

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

SubscriptionInfoHandler interface for that can handle valid subscription info params

type SubscriptionInfoHandlerFunc ¶

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

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

func (SubscriptionInfoHandlerFunc) Handle ¶

Handle executing the request and returning a response

type SubscriptionInfoOK ¶

type SubscriptionInfoOK struct {

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

SubscriptionInfoOK A successful response.

swagger:response subscriptionInfoOK

func NewSubscriptionInfoOK ¶

func NewSubscriptionInfoOK() *SubscriptionInfoOK

NewSubscriptionInfoOK creates SubscriptionInfoOK with default headers values

func (*SubscriptionInfoOK) SetPayload ¶

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

SetPayload sets the payload to the subscription info o k response

func (*SubscriptionInfoOK) WithPayload ¶

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

WithPayload adds the payload to the subscription info o k response

func (*SubscriptionInfoOK) WriteResponse ¶

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

WriteResponse to the client

type SubscriptionInfoParams ¶

type SubscriptionInfoParams struct {

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

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

swagger:parameters SubscriptionInfo

func NewSubscriptionInfoParams ¶

func NewSubscriptionInfoParams() SubscriptionInfoParams

NewSubscriptionInfoParams creates a new SubscriptionInfoParams object

There are no default values defined in the spec.

func (*SubscriptionInfoParams) BindRequest ¶

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

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

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

type SubscriptionInfoURL ¶

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

SubscriptionInfoURL generates an URL for the subscription info operation

func (*SubscriptionInfoURL) Build ¶

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

Build a url path and query string

func (*SubscriptionInfoURL) BuildFull ¶

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

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

func (*SubscriptionInfoURL) Must ¶

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

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

func (*SubscriptionInfoURL) SetBasePath ¶

func (o *SubscriptionInfoURL) SetBasePath(bp string)

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

func (*SubscriptionInfoURL) String ¶

func (o *SubscriptionInfoURL) String() string

String returns the string representation of the path with query string

func (*SubscriptionInfoURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*SubscriptionInfoURL) WithBasePath ¶

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

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

type SubscriptionRefresh ¶

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

Refresh existing subscription license

func NewSubscriptionRefresh ¶

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

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

func (*SubscriptionRefresh) ServeHTTP ¶

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

type SubscriptionRefreshDefault ¶

type SubscriptionRefreshDefault struct {

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

SubscriptionRefreshDefault Generic error response.

swagger:response subscriptionRefreshDefault

func NewSubscriptionRefreshDefault ¶

func NewSubscriptionRefreshDefault(code int) *SubscriptionRefreshDefault

NewSubscriptionRefreshDefault creates SubscriptionRefreshDefault with default headers values

func (*SubscriptionRefreshDefault) SetPayload ¶

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

SetPayload sets the payload to the subscription refresh default response

func (*SubscriptionRefreshDefault) SetStatusCode ¶

func (o *SubscriptionRefreshDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subscription refresh default response

func (*SubscriptionRefreshDefault) WithPayload ¶

WithPayload adds the payload to the subscription refresh default response

func (*SubscriptionRefreshDefault) WithStatusCode ¶

WithStatusCode adds the status to the subscription refresh default response

func (*SubscriptionRefreshDefault) WriteResponse ¶

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

WriteResponse to the client

type SubscriptionRefreshHandler ¶

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

SubscriptionRefreshHandler interface for that can handle valid subscription refresh params

type SubscriptionRefreshHandlerFunc ¶

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

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

func (SubscriptionRefreshHandlerFunc) Handle ¶

Handle executing the request and returning a response

type SubscriptionRefreshOK ¶

type SubscriptionRefreshOK struct {

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

SubscriptionRefreshOK A successful response.

swagger:response subscriptionRefreshOK

func NewSubscriptionRefreshOK ¶

func NewSubscriptionRefreshOK() *SubscriptionRefreshOK

NewSubscriptionRefreshOK creates SubscriptionRefreshOK with default headers values

func (*SubscriptionRefreshOK) SetPayload ¶

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

SetPayload sets the payload to the subscription refresh o k response

func (*SubscriptionRefreshOK) WithPayload ¶

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

WithPayload adds the payload to the subscription refresh o k response

func (*SubscriptionRefreshOK) WriteResponse ¶

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

WriteResponse to the client

type SubscriptionRefreshParams ¶

type SubscriptionRefreshParams struct {

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

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

swagger:parameters SubscriptionRefresh

func NewSubscriptionRefreshParams ¶

func NewSubscriptionRefreshParams() SubscriptionRefreshParams

NewSubscriptionRefreshParams creates a new SubscriptionRefreshParams object

There are no default values defined in the spec.

func (*SubscriptionRefreshParams) BindRequest ¶

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

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

type SubscriptionRefreshURL ¶

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

SubscriptionRefreshURL generates an URL for the subscription refresh operation

func (*SubscriptionRefreshURL) Build ¶

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

Build a url path and query string

func (*SubscriptionRefreshURL) BuildFull ¶

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

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

func (*SubscriptionRefreshURL) Must ¶

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

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

func (*SubscriptionRefreshURL) SetBasePath ¶

func (o *SubscriptionRefreshURL) SetBasePath(bp string)

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

func (*SubscriptionRefreshURL) String ¶

func (o *SubscriptionRefreshURL) String() string

String returns the string representation of the path with query string

func (*SubscriptionRefreshURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*SubscriptionRefreshURL) WithBasePath ¶

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

type SubscriptionValidate ¶

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

Validates subscription license

func NewSubscriptionValidate ¶

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

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

func (*SubscriptionValidate) ServeHTTP ¶

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

type SubscriptionValidateDefault ¶

type SubscriptionValidateDefault struct {

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

SubscriptionValidateDefault Generic error response.

swagger:response subscriptionValidateDefault

func NewSubscriptionValidateDefault ¶

func NewSubscriptionValidateDefault(code int) *SubscriptionValidateDefault

NewSubscriptionValidateDefault creates SubscriptionValidateDefault with default headers values

func (*SubscriptionValidateDefault) SetPayload ¶

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

SetPayload sets the payload to the subscription validate default response

func (*SubscriptionValidateDefault) SetStatusCode ¶

func (o *SubscriptionValidateDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subscription validate default response

func (*SubscriptionValidateDefault) WithPayload ¶

WithPayload adds the payload to the subscription validate default response

func (*SubscriptionValidateDefault) WithStatusCode ¶

WithStatusCode adds the status to the subscription validate default response

func (*SubscriptionValidateDefault) WriteResponse ¶

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

WriteResponse to the client

type SubscriptionValidateHandler ¶

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

SubscriptionValidateHandler interface for that can handle valid subscription validate params

type SubscriptionValidateHandlerFunc ¶

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

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

func (SubscriptionValidateHandlerFunc) Handle ¶

Handle executing the request and returning a response

type SubscriptionValidateOK ¶

type SubscriptionValidateOK struct {

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

SubscriptionValidateOK A successful response.

swagger:response subscriptionValidateOK

func NewSubscriptionValidateOK ¶

func NewSubscriptionValidateOK() *SubscriptionValidateOK

NewSubscriptionValidateOK creates SubscriptionValidateOK with default headers values

func (*SubscriptionValidateOK) SetPayload ¶

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

SetPayload sets the payload to the subscription validate o k response

func (*SubscriptionValidateOK) WithPayload ¶

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

WithPayload adds the payload to the subscription validate o k response

func (*SubscriptionValidateOK) WriteResponse ¶

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

WriteResponse to the client

type SubscriptionValidateParams ¶

type SubscriptionValidateParams struct {

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

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

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

swagger:parameters SubscriptionValidate

func NewSubscriptionValidateParams ¶

func NewSubscriptionValidateParams() SubscriptionValidateParams

NewSubscriptionValidateParams creates a new SubscriptionValidateParams object

There are no default values defined in the spec.

func (*SubscriptionValidateParams) BindRequest ¶

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

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

type SubscriptionValidateURL ¶

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

SubscriptionValidateURL generates an URL for the subscription validate operation

func (*SubscriptionValidateURL) Build ¶

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

Build a url path and query string

func (*SubscriptionValidateURL) BuildFull ¶

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

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

func (*SubscriptionValidateURL) Must ¶

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

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

func (*SubscriptionValidateURL) SetBasePath ¶

func (o *SubscriptionValidateURL) SetBasePath(bp string)

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

func (*SubscriptionValidateURL) String ¶

func (o *SubscriptionValidateURL) String() string

String returns the string representation of the path with query string

func (*SubscriptionValidateURL) StringFull ¶

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

StringFull returns the string representation of a complete url

func (*SubscriptionValidateURL) WithBasePath ¶

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

type TenantAddPool ¶

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

Tenant Add Pool

func NewTenantAddPool ¶

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

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

func (*TenantAddPool) ServeHTTP ¶

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

type TenantAddPoolCreated ¶

type TenantAddPoolCreated struct {
}

TenantAddPoolCreated A successful response.

swagger:response tenantAddPoolCreated

func NewTenantAddPoolCreated ¶

func NewTenantAddPoolCreated() *TenantAddPoolCreated

NewTenantAddPoolCreated creates TenantAddPoolCreated with default headers values

func (*TenantAddPoolCreated) WriteResponse ¶

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

WriteResponse to the client

type TenantAddPoolDefault ¶

type TenantAddPoolDefault struct {

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

TenantAddPoolDefault Generic error response.

swagger:response tenantAddPoolDefault

func NewTenantAddPoolDefault ¶

func NewTenantAddPoolDefault(code int) *TenantAddPoolDefault

NewTenantAddPoolDefault creates TenantAddPoolDefault with default headers values

func (*TenantAddPoolDefault) SetPayload ¶

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

SetPayload sets the payload to the tenant add pool default response

func (*TenantAddPoolDefault) SetStatusCode ¶

func (o *TenantAddPoolDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant add pool default response

func (*TenantAddPoolDefault) WithPayload ¶

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

WithPayload adds the payload to the tenant add pool default response

func (*TenantAddPoolDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the tenant add pool default response

func (*TenantAddPoolDefault) WriteResponse ¶

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

WriteResponse to the client

type TenantAddPoolHandler ¶

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

TenantAddPoolHandler interface for that can handle valid tenant add pool params

type TenantAddPoolHandlerFunc ¶

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

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

func (TenantAddPoolHandlerFunc) Handle ¶

Handle executing the request and returning a response

type TenantAddPoolParams ¶

type TenantAddPoolParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Body *models.Pool
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

TenantAddPoolParams contains all the bound params for the tenant add pool operation typically these are obtained from a http.Request

swagger:parameters TenantAddPool

func NewTenantAddPoolParams ¶

func NewTenantAddPoolParams() TenantAddPoolParams

NewTenantAddPoolParams creates a new TenantAddPoolParams object

There are no default values defined in the spec.

func (*TenantAddPoolParams) BindRequest ¶

func (o *TenantAddPoolParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewTenantAddPoolParams() beforehand.

type TenantAddPoolURL ¶

type TenantAddPoolURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

TenantAddPoolURL generates an URL for the tenant add pool operation

func (*TenantAddPoolURL) Build ¶

func (o *TenantAddPoolURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantAddPoolURL) BuildFull ¶

func (o *TenantAddPoolURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TenantAddPoolURL) Must ¶

func (o *TenantAddPoolURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TenantAddPoolURL) SetBasePath ¶

func (o *TenantAddPoolURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TenantAddPoolURL) String ¶

func (o *TenantAddPoolURL) String() string

String returns the string representation of the path with query string

func (*TenantAddPoolURL) StringFull ¶

func (o *TenantAddPoolURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantAddPoolURL) WithBasePath ¶

func (o *TenantAddPoolURL) WithBasePath(bp string) *TenantAddPoolURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TenantDetails ¶

type TenantDetails struct {
	Context *middleware.Context
	Handler TenantDetailsHandler
}
TenantDetails swagger:route GET /namespaces/{namespace}/tenants/{tenant} AdminAPI tenantDetails

Tenant Details

func NewTenantDetails ¶

func NewTenantDetails(ctx *middleware.Context, handler TenantDetailsHandler) *TenantDetails

NewTenantDetails creates a new http.Handler for the tenant details operation

func (*TenantDetails) ServeHTTP ¶

func (o *TenantDetails) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantDetailsDefault ¶

type TenantDetailsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

TenantDetailsDefault Generic error response.

swagger:response tenantDetailsDefault

func NewTenantDetailsDefault ¶

func NewTenantDetailsDefault(code int) *TenantDetailsDefault

NewTenantDetailsDefault creates TenantDetailsDefault with default headers values

func (*TenantDetailsDefault) SetPayload ¶

func (o *TenantDetailsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tenant details default response

func (*TenantDetailsDefault) SetStatusCode ¶

func (o *TenantDetailsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant details default response

func (*TenantDetailsDefault) WithPayload ¶

func (o *TenantDetailsDefault) WithPayload(payload *models.Error) *TenantDetailsDefault

WithPayload adds the payload to the tenant details default response

func (*TenantDetailsDefault) WithStatusCode ¶

func (o *TenantDetailsDefault) WithStatusCode(code int) *TenantDetailsDefault

WithStatusCode adds the status to the tenant details default response

func (*TenantDetailsDefault) WriteResponse ¶

func (o *TenantDetailsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantDetailsHandler ¶

type TenantDetailsHandler interface {
	Handle(TenantDetailsParams, *models.Principal) middleware.Responder
}

TenantDetailsHandler interface for that can handle valid tenant details params

type TenantDetailsHandlerFunc ¶

type TenantDetailsHandlerFunc func(TenantDetailsParams, *models.Principal) middleware.Responder

TenantDetailsHandlerFunc turns a function with the right signature into a tenant details handler

func (TenantDetailsHandlerFunc) Handle ¶

Handle executing the request and returning a response

type TenantDetailsOK ¶

type TenantDetailsOK struct {

	/*
	  In: Body
	*/
	Payload *models.Tenant `json:"body,omitempty"`
}

TenantDetailsOK A successful response.

swagger:response tenantDetailsOK

func NewTenantDetailsOK ¶

func NewTenantDetailsOK() *TenantDetailsOK

NewTenantDetailsOK creates TenantDetailsOK with default headers values

func (*TenantDetailsOK) SetPayload ¶

func (o *TenantDetailsOK) SetPayload(payload *models.Tenant)

SetPayload sets the payload to the tenant details o k response

func (*TenantDetailsOK) WithPayload ¶

func (o *TenantDetailsOK) WithPayload(payload *models.Tenant) *TenantDetailsOK

WithPayload adds the payload to the tenant details o k response

func (*TenantDetailsOK) WriteResponse ¶

func (o *TenantDetailsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantDetailsParams ¶

type TenantDetailsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

TenantDetailsParams contains all the bound params for the tenant details operation typically these are obtained from a http.Request

swagger:parameters TenantDetails

func NewTenantDetailsParams ¶

func NewTenantDetailsParams() TenantDetailsParams

NewTenantDetailsParams creates a new TenantDetailsParams object

There are no default values defined in the spec.

func (*TenantDetailsParams) BindRequest ¶

func (o *TenantDetailsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewTenantDetailsParams() beforehand.

type TenantDetailsURL ¶

type TenantDetailsURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

TenantDetailsURL generates an URL for the tenant details operation

func (*TenantDetailsURL) Build ¶

func (o *TenantDetailsURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantDetailsURL) BuildFull ¶

func (o *TenantDetailsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TenantDetailsURL) Must ¶

func (o *TenantDetailsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TenantDetailsURL) SetBasePath ¶

func (o *TenantDetailsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TenantDetailsURL) String ¶

func (o *TenantDetailsURL) String() string

String returns the string representation of the path with query string

func (*TenantDetailsURL) StringFull ¶

func (o *TenantDetailsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantDetailsURL) WithBasePath ¶

func (o *TenantDetailsURL) WithBasePath(bp string) *TenantDetailsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TenantInfo ¶

type TenantInfo struct {
	Context *middleware.Context
	Handler TenantInfoHandler
}
TenantInfo swagger:route GET /namespaces/{namespace}/tenants/{tenant}/info 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.AdminInfoResponse `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.AdminInfoResponse)

SetPayload sets the payload to the tenant info o k response

func (*TenantInfoOK) WithPayload ¶

func (o *TenantInfoOK) WithPayload(payload *models.AdminInfoResponse) *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

There are no default values defined in the 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 TenantSecurity ¶

type TenantSecurity struct {
	Context *middleware.Context
	Handler TenantSecurityHandler
}
TenantSecurity swagger:route GET /namespaces/{namespace}/tenants/{tenant}/security AdminAPI tenantSecurity

Tenant Security

func NewTenantSecurity ¶

func NewTenantSecurity(ctx *middleware.Context, handler TenantSecurityHandler) *TenantSecurity

NewTenantSecurity creates a new http.Handler for the tenant security operation

func (*TenantSecurity) ServeHTTP ¶

func (o *TenantSecurity) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantSecurityDefault ¶

type TenantSecurityDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

TenantSecurityDefault Generic error response.

swagger:response tenantSecurityDefault

func NewTenantSecurityDefault ¶

func NewTenantSecurityDefault(code int) *TenantSecurityDefault

NewTenantSecurityDefault creates TenantSecurityDefault with default headers values

func (*TenantSecurityDefault) SetPayload ¶

func (o *TenantSecurityDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tenant security default response

func (*TenantSecurityDefault) SetStatusCode ¶

func (o *TenantSecurityDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant security default response

func (*TenantSecurityDefault) WithPayload ¶

func (o *TenantSecurityDefault) WithPayload(payload *models.Error) *TenantSecurityDefault

WithPayload adds the payload to the tenant security default response

func (*TenantSecurityDefault) WithStatusCode ¶

func (o *TenantSecurityDefault) WithStatusCode(code int) *TenantSecurityDefault

WithStatusCode adds the status to the tenant security default response

func (*TenantSecurityDefault) WriteResponse ¶

func (o *TenantSecurityDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantSecurityHandler ¶

type TenantSecurityHandler interface {
	Handle(TenantSecurityParams, *models.Principal) middleware.Responder
}

TenantSecurityHandler interface for that can handle valid tenant security params

type TenantSecurityHandlerFunc ¶

type TenantSecurityHandlerFunc func(TenantSecurityParams, *models.Principal) middleware.Responder

TenantSecurityHandlerFunc turns a function with the right signature into a tenant security handler

func (TenantSecurityHandlerFunc) Handle ¶

Handle executing the request and returning a response

type TenantSecurityOK ¶

type TenantSecurityOK struct {

	/*
	  In: Body
	*/
	Payload *models.TenantSecurityResponse `json:"body,omitempty"`
}

TenantSecurityOK A successful response.

swagger:response tenantSecurityOK

func NewTenantSecurityOK ¶

func NewTenantSecurityOK() *TenantSecurityOK

NewTenantSecurityOK creates TenantSecurityOK with default headers values

func (*TenantSecurityOK) SetPayload ¶

func (o *TenantSecurityOK) SetPayload(payload *models.TenantSecurityResponse)

SetPayload sets the payload to the tenant security o k response

func (*TenantSecurityOK) WithPayload ¶

WithPayload adds the payload to the tenant security o k response

func (*TenantSecurityOK) WriteResponse ¶

func (o *TenantSecurityOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantSecurityParams ¶

type TenantSecurityParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

TenantSecurityParams contains all the bound params for the tenant security operation typically these are obtained from a http.Request

swagger:parameters TenantSecurity

func NewTenantSecurityParams ¶

func NewTenantSecurityParams() TenantSecurityParams

NewTenantSecurityParams creates a new TenantSecurityParams object

There are no default values defined in the spec.

func (*TenantSecurityParams) BindRequest ¶

func (o *TenantSecurityParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewTenantSecurityParams() beforehand.

type TenantSecurityURL ¶

type TenantSecurityURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

TenantSecurityURL generates an URL for the tenant security operation

func (*TenantSecurityURL) Build ¶

func (o *TenantSecurityURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantSecurityURL) BuildFull ¶

func (o *TenantSecurityURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TenantSecurityURL) Must ¶

func (o *TenantSecurityURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TenantSecurityURL) SetBasePath ¶

func (o *TenantSecurityURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TenantSecurityURL) String ¶

func (o *TenantSecurityURL) String() string

String returns the string representation of the path with query string

func (*TenantSecurityURL) StringFull ¶

func (o *TenantSecurityURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantSecurityURL) WithBasePath ¶

func (o *TenantSecurityURL) WithBasePath(bp string) *TenantSecurityURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TenantUpdateCertificate ¶

type TenantUpdateCertificate struct {
	Context *middleware.Context
	Handler TenantUpdateCertificateHandler
}
TenantUpdateCertificate swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/certificates AdminAPI tenantUpdateCertificate

Tenant Update Certificates

func NewTenantUpdateCertificate ¶

func NewTenantUpdateCertificate(ctx *middleware.Context, handler TenantUpdateCertificateHandler) *TenantUpdateCertificate

NewTenantUpdateCertificate creates a new http.Handler for the tenant update certificate operation

func (*TenantUpdateCertificate) ServeHTTP ¶

type TenantUpdateCertificateCreated ¶

type TenantUpdateCertificateCreated struct {
}

TenantUpdateCertificateCreated A successful response.

swagger:response tenantUpdateCertificateCreated

func NewTenantUpdateCertificateCreated ¶

func NewTenantUpdateCertificateCreated() *TenantUpdateCertificateCreated

NewTenantUpdateCertificateCreated creates TenantUpdateCertificateCreated with default headers values

func (*TenantUpdateCertificateCreated) WriteResponse ¶

func (o *TenantUpdateCertificateCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantUpdateCertificateDefault ¶

type TenantUpdateCertificateDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

TenantUpdateCertificateDefault Generic error response.

swagger:response tenantUpdateCertificateDefault

func NewTenantUpdateCertificateDefault ¶

func NewTenantUpdateCertificateDefault(code int) *TenantUpdateCertificateDefault

NewTenantUpdateCertificateDefault creates TenantUpdateCertificateDefault with default headers values

func (*TenantUpdateCertificateDefault) SetPayload ¶

func (o *TenantUpdateCertificateDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tenant update certificate default response

func (*TenantUpdateCertificateDefault) SetStatusCode ¶

func (o *TenantUpdateCertificateDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant update certificate default response

func (*TenantUpdateCertificateDefault) WithPayload ¶

WithPayload adds the payload to the tenant update certificate default response

func (*TenantUpdateCertificateDefault) WithStatusCode ¶

WithStatusCode adds the status to the tenant update certificate default response

func (*TenantUpdateCertificateDefault) WriteResponse ¶

func (o *TenantUpdateCertificateDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantUpdateCertificateHandler ¶

type TenantUpdateCertificateHandler interface {
	Handle(TenantUpdateCertificateParams, *models.Principal) middleware.Responder
}

TenantUpdateCertificateHandler interface for that can handle valid tenant update certificate params

type TenantUpdateCertificateHandlerFunc ¶

type TenantUpdateCertificateHandlerFunc func(TenantUpdateCertificateParams, *models.Principal) middleware.Responder

TenantUpdateCertificateHandlerFunc turns a function with the right signature into a tenant update certificate handler

func (TenantUpdateCertificateHandlerFunc) Handle ¶

Handle executing the request and returning a response

type TenantUpdateCertificateParams ¶

type TenantUpdateCertificateParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.TLSConfiguration
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

TenantUpdateCertificateParams contains all the bound params for the tenant update certificate operation typically these are obtained from a http.Request

swagger:parameters TenantUpdateCertificate

func NewTenantUpdateCertificateParams ¶

func NewTenantUpdateCertificateParams() TenantUpdateCertificateParams

NewTenantUpdateCertificateParams creates a new TenantUpdateCertificateParams object

There are no default values defined in the spec.

func (*TenantUpdateCertificateParams) BindRequest ¶

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewTenantUpdateCertificateParams() beforehand.

type TenantUpdateCertificateURL ¶

type TenantUpdateCertificateURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

TenantUpdateCertificateURL generates an URL for the tenant update certificate operation

func (*TenantUpdateCertificateURL) Build ¶

func (o *TenantUpdateCertificateURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantUpdateCertificateURL) BuildFull ¶

func (o *TenantUpdateCertificateURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TenantUpdateCertificateURL) Must ¶

func (o *TenantUpdateCertificateURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TenantUpdateCertificateURL) SetBasePath ¶

func (o *TenantUpdateCertificateURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TenantUpdateCertificateURL) String ¶

func (o *TenantUpdateCertificateURL) String() string

String returns the string representation of the path with query string

func (*TenantUpdateCertificateURL) StringFull ¶

func (o *TenantUpdateCertificateURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantUpdateCertificateURL) WithBasePath ¶

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TenantUpdateEncryption ¶

type TenantUpdateEncryption struct {
	Context *middleware.Context
	Handler TenantUpdateEncryptionHandler
}
TenantUpdateEncryption swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/encryption AdminAPI tenantUpdateEncryption

Tenant Update Encryption

func NewTenantUpdateEncryption ¶

func NewTenantUpdateEncryption(ctx *middleware.Context, handler TenantUpdateEncryptionHandler) *TenantUpdateEncryption

NewTenantUpdateEncryption creates a new http.Handler for the tenant update encryption operation

func (*TenantUpdateEncryption) ServeHTTP ¶

func (o *TenantUpdateEncryption) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantUpdateEncryptionCreated ¶

type TenantUpdateEncryptionCreated struct {
}

TenantUpdateEncryptionCreated A successful response.

swagger:response tenantUpdateEncryptionCreated

func NewTenantUpdateEncryptionCreated ¶

func NewTenantUpdateEncryptionCreated() *TenantUpdateEncryptionCreated

NewTenantUpdateEncryptionCreated creates TenantUpdateEncryptionCreated with default headers values

func (*TenantUpdateEncryptionCreated) WriteResponse ¶

func (o *TenantUpdateEncryptionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantUpdateEncryptionDefault ¶

type TenantUpdateEncryptionDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

TenantUpdateEncryptionDefault Generic error response.

swagger:response tenantUpdateEncryptionDefault

func NewTenantUpdateEncryptionDefault ¶

func NewTenantUpdateEncryptionDefault(code int) *TenantUpdateEncryptionDefault

NewTenantUpdateEncryptionDefault creates TenantUpdateEncryptionDefault with default headers values

func (*TenantUpdateEncryptionDefault) SetPayload ¶

func (o *TenantUpdateEncryptionDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tenant update encryption default response

func (*TenantUpdateEncryptionDefault) SetStatusCode ¶

func (o *TenantUpdateEncryptionDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant update encryption default response

func (*TenantUpdateEncryptionDefault) WithPayload ¶

WithPayload adds the payload to the tenant update encryption default response

func (*TenantUpdateEncryptionDefault) WithStatusCode ¶

WithStatusCode adds the status to the tenant update encryption default response

func (*TenantUpdateEncryptionDefault) WriteResponse ¶

func (o *TenantUpdateEncryptionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantUpdateEncryptionHandler ¶

type TenantUpdateEncryptionHandler interface {
	Handle(TenantUpdateEncryptionParams, *models.Principal) middleware.Responder
}

TenantUpdateEncryptionHandler interface for that can handle valid tenant update encryption params

type TenantUpdateEncryptionHandlerFunc ¶

type TenantUpdateEncryptionHandlerFunc func(TenantUpdateEncryptionParams, *models.Principal) middleware.Responder

TenantUpdateEncryptionHandlerFunc turns a function with the right signature into a tenant update encryption handler

func (TenantUpdateEncryptionHandlerFunc) Handle ¶

Handle executing the request and returning a response

type TenantUpdateEncryptionParams ¶

type TenantUpdateEncryptionParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.EncryptionConfiguration
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

TenantUpdateEncryptionParams contains all the bound params for the tenant update encryption operation typically these are obtained from a http.Request

swagger:parameters TenantUpdateEncryption

func NewTenantUpdateEncryptionParams ¶

func NewTenantUpdateEncryptionParams() TenantUpdateEncryptionParams

NewTenantUpdateEncryptionParams creates a new TenantUpdateEncryptionParams object

There are no default values defined in the spec.

func (*TenantUpdateEncryptionParams) BindRequest ¶

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewTenantUpdateEncryptionParams() beforehand.

type TenantUpdateEncryptionURL ¶

type TenantUpdateEncryptionURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

TenantUpdateEncryptionURL generates an URL for the tenant update encryption operation

func (*TenantUpdateEncryptionURL) Build ¶

func (o *TenantUpdateEncryptionURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantUpdateEncryptionURL) BuildFull ¶

func (o *TenantUpdateEncryptionURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TenantUpdateEncryptionURL) Must ¶

func (o *TenantUpdateEncryptionURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TenantUpdateEncryptionURL) SetBasePath ¶

func (o *TenantUpdateEncryptionURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TenantUpdateEncryptionURL) String ¶

func (o *TenantUpdateEncryptionURL) String() string

String returns the string representation of the path with query string

func (*TenantUpdateEncryptionURL) StringFull ¶

func (o *TenantUpdateEncryptionURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantUpdateEncryptionURL) WithBasePath ¶

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TenantUpdatePools ¶

type TenantUpdatePools struct {
	Context *middleware.Context
	Handler TenantUpdatePoolsHandler
}
TenantUpdatePools swagger:route PUT /namespaces/{namespace}/tenants/{tenant}/pools AdminAPI tenantUpdatePools

Tenant Update Pools

func NewTenantUpdatePools ¶

func NewTenantUpdatePools(ctx *middleware.Context, handler TenantUpdatePoolsHandler) *TenantUpdatePools

NewTenantUpdatePools creates a new http.Handler for the tenant update pools operation

func (*TenantUpdatePools) ServeHTTP ¶

func (o *TenantUpdatePools) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantUpdatePoolsDefault ¶

type TenantUpdatePoolsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

TenantUpdatePoolsDefault Generic error response.

swagger:response tenantUpdatePoolsDefault

func NewTenantUpdatePoolsDefault ¶

func NewTenantUpdatePoolsDefault(code int) *TenantUpdatePoolsDefault

NewTenantUpdatePoolsDefault creates TenantUpdatePoolsDefault with default headers values

func (*TenantUpdatePoolsDefault) SetPayload ¶

func (o *TenantUpdatePoolsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tenant update pools default response

func (*TenantUpdatePoolsDefault) SetStatusCode ¶

func (o *TenantUpdatePoolsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant update pools default response

func (*TenantUpdatePoolsDefault) WithPayload ¶

WithPayload adds the payload to the tenant update pools default response

func (*TenantUpdatePoolsDefault) WithStatusCode ¶

func (o *TenantUpdatePoolsDefault) WithStatusCode(code int) *TenantUpdatePoolsDefault

WithStatusCode adds the status to the tenant update pools default response

func (*TenantUpdatePoolsDefault) WriteResponse ¶

func (o *TenantUpdatePoolsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantUpdatePoolsHandler ¶

type TenantUpdatePoolsHandler interface {
	Handle(TenantUpdatePoolsParams, *models.Principal) middleware.Responder
}

TenantUpdatePoolsHandler interface for that can handle valid tenant update pools params

type TenantUpdatePoolsHandlerFunc ¶

type TenantUpdatePoolsHandlerFunc func(TenantUpdatePoolsParams, *models.Principal) middleware.Responder

TenantUpdatePoolsHandlerFunc turns a function with the right signature into a tenant update pools handler

func (TenantUpdatePoolsHandlerFunc) Handle ¶

Handle executing the request and returning a response

type TenantUpdatePoolsOK ¶

type TenantUpdatePoolsOK struct {

	/*
	  In: Body
	*/
	Payload *models.Tenant `json:"body,omitempty"`
}

TenantUpdatePoolsOK A successful response.

swagger:response tenantUpdatePoolsOK

func NewTenantUpdatePoolsOK ¶

func NewTenantUpdatePoolsOK() *TenantUpdatePoolsOK

NewTenantUpdatePoolsOK creates TenantUpdatePoolsOK with default headers values

func (*TenantUpdatePoolsOK) SetPayload ¶

func (o *TenantUpdatePoolsOK) SetPayload(payload *models.Tenant)

SetPayload sets the payload to the tenant update pools o k response

func (*TenantUpdatePoolsOK) WithPayload ¶

func (o *TenantUpdatePoolsOK) WithPayload(payload *models.Tenant) *TenantUpdatePoolsOK

WithPayload adds the payload to the tenant update pools o k response

func (*TenantUpdatePoolsOK) WriteResponse ¶

func (o *TenantUpdatePoolsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantUpdatePoolsParams ¶

type TenantUpdatePoolsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.PoolUpdateRequest
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

TenantUpdatePoolsParams contains all the bound params for the tenant update pools operation typically these are obtained from a http.Request

swagger:parameters TenantUpdatePools

func NewTenantUpdatePoolsParams ¶

func NewTenantUpdatePoolsParams() TenantUpdatePoolsParams

NewTenantUpdatePoolsParams creates a new TenantUpdatePoolsParams object

There are no default values defined in the spec.

func (*TenantUpdatePoolsParams) BindRequest ¶

func (o *TenantUpdatePoolsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewTenantUpdatePoolsParams() beforehand.

type TenantUpdatePoolsURL ¶

type TenantUpdatePoolsURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

TenantUpdatePoolsURL generates an URL for the tenant update pools operation

func (*TenantUpdatePoolsURL) Build ¶

func (o *TenantUpdatePoolsURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantUpdatePoolsURL) BuildFull ¶

func (o *TenantUpdatePoolsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TenantUpdatePoolsURL) Must ¶

func (o *TenantUpdatePoolsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TenantUpdatePoolsURL) SetBasePath ¶

func (o *TenantUpdatePoolsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TenantUpdatePoolsURL) String ¶

func (o *TenantUpdatePoolsURL) String() string

String returns the string representation of the path with query string

func (*TenantUpdatePoolsURL) StringFull ¶

func (o *TenantUpdatePoolsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantUpdatePoolsURL) WithBasePath ¶

func (o *TenantUpdatePoolsURL) WithBasePath(bp string) *TenantUpdatePoolsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TenantWidgetDetails ¶

type TenantWidgetDetails struct {
	Context *middleware.Context
	Handler TenantWidgetDetailsHandler
}
TenantWidgetDetails swagger:route GET /namespaces/{namespace}/tenants/{tenant}/info/widgets/{widgetId} AdminAPI tenantWidgetDetails

Returns information about a tenant deployment

func NewTenantWidgetDetails ¶

func NewTenantWidgetDetails(ctx *middleware.Context, handler TenantWidgetDetailsHandler) *TenantWidgetDetails

NewTenantWidgetDetails creates a new http.Handler for the tenant widget details operation

func (*TenantWidgetDetails) ServeHTTP ¶

func (o *TenantWidgetDetails) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantWidgetDetailsDefault ¶

type TenantWidgetDetailsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

TenantWidgetDetailsDefault Generic error response.

swagger:response tenantWidgetDetailsDefault

func NewTenantWidgetDetailsDefault ¶

func NewTenantWidgetDetailsDefault(code int) *TenantWidgetDetailsDefault

NewTenantWidgetDetailsDefault creates TenantWidgetDetailsDefault with default headers values

func (*TenantWidgetDetailsDefault) SetPayload ¶

func (o *TenantWidgetDetailsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tenant widget details default response

func (*TenantWidgetDetailsDefault) SetStatusCode ¶

func (o *TenantWidgetDetailsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant widget details default response

func (*TenantWidgetDetailsDefault) WithPayload ¶

WithPayload adds the payload to the tenant widget details default response

func (*TenantWidgetDetailsDefault) WithStatusCode ¶

WithStatusCode adds the status to the tenant widget details default response

func (*TenantWidgetDetailsDefault) WriteResponse ¶

func (o *TenantWidgetDetailsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantWidgetDetailsHandler ¶

type TenantWidgetDetailsHandler interface {
	Handle(TenantWidgetDetailsParams, *models.Principal) middleware.Responder
}

TenantWidgetDetailsHandler interface for that can handle valid tenant widget details params

type TenantWidgetDetailsHandlerFunc ¶

type TenantWidgetDetailsHandlerFunc func(TenantWidgetDetailsParams, *models.Principal) middleware.Responder

TenantWidgetDetailsHandlerFunc turns a function with the right signature into a tenant widget details handler

func (TenantWidgetDetailsHandlerFunc) Handle ¶

Handle executing the request and returning a response

type TenantWidgetDetailsOK ¶

type TenantWidgetDetailsOK struct {

	/*
	  In: Body
	*/
	Payload *models.WidgetDetails `json:"body,omitempty"`
}

TenantWidgetDetailsOK A successful response.

swagger:response tenantWidgetDetailsOK

func NewTenantWidgetDetailsOK ¶

func NewTenantWidgetDetailsOK() *TenantWidgetDetailsOK

NewTenantWidgetDetailsOK creates TenantWidgetDetailsOK with default headers values

func (*TenantWidgetDetailsOK) SetPayload ¶

func (o *TenantWidgetDetailsOK) SetPayload(payload *models.WidgetDetails)

SetPayload sets the payload to the tenant widget details o k response

func (*TenantWidgetDetailsOK) WithPayload ¶

WithPayload adds the payload to the tenant widget details o k response

func (*TenantWidgetDetailsOK) WriteResponse ¶

func (o *TenantWidgetDetailsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantWidgetDetailsParams ¶

type TenantWidgetDetailsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	*/
	End *int64
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  In: query
	*/
	Start *int64
	/*
	  In: query
	*/
	Step *int32
	/*
	  Required: true
	  In: path
	*/
	Tenant string
	/*
	  Required: true
	  In: path
	*/
	WidgetID int32
}

TenantWidgetDetailsParams contains all the bound params for the tenant widget details operation typically these are obtained from a http.Request

swagger:parameters TenantWidgetDetails

func NewTenantWidgetDetailsParams ¶

func NewTenantWidgetDetailsParams() TenantWidgetDetailsParams

NewTenantWidgetDetailsParams creates a new TenantWidgetDetailsParams object

There are no default values defined in the spec.

func (*TenantWidgetDetailsParams) 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 NewTenantWidgetDetailsParams() beforehand.

type TenantWidgetDetailsURL ¶

type TenantWidgetDetailsURL struct {
	Namespace string
	Tenant    string
	WidgetID  int32

	End   *int64
	Start *int64
	Step  *int32
	// contains filtered or unexported fields
}

TenantWidgetDetailsURL generates an URL for the tenant widget details operation

func (*TenantWidgetDetailsURL) Build ¶

func (o *TenantWidgetDetailsURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantWidgetDetailsURL) BuildFull ¶

func (o *TenantWidgetDetailsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TenantWidgetDetailsURL) Must ¶

func (o *TenantWidgetDetailsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TenantWidgetDetailsURL) SetBasePath ¶

func (o *TenantWidgetDetailsURL) 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 (*TenantWidgetDetailsURL) String ¶

func (o *TenantWidgetDetailsURL) String() string

String returns the string representation of the path with query string

func (*TenantWidgetDetailsURL) StringFull ¶

func (o *TenantWidgetDetailsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantWidgetDetailsURL) 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 TiersList ¶

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 ¶

func NewTiersList(ctx *middleware.Context, handler TiersListHandler) *TiersList

NewTiersList creates a new http.Handler for the tiers list operation

func (*TiersList) ServeHTTP ¶

func (o *TiersList) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TiersListDefault ¶

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 ¶

func NewTiersListDefault(code int) *TiersListDefault

NewTiersListDefault creates TiersListDefault with default headers values

func (*TiersListDefault) SetPayload ¶

func (o *TiersListDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tiers list default response

func (*TiersListDefault) SetStatusCode ¶

func (o *TiersListDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tiers list default response

func (*TiersListDefault) WithPayload ¶

func (o *TiersListDefault) WithPayload(payload *models.Error) *TiersListDefault

WithPayload adds the payload to the tiers list default response

func (*TiersListDefault) WithStatusCode ¶

func (o *TiersListDefault) WithStatusCode(code int) *TiersListDefault

WithStatusCode adds the status to the tiers list default response

func (*TiersListDefault) WriteResponse ¶

func (o *TiersListDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TiersListHandler ¶

type TiersListHandler interface {
	Handle(TiersListParams, *models.Principal) middleware.Responder
}

TiersListHandler interface for that can handle valid tiers list params

type TiersListHandlerFunc ¶

type TiersListHandlerFunc func(TiersListParams, *models.Principal) middleware.Responder

TiersListHandlerFunc turns a function with the right signature into a tiers list handler

func (TiersListHandlerFunc) Handle ¶

Handle executing the request and returning a response

type TiersListOK ¶

type TiersListOK struct {

	/*
	  In: Body
	*/
	Payload *models.TierListResponse `json:"body,omitempty"`
}

TiersListOK A successful response.

swagger:response tiersListOK

func NewTiersListOK ¶

func NewTiersListOK() *TiersListOK

NewTiersListOK creates TiersListOK with default headers values

func (*TiersListOK) SetPayload ¶

func (o *TiersListOK) SetPayload(payload *models.TierListResponse)

SetPayload sets the payload to the tiers list o k response

func (*TiersListOK) WithPayload ¶

func (o *TiersListOK) WithPayload(payload *models.TierListResponse) *TiersListOK

WithPayload adds the payload to the tiers list o k response

func (*TiersListOK) WriteResponse ¶

func (o *TiersListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TiersListParams ¶

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 ¶

func NewTiersListParams() TiersListParams

NewTiersListParams creates a new TiersListParams object

There are no default values defined in the spec.

func (*TiersListParams) BindRequest ¶

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 ¶

type TiersListURL struct {
	// contains filtered or unexported fields
}

TiersListURL generates an URL for the tiers list operation

func (*TiersListURL) Build ¶

func (o *TiersListURL) Build() (*url.URL, error)

Build a url path and query string

func (*TiersListURL) BuildFull ¶

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 ¶

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 ¶

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 ¶

func (o *TiersListURL) String() string

String returns the string representation of the path with query string

func (*TiersListURL) StringFull ¶

func (o *TiersListURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TiersListURL) WithBasePath ¶

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

There are no default values defined in the 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

There are no default values defined in the spec.

func (*UpdateTenantParams) BindRequest ¶

func (o *UpdateTenantParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateTenantParams() beforehand.

type UpdateTenantSecurity ¶

type UpdateTenantSecurity struct {
	Context *middleware.Context
	Handler UpdateTenantSecurityHandler
}
UpdateTenantSecurity swagger:route POST /namespaces/{namespace}/tenants/{tenant}/security AdminAPI updateTenantSecurity

Update Tenant Security

func NewUpdateTenantSecurity ¶

func NewUpdateTenantSecurity(ctx *middleware.Context, handler UpdateTenantSecurityHandler) *UpdateTenantSecurity

NewUpdateTenantSecurity creates a new http.Handler for the update tenant security operation

func (*UpdateTenantSecurity) ServeHTTP ¶

func (o *UpdateTenantSecurity) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateTenantSecurityDefault ¶

type UpdateTenantSecurityDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UpdateTenantSecurityDefault Generic error response.

swagger:response updateTenantSecurityDefault

func NewUpdateTenantSecurityDefault ¶

func NewUpdateTenantSecurityDefault(code int) *UpdateTenantSecurityDefault

NewUpdateTenantSecurityDefault creates UpdateTenantSecurityDefault with default headers values

func (*UpdateTenantSecurityDefault) SetPayload ¶

func (o *UpdateTenantSecurityDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the update tenant security default response

func (*UpdateTenantSecurityDefault) SetStatusCode ¶

func (o *UpdateTenantSecurityDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update tenant security default response

func (*UpdateTenantSecurityDefault) WithPayload ¶

WithPayload adds the payload to the update tenant security default response

func (*UpdateTenantSecurityDefault) WithStatusCode ¶

WithStatusCode adds the status to the update tenant security default response

func (*UpdateTenantSecurityDefault) WriteResponse ¶

func (o *UpdateTenantSecurityDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateTenantSecurityHandler ¶

type UpdateTenantSecurityHandler interface {
	Handle(UpdateTenantSecurityParams, *models.Principal) middleware.Responder
}

UpdateTenantSecurityHandler interface for that can handle valid update tenant security params

type UpdateTenantSecurityHandlerFunc ¶

type UpdateTenantSecurityHandlerFunc func(UpdateTenantSecurityParams, *models.Principal) middleware.Responder

UpdateTenantSecurityHandlerFunc turns a function with the right signature into a update tenant security handler

func (UpdateTenantSecurityHandlerFunc) Handle ¶

Handle executing the request and returning a response

type UpdateTenantSecurityNoContent ¶

type UpdateTenantSecurityNoContent struct {
}

UpdateTenantSecurityNoContent A successful response.

swagger:response updateTenantSecurityNoContent

func NewUpdateTenantSecurityNoContent ¶

func NewUpdateTenantSecurityNoContent() *UpdateTenantSecurityNoContent

NewUpdateTenantSecurityNoContent creates UpdateTenantSecurityNoContent with default headers values

func (*UpdateTenantSecurityNoContent) WriteResponse ¶

func (o *UpdateTenantSecurityNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateTenantSecurityParams ¶

type UpdateTenantSecurityParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.UpdateTenantSecurityRequest
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

UpdateTenantSecurityParams contains all the bound params for the update tenant security operation typically these are obtained from a http.Request

swagger:parameters UpdateTenantSecurity

func NewUpdateTenantSecurityParams ¶

func NewUpdateTenantSecurityParams() UpdateTenantSecurityParams

NewUpdateTenantSecurityParams creates a new UpdateTenantSecurityParams object

There are no default values defined in the spec.

func (*UpdateTenantSecurityParams) BindRequest ¶

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateTenantSecurityParams() beforehand.

type UpdateTenantSecurityURL ¶

type UpdateTenantSecurityURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

UpdateTenantSecurityURL generates an URL for the update tenant security operation

func (*UpdateTenantSecurityURL) Build ¶

func (o *UpdateTenantSecurityURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateTenantSecurityURL) BuildFull ¶

func (o *UpdateTenantSecurityURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateTenantSecurityURL) Must ¶

func (o *UpdateTenantSecurityURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateTenantSecurityURL) SetBasePath ¶

func (o *UpdateTenantSecurityURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateTenantSecurityURL) String ¶

func (o *UpdateTenantSecurityURL) String() string

String returns the string representation of the path with query string

func (*UpdateTenantSecurityURL) StringFull ¶

func (o *UpdateTenantSecurityURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateTenantSecurityURL) WithBasePath ¶

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateTenantURL ¶

type UpdateTenantURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

UpdateTenantURL generates an URL for the update tenant operation

func (*UpdateTenantURL) Build ¶

func (o *UpdateTenantURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateTenantURL) BuildFull ¶

func (o *UpdateTenantURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateTenantURL) Must ¶

func (o *UpdateTenantURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateTenantURL) SetBasePath ¶

func (o *UpdateTenantURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateTenantURL) String ¶

func (o *UpdateTenantURL) String() string

String returns the string representation of the path with query string

func (*UpdateTenantURL) StringFull ¶

func (o *UpdateTenantURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateTenantURL) WithBasePath ¶

func (o *UpdateTenantURL) WithBasePath(bp string) *UpdateTenantURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

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

There are no default values defined in the 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

There are no default values defined in the 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