admin_api

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 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 CreateAUserServiceAccountCreatedCode int = 201

CreateAUserServiceAccountCreatedCode is the HTTP code returned for type CreateAUserServiceAccountCreated

View Source
const CreateServiceAccountCredentialsCreatedCode int = 201

CreateServiceAccountCredentialsCreatedCode is the HTTP code returned for type CreateServiceAccountCredentialsCreated

View Source
const CreateServiceAccountCredsCreatedCode int = 201

CreateServiceAccountCredsCreatedCode is the HTTP code returned for type CreateServiceAccountCredsCreated

View Source
const DashboardWidgetDetailsOKCode int = 200

DashboardWidgetDetailsOKCode is the HTTP code returned for type DashboardWidgetDetailsOK

View Source
const DeleteAccessRuleWithBucketOKCode int = 200

DeleteAccessRuleWithBucketOKCode is the HTTP code returned for type DeleteAccessRuleWithBucketOK

View Source
const EditTierCredentialsOKCode int = 200

EditTierCredentialsOKCode is the HTTP code returned for type EditTierCredentialsOK

View Source
const GetSiteReplicationInfoOKCode int = 200

GetSiteReplicationInfoOKCode is the HTTP code returned for type GetSiteReplicationInfoOK

View Source
const GetSiteReplicationStatusOKCode int = 200

GetSiteReplicationStatusOKCode is the HTTP code returned for type GetSiteReplicationStatusOK

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

InspectOKCode is the HTTP code returned for type InspectOK

View Source
const ListAUserServiceAccountsOKCode int = 200

ListAUserServiceAccountsOKCode is the HTTP code returned for type ListAUserServiceAccountsOK

View Source
const ListAccessRulesWithBucketOKCode int = 200

ListAccessRulesWithBucketOKCode is the HTTP code returned for type ListAccessRulesWithBucketOK

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

ListNodesOKCode is the HTTP code returned for type ListNodesOK

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

ResetConfigOKCode is the HTTP code returned for type ResetConfigOK

View Source
const RestartServiceNoContentCode int = 204

RestartServiceNoContentCode is the HTTP code returned for type RestartServiceNoContent

View Source
const SetAccessRuleWithBucketOKCode int = 200

SetAccessRuleWithBucketOKCode is the HTTP code returned for type SetAccessRuleWithBucketOK

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

SiteReplicationEditOKCode is the HTTP code returned for type SiteReplicationEditOK

View Source
const SiteReplicationInfoAddOKCode int = 200

SiteReplicationInfoAddOKCode is the HTTP code returned for type SiteReplicationInfoAddOK

View Source
const SiteReplicationRemoveNoContentCode int = 204

SiteReplicationRemoveNoContentCode is the HTTP code returned for type SiteReplicationRemoveNoContent

View Source
const SubnetInfoOKCode int = 200

SubnetInfoOKCode is the HTTP code returned for type SubnetInfoOK

View Source
const SubnetLoginMFAOKCode int = 200

SubnetLoginMFAOKCode is the HTTP code returned for type SubnetLoginMFAOK

View Source
const SubnetLoginOKCode int = 200

SubnetLoginOKCode is the HTTP code returned for type SubnetLoginOK

View Source
const SubnetRegTokenOKCode int = 200

SubnetRegTokenOKCode is the HTTP code returned for type SubnetRegTokenOK

View Source
const SubnetRegisterOKCode int = 200

SubnetRegisterOKCode is the HTTP code returned for type SubnetRegisterOK

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

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

Allows to configure a new tier

func NewAddTier ¶ added in v0.7.0

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

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

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

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

type AddTierCreated ¶ added in v0.7.0

type AddTierCreated struct {
}

AddTierCreated A successful response.

swagger:response addTierCreated

func NewAddTierCreated ¶ added in v0.7.0

func NewAddTierCreated() *AddTierCreated

NewAddTierCreated creates AddTierCreated with default headers values

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

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

WriteResponse to the client

type AddTierDefault ¶ added in v0.7.0

type AddTierDefault struct {

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

AddTierDefault Generic error response.

swagger:response addTierDefault

func NewAddTierDefault ¶ added in v0.7.0

func NewAddTierDefault(code int) *AddTierDefault

NewAddTierDefault creates AddTierDefault with default headers values

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

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

SetPayload sets the payload to the add tier default response

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

func (o *AddTierDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add tier default response

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

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

WithPayload adds the payload to the add tier default response

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

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

WithStatusCode adds the status to the add tier default response

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

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

WriteResponse to the client

type AddTierHandler ¶ added in v0.7.0

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

AddTierHandler interface for that can handle valid add tier params

type AddTierHandlerFunc ¶ added in v0.7.0

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

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

func (AddTierHandlerFunc) Handle ¶ added in v0.7.0

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

Handle executing the request and returning a response

type AddTierParams ¶ added in v0.7.0

type AddTierParams struct {

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

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

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

swagger:parameters AddTier

func NewAddTierParams ¶ added in v0.7.0

func NewAddTierParams() AddTierParams

NewAddTierParams creates a new AddTierParams object

There are no default values defined in the spec.

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

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

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

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

type AddTierURL ¶ added in v0.7.0

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

AddTierURL generates an URL for the add tier operation

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

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

Build a url path and query string

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

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

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

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

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

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

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

func (o *AddTierURL) SetBasePath(bp string)

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

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

func (o *AddTierURL) String() string

String returns the string representation of the path with query string

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

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

StringFull returns the string representation of a complete url

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

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

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

type AddUser ¶

type AddUser struct {
	Context *middleware.Context
	Handler AddUserHandler
}
AddUser swagger:route POST /users AdminAPI addUser

Add User

func NewAddUser ¶

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

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

func (*AddUser) ServeHTTP ¶

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

type AddUserCreated ¶

type AddUserCreated struct {

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

AddUserCreated A successful response.

swagger:response addUserCreated

func NewAddUserCreated ¶

func NewAddUserCreated() *AddUserCreated

NewAddUserCreated creates AddUserCreated with default headers values

func (*AddUserCreated) SetPayload ¶

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

SetPayload sets the payload to the add user created response

func (*AddUserCreated) WithPayload ¶

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

WithPayload adds the payload to the add user created response

func (*AddUserCreated) WriteResponse ¶

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

WriteResponse to the client

type AddUserDefault ¶

type AddUserDefault struct {

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

AddUserDefault Generic error response.

swagger:response addUserDefault

func NewAddUserDefault ¶

func NewAddUserDefault(code int) *AddUserDefault

NewAddUserDefault creates AddUserDefault with default headers values

func (*AddUserDefault) SetPayload ¶

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

SetPayload sets the payload to the add user default response

func (*AddUserDefault) SetStatusCode ¶

func (o *AddUserDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add user default response

func (*AddUserDefault) WithPayload ¶

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

WithPayload adds the payload to the add user default response

func (*AddUserDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the add user default response

func (*AddUserDefault) WriteResponse ¶

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

WriteResponse to the client

type AddUserHandler ¶

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

AddUserHandler interface for that can handle valid add user params

type AddUserHandlerFunc ¶

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

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

func (AddUserHandlerFunc) Handle ¶

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

Handle executing the request and returning a response

type AddUserParams ¶

type AddUserParams struct {

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

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

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

swagger:parameters AddUser

func NewAddUserParams ¶

func NewAddUserParams() AddUserParams

NewAddUserParams creates a new AddUserParams object

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:"-"`

	/*
	  In: query
	  Default: false
	*/
	DefaultOnly *bool
}

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 with the default values initialized.

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 {
	DefaultOnly *bool
	// 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 ¶ added in v0.7.5

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

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

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

func (*ChangeUserPassword) ServeHTTP ¶ added in v0.7.5

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

type ChangeUserPasswordCreated ¶ added in v0.7.5

type ChangeUserPasswordCreated struct {
}

ChangeUserPasswordCreated Password successfully changed.

swagger:response changeUserPasswordCreated

func NewChangeUserPasswordCreated ¶ added in v0.7.5

func NewChangeUserPasswordCreated() *ChangeUserPasswordCreated

NewChangeUserPasswordCreated creates ChangeUserPasswordCreated with default headers values

func (*ChangeUserPasswordCreated) WriteResponse ¶ added in v0.7.5

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

WriteResponse to the client

type ChangeUserPasswordDefault ¶ added in v0.7.5

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

func NewChangeUserPasswordDefault(code int) *ChangeUserPasswordDefault

NewChangeUserPasswordDefault creates ChangeUserPasswordDefault with default headers values

func (*ChangeUserPasswordDefault) SetPayload ¶ added in v0.7.5

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

SetPayload sets the payload to the change user password default response

func (*ChangeUserPasswordDefault) SetStatusCode ¶ added in v0.7.5

func (o *ChangeUserPasswordDefault) SetStatusCode(code int)

SetStatusCode sets the status to the change user password default response

func (*ChangeUserPasswordDefault) WithPayload ¶ added in v0.7.5

WithPayload adds the payload to the change user password default response

func (*ChangeUserPasswordDefault) WithStatusCode ¶ added in v0.7.5

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

WithStatusCode adds the status to the change user password default response

func (*ChangeUserPasswordDefault) WriteResponse ¶ added in v0.7.5

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

WriteResponse to the client

type ChangeUserPasswordHandler ¶ added in v0.7.5

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

ChangeUserPasswordHandler interface for that can handle valid change user password params

type ChangeUserPasswordHandlerFunc ¶ added in v0.7.5

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

Handle executing the request and returning a response

type ChangeUserPasswordParams ¶ added in v0.7.5

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

func NewChangeUserPasswordParams() ChangeUserPasswordParams

NewChangeUserPasswordParams creates a new ChangeUserPasswordParams object

There are no default values defined in the spec.

func (*ChangeUserPasswordParams) BindRequest ¶ added in v0.7.5

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

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

type ChangeUserPasswordURL ¶ added in v0.7.5

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

ChangeUserPasswordURL generates an URL for the change user password operation

func (*ChangeUserPasswordURL) Build ¶ added in v0.7.5

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

Build a url path and query string

func (*ChangeUserPasswordURL) BuildFull ¶ added in v0.7.5

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

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

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

func (o *ChangeUserPasswordURL) String() string

String returns the string representation of the path with query string

func (*ChangeUserPasswordURL) StringFull ¶ added in v0.7.5

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

StringFull returns the string representation of a complete url

func (*ChangeUserPasswordURL) WithBasePath ¶ added in v0.7.5

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

type CreateAUserServiceAccount struct {
	Context *middleware.Context
	Handler CreateAUserServiceAccountHandler
}
CreateAUserServiceAccount swagger:route POST /user/{name}/service-accounts AdminAPI createAUserServiceAccount

Create Service Account for User

func NewCreateAUserServiceAccount ¶ added in v0.9.3

func NewCreateAUserServiceAccount(ctx *middleware.Context, handler CreateAUserServiceAccountHandler) *CreateAUserServiceAccount

NewCreateAUserServiceAccount creates a new http.Handler for the create a user service account operation

func (*CreateAUserServiceAccount) ServeHTTP ¶ added in v0.9.3

type CreateAUserServiceAccountCreated ¶ added in v0.9.3

type CreateAUserServiceAccountCreated struct {

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

CreateAUserServiceAccountCreated A successful response.

swagger:response createAUserServiceAccountCreated

func NewCreateAUserServiceAccountCreated ¶ added in v0.9.3

func NewCreateAUserServiceAccountCreated() *CreateAUserServiceAccountCreated

NewCreateAUserServiceAccountCreated creates CreateAUserServiceAccountCreated with default headers values

func (*CreateAUserServiceAccountCreated) SetPayload ¶ added in v0.9.3

SetPayload sets the payload to the create a user service account created response

func (*CreateAUserServiceAccountCreated) WithPayload ¶ added in v0.9.3

WithPayload adds the payload to the create a user service account created response

func (*CreateAUserServiceAccountCreated) WriteResponse ¶ added in v0.9.3

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

WriteResponse to the client

type CreateAUserServiceAccountDefault ¶ added in v0.9.3

type CreateAUserServiceAccountDefault struct {

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

CreateAUserServiceAccountDefault Generic error response.

swagger:response createAUserServiceAccountDefault

func NewCreateAUserServiceAccountDefault ¶ added in v0.9.3

func NewCreateAUserServiceAccountDefault(code int) *CreateAUserServiceAccountDefault

NewCreateAUserServiceAccountDefault creates CreateAUserServiceAccountDefault with default headers values

func (*CreateAUserServiceAccountDefault) SetPayload ¶ added in v0.9.3

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

SetPayload sets the payload to the create a user service account default response

func (*CreateAUserServiceAccountDefault) SetStatusCode ¶ added in v0.9.3

func (o *CreateAUserServiceAccountDefault) SetStatusCode(code int)

SetStatusCode sets the status to the create a user service account default response

func (*CreateAUserServiceAccountDefault) WithPayload ¶ added in v0.9.3

WithPayload adds the payload to the create a user service account default response

func (*CreateAUserServiceAccountDefault) WithStatusCode ¶ added in v0.9.3

WithStatusCode adds the status to the create a user service account default response

func (*CreateAUserServiceAccountDefault) WriteResponse ¶ added in v0.9.3

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

WriteResponse to the client

type CreateAUserServiceAccountHandler ¶ added in v0.9.3

type CreateAUserServiceAccountHandler interface {
	Handle(CreateAUserServiceAccountParams, *models.Principal) middleware.Responder
}

CreateAUserServiceAccountHandler interface for that can handle valid create a user service account params

type CreateAUserServiceAccountHandlerFunc ¶ added in v0.9.3

type CreateAUserServiceAccountHandlerFunc func(CreateAUserServiceAccountParams, *models.Principal) middleware.Responder

CreateAUserServiceAccountHandlerFunc turns a function with the right signature into a create a user service account handler

func (CreateAUserServiceAccountHandlerFunc) Handle ¶ added in v0.9.3

Handle executing the request and returning a response

type CreateAUserServiceAccountParams ¶ added in v0.9.3

type CreateAUserServiceAccountParams struct {

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

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

CreateAUserServiceAccountParams contains all the bound params for the create a user service account operation typically these are obtained from a http.Request

swagger:parameters CreateAUserServiceAccount

func NewCreateAUserServiceAccountParams ¶ added in v0.9.3

func NewCreateAUserServiceAccountParams() CreateAUserServiceAccountParams

NewCreateAUserServiceAccountParams creates a new CreateAUserServiceAccountParams object

There are no default values defined in the spec.

func (*CreateAUserServiceAccountParams) BindRequest ¶ added in v0.9.3

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

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

type CreateAUserServiceAccountURL ¶ added in v0.9.3

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

CreateAUserServiceAccountURL generates an URL for the create a user service account operation

func (*CreateAUserServiceAccountURL) Build ¶ added in v0.9.3

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

Build a url path and query string

func (*CreateAUserServiceAccountURL) BuildFull ¶ added in v0.9.3

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

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

func (*CreateAUserServiceAccountURL) Must ¶ added in v0.9.3

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

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

func (*CreateAUserServiceAccountURL) SetBasePath ¶ added in v0.9.3

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

String returns the string representation of the path with query string

func (*CreateAUserServiceAccountURL) StringFull ¶ added in v0.9.3

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

StringFull returns the string representation of a complete url

func (*CreateAUserServiceAccountURL) WithBasePath ¶ added in v0.9.3

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

type CreateServiceAccountCredentials ¶ added in v0.9.6

type CreateServiceAccountCredentials struct {
	Context *middleware.Context
	Handler CreateServiceAccountCredentialsHandler
}
CreateServiceAccountCredentials swagger:route POST /user/{name}/service-account-credentials AdminAPI createServiceAccountCredentials

Create Service Account for User With Credentials

func NewCreateServiceAccountCredentials ¶ added in v0.9.6

func NewCreateServiceAccountCredentials(ctx *middleware.Context, handler CreateServiceAccountCredentialsHandler) *CreateServiceAccountCredentials

NewCreateServiceAccountCredentials creates a new http.Handler for the create service account credentials operation

func (*CreateServiceAccountCredentials) ServeHTTP ¶ added in v0.9.6

type CreateServiceAccountCredentialsCreated ¶ added in v0.9.6

type CreateServiceAccountCredentialsCreated struct {

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

CreateServiceAccountCredentialsCreated A successful response.

swagger:response createServiceAccountCredentialsCreated

func NewCreateServiceAccountCredentialsCreated ¶ added in v0.9.6

func NewCreateServiceAccountCredentialsCreated() *CreateServiceAccountCredentialsCreated

NewCreateServiceAccountCredentialsCreated creates CreateServiceAccountCredentialsCreated with default headers values

func (*CreateServiceAccountCredentialsCreated) SetPayload ¶ added in v0.9.6

SetPayload sets the payload to the create service account credentials created response

func (*CreateServiceAccountCredentialsCreated) WithPayload ¶ added in v0.9.6

WithPayload adds the payload to the create service account credentials created response

func (*CreateServiceAccountCredentialsCreated) WriteResponse ¶ added in v0.9.6

WriteResponse to the client

type CreateServiceAccountCredentialsDefault ¶ added in v0.9.6

type CreateServiceAccountCredentialsDefault struct {

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

CreateServiceAccountCredentialsDefault Generic error response.

swagger:response createServiceAccountCredentialsDefault

func NewCreateServiceAccountCredentialsDefault ¶ added in v0.9.6

func NewCreateServiceAccountCredentialsDefault(code int) *CreateServiceAccountCredentialsDefault

NewCreateServiceAccountCredentialsDefault creates CreateServiceAccountCredentialsDefault with default headers values

func (*CreateServiceAccountCredentialsDefault) SetPayload ¶ added in v0.9.6

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

SetPayload sets the payload to the create service account credentials default response

func (*CreateServiceAccountCredentialsDefault) SetStatusCode ¶ added in v0.9.6

func (o *CreateServiceAccountCredentialsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the create service account credentials default response

func (*CreateServiceAccountCredentialsDefault) WithPayload ¶ added in v0.9.6

WithPayload adds the payload to the create service account credentials default response

func (*CreateServiceAccountCredentialsDefault) WithStatusCode ¶ added in v0.9.6

WithStatusCode adds the status to the create service account credentials default response

func (*CreateServiceAccountCredentialsDefault) WriteResponse ¶ added in v0.9.6

WriteResponse to the client

type CreateServiceAccountCredentialsHandler ¶ added in v0.9.6

type CreateServiceAccountCredentialsHandler interface {
	Handle(CreateServiceAccountCredentialsParams, *models.Principal) middleware.Responder
}

CreateServiceAccountCredentialsHandler interface for that can handle valid create service account credentials params

type CreateServiceAccountCredentialsHandlerFunc ¶ added in v0.9.6

type CreateServiceAccountCredentialsHandlerFunc func(CreateServiceAccountCredentialsParams, *models.Principal) middleware.Responder

CreateServiceAccountCredentialsHandlerFunc turns a function with the right signature into a create service account credentials handler

func (CreateServiceAccountCredentialsHandlerFunc) Handle ¶ added in v0.9.6

Handle executing the request and returning a response

type CreateServiceAccountCredentialsParams ¶ added in v0.9.6

type CreateServiceAccountCredentialsParams struct {

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

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

CreateServiceAccountCredentialsParams contains all the bound params for the create service account credentials operation typically these are obtained from a http.Request

swagger:parameters CreateServiceAccountCredentials

func NewCreateServiceAccountCredentialsParams ¶ added in v0.9.6

func NewCreateServiceAccountCredentialsParams() CreateServiceAccountCredentialsParams

NewCreateServiceAccountCredentialsParams creates a new CreateServiceAccountCredentialsParams object

There are no default values defined in the spec.

func (*CreateServiceAccountCredentialsParams) BindRequest ¶ added in v0.9.6

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

type CreateServiceAccountCredentialsURL ¶ added in v0.9.6

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

CreateServiceAccountCredentialsURL generates an URL for the create service account credentials operation

func (*CreateServiceAccountCredentialsURL) Build ¶ added in v0.9.6

Build a url path and query string

func (*CreateServiceAccountCredentialsURL) BuildFull ¶ added in v0.9.6

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

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

func (*CreateServiceAccountCredentialsURL) Must ¶ added in v0.9.6

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

func (*CreateServiceAccountCredentialsURL) SetBasePath ¶ added in v0.9.6

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

String returns the string representation of the path with query string

func (*CreateServiceAccountCredentialsURL) StringFull ¶ added in v0.9.6

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

StringFull returns the string representation of a complete url

func (*CreateServiceAccountCredentialsURL) WithBasePath ¶ added in v0.9.6

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

type CreateServiceAccountCreds struct {
	Context *middleware.Context
	Handler CreateServiceAccountCredsHandler
}
CreateServiceAccountCreds swagger:route POST /service-account-credentials AdminAPI createServiceAccountCreds

Create Service Account With Credentials

func NewCreateServiceAccountCreds ¶ added in v0.9.6

func NewCreateServiceAccountCreds(ctx *middleware.Context, handler CreateServiceAccountCredsHandler) *CreateServiceAccountCreds

NewCreateServiceAccountCreds creates a new http.Handler for the create service account creds operation

func (*CreateServiceAccountCreds) ServeHTTP ¶ added in v0.9.6

type CreateServiceAccountCredsCreated ¶ added in v0.9.6

type CreateServiceAccountCredsCreated struct {

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

CreateServiceAccountCredsCreated A successful response.

swagger:response createServiceAccountCredsCreated

func NewCreateServiceAccountCredsCreated ¶ added in v0.9.6

func NewCreateServiceAccountCredsCreated() *CreateServiceAccountCredsCreated

NewCreateServiceAccountCredsCreated creates CreateServiceAccountCredsCreated with default headers values

func (*CreateServiceAccountCredsCreated) SetPayload ¶ added in v0.9.6

SetPayload sets the payload to the create service account creds created response

func (*CreateServiceAccountCredsCreated) WithPayload ¶ added in v0.9.6

WithPayload adds the payload to the create service account creds created response

func (*CreateServiceAccountCredsCreated) WriteResponse ¶ added in v0.9.6

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

WriteResponse to the client

type CreateServiceAccountCredsDefault ¶ added in v0.9.6

type CreateServiceAccountCredsDefault struct {

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

CreateServiceAccountCredsDefault Generic error response.

swagger:response createServiceAccountCredsDefault

func NewCreateServiceAccountCredsDefault ¶ added in v0.9.6

func NewCreateServiceAccountCredsDefault(code int) *CreateServiceAccountCredsDefault

NewCreateServiceAccountCredsDefault creates CreateServiceAccountCredsDefault with default headers values

func (*CreateServiceAccountCredsDefault) SetPayload ¶ added in v0.9.6

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

SetPayload sets the payload to the create service account creds default response

func (*CreateServiceAccountCredsDefault) SetStatusCode ¶ added in v0.9.6

func (o *CreateServiceAccountCredsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the create service account creds default response

func (*CreateServiceAccountCredsDefault) WithPayload ¶ added in v0.9.6

WithPayload adds the payload to the create service account creds default response

func (*CreateServiceAccountCredsDefault) WithStatusCode ¶ added in v0.9.6

WithStatusCode adds the status to the create service account creds default response

func (*CreateServiceAccountCredsDefault) WriteResponse ¶ added in v0.9.6

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

WriteResponse to the client

type CreateServiceAccountCredsHandler ¶ added in v0.9.6

type CreateServiceAccountCredsHandler interface {
	Handle(CreateServiceAccountCredsParams, *models.Principal) middleware.Responder
}

CreateServiceAccountCredsHandler interface for that can handle valid create service account creds params

type CreateServiceAccountCredsHandlerFunc ¶ added in v0.9.6

type CreateServiceAccountCredsHandlerFunc func(CreateServiceAccountCredsParams, *models.Principal) middleware.Responder

CreateServiceAccountCredsHandlerFunc turns a function with the right signature into a create service account creds handler

func (CreateServiceAccountCredsHandlerFunc) Handle ¶ added in v0.9.6

Handle executing the request and returning a response

type CreateServiceAccountCredsParams ¶ added in v0.9.6

type CreateServiceAccountCredsParams struct {

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

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

CreateServiceAccountCredsParams contains all the bound params for the create service account creds operation typically these are obtained from a http.Request

swagger:parameters CreateServiceAccountCreds

func NewCreateServiceAccountCredsParams ¶ added in v0.9.6

func NewCreateServiceAccountCredsParams() CreateServiceAccountCredsParams

NewCreateServiceAccountCredsParams creates a new CreateServiceAccountCredsParams object

There are no default values defined in the spec.

func (*CreateServiceAccountCredsParams) BindRequest ¶ added in v0.9.6

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

type CreateServiceAccountCredsURL ¶ added in v0.9.6

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

CreateServiceAccountCredsURL generates an URL for the create service account creds operation

func (*CreateServiceAccountCredsURL) Build ¶ added in v0.9.6

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

Build a url path and query string

func (*CreateServiceAccountCredsURL) BuildFull ¶ added in v0.9.6

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

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

func (*CreateServiceAccountCredsURL) Must ¶ added in v0.9.6

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

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

func (*CreateServiceAccountCredsURL) SetBasePath ¶ added in v0.9.6

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

String returns the string representation of the path with query string

func (*CreateServiceAccountCredsURL) StringFull ¶ added in v0.9.6

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

StringFull returns the string representation of a complete url

func (*CreateServiceAccountCredsURL) WithBasePath ¶ added in v0.9.6

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

type DashboardWidgetDetails ¶ added in v0.7.2

type DashboardWidgetDetails struct {
	Context *middleware.Context
	Handler DashboardWidgetDetailsHandler
}
DashboardWidgetDetails swagger:route GET /admin/info/widgets/{widgetId} AdminAPI dashboardWidgetDetails

Returns information about the deployment

func NewDashboardWidgetDetails ¶ added in v0.7.2

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

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

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

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

type DashboardWidgetDetailsDefault ¶ added in v0.7.2

type DashboardWidgetDetailsDefault struct {

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

DashboardWidgetDetailsDefault Generic error response.

swagger:response dashboardWidgetDetailsDefault

func NewDashboardWidgetDetailsDefault ¶ added in v0.7.2

func NewDashboardWidgetDetailsDefault(code int) *DashboardWidgetDetailsDefault

NewDashboardWidgetDetailsDefault creates DashboardWidgetDetailsDefault with default headers values

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

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

SetPayload sets the payload to the dashboard widget details default response

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

func (o *DashboardWidgetDetailsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the dashboard widget details default response

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

WithPayload adds the payload to the dashboard widget details default response

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

WithStatusCode adds the status to the dashboard widget details default response

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

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

WriteResponse to the client

type DashboardWidgetDetailsHandler ¶ added in v0.7.2

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

DashboardWidgetDetailsHandler interface for that can handle valid dashboard widget details params

type DashboardWidgetDetailsHandlerFunc ¶ added in v0.7.2

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

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

func (DashboardWidgetDetailsHandlerFunc) Handle ¶ added in v0.7.2

Handle executing the request and returning a response

type DashboardWidgetDetailsOK ¶ added in v0.7.2

type DashboardWidgetDetailsOK struct {

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

DashboardWidgetDetailsOK A successful response.

swagger:response dashboardWidgetDetailsOK

func NewDashboardWidgetDetailsOK ¶ added in v0.7.2

func NewDashboardWidgetDetailsOK() *DashboardWidgetDetailsOK

NewDashboardWidgetDetailsOK creates DashboardWidgetDetailsOK with default headers values

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

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

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

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

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

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

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

WriteResponse to the client

type DashboardWidgetDetailsParams ¶ added in v0.7.2

type DashboardWidgetDetailsParams struct {

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

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

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

swagger:parameters DashboardWidgetDetails

func NewDashboardWidgetDetailsParams ¶ added in v0.7.2

func NewDashboardWidgetDetailsParams() DashboardWidgetDetailsParams

NewDashboardWidgetDetailsParams creates a new DashboardWidgetDetailsParams object

There are no default values defined in the spec.

func (*DashboardWidgetDetailsParams) BindRequest ¶ added in v0.7.2

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

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

type DashboardWidgetDetailsURL ¶ added in v0.7.2

type DashboardWidgetDetailsURL struct {
	WidgetID int32

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

DashboardWidgetDetailsURL generates an URL for the dashboard widget details operation

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

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

Build a url path and query string

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

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

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

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

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

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

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

func (o *DashboardWidgetDetailsURL) SetBasePath(bp string)

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

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

func (o *DashboardWidgetDetailsURL) String() string

String returns the string representation of the path with query string

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

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

StringFull returns the string representation of a complete url

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

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

type DeleteAccessRuleWithBucket ¶ added in v0.9.1

type DeleteAccessRuleWithBucket struct {
	Context *middleware.Context
	Handler DeleteAccessRuleWithBucketHandler
}
DeleteAccessRuleWithBucket swagger:route DELETE /bucket/{bucket}/access-rules AdminAPI deleteAccessRuleWithBucket

Delete Access Rule From Given Bucket

func NewDeleteAccessRuleWithBucket ¶ added in v0.9.1

func NewDeleteAccessRuleWithBucket(ctx *middleware.Context, handler DeleteAccessRuleWithBucketHandler) *DeleteAccessRuleWithBucket

NewDeleteAccessRuleWithBucket creates a new http.Handler for the delete access rule with bucket operation

func (*DeleteAccessRuleWithBucket) ServeHTTP ¶ added in v0.9.1

type DeleteAccessRuleWithBucketDefault ¶ added in v0.9.1

type DeleteAccessRuleWithBucketDefault struct {

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

DeleteAccessRuleWithBucketDefault Generic error response.

swagger:response deleteAccessRuleWithBucketDefault

func NewDeleteAccessRuleWithBucketDefault ¶ added in v0.9.1

func NewDeleteAccessRuleWithBucketDefault(code int) *DeleteAccessRuleWithBucketDefault

NewDeleteAccessRuleWithBucketDefault creates DeleteAccessRuleWithBucketDefault with default headers values

func (*DeleteAccessRuleWithBucketDefault) SetPayload ¶ added in v0.9.1

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

SetPayload sets the payload to the delete access rule with bucket default response

func (*DeleteAccessRuleWithBucketDefault) SetStatusCode ¶ added in v0.9.1

func (o *DeleteAccessRuleWithBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete access rule with bucket default response

func (*DeleteAccessRuleWithBucketDefault) WithPayload ¶ added in v0.9.1

WithPayload adds the payload to the delete access rule with bucket default response

func (*DeleteAccessRuleWithBucketDefault) WithStatusCode ¶ added in v0.9.1

WithStatusCode adds the status to the delete access rule with bucket default response

func (*DeleteAccessRuleWithBucketDefault) WriteResponse ¶ added in v0.9.1

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

WriteResponse to the client

type DeleteAccessRuleWithBucketHandler ¶ added in v0.9.1

type DeleteAccessRuleWithBucketHandler interface {
	Handle(DeleteAccessRuleWithBucketParams, *models.Principal) middleware.Responder
}

DeleteAccessRuleWithBucketHandler interface for that can handle valid delete access rule with bucket params

type DeleteAccessRuleWithBucketHandlerFunc ¶ added in v0.9.1

type DeleteAccessRuleWithBucketHandlerFunc func(DeleteAccessRuleWithBucketParams, *models.Principal) middleware.Responder

DeleteAccessRuleWithBucketHandlerFunc turns a function with the right signature into a delete access rule with bucket handler

func (DeleteAccessRuleWithBucketHandlerFunc) Handle ¶ added in v0.9.1

Handle executing the request and returning a response

type DeleteAccessRuleWithBucketOK ¶ added in v0.9.1

type DeleteAccessRuleWithBucketOK struct {

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

DeleteAccessRuleWithBucketOK A successful response.

swagger:response deleteAccessRuleWithBucketOK

func NewDeleteAccessRuleWithBucketOK ¶ added in v0.9.1

func NewDeleteAccessRuleWithBucketOK() *DeleteAccessRuleWithBucketOK

NewDeleteAccessRuleWithBucketOK creates DeleteAccessRuleWithBucketOK with default headers values

func (*DeleteAccessRuleWithBucketOK) SetPayload ¶ added in v0.9.1

func (o *DeleteAccessRuleWithBucketOK) SetPayload(payload bool)

SetPayload sets the payload to the delete access rule with bucket o k response

func (*DeleteAccessRuleWithBucketOK) WithPayload ¶ added in v0.9.1

WithPayload adds the payload to the delete access rule with bucket o k response

func (*DeleteAccessRuleWithBucketOK) WriteResponse ¶ added in v0.9.1

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

WriteResponse to the client

type DeleteAccessRuleWithBucketParams ¶ added in v0.9.1

type DeleteAccessRuleWithBucketParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Bucket string
	/*
	  Required: true
	  In: body
	*/
	Prefix *models.PrefixWrapper
}

DeleteAccessRuleWithBucketParams contains all the bound params for the delete access rule with bucket operation typically these are obtained from a http.Request

swagger:parameters DeleteAccessRuleWithBucket

func NewDeleteAccessRuleWithBucketParams ¶ added in v0.9.1

func NewDeleteAccessRuleWithBucketParams() DeleteAccessRuleWithBucketParams

NewDeleteAccessRuleWithBucketParams creates a new DeleteAccessRuleWithBucketParams object

There are no default values defined in the spec.

func (*DeleteAccessRuleWithBucketParams) BindRequest ¶ added in v0.9.1

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

type DeleteAccessRuleWithBucketURL ¶ added in v0.9.1

type DeleteAccessRuleWithBucketURL struct {
	Bucket string
	// contains filtered or unexported fields
}

DeleteAccessRuleWithBucketURL generates an URL for the delete access rule with bucket operation

func (*DeleteAccessRuleWithBucketURL) Build ¶ added in v0.9.1

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

Build a url path and query string

func (*DeleteAccessRuleWithBucketURL) BuildFull ¶ added in v0.9.1

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

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

func (*DeleteAccessRuleWithBucketURL) Must ¶ added in v0.9.1

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

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

func (*DeleteAccessRuleWithBucketURL) SetBasePath ¶ added in v0.9.1

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

String returns the string representation of the path with query string

func (*DeleteAccessRuleWithBucketURL) StringFull ¶ added in v0.9.1

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

StringFull returns the string representation of a complete url

func (*DeleteAccessRuleWithBucketURL) WithBasePath ¶ added in v0.9.1

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

type EditTierCredentials ¶ added in v0.7.0

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

Edit Tier Credentials

func NewEditTierCredentials ¶ added in v0.7.0

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

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

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

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

type EditTierCredentialsDefault ¶ added in v0.7.0

type EditTierCredentialsDefault struct {

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

EditTierCredentialsDefault Generic error response.

swagger:response editTierCredentialsDefault

func NewEditTierCredentialsDefault ¶ added in v0.7.0

func NewEditTierCredentialsDefault(code int) *EditTierCredentialsDefault

NewEditTierCredentialsDefault creates EditTierCredentialsDefault with default headers values

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

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

SetPayload sets the payload to the edit tier credentials default response

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

func (o *EditTierCredentialsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the edit tier credentials default response

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

WithPayload adds the payload to the edit tier credentials default response

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

WithStatusCode adds the status to the edit tier credentials default response

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

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

WriteResponse to the client

type EditTierCredentialsHandler ¶ added in v0.7.0

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

EditTierCredentialsHandler interface for that can handle valid edit tier credentials params

type EditTierCredentialsHandlerFunc ¶ added in v0.7.0

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

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

func (EditTierCredentialsHandlerFunc) Handle ¶ added in v0.7.0

Handle executing the request and returning a response

type EditTierCredentialsOK ¶ added in v0.7.0

type EditTierCredentialsOK struct {
}

EditTierCredentialsOK A successful response.

swagger:response editTierCredentialsOK

func NewEditTierCredentialsOK ¶ added in v0.7.0

func NewEditTierCredentialsOK() *EditTierCredentialsOK

NewEditTierCredentialsOK creates EditTierCredentialsOK with default headers values

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

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

WriteResponse to the client

type EditTierCredentialsParams ¶ added in v0.7.0

type EditTierCredentialsParams struct {

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

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

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

swagger:parameters EditTierCredentials

func NewEditTierCredentialsParams ¶ added in v0.7.0

func NewEditTierCredentialsParams() EditTierCredentialsParams

NewEditTierCredentialsParams creates a new EditTierCredentialsParams object

There are no default values defined in the spec.

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

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

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

type EditTierCredentialsURL ¶ added in v0.7.0

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

EditTierCredentialsURL generates an URL for the edit tier credentials operation

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

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

Build a url path and query string

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

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

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

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

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

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

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

func (o *EditTierCredentialsURL) SetBasePath(bp string)

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

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

func (o *EditTierCredentialsURL) String() string

String returns the string representation of the path with query string

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

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

StringFull returns the string representation of a complete url

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

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

type GetSiteReplicationInfo ¶ added in v0.15.8

type GetSiteReplicationInfo struct {
	Context *middleware.Context
	Handler GetSiteReplicationInfoHandler
}
GetSiteReplicationInfo swagger:route GET /admin/site-replication AdminAPI getSiteReplicationInfo

Get list of Replication Sites

func NewGetSiteReplicationInfo ¶ added in v0.15.8

func NewGetSiteReplicationInfo(ctx *middleware.Context, handler GetSiteReplicationInfoHandler) *GetSiteReplicationInfo

NewGetSiteReplicationInfo creates a new http.Handler for the get site replication info operation

func (*GetSiteReplicationInfo) ServeHTTP ¶ added in v0.15.8

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

type GetSiteReplicationInfoDefault ¶ added in v0.15.8

type GetSiteReplicationInfoDefault struct {

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

GetSiteReplicationInfoDefault Generic error response.

swagger:response getSiteReplicationInfoDefault

func NewGetSiteReplicationInfoDefault ¶ added in v0.15.8

func NewGetSiteReplicationInfoDefault(code int) *GetSiteReplicationInfoDefault

NewGetSiteReplicationInfoDefault creates GetSiteReplicationInfoDefault with default headers values

func (*GetSiteReplicationInfoDefault) SetPayload ¶ added in v0.15.8

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

SetPayload sets the payload to the get site replication info default response

func (*GetSiteReplicationInfoDefault) SetStatusCode ¶ added in v0.15.8

func (o *GetSiteReplicationInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get site replication info default response

func (*GetSiteReplicationInfoDefault) WithPayload ¶ added in v0.15.8

WithPayload adds the payload to the get site replication info default response

func (*GetSiteReplicationInfoDefault) WithStatusCode ¶ added in v0.15.8

WithStatusCode adds the status to the get site replication info default response

func (*GetSiteReplicationInfoDefault) WriteResponse ¶ added in v0.15.8

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

WriteResponse to the client

type GetSiteReplicationInfoHandler ¶ added in v0.15.8

type GetSiteReplicationInfoHandler interface {
	Handle(GetSiteReplicationInfoParams, *models.Principal) middleware.Responder
}

GetSiteReplicationInfoHandler interface for that can handle valid get site replication info params

type GetSiteReplicationInfoHandlerFunc ¶ added in v0.15.8

type GetSiteReplicationInfoHandlerFunc func(GetSiteReplicationInfoParams, *models.Principal) middleware.Responder

GetSiteReplicationInfoHandlerFunc turns a function with the right signature into a get site replication info handler

func (GetSiteReplicationInfoHandlerFunc) Handle ¶ added in v0.15.8

Handle executing the request and returning a response

type GetSiteReplicationInfoOK ¶ added in v0.15.8

type GetSiteReplicationInfoOK struct {

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

GetSiteReplicationInfoOK A successful response.

swagger:response getSiteReplicationInfoOK

func NewGetSiteReplicationInfoOK ¶ added in v0.15.8

func NewGetSiteReplicationInfoOK() *GetSiteReplicationInfoOK

NewGetSiteReplicationInfoOK creates GetSiteReplicationInfoOK with default headers values

func (*GetSiteReplicationInfoOK) SetPayload ¶ added in v0.15.8

SetPayload sets the payload to the get site replication info o k response

func (*GetSiteReplicationInfoOK) WithPayload ¶ added in v0.15.8

WithPayload adds the payload to the get site replication info o k response

func (*GetSiteReplicationInfoOK) WriteResponse ¶ added in v0.15.8

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

WriteResponse to the client

type GetSiteReplicationInfoParams ¶ added in v0.15.8

type GetSiteReplicationInfoParams struct {

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

GetSiteReplicationInfoParams contains all the bound params for the get site replication info operation typically these are obtained from a http.Request

swagger:parameters GetSiteReplicationInfo

func NewGetSiteReplicationInfoParams ¶ added in v0.15.8

func NewGetSiteReplicationInfoParams() GetSiteReplicationInfoParams

NewGetSiteReplicationInfoParams creates a new GetSiteReplicationInfoParams object

There are no default values defined in the spec.

func (*GetSiteReplicationInfoParams) BindRequest ¶ added in v0.15.8

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

type GetSiteReplicationInfoURL ¶ added in v0.15.8

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

GetSiteReplicationInfoURL generates an URL for the get site replication info operation

func (*GetSiteReplicationInfoURL) Build ¶ added in v0.15.8

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

Build a url path and query string

func (*GetSiteReplicationInfoURL) BuildFull ¶ added in v0.15.8

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

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

func (*GetSiteReplicationInfoURL) Must ¶ added in v0.15.8

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

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

func (*GetSiteReplicationInfoURL) SetBasePath ¶ added in v0.15.8

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

func (o *GetSiteReplicationInfoURL) String() string

String returns the string representation of the path with query string

func (*GetSiteReplicationInfoURL) StringFull ¶ added in v0.15.8

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

StringFull returns the string representation of a complete url

func (*GetSiteReplicationInfoURL) WithBasePath ¶ added in v0.15.8

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

type GetSiteReplicationStatus struct {
	Context *middleware.Context
	Handler GetSiteReplicationStatusHandler
}
GetSiteReplicationStatus swagger:route GET /admin/site-replication/status AdminAPI getSiteReplicationStatus

Display overall site replication status

func NewGetSiteReplicationStatus ¶ added in v0.15.13

func NewGetSiteReplicationStatus(ctx *middleware.Context, handler GetSiteReplicationStatusHandler) *GetSiteReplicationStatus

NewGetSiteReplicationStatus creates a new http.Handler for the get site replication status operation

func (*GetSiteReplicationStatus) ServeHTTP ¶ added in v0.15.13

type GetSiteReplicationStatusDefault ¶ added in v0.15.13

type GetSiteReplicationStatusDefault struct {

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

GetSiteReplicationStatusDefault Generic error response.

swagger:response getSiteReplicationStatusDefault

func NewGetSiteReplicationStatusDefault ¶ added in v0.15.13

func NewGetSiteReplicationStatusDefault(code int) *GetSiteReplicationStatusDefault

NewGetSiteReplicationStatusDefault creates GetSiteReplicationStatusDefault with default headers values

func (*GetSiteReplicationStatusDefault) SetPayload ¶ added in v0.15.13

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

SetPayload sets the payload to the get site replication status default response

func (*GetSiteReplicationStatusDefault) SetStatusCode ¶ added in v0.15.13

func (o *GetSiteReplicationStatusDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get site replication status default response

func (*GetSiteReplicationStatusDefault) WithPayload ¶ added in v0.15.13

WithPayload adds the payload to the get site replication status default response

func (*GetSiteReplicationStatusDefault) WithStatusCode ¶ added in v0.15.13

WithStatusCode adds the status to the get site replication status default response

func (*GetSiteReplicationStatusDefault) WriteResponse ¶ added in v0.15.13

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

WriteResponse to the client

type GetSiteReplicationStatusHandler ¶ added in v0.15.13

type GetSiteReplicationStatusHandler interface {
	Handle(GetSiteReplicationStatusParams, *models.Principal) middleware.Responder
}

GetSiteReplicationStatusHandler interface for that can handle valid get site replication status params

type GetSiteReplicationStatusHandlerFunc ¶ added in v0.15.13

type GetSiteReplicationStatusHandlerFunc func(GetSiteReplicationStatusParams, *models.Principal) middleware.Responder

GetSiteReplicationStatusHandlerFunc turns a function with the right signature into a get site replication status handler

func (GetSiteReplicationStatusHandlerFunc) Handle ¶ added in v0.15.13

Handle executing the request and returning a response

type GetSiteReplicationStatusOK ¶ added in v0.15.13

type GetSiteReplicationStatusOK struct {

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

GetSiteReplicationStatusOK A successful response.

swagger:response getSiteReplicationStatusOK

func NewGetSiteReplicationStatusOK ¶ added in v0.15.13

func NewGetSiteReplicationStatusOK() *GetSiteReplicationStatusOK

NewGetSiteReplicationStatusOK creates GetSiteReplicationStatusOK with default headers values

func (*GetSiteReplicationStatusOK) SetPayload ¶ added in v0.15.13

SetPayload sets the payload to the get site replication status o k response

func (*GetSiteReplicationStatusOK) WithPayload ¶ added in v0.15.13

WithPayload adds the payload to the get site replication status o k response

func (*GetSiteReplicationStatusOK) WriteResponse ¶ added in v0.15.13

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

WriteResponse to the client

type GetSiteReplicationStatusParams ¶ added in v0.15.13

type GetSiteReplicationStatusParams struct {

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

	/*Include Bucket stats
	  In: query
	  Default: true
	*/
	Buckets *bool
	/*Entity Type to lookup
	  In: query
	*/
	EntityType *string
	/*Entity Value to lookup
	  In: query
	*/
	EntityValue *string
	/*Include Group stats
	  In: query
	  Default: true
	*/
	Groups *bool
	/*Include Policies stats
	  In: query
	  Default: true
	*/
	Policies *bool
	/*Include Policies stats
	  In: query
	  Default: true
	*/
	Users *bool
}

GetSiteReplicationStatusParams contains all the bound params for the get site replication status operation typically these are obtained from a http.Request

swagger:parameters GetSiteReplicationStatus

func NewGetSiteReplicationStatusParams ¶ added in v0.15.13

func NewGetSiteReplicationStatusParams() GetSiteReplicationStatusParams

NewGetSiteReplicationStatusParams creates a new GetSiteReplicationStatusParams object with the default values initialized.

func (*GetSiteReplicationStatusParams) BindRequest ¶ added in v0.15.13

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

type GetSiteReplicationStatusURL ¶ added in v0.15.13

type GetSiteReplicationStatusURL struct {
	Buckets     *bool
	EntityType  *string
	EntityValue *string
	Groups      *bool
	Policies    *bool
	Users       *bool
	// contains filtered or unexported fields
}

GetSiteReplicationStatusURL generates an URL for the get site replication status operation

func (*GetSiteReplicationStatusURL) Build ¶ added in v0.15.13

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

Build a url path and query string

func (*GetSiteReplicationStatusURL) BuildFull ¶ added in v0.15.13

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

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

func (*GetSiteReplicationStatusURL) Must ¶ added in v0.15.13

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

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

func (*GetSiteReplicationStatusURL) SetBasePath ¶ added in v0.15.13

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

func (o *GetSiteReplicationStatusURL) String() string

String returns the string representation of the path with query string

func (*GetSiteReplicationStatusURL) StringFull ¶ added in v0.15.13

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

StringFull returns the string representation of a complete url

func (*GetSiteReplicationStatusURL) WithBasePath ¶ added in v0.15.13

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

type GetTier ¶ added in v0.7.0

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

Get Tier

func NewGetTier ¶ added in v0.7.0

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

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

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

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

type GetTierDefault ¶ added in v0.7.0

type GetTierDefault struct {

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

GetTierDefault Generic error response.

swagger:response getTierDefault

func NewGetTierDefault ¶ added in v0.7.0

func NewGetTierDefault(code int) *GetTierDefault

NewGetTierDefault creates GetTierDefault with default headers values

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

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

SetPayload sets the payload to the get tier default response

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

func (o *GetTierDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get tier default response

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

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

WithPayload adds the payload to the get tier default response

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

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

WithStatusCode adds the status to the get tier default response

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

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

WriteResponse to the client

type GetTierHandler ¶ added in v0.7.0

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

GetTierHandler interface for that can handle valid get tier params

type GetTierHandlerFunc ¶ added in v0.7.0

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

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

func (GetTierHandlerFunc) Handle ¶ added in v0.7.0

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

Handle executing the request and returning a response

type GetTierOK ¶ added in v0.7.0

type GetTierOK struct {

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

GetTierOK A successful response.

swagger:response getTierOK

func NewGetTierOK ¶ added in v0.7.0

func NewGetTierOK() *GetTierOK

NewGetTierOK creates GetTierOK with default headers values

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

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

SetPayload sets the payload to the get tier o k response

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

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

WithPayload adds the payload to the get tier o k response

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

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

WriteResponse to the client

type GetTierParams ¶ added in v0.7.0

type GetTierParams struct {

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

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

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

swagger:parameters GetTier

func NewGetTierParams ¶ added in v0.7.0

func NewGetTierParams() GetTierParams

NewGetTierParams creates a new GetTierParams object

There are no default values defined in the spec.

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

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

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

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

type GetTierURL ¶ added in v0.7.0

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

GetTierURL generates an URL for the get tier operation

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

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

Build a url path and query string

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

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

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

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

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

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

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

func (o *GetTierURL) SetBasePath(bp string)

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

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

func (o *GetTierURL) String() string

String returns the string representation of the path with query string

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

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

StringFull returns the string representation of a complete url

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

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

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

type GetUserInfo ¶

type GetUserInfo struct {
	Context *middleware.Context
	Handler GetUserInfoHandler
}
GetUserInfo swagger:route GET /user 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: query
	*/
	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 /group 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: query
	*/
	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 Inspect ¶ added in v0.14.6

type Inspect struct {
	Context *middleware.Context
	Handler InspectHandler
}
Inspect swagger:route GET /admin/inspect AdminAPI inspect

Inspect Files on Drive

func NewInspect ¶ added in v0.14.6

func NewInspect(ctx *middleware.Context, handler InspectHandler) *Inspect

NewInspect creates a new http.Handler for the inspect operation

func (*Inspect) ServeHTTP ¶ added in v0.14.6

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

type InspectDefault ¶ added in v0.14.6

type InspectDefault struct {

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

InspectDefault Generic error response.

swagger:response inspectDefault

func NewInspectDefault ¶ added in v0.14.6

func NewInspectDefault(code int) *InspectDefault

NewInspectDefault creates InspectDefault with default headers values

func (*InspectDefault) SetPayload ¶ added in v0.14.6

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

SetPayload sets the payload to the inspect default response

func (*InspectDefault) SetStatusCode ¶ added in v0.14.6

func (o *InspectDefault) SetStatusCode(code int)

SetStatusCode sets the status to the inspect default response

func (*InspectDefault) WithPayload ¶ added in v0.14.6

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

WithPayload adds the payload to the inspect default response

func (*InspectDefault) WithStatusCode ¶ added in v0.14.6

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

WithStatusCode adds the status to the inspect default response

func (*InspectDefault) WriteResponse ¶ added in v0.14.6

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

WriteResponse to the client

type InspectHandler ¶ added in v0.14.6

type InspectHandler interface {
	Handle(InspectParams, *models.Principal) middleware.Responder
}

InspectHandler interface for that can handle valid inspect params

type InspectHandlerFunc ¶ added in v0.14.6

type InspectHandlerFunc func(InspectParams, *models.Principal) middleware.Responder

InspectHandlerFunc turns a function with the right signature into a inspect handler

func (InspectHandlerFunc) Handle ¶ added in v0.14.6

func (fn InspectHandlerFunc) Handle(params InspectParams, principal *models.Principal) middleware.Responder

Handle executing the request and returning a response

type InspectOK ¶ added in v0.14.6

type InspectOK struct {

	/*
	  In: Body
	*/
	Payload io.ReadCloser `json:"body,omitempty"`
}

InspectOK A successful response.

swagger:response inspectOK

func NewInspectOK ¶ added in v0.14.6

func NewInspectOK() *InspectOK

NewInspectOK creates InspectOK with default headers values

func (*InspectOK) SetPayload ¶ added in v0.14.6

func (o *InspectOK) SetPayload(payload io.ReadCloser)

SetPayload sets the payload to the inspect o k response

func (*InspectOK) WithPayload ¶ added in v0.14.6

func (o *InspectOK) WithPayload(payload io.ReadCloser) *InspectOK

WithPayload adds the payload to the inspect o k response

func (*InspectOK) WriteResponse ¶ added in v0.14.6

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

WriteResponse to the client

type InspectParams ¶ added in v0.14.6

type InspectParams struct {

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

	/*
	  In: query
	*/
	Encrypt *bool
	/*
	  Required: true
	  In: query
	*/
	File string
	/*
	  Required: true
	  In: query
	*/
	Volume string
}

InspectParams contains all the bound params for the inspect operation typically these are obtained from a http.Request

swagger:parameters Inspect

func NewInspectParams ¶ added in v0.14.6

func NewInspectParams() InspectParams

NewInspectParams creates a new InspectParams object

There are no default values defined in the spec.

func (*InspectParams) BindRequest ¶ added in v0.14.6

func (o *InspectParams) 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 NewInspectParams() beforehand.

type InspectURL ¶ added in v0.14.6

type InspectURL struct {
	Encrypt *bool
	File    string
	Volume  string
	// contains filtered or unexported fields
}

InspectURL generates an URL for the inspect operation

func (*InspectURL) Build ¶ added in v0.14.6

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

Build a url path and query string

func (*InspectURL) BuildFull ¶ added in v0.14.6

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

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

func (*InspectURL) Must ¶ added in v0.14.6

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

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

func (*InspectURL) SetBasePath ¶ added in v0.14.6

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

func (o *InspectURL) String() string

String returns the string representation of the path with query string

func (*InspectURL) StringFull ¶ added in v0.14.6

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

StringFull returns the string representation of a complete url

func (*InspectURL) WithBasePath ¶ added in v0.14.6

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

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

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

returns a list of service accounts for a user

func NewListAUserServiceAccounts ¶ added in v0.7.5

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

type ListAUserServiceAccountsDefault ¶ added in v0.7.5

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

func NewListAUserServiceAccountsDefault(code int) *ListAUserServiceAccountsDefault

NewListAUserServiceAccountsDefault creates ListAUserServiceAccountsDefault with default headers values

func (*ListAUserServiceAccountsDefault) SetPayload ¶ added in v0.7.5

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

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

func (*ListAUserServiceAccountsDefault) SetStatusCode ¶ added in v0.7.5

func (o *ListAUserServiceAccountsDefault) SetStatusCode(code int)

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

func (*ListAUserServiceAccountsDefault) WithPayload ¶ added in v0.7.5

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

func (*ListAUserServiceAccountsDefault) WithStatusCode ¶ added in v0.7.5

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

func (*ListAUserServiceAccountsDefault) WriteResponse ¶ added in v0.7.5

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

WriteResponse to the client

type ListAUserServiceAccountsHandler ¶ added in v0.7.5

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

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

type ListAUserServiceAccountsHandlerFunc ¶ added in v0.7.5

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

Handle executing the request and returning a response

type ListAUserServiceAccountsOK ¶ added in v0.7.5

type ListAUserServiceAccountsOK struct {

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

ListAUserServiceAccountsOK A successful response.

swagger:response listAUserServiceAccountsOK

func NewListAUserServiceAccountsOK ¶ added in v0.7.5

func NewListAUserServiceAccountsOK() *ListAUserServiceAccountsOK

NewListAUserServiceAccountsOK creates ListAUserServiceAccountsOK with default headers values

func (*ListAUserServiceAccountsOK) SetPayload ¶ added in v0.7.5

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

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

func (*ListAUserServiceAccountsOK) WithPayload ¶ added in v0.7.5

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

func (*ListAUserServiceAccountsOK) WriteResponse ¶ added in v0.7.5

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

WriteResponse to the client

type ListAUserServiceAccountsParams ¶ added in v0.7.5

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

func NewListAUserServiceAccountsParams() ListAUserServiceAccountsParams

NewListAUserServiceAccountsParams creates a new ListAUserServiceAccountsParams object

There are no default values defined in the spec.

func (*ListAUserServiceAccountsParams) BindRequest ¶ added in v0.7.5

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

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

type ListAUserServiceAccountsURL ¶ added in v0.7.5

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

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

Build a url path and query string

func (*ListAUserServiceAccountsURL) BuildFull ¶ added in v0.7.5

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

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

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

func (o *ListAUserServiceAccountsURL) String() string

String returns the string representation of the path with query string

func (*ListAUserServiceAccountsURL) StringFull ¶ added in v0.7.5

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

StringFull returns the string representation of a complete url

func (*ListAUserServiceAccountsURL) WithBasePath ¶ added in v0.7.5

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

type ListAccessRulesWithBucket ¶ added in v0.9.1

type ListAccessRulesWithBucket struct {
	Context *middleware.Context
	Handler ListAccessRulesWithBucketHandler
}
ListAccessRulesWithBucket swagger:route GET /bucket/{bucket}/access-rules AdminAPI listAccessRulesWithBucket

List Access Rules With Given Bucket

func NewListAccessRulesWithBucket ¶ added in v0.9.1

func NewListAccessRulesWithBucket(ctx *middleware.Context, handler ListAccessRulesWithBucketHandler) *ListAccessRulesWithBucket

NewListAccessRulesWithBucket creates a new http.Handler for the list access rules with bucket operation

func (*ListAccessRulesWithBucket) ServeHTTP ¶ added in v0.9.1

type ListAccessRulesWithBucketDefault ¶ added in v0.9.1

type ListAccessRulesWithBucketDefault struct {

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

ListAccessRulesWithBucketDefault Generic error response.

swagger:response listAccessRulesWithBucketDefault

func NewListAccessRulesWithBucketDefault ¶ added in v0.9.1

func NewListAccessRulesWithBucketDefault(code int) *ListAccessRulesWithBucketDefault

NewListAccessRulesWithBucketDefault creates ListAccessRulesWithBucketDefault with default headers values

func (*ListAccessRulesWithBucketDefault) SetPayload ¶ added in v0.9.1

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

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

func (*ListAccessRulesWithBucketDefault) SetStatusCode ¶ added in v0.9.1

func (o *ListAccessRulesWithBucketDefault) SetStatusCode(code int)

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

func (*ListAccessRulesWithBucketDefault) WithPayload ¶ added in v0.9.1

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

func (*ListAccessRulesWithBucketDefault) WithStatusCode ¶ added in v0.9.1

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

func (*ListAccessRulesWithBucketDefault) WriteResponse ¶ added in v0.9.1

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

WriteResponse to the client

type ListAccessRulesWithBucketHandler ¶ added in v0.9.1

type ListAccessRulesWithBucketHandler interface {
	Handle(ListAccessRulesWithBucketParams, *models.Principal) middleware.Responder
}

ListAccessRulesWithBucketHandler interface for that can handle valid list access rules with bucket params

type ListAccessRulesWithBucketHandlerFunc ¶ added in v0.9.1

type ListAccessRulesWithBucketHandlerFunc func(ListAccessRulesWithBucketParams, *models.Principal) middleware.Responder

ListAccessRulesWithBucketHandlerFunc turns a function with the right signature into a list access rules with bucket handler

func (ListAccessRulesWithBucketHandlerFunc) Handle ¶ added in v0.9.1

Handle executing the request and returning a response

type ListAccessRulesWithBucketOK ¶ added in v0.9.1

type ListAccessRulesWithBucketOK struct {

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

ListAccessRulesWithBucketOK A successful response.

swagger:response listAccessRulesWithBucketOK

func NewListAccessRulesWithBucketOK ¶ added in v0.9.1

func NewListAccessRulesWithBucketOK() *ListAccessRulesWithBucketOK

NewListAccessRulesWithBucketOK creates ListAccessRulesWithBucketOK with default headers values

func (*ListAccessRulesWithBucketOK) SetPayload ¶ added in v0.9.1

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

func (*ListAccessRulesWithBucketOK) WithPayload ¶ added in v0.9.1

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

func (*ListAccessRulesWithBucketOK) WriteResponse ¶ added in v0.9.1

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

WriteResponse to the client

type ListAccessRulesWithBucketParams ¶ added in v0.9.1

type ListAccessRulesWithBucketParams struct {

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

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

ListAccessRulesWithBucketParams contains all the bound params for the list access rules with bucket operation typically these are obtained from a http.Request

swagger:parameters ListAccessRulesWithBucket

func NewListAccessRulesWithBucketParams ¶ added in v0.9.1

func NewListAccessRulesWithBucketParams() ListAccessRulesWithBucketParams

NewListAccessRulesWithBucketParams creates a new ListAccessRulesWithBucketParams object

There are no default values defined in the spec.

func (*ListAccessRulesWithBucketParams) BindRequest ¶ added in v0.9.1

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

type ListAccessRulesWithBucketURL ¶ added in v0.9.1

type ListAccessRulesWithBucketURL struct {
	Bucket string

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

ListAccessRulesWithBucketURL generates an URL for the list access rules with bucket operation

func (*ListAccessRulesWithBucketURL) Build ¶ added in v0.9.1

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

Build a url path and query string

func (*ListAccessRulesWithBucketURL) BuildFull ¶ added in v0.9.1

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

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

func (*ListAccessRulesWithBucketURL) Must ¶ added in v0.9.1

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

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

func (*ListAccessRulesWithBucketURL) SetBasePath ¶ added in v0.9.1

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

String returns the string representation of the path with query string

func (*ListAccessRulesWithBucketURL) StringFull ¶ added in v0.9.1

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

StringFull returns the string representation of a complete url

func (*ListAccessRulesWithBucketURL) WithBasePath ¶ added in v0.9.1

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

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

List Groups for a Policy

func NewListGroupsForPolicy ¶ added in v0.7.5

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

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

func (*ListGroupsForPolicy) ServeHTTP ¶ added in v0.7.5

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

type ListGroupsForPolicyDefault ¶ added in v0.7.5

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

func NewListGroupsForPolicyDefault(code int) *ListGroupsForPolicyDefault

NewListGroupsForPolicyDefault creates ListGroupsForPolicyDefault with default headers values

func (*ListGroupsForPolicyDefault) SetPayload ¶ added in v0.7.5

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

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

func (*ListGroupsForPolicyDefault) SetStatusCode ¶ added in v0.7.5

func (o *ListGroupsForPolicyDefault) SetStatusCode(code int)

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

func (*ListGroupsForPolicyDefault) WithPayload ¶ added in v0.7.5

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

func (*ListGroupsForPolicyDefault) WithStatusCode ¶ added in v0.7.5

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

func (*ListGroupsForPolicyDefault) WriteResponse ¶ added in v0.7.5

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

WriteResponse to the client

type ListGroupsForPolicyHandler ¶ added in v0.7.5

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

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

type ListGroupsForPolicyHandlerFunc ¶ added in v0.7.5

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

Handle executing the request and returning a response

type ListGroupsForPolicyOK ¶ added in v0.7.5

type ListGroupsForPolicyOK struct {

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

ListGroupsForPolicyOK A successful response.

swagger:response listGroupsForPolicyOK

func NewListGroupsForPolicyOK ¶ added in v0.7.5

func NewListGroupsForPolicyOK() *ListGroupsForPolicyOK

NewListGroupsForPolicyOK creates ListGroupsForPolicyOK with default headers values

func (*ListGroupsForPolicyOK) SetPayload ¶ added in v0.7.5

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

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

func (*ListGroupsForPolicyOK) WithPayload ¶ added in v0.7.5

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

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

func (*ListGroupsForPolicyOK) WriteResponse ¶ added in v0.7.5

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

WriteResponse to the client

type ListGroupsForPolicyParams ¶ added in v0.7.5

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

func NewListGroupsForPolicyParams() ListGroupsForPolicyParams

NewListGroupsForPolicyParams creates a new ListGroupsForPolicyParams object

There are no default values defined in the spec.

func (*ListGroupsForPolicyParams) BindRequest ¶ added in v0.7.5

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

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

type ListGroupsForPolicyURL ¶ added in v0.7.5

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

ListGroupsForPolicyURL generates an URL for the list groups for policy operation

func (*ListGroupsForPolicyURL) Build ¶ added in v0.7.5

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

Build a url path and query string

func (*ListGroupsForPolicyURL) BuildFull ¶ added in v0.7.5

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

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

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

func (o *ListGroupsForPolicyURL) String() string

String returns the string representation of the path with query string

func (*ListGroupsForPolicyURL) StringFull ¶ added in v0.7.5

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

StringFull returns the string representation of a complete url

func (*ListGroupsForPolicyURL) WithBasePath ¶ added in v0.7.5

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

type 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 ListNodes ¶ added in v0.15.9

type ListNodes struct {
	Context *middleware.Context
	Handler ListNodesHandler
}
ListNodes swagger:route GET /nodes AdminAPI listNodes

Lists Nodes

func NewListNodes ¶ added in v0.15.9

func NewListNodes(ctx *middleware.Context, handler ListNodesHandler) *ListNodes

NewListNodes creates a new http.Handler for the list nodes operation

func (*ListNodes) ServeHTTP ¶ added in v0.15.9

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

type ListNodesDefault ¶ added in v0.15.9

type ListNodesDefault struct {

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

ListNodesDefault Generic error response.

swagger:response listNodesDefault

func NewListNodesDefault ¶ added in v0.15.9

func NewListNodesDefault(code int) *ListNodesDefault

NewListNodesDefault creates ListNodesDefault with default headers values

func (*ListNodesDefault) SetPayload ¶ added in v0.15.9

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

SetPayload sets the payload to the list nodes default response

func (*ListNodesDefault) SetStatusCode ¶ added in v0.15.9

func (o *ListNodesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list nodes default response

func (*ListNodesDefault) WithPayload ¶ added in v0.15.9

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

WithPayload adds the payload to the list nodes default response

func (*ListNodesDefault) WithStatusCode ¶ added in v0.15.9

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

WithStatusCode adds the status to the list nodes default response

func (*ListNodesDefault) WriteResponse ¶ added in v0.15.9

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

WriteResponse to the client

type ListNodesHandler ¶ added in v0.15.9

type ListNodesHandler interface {
	Handle(ListNodesParams, *models.Principal) middleware.Responder
}

ListNodesHandler interface for that can handle valid list nodes params

type ListNodesHandlerFunc ¶ added in v0.15.9

type ListNodesHandlerFunc func(ListNodesParams, *models.Principal) middleware.Responder

ListNodesHandlerFunc turns a function with the right signature into a list nodes handler

func (ListNodesHandlerFunc) Handle ¶ added in v0.15.9

Handle executing the request and returning a response

type ListNodesOK ¶ added in v0.15.9

type ListNodesOK struct {

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

ListNodesOK A successful response.

swagger:response listNodesOK

func NewListNodesOK ¶ added in v0.15.9

func NewListNodesOK() *ListNodesOK

NewListNodesOK creates ListNodesOK with default headers values

func (*ListNodesOK) SetPayload ¶ added in v0.15.9

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

SetPayload sets the payload to the list nodes o k response

func (*ListNodesOK) WithPayload ¶ added in v0.15.9

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

WithPayload adds the payload to the list nodes o k response

func (*ListNodesOK) WriteResponse ¶ added in v0.15.9

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

WriteResponse to the client

type ListNodesParams ¶ added in v0.15.9

type ListNodesParams struct {

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

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

swagger:parameters ListNodes

func NewListNodesParams ¶ added in v0.15.9

func NewListNodesParams() ListNodesParams

NewListNodesParams creates a new ListNodesParams object

There are no default values defined in the spec.

func (*ListNodesParams) BindRequest ¶ added in v0.15.9

func (o *ListNodesParams) 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 NewListNodesParams() beforehand.

type ListNodesURL ¶ added in v0.15.9

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

ListNodesURL generates an URL for the list nodes operation

func (*ListNodesURL) Build ¶ added in v0.15.9

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

Build a url path and query string

func (*ListNodesURL) BuildFull ¶ added in v0.15.9

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

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

func (*ListNodesURL) Must ¶ added in v0.15.9

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

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

func (*ListNodesURL) SetBasePath ¶ added in v0.15.9

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

func (o *ListNodesURL) String() string

String returns the string representation of the path with query string

func (*ListNodesURL) StringFull ¶ added in v0.15.9

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

StringFull returns the string representation of a complete url

func (*ListNodesURL) WithBasePath ¶ added in v0.15.9

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

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

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

List Policies With Given Bucket

func NewListPoliciesWithBucket ¶ added in v0.6.4

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

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

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

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

type ListPoliciesWithBucketDefault ¶ added in v0.6.4

type ListPoliciesWithBucketDefault struct {

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

ListPoliciesWithBucketDefault Generic error response.

swagger:response listPoliciesWithBucketDefault

func NewListPoliciesWithBucketDefault ¶ added in v0.6.4

func NewListPoliciesWithBucketDefault(code int) *ListPoliciesWithBucketDefault

NewListPoliciesWithBucketDefault creates ListPoliciesWithBucketDefault with default headers values

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

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

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

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

func (o *ListPoliciesWithBucketDefault) SetStatusCode(code int)

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

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

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

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

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

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

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

WriteResponse to the client

type ListPoliciesWithBucketHandler ¶ added in v0.6.4

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

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

type ListPoliciesWithBucketHandlerFunc ¶ added in v0.6.4

type ListPoliciesWithBucketHandlerFunc func(ListPoliciesWithBucketParams, *models.Principal) middleware.Responder

ListPoliciesWithBucketHandlerFunc turns a function with the right signature into a list policies with bucket handler

func (ListPoliciesWithBucketHandlerFunc) Handle ¶ added in v0.6.4

Handle executing the request and returning a response

type ListPoliciesWithBucketOK ¶ added in v0.6.4

type ListPoliciesWithBucketOK struct {

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

ListPoliciesWithBucketOK A successful response.

swagger:response listPoliciesWithBucketOK

func NewListPoliciesWithBucketOK ¶ added in v0.6.4

func NewListPoliciesWithBucketOK() *ListPoliciesWithBucketOK

NewListPoliciesWithBucketOK creates ListPoliciesWithBucketOK with default headers values

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

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

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

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

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

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

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

WriteResponse to the client

type ListPoliciesWithBucketParams ¶ added in v0.6.4

type ListPoliciesWithBucketParams struct {

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

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

ListPoliciesWithBucketParams contains all the bound params for the list policies with bucket operation typically these are obtained from a http.Request

swagger:parameters ListPoliciesWithBucket

func NewListPoliciesWithBucketParams ¶ added in v0.6.4

func NewListPoliciesWithBucketParams() ListPoliciesWithBucketParams

NewListPoliciesWithBucketParams creates a new ListPoliciesWithBucketParams object

There are no default values defined in the spec.

func (*ListPoliciesWithBucketParams) BindRequest ¶ added in v0.6.4

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

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

type ListPoliciesWithBucketURL ¶ added in v0.6.4

type ListPoliciesWithBucketURL struct {
	Bucket string

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

ListPoliciesWithBucketURL generates an URL for the list policies with bucket operation

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

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

Build a url path and query string

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

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

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

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

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

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

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

func (o *ListPoliciesWithBucketURL) SetBasePath(bp string)

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

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

func (o *ListPoliciesWithBucketURL) String() string

String returns the string representation of the path with query string

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

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

StringFull returns the string representation of a complete url

func (*ListPoliciesWithBucketURL) WithBasePath ¶ added in v0.6.4

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

type ListUsers ¶

type ListUsers struct {
	Context *middleware.Context
	Handler ListUsersHandler
}
ListUsers swagger:route GET /users AdminAPI listUsers

List Users

func NewListUsers ¶

func NewListUsers(ctx *middleware.Context, handler ListUsersHandler) *ListUsers

NewListUsers creates a new http.Handler for the list users operation

func (*ListUsers) ServeHTTP ¶

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

type ListUsersDefault ¶

type ListUsersDefault struct {

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

ListUsersDefault Generic error response.

swagger:response listUsersDefault

func NewListUsersDefault ¶

func NewListUsersDefault(code int) *ListUsersDefault

NewListUsersDefault creates ListUsersDefault with default headers values

func (*ListUsersDefault) SetPayload ¶

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

SetPayload sets the payload to the list users default response

func (*ListUsersDefault) SetStatusCode ¶

func (o *ListUsersDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list users default response

func (*ListUsersDefault) WithPayload ¶

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

WithPayload adds the payload to the list users default response

func (*ListUsersDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the list users default response

func (*ListUsersDefault) WriteResponse ¶

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

WriteResponse to the client

type ListUsersForPolicy ¶ added in v0.7.2

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

List Users for a Policy

func NewListUsersForPolicy ¶ added in v0.7.2

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

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

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

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

type ListUsersForPolicyDefault ¶ added in v0.7.2

type ListUsersForPolicyDefault struct {

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

ListUsersForPolicyDefault Generic error response.

swagger:response listUsersForPolicyDefault

func NewListUsersForPolicyDefault ¶ added in v0.7.2

func NewListUsersForPolicyDefault(code int) *ListUsersForPolicyDefault

NewListUsersForPolicyDefault creates ListUsersForPolicyDefault with default headers values

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

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

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

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

func (o *ListUsersForPolicyDefault) SetStatusCode(code int)

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

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

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

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

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

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

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

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

WriteResponse to the client

type ListUsersForPolicyHandler ¶ added in v0.7.2

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

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

type ListUsersForPolicyHandlerFunc ¶ added in v0.7.2

type ListUsersForPolicyHandlerFunc func(ListUsersForPolicyParams, *models.Principal) middleware.Responder

ListUsersForPolicyHandlerFunc turns a function with the right signature into a list users for policy handler

func (ListUsersForPolicyHandlerFunc) Handle ¶ added in v0.7.2

Handle executing the request and returning a response

type ListUsersForPolicyOK ¶ added in v0.7.2

type ListUsersForPolicyOK struct {

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

ListUsersForPolicyOK A successful response.

swagger:response listUsersForPolicyOK

func NewListUsersForPolicyOK ¶ added in v0.7.2

func NewListUsersForPolicyOK() *ListUsersForPolicyOK

NewListUsersForPolicyOK creates ListUsersForPolicyOK with default headers values

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

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

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

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

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

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

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

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

WriteResponse to the client

type ListUsersForPolicyParams ¶ added in v0.7.2

type ListUsersForPolicyParams struct {

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

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

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

swagger:parameters ListUsersForPolicy

func NewListUsersForPolicyParams ¶ added in v0.7.2

func NewListUsersForPolicyParams() ListUsersForPolicyParams

NewListUsersForPolicyParams creates a new ListUsersForPolicyParams object

There are no default values defined in the spec.

func (*ListUsersForPolicyParams) BindRequest ¶ added in v0.7.2

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

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

type ListUsersForPolicyURL ¶ added in v0.7.2

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

ListUsersForPolicyURL generates an URL for the list users for policy operation

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

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

Build a url path and query string

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

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

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

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

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

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

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

func (o *ListUsersForPolicyURL) SetBasePath(bp string)

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

func (*ListUsersForPolicyURL) String ¶ added in v0.7.2

func (o *ListUsersForPolicyURL) String() string

String returns the string representation of the path with query string

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

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

StringFull returns the string representation of a complete url

func (*ListUsersForPolicyURL) WithBasePath ¶ added in v0.7.2

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

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

type ListUsersHandler ¶

type ListUsersHandler interface {
	Handle(ListUsersParams, *models.Principal) middleware.Responder
}

ListUsersHandler interface for that can handle valid list users params

type ListUsersHandlerFunc ¶

type ListUsersHandlerFunc func(ListUsersParams, *models.Principal) middleware.Responder

ListUsersHandlerFunc turns a function with the right signature into a list users handler

func (ListUsersHandlerFunc) Handle ¶

Handle executing the request and returning a response

type ListUsersOK ¶

type ListUsersOK struct {

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

ListUsersOK A successful response.

swagger:response listUsersOK

func NewListUsersOK ¶

func NewListUsersOK() *ListUsersOK

NewListUsersOK creates ListUsersOK with default headers values

func (*ListUsersOK) SetPayload ¶

func (o *ListUsersOK) SetPayload(payload *models.ListUsersResponse)

SetPayload sets the payload to the list users o k response

func (*ListUsersOK) WithPayload ¶

func (o *ListUsersOK) WithPayload(payload *models.ListUsersResponse) *ListUsersOK

WithPayload adds the payload to the list users o k response

func (*ListUsersOK) WriteResponse ¶

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

WriteResponse to the client

type ListUsersParams ¶

type ListUsersParams struct {

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

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

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

swagger:parameters ListUsers

func NewListUsersParams ¶

func NewListUsersParams() ListUsersParams

NewListUsersParams creates a new ListUsersParams object

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

type ListUsersWithAccessToBucket struct {
	Context *middleware.Context
	Handler ListUsersWithAccessToBucketHandler
}
ListUsersWithAccessToBucket swagger:route GET /bucket-users/{bucket} AdminAPI listUsersWithAccessToBucket

List Users With Access to a Given Bucket

func NewListUsersWithAccessToBucket ¶ added in v0.6.7

func NewListUsersWithAccessToBucket(ctx *middleware.Context, handler ListUsersWithAccessToBucketHandler) *ListUsersWithAccessToBucket

NewListUsersWithAccessToBucket creates a new http.Handler for the list users with access to bucket operation

func (*ListUsersWithAccessToBucket) ServeHTTP ¶ added in v0.6.7

type ListUsersWithAccessToBucketDefault ¶ added in v0.6.7

type ListUsersWithAccessToBucketDefault struct {

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

ListUsersWithAccessToBucketDefault Generic error response.

swagger:response listUsersWithAccessToBucketDefault

func NewListUsersWithAccessToBucketDefault ¶ added in v0.6.7

func NewListUsersWithAccessToBucketDefault(code int) *ListUsersWithAccessToBucketDefault

NewListUsersWithAccessToBucketDefault creates ListUsersWithAccessToBucketDefault with default headers values

func (*ListUsersWithAccessToBucketDefault) SetPayload ¶ added in v0.6.7

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

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

func (*ListUsersWithAccessToBucketDefault) SetStatusCode ¶ added in v0.6.7

func (o *ListUsersWithAccessToBucketDefault) SetStatusCode(code int)

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

func (*ListUsersWithAccessToBucketDefault) WithPayload ¶ added in v0.6.7

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

func (*ListUsersWithAccessToBucketDefault) WithStatusCode ¶ added in v0.6.7

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

func (*ListUsersWithAccessToBucketDefault) WriteResponse ¶ added in v0.6.7

WriteResponse to the client

type ListUsersWithAccessToBucketHandler ¶ added in v0.6.7

type ListUsersWithAccessToBucketHandler interface {
	Handle(ListUsersWithAccessToBucketParams, *models.Principal) middleware.Responder
}

ListUsersWithAccessToBucketHandler interface for that can handle valid list users with access to bucket params

type ListUsersWithAccessToBucketHandlerFunc ¶ added in v0.6.7

type ListUsersWithAccessToBucketHandlerFunc func(ListUsersWithAccessToBucketParams, *models.Principal) middleware.Responder

ListUsersWithAccessToBucketHandlerFunc turns a function with the right signature into a list users with access to bucket handler

func (ListUsersWithAccessToBucketHandlerFunc) Handle ¶ added in v0.6.7

Handle executing the request and returning a response

type ListUsersWithAccessToBucketOK ¶ added in v0.6.7

type ListUsersWithAccessToBucketOK struct {

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

ListUsersWithAccessToBucketOK A successful response.

swagger:response listUsersWithAccessToBucketOK

func NewListUsersWithAccessToBucketOK ¶ added in v0.6.7

func NewListUsersWithAccessToBucketOK() *ListUsersWithAccessToBucketOK

NewListUsersWithAccessToBucketOK creates ListUsersWithAccessToBucketOK with default headers values

func (*ListUsersWithAccessToBucketOK) SetPayload ¶ added in v0.6.7

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

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

func (*ListUsersWithAccessToBucketOK) WithPayload ¶ added in v0.6.7

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

func (*ListUsersWithAccessToBucketOK) WriteResponse ¶ added in v0.6.7

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

WriteResponse to the client

type ListUsersWithAccessToBucketParams ¶ added in v0.6.7

type ListUsersWithAccessToBucketParams struct {

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

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

ListUsersWithAccessToBucketParams contains all the bound params for the list users with access to bucket operation typically these are obtained from a http.Request

swagger:parameters ListUsersWithAccessToBucket

func NewListUsersWithAccessToBucketParams ¶ added in v0.6.7

func NewListUsersWithAccessToBucketParams() ListUsersWithAccessToBucketParams

NewListUsersWithAccessToBucketParams creates a new ListUsersWithAccessToBucketParams object

There are no default values defined in the spec.

func (*ListUsersWithAccessToBucketParams) BindRequest ¶ added in v0.6.7

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

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

type ListUsersWithAccessToBucketURL ¶ added in v0.6.7

type ListUsersWithAccessToBucketURL struct {
	Bucket string

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

ListUsersWithAccessToBucketURL generates an URL for the list users with access to bucket operation

func (*ListUsersWithAccessToBucketURL) Build ¶ added in v0.6.7

Build a url path and query string

func (*ListUsersWithAccessToBucketURL) BuildFull ¶ added in v0.6.7

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

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

func (*ListUsersWithAccessToBucketURL) Must ¶ added in v0.6.7

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

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

func (*ListUsersWithAccessToBucketURL) SetBasePath ¶ added in v0.6.7

func (o *ListUsersWithAccessToBucketURL) SetBasePath(bp string)

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

func (*ListUsersWithAccessToBucketURL) String ¶ added in v0.6.7

String returns the string representation of the path with query string

func (*ListUsersWithAccessToBucketURL) StringFull ¶ added in v0.6.7

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

StringFull returns the string representation of a complete url

func (*ListUsersWithAccessToBucketURL) WithBasePath ¶ added in v0.6.7

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

type NotificationEndpointList ¶

type NotificationEndpointList struct {
	Context *middleware.Context
	Handler NotificationEndpointListHandler
}
NotificationEndpointList swagger:route GET /admin/notification_endpoints AdminAPI notificationEndpointList

Returns a list of active notification endpoints

func NewNotificationEndpointList ¶

func NewNotificationEndpointList(ctx *middleware.Context, handler NotificationEndpointListHandler) *NotificationEndpointList

NewNotificationEndpointList creates a new http.Handler for the notification endpoint list operation

func (*NotificationEndpointList) ServeHTTP ¶

type NotificationEndpointListDefault ¶

type NotificationEndpointListDefault struct {

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

NotificationEndpointListDefault Generic error response.

swagger:response notificationEndpointListDefault

func NewNotificationEndpointListDefault ¶

func NewNotificationEndpointListDefault(code int) *NotificationEndpointListDefault

NewNotificationEndpointListDefault creates NotificationEndpointListDefault with default headers values

func (*NotificationEndpointListDefault) SetPayload ¶

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

SetPayload sets the payload to the notification endpoint list default response

func (*NotificationEndpointListDefault) SetStatusCode ¶

func (o *NotificationEndpointListDefault) SetStatusCode(code int)

SetStatusCode sets the status to the notification endpoint list default response

func (*NotificationEndpointListDefault) WithPayload ¶

WithPayload adds the payload to the notification endpoint list default response

func (*NotificationEndpointListDefault) WithStatusCode ¶

WithStatusCode adds the status to the notification endpoint list default response

func (*NotificationEndpointListDefault) WriteResponse ¶

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

WriteResponse to the client

type NotificationEndpointListHandler ¶

type NotificationEndpointListHandler interface {
	Handle(NotificationEndpointListParams, *models.Principal) middleware.Responder
}

NotificationEndpointListHandler interface for that can handle valid notification endpoint list params

type NotificationEndpointListHandlerFunc ¶

type NotificationEndpointListHandlerFunc func(NotificationEndpointListParams, *models.Principal) middleware.Responder

NotificationEndpointListHandlerFunc turns a function with the right signature into a notification endpoint list handler

func (NotificationEndpointListHandlerFunc) Handle ¶

Handle executing the request and returning a response

type NotificationEndpointListOK ¶

type NotificationEndpointListOK struct {

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

NotificationEndpointListOK A successful response.

swagger:response notificationEndpointListOK

func NewNotificationEndpointListOK ¶

func NewNotificationEndpointListOK() *NotificationEndpointListOK

NewNotificationEndpointListOK creates NotificationEndpointListOK with default headers values

func (*NotificationEndpointListOK) SetPayload ¶

SetPayload sets the payload to the notification endpoint list o k response

func (*NotificationEndpointListOK) WithPayload ¶

WithPayload adds the payload to the notification endpoint list o k response

func (*NotificationEndpointListOK) WriteResponse ¶

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

WriteResponse to the client

type NotificationEndpointListParams ¶

type NotificationEndpointListParams struct {

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

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

swagger:parameters NotificationEndpointList

func NewNotificationEndpointListParams ¶

func NewNotificationEndpointListParams() NotificationEndpointListParams

NewNotificationEndpointListParams creates a new NotificationEndpointListParams object

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

type RemoveGroup struct {
	Context *middleware.Context
	Handler RemoveGroupHandler
}
RemoveGroup swagger:route DELETE /group 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: query
	*/
	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 /user 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: query
	*/
	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 ResetConfig ¶ added in v0.12.7

type ResetConfig struct {
	Context *middleware.Context
	Handler ResetConfigHandler
}
ResetConfig swagger:route GET /configs/{name}/reset AdminAPI resetConfig

Configuration reset

func NewResetConfig ¶ added in v0.12.7

func NewResetConfig(ctx *middleware.Context, handler ResetConfigHandler) *ResetConfig

NewResetConfig creates a new http.Handler for the reset config operation

func (*ResetConfig) ServeHTTP ¶ added in v0.12.7

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

type ResetConfigDefault ¶ added in v0.12.7

type ResetConfigDefault struct {

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

ResetConfigDefault Generic error response.

swagger:response resetConfigDefault

func NewResetConfigDefault ¶ added in v0.12.7

func NewResetConfigDefault(code int) *ResetConfigDefault

NewResetConfigDefault creates ResetConfigDefault with default headers values

func (*ResetConfigDefault) SetPayload ¶ added in v0.12.7

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

SetPayload sets the payload to the reset config default response

func (*ResetConfigDefault) SetStatusCode ¶ added in v0.12.7

func (o *ResetConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the reset config default response

func (*ResetConfigDefault) WithPayload ¶ added in v0.12.7

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

WithPayload adds the payload to the reset config default response

func (*ResetConfigDefault) WithStatusCode ¶ added in v0.12.7

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

WithStatusCode adds the status to the reset config default response

func (*ResetConfigDefault) WriteResponse ¶ added in v0.12.7

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

WriteResponse to the client

type ResetConfigHandler ¶ added in v0.12.7

type ResetConfigHandler interface {
	Handle(ResetConfigParams, *models.Principal) middleware.Responder
}

ResetConfigHandler interface for that can handle valid reset config params

type ResetConfigHandlerFunc ¶ added in v0.12.7

type ResetConfigHandlerFunc func(ResetConfigParams, *models.Principal) middleware.Responder

ResetConfigHandlerFunc turns a function with the right signature into a reset config handler

func (ResetConfigHandlerFunc) Handle ¶ added in v0.12.7

Handle executing the request and returning a response

type ResetConfigOK ¶ added in v0.12.7

type ResetConfigOK struct {

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

ResetConfigOK A successful response.

swagger:response resetConfigOK

func NewResetConfigOK ¶ added in v0.12.7

func NewResetConfigOK() *ResetConfigOK

NewResetConfigOK creates ResetConfigOK with default headers values

func (*ResetConfigOK) SetPayload ¶ added in v0.12.7

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

SetPayload sets the payload to the reset config o k response

func (*ResetConfigOK) WithPayload ¶ added in v0.12.7

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

WithPayload adds the payload to the reset config o k response

func (*ResetConfigOK) WriteResponse ¶ added in v0.12.7

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

WriteResponse to the client

type ResetConfigParams ¶ added in v0.12.7

type ResetConfigParams struct {

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

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

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

swagger:parameters ResetConfig

func NewResetConfigParams ¶ added in v0.12.7

func NewResetConfigParams() ResetConfigParams

NewResetConfigParams creates a new ResetConfigParams object

There are no default values defined in the spec.

func (*ResetConfigParams) BindRequest ¶ added in v0.12.7

func (o *ResetConfigParams) 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 NewResetConfigParams() beforehand.

type ResetConfigURL ¶ added in v0.12.7

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

ResetConfigURL generates an URL for the reset config operation

func (*ResetConfigURL) Build ¶ added in v0.12.7

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

Build a url path and query string

func (*ResetConfigURL) BuildFull ¶ added in v0.12.7

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

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

func (*ResetConfigURL) Must ¶ added in v0.12.7

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

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

func (*ResetConfigURL) SetBasePath ¶ added in v0.12.7

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

func (o *ResetConfigURL) String() string

String returns the string representation of the path with query string

func (*ResetConfigURL) StringFull ¶ added in v0.12.7

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

StringFull returns the string representation of a complete url

func (*ResetConfigURL) WithBasePath ¶ added in v0.12.7

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

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

type SetAccessRuleWithBucket struct {
	Context *middleware.Context
	Handler SetAccessRuleWithBucketHandler
}
SetAccessRuleWithBucket swagger:route PUT /bucket/{bucket}/access-rules AdminAPI setAccessRuleWithBucket

Add Access Rule To Given Bucket

func NewSetAccessRuleWithBucket ¶ added in v0.9.1

func NewSetAccessRuleWithBucket(ctx *middleware.Context, handler SetAccessRuleWithBucketHandler) *SetAccessRuleWithBucket

NewSetAccessRuleWithBucket creates a new http.Handler for the set access rule with bucket operation

func (*SetAccessRuleWithBucket) ServeHTTP ¶ added in v0.9.1

type SetAccessRuleWithBucketDefault ¶ added in v0.9.1

type SetAccessRuleWithBucketDefault struct {

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

SetAccessRuleWithBucketDefault Generic error response.

swagger:response setAccessRuleWithBucketDefault

func NewSetAccessRuleWithBucketDefault ¶ added in v0.9.1

func NewSetAccessRuleWithBucketDefault(code int) *SetAccessRuleWithBucketDefault

NewSetAccessRuleWithBucketDefault creates SetAccessRuleWithBucketDefault with default headers values

func (*SetAccessRuleWithBucketDefault) SetPayload ¶ added in v0.9.1

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

SetPayload sets the payload to the set access rule with bucket default response

func (*SetAccessRuleWithBucketDefault) SetStatusCode ¶ added in v0.9.1

func (o *SetAccessRuleWithBucketDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set access rule with bucket default response

func (*SetAccessRuleWithBucketDefault) WithPayload ¶ added in v0.9.1

WithPayload adds the payload to the set access rule with bucket default response

func (*SetAccessRuleWithBucketDefault) WithStatusCode ¶ added in v0.9.1

WithStatusCode adds the status to the set access rule with bucket default response

func (*SetAccessRuleWithBucketDefault) WriteResponse ¶ added in v0.9.1

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

WriteResponse to the client

type SetAccessRuleWithBucketHandler ¶ added in v0.9.1

type SetAccessRuleWithBucketHandler interface {
	Handle(SetAccessRuleWithBucketParams, *models.Principal) middleware.Responder
}

SetAccessRuleWithBucketHandler interface for that can handle valid set access rule with bucket params

type SetAccessRuleWithBucketHandlerFunc ¶ added in v0.9.1

type SetAccessRuleWithBucketHandlerFunc func(SetAccessRuleWithBucketParams, *models.Principal) middleware.Responder

SetAccessRuleWithBucketHandlerFunc turns a function with the right signature into a set access rule with bucket handler

func (SetAccessRuleWithBucketHandlerFunc) Handle ¶ added in v0.9.1

Handle executing the request and returning a response

type SetAccessRuleWithBucketOK ¶ added in v0.9.1

type SetAccessRuleWithBucketOK struct {

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

SetAccessRuleWithBucketOK A successful response.

swagger:response setAccessRuleWithBucketOK

func NewSetAccessRuleWithBucketOK ¶ added in v0.9.1

func NewSetAccessRuleWithBucketOK() *SetAccessRuleWithBucketOK

NewSetAccessRuleWithBucketOK creates SetAccessRuleWithBucketOK with default headers values

func (*SetAccessRuleWithBucketOK) SetPayload ¶ added in v0.9.1

func (o *SetAccessRuleWithBucketOK) SetPayload(payload bool)

SetPayload sets the payload to the set access rule with bucket o k response

func (*SetAccessRuleWithBucketOK) WithPayload ¶ added in v0.9.1

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

WithPayload adds the payload to the set access rule with bucket o k response

func (*SetAccessRuleWithBucketOK) WriteResponse ¶ added in v0.9.1

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

WriteResponse to the client

type SetAccessRuleWithBucketParams ¶ added in v0.9.1

type SetAccessRuleWithBucketParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	Bucket string
	/*
	  Required: true
	  In: body
	*/
	Prefixaccess *models.PrefixAccessPair
}

SetAccessRuleWithBucketParams contains all the bound params for the set access rule with bucket operation typically these are obtained from a http.Request

swagger:parameters SetAccessRuleWithBucket

func NewSetAccessRuleWithBucketParams ¶ added in v0.9.1

func NewSetAccessRuleWithBucketParams() SetAccessRuleWithBucketParams

NewSetAccessRuleWithBucketParams creates a new SetAccessRuleWithBucketParams object

There are no default values defined in the spec.

func (*SetAccessRuleWithBucketParams) BindRequest ¶ added in v0.9.1

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

type SetAccessRuleWithBucketURL ¶ added in v0.9.1

type SetAccessRuleWithBucketURL struct {
	Bucket string
	// contains filtered or unexported fields
}

SetAccessRuleWithBucketURL generates an URL for the set access rule with bucket operation

func (*SetAccessRuleWithBucketURL) Build ¶ added in v0.9.1

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

Build a url path and query string

func (*SetAccessRuleWithBucketURL) BuildFull ¶ added in v0.9.1

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

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

func (*SetAccessRuleWithBucketURL) Must ¶ added in v0.9.1

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

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

func (*SetAccessRuleWithBucketURL) SetBasePath ¶ added in v0.9.1

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

func (o *SetAccessRuleWithBucketURL) String() string

String returns the string representation of the path with query string

func (*SetAccessRuleWithBucketURL) StringFull ¶ added in v0.9.1

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

StringFull returns the string representation of a complete url

func (*SetAccessRuleWithBucketURL) WithBasePath ¶ added in v0.9.1

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

type SetConfig ¶

type SetConfig struct {
	Context *middleware.Context
	Handler SetConfigHandler
}
SetConfig swagger:route PUT /configs/{name} AdminAPI setConfig

Set Configuration

func NewSetConfig ¶

func NewSetConfig(ctx *middleware.Context, handler SetConfigHandler) *SetConfig

NewSetConfig creates a new http.Handler for the set config operation

func (*SetConfig) ServeHTTP ¶

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

type SetConfigDefault ¶

type SetConfigDefault struct {

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

SetConfigDefault Generic error response.

swagger:response setConfigDefault

func NewSetConfigDefault ¶

func NewSetConfigDefault(code int) *SetConfigDefault

NewSetConfigDefault creates SetConfigDefault with default headers values

func (*SetConfigDefault) SetPayload ¶

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

SetPayload sets the payload to the set config default response

func (*SetConfigDefault) SetStatusCode ¶

func (o *SetConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set config default response

func (*SetConfigDefault) WithPayload ¶

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

WithPayload adds the payload to the set config default response

func (*SetConfigDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the set config default response

func (*SetConfigDefault) WriteResponse ¶

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

WriteResponse to the client

type SetConfigHandler ¶

type SetConfigHandler interface {
	Handle(SetConfigParams, *models.Principal) middleware.Responder
}

SetConfigHandler interface for that can handle valid set config params

type SetConfigHandlerFunc ¶

type SetConfigHandlerFunc func(SetConfigParams, *models.Principal) middleware.Responder

SetConfigHandlerFunc turns a function with the right signature into a set config handler

func (SetConfigHandlerFunc) Handle ¶

Handle executing the request and returning a response

type SetConfigOK ¶ added in v0.5.0

type SetConfigOK struct {

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

SetConfigOK A successful response.

swagger:response setConfigOK

func NewSetConfigOK ¶ added in v0.5.0

func NewSetConfigOK() *SetConfigOK

NewSetConfigOK creates SetConfigOK with default headers values

func (*SetConfigOK) SetPayload ¶ added in v0.5.0

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

SetPayload sets the payload to the set config o k response

func (*SetConfigOK) WithPayload ¶ added in v0.5.0

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

WithPayload adds the payload to the set config o k response

func (*SetConfigOK) WriteResponse ¶ added in v0.5.0

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

WriteResponse to the client

type SetConfigParams ¶

type SetConfigParams struct {

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

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

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

swagger:parameters SetConfig

func NewSetConfigParams ¶

func NewSetConfigParams() SetConfigParams

NewSetConfigParams creates a new SetConfigParams object

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 AdminAPI setPolicy

Set policy

func NewSetPolicy ¶

func NewSetPolicy(ctx *middleware.Context, handler SetPolicyHandler) *SetPolicy

NewSetPolicy creates a new http.Handler for the set policy operation

func (*SetPolicy) ServeHTTP ¶

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

type SetPolicyDefault ¶

type SetPolicyDefault struct {

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

SetPolicyDefault Generic error response.

swagger:response setPolicyDefault

func NewSetPolicyDefault ¶

func NewSetPolicyDefault(code int) *SetPolicyDefault

NewSetPolicyDefault creates SetPolicyDefault with default headers values

func (*SetPolicyDefault) SetPayload ¶

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

SetPayload sets the payload to the set policy default response

func (*SetPolicyDefault) SetStatusCode ¶

func (o *SetPolicyDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set policy default response

func (*SetPolicyDefault) WithPayload ¶

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

WithPayload adds the payload to the set policy default response

func (*SetPolicyDefault) WithStatusCode ¶

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

WithStatusCode adds the status to the set policy default response

func (*SetPolicyDefault) WriteResponse ¶

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

WriteResponse to the client

type SetPolicyHandler ¶

type SetPolicyHandler interface {
	Handle(SetPolicyParams, *models.Principal) middleware.Responder
}

SetPolicyHandler interface for that can handle valid set policy params

type SetPolicyHandlerFunc ¶

type SetPolicyHandlerFunc func(SetPolicyParams, *models.Principal) middleware.Responder

SetPolicyHandlerFunc turns a function with the right signature into a set policy handler

func (SetPolicyHandlerFunc) Handle ¶

Handle executing the request and returning a response

type SetPolicyMultiple ¶ added in v0.5.0

type SetPolicyMultiple struct {
	Context *middleware.Context
	Handler SetPolicyMultipleHandler
}
SetPolicyMultiple swagger:route PUT /set-policy-multi AdminAPI setPolicyMultiple

Set policy to multiple users/groups

func NewSetPolicyMultiple ¶ added in v0.5.0

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

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

func (*SetPolicyMultiple) ServeHTTP ¶ added in v0.5.0

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

type SetPolicyMultipleDefault ¶ added in v0.5.0

type SetPolicyMultipleDefault struct {

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

SetPolicyMultipleDefault Generic error response.

swagger:response setPolicyMultipleDefault

func NewSetPolicyMultipleDefault ¶ added in v0.5.0

func NewSetPolicyMultipleDefault(code int) *SetPolicyMultipleDefault

NewSetPolicyMultipleDefault creates SetPolicyMultipleDefault with default headers values

func (*SetPolicyMultipleDefault) SetPayload ¶ added in v0.5.0

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

SetPayload sets the payload to the set policy multiple default response

func (*SetPolicyMultipleDefault) SetStatusCode ¶ added in v0.5.0

func (o *SetPolicyMultipleDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set policy multiple default response

func (*SetPolicyMultipleDefault) WithPayload ¶ added in v0.5.0

WithPayload adds the payload to the set policy multiple default response

func (*SetPolicyMultipleDefault) WithStatusCode ¶ added in v0.5.0

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

WithStatusCode adds the status to the set policy multiple default response

func (*SetPolicyMultipleDefault) WriteResponse ¶ added in v0.5.0

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

WriteResponse to the client

type SetPolicyMultipleHandler ¶ added in v0.5.0

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

SetPolicyMultipleHandler interface for that can handle valid set policy multiple params

type SetPolicyMultipleHandlerFunc ¶ added in v0.5.0

type SetPolicyMultipleHandlerFunc func(SetPolicyMultipleParams, *models.Principal) middleware.Responder

SetPolicyMultipleHandlerFunc turns a function with the right signature into a set policy multiple handler

func (SetPolicyMultipleHandlerFunc) Handle ¶ added in v0.5.0

Handle executing the request and returning a response

type SetPolicyMultipleNoContent ¶ added in v0.5.0

type SetPolicyMultipleNoContent struct {
}

SetPolicyMultipleNoContent A successful response.

swagger:response setPolicyMultipleNoContent

func NewSetPolicyMultipleNoContent ¶ added in v0.5.0

func NewSetPolicyMultipleNoContent() *SetPolicyMultipleNoContent

NewSetPolicyMultipleNoContent creates SetPolicyMultipleNoContent with default headers values

func (*SetPolicyMultipleNoContent) WriteResponse ¶ added in v0.5.0

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

WriteResponse to the client

type SetPolicyMultipleParams ¶ added in v0.5.0

type SetPolicyMultipleParams struct {

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

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

SetPolicyMultipleParams contains all the bound params for the set policy multiple operation typically these are obtained from a http.Request

swagger:parameters SetPolicyMultiple

func NewSetPolicyMultipleParams ¶ added in v0.5.0

func NewSetPolicyMultipleParams() SetPolicyMultipleParams

NewSetPolicyMultipleParams creates a new SetPolicyMultipleParams object

There are no default values defined in the spec.

func (*SetPolicyMultipleParams) BindRequest ¶ added in v0.5.0

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

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

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

type SetPolicyMultipleURL ¶ added in v0.5.0

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

SetPolicyMultipleURL generates an URL for the set policy multiple operation

func (*SetPolicyMultipleURL) Build ¶ added in v0.5.0

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

Build a url path and query string

func (*SetPolicyMultipleURL) BuildFull ¶ added in v0.5.0

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

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

func (*SetPolicyMultipleURL) Must ¶ added in v0.5.0

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

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

func (*SetPolicyMultipleURL) SetBasePath ¶ added in v0.5.0

func (o *SetPolicyMultipleURL) SetBasePath(bp string)

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

func (*SetPolicyMultipleURL) String ¶ added in v0.5.0

func (o *SetPolicyMultipleURL) String() string

String returns the string representation of the path with query string

func (*SetPolicyMultipleURL) StringFull ¶ added in v0.5.0

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

StringFull returns the string representation of a complete url

func (*SetPolicyMultipleURL) WithBasePath ¶ added in v0.5.0

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

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

type SetPolicyNoContent ¶

type SetPolicyNoContent struct {
}

SetPolicyNoContent A successful response.

swagger:response setPolicyNoContent

func NewSetPolicyNoContent ¶

func NewSetPolicyNoContent() *SetPolicyNoContent

NewSetPolicyNoContent creates SetPolicyNoContent with default headers values

func (*SetPolicyNoContent) WriteResponse ¶

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

WriteResponse to the client

type SetPolicyParams ¶

type SetPolicyParams struct {

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

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

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 {
	// 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 SiteReplicationEdit ¶ added in v0.15.8

type SiteReplicationEdit struct {
	Context *middleware.Context
	Handler SiteReplicationEditHandler
}
SiteReplicationEdit swagger:route PUT /admin/site-replication AdminAPI siteReplicationEdit

Edit a Replication Site

func NewSiteReplicationEdit ¶ added in v0.15.8

func NewSiteReplicationEdit(ctx *middleware.Context, handler SiteReplicationEditHandler) *SiteReplicationEdit

NewSiteReplicationEdit creates a new http.Handler for the site replication edit operation

func (*SiteReplicationEdit) ServeHTTP ¶ added in v0.15.8

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

type SiteReplicationEditDefault ¶ added in v0.15.8

type SiteReplicationEditDefault struct {

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

SiteReplicationEditDefault Generic error response.

swagger:response siteReplicationEditDefault

func NewSiteReplicationEditDefault ¶ added in v0.15.8

func NewSiteReplicationEditDefault(code int) *SiteReplicationEditDefault

NewSiteReplicationEditDefault creates SiteReplicationEditDefault with default headers values

func (*SiteReplicationEditDefault) SetPayload ¶ added in v0.15.8

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

SetPayload sets the payload to the site replication edit default response

func (*SiteReplicationEditDefault) SetStatusCode ¶ added in v0.15.8

func (o *SiteReplicationEditDefault) SetStatusCode(code int)

SetStatusCode sets the status to the site replication edit default response

func (*SiteReplicationEditDefault) WithPayload ¶ added in v0.15.8

WithPayload adds the payload to the site replication edit default response

func (*SiteReplicationEditDefault) WithStatusCode ¶ added in v0.15.8

WithStatusCode adds the status to the site replication edit default response

func (*SiteReplicationEditDefault) WriteResponse ¶ added in v0.15.8

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

WriteResponse to the client

type SiteReplicationEditHandler ¶ added in v0.15.8

type SiteReplicationEditHandler interface {
	Handle(SiteReplicationEditParams, *models.Principal) middleware.Responder
}

SiteReplicationEditHandler interface for that can handle valid site replication edit params

type SiteReplicationEditHandlerFunc ¶ added in v0.15.8

type SiteReplicationEditHandlerFunc func(SiteReplicationEditParams, *models.Principal) middleware.Responder

SiteReplicationEditHandlerFunc turns a function with the right signature into a site replication edit handler

func (SiteReplicationEditHandlerFunc) Handle ¶ added in v0.15.8

Handle executing the request and returning a response

type SiteReplicationEditOK ¶ added in v0.15.8

type SiteReplicationEditOK struct {

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

SiteReplicationEditOK A successful response.

swagger:response siteReplicationEditOK

func NewSiteReplicationEditOK ¶ added in v0.15.8

func NewSiteReplicationEditOK() *SiteReplicationEditOK

NewSiteReplicationEditOK creates SiteReplicationEditOK with default headers values

func (*SiteReplicationEditOK) SetPayload ¶ added in v0.15.8

func (o *SiteReplicationEditOK) SetPayload(payload *models.PeerSiteEditResponse)

SetPayload sets the payload to the site replication edit o k response

func (*SiteReplicationEditOK) WithPayload ¶ added in v0.15.8

WithPayload adds the payload to the site replication edit o k response

func (*SiteReplicationEditOK) WriteResponse ¶ added in v0.15.8

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

WriteResponse to the client

type SiteReplicationEditParams ¶ added in v0.15.8

type SiteReplicationEditParams struct {

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

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

SiteReplicationEditParams contains all the bound params for the site replication edit operation typically these are obtained from a http.Request

swagger:parameters SiteReplicationEdit

func NewSiteReplicationEditParams ¶ added in v0.15.8

func NewSiteReplicationEditParams() SiteReplicationEditParams

NewSiteReplicationEditParams creates a new SiteReplicationEditParams object

There are no default values defined in the spec.

func (*SiteReplicationEditParams) BindRequest ¶ added in v0.15.8

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

type SiteReplicationEditURL ¶ added in v0.15.8

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

SiteReplicationEditURL generates an URL for the site replication edit operation

func (*SiteReplicationEditURL) Build ¶ added in v0.15.8

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

Build a url path and query string

func (*SiteReplicationEditURL) BuildFull ¶ added in v0.15.8

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

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

func (*SiteReplicationEditURL) Must ¶ added in v0.15.8

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

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

func (*SiteReplicationEditURL) SetBasePath ¶ added in v0.15.8

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

func (o *SiteReplicationEditURL) String() string

String returns the string representation of the path with query string

func (*SiteReplicationEditURL) StringFull ¶ added in v0.15.8

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

StringFull returns the string representation of a complete url

func (*SiteReplicationEditURL) WithBasePath ¶ added in v0.15.8

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

type SiteReplicationInfoAdd struct {
	Context *middleware.Context
	Handler SiteReplicationInfoAddHandler
}
SiteReplicationInfoAdd swagger:route POST /admin/site-replication AdminAPI siteReplicationInfoAdd

Add a Replication Site

func NewSiteReplicationInfoAdd ¶ added in v0.15.8

func NewSiteReplicationInfoAdd(ctx *middleware.Context, handler SiteReplicationInfoAddHandler) *SiteReplicationInfoAdd

NewSiteReplicationInfoAdd creates a new http.Handler for the site replication info add operation

func (*SiteReplicationInfoAdd) ServeHTTP ¶ added in v0.15.8

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

type SiteReplicationInfoAddDefault ¶ added in v0.15.8

type SiteReplicationInfoAddDefault struct {

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

SiteReplicationInfoAddDefault Generic error response.

swagger:response siteReplicationInfoAddDefault

func NewSiteReplicationInfoAddDefault ¶ added in v0.15.8

func NewSiteReplicationInfoAddDefault(code int) *SiteReplicationInfoAddDefault

NewSiteReplicationInfoAddDefault creates SiteReplicationInfoAddDefault with default headers values

func (*SiteReplicationInfoAddDefault) SetPayload ¶ added in v0.15.8

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

SetPayload sets the payload to the site replication info add default response

func (*SiteReplicationInfoAddDefault) SetStatusCode ¶ added in v0.15.8

func (o *SiteReplicationInfoAddDefault) SetStatusCode(code int)

SetStatusCode sets the status to the site replication info add default response

func (*SiteReplicationInfoAddDefault) WithPayload ¶ added in v0.15.8

WithPayload adds the payload to the site replication info add default response

func (*SiteReplicationInfoAddDefault) WithStatusCode ¶ added in v0.15.8

WithStatusCode adds the status to the site replication info add default response

func (*SiteReplicationInfoAddDefault) WriteResponse ¶ added in v0.15.8

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

WriteResponse to the client

type SiteReplicationInfoAddHandler ¶ added in v0.15.8

type SiteReplicationInfoAddHandler interface {
	Handle(SiteReplicationInfoAddParams, *models.Principal) middleware.Responder
}

SiteReplicationInfoAddHandler interface for that can handle valid site replication info add params

type SiteReplicationInfoAddHandlerFunc ¶ added in v0.15.8

type SiteReplicationInfoAddHandlerFunc func(SiteReplicationInfoAddParams, *models.Principal) middleware.Responder

SiteReplicationInfoAddHandlerFunc turns a function with the right signature into a site replication info add handler

func (SiteReplicationInfoAddHandlerFunc) Handle ¶ added in v0.15.8

Handle executing the request and returning a response

type SiteReplicationInfoAddOK ¶ added in v0.15.8

type SiteReplicationInfoAddOK struct {

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

SiteReplicationInfoAddOK A successful response.

swagger:response siteReplicationInfoAddOK

func NewSiteReplicationInfoAddOK ¶ added in v0.15.8

func NewSiteReplicationInfoAddOK() *SiteReplicationInfoAddOK

NewSiteReplicationInfoAddOK creates SiteReplicationInfoAddOK with default headers values

func (*SiteReplicationInfoAddOK) SetPayload ¶ added in v0.15.8

SetPayload sets the payload to the site replication info add o k response

func (*SiteReplicationInfoAddOK) WithPayload ¶ added in v0.15.8

WithPayload adds the payload to the site replication info add o k response

func (*SiteReplicationInfoAddOK) WriteResponse ¶ added in v0.15.8

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

WriteResponse to the client

type SiteReplicationInfoAddParams ¶ added in v0.15.8

type SiteReplicationInfoAddParams struct {

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

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

SiteReplicationInfoAddParams contains all the bound params for the site replication info add operation typically these are obtained from a http.Request

swagger:parameters SiteReplicationInfoAdd

func NewSiteReplicationInfoAddParams ¶ added in v0.15.8

func NewSiteReplicationInfoAddParams() SiteReplicationInfoAddParams

NewSiteReplicationInfoAddParams creates a new SiteReplicationInfoAddParams object

There are no default values defined in the spec.

func (*SiteReplicationInfoAddParams) BindRequest ¶ added in v0.15.8

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

type SiteReplicationInfoAddURL ¶ added in v0.15.8

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

SiteReplicationInfoAddURL generates an URL for the site replication info add operation

func (*SiteReplicationInfoAddURL) Build ¶ added in v0.15.8

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

Build a url path and query string

func (*SiteReplicationInfoAddURL) BuildFull ¶ added in v0.15.8

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

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

func (*SiteReplicationInfoAddURL) Must ¶ added in v0.15.8

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

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

func (*SiteReplicationInfoAddURL) SetBasePath ¶ added in v0.15.8

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

func (o *SiteReplicationInfoAddURL) String() string

String returns the string representation of the path with query string

func (*SiteReplicationInfoAddURL) StringFull ¶ added in v0.15.8

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

StringFull returns the string representation of a complete url

func (*SiteReplicationInfoAddURL) WithBasePath ¶ added in v0.15.8

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

type SiteReplicationRemove struct {
	Context *middleware.Context
	Handler SiteReplicationRemoveHandler
}
SiteReplicationRemove swagger:route DELETE /admin/site-replication AdminAPI siteReplicationRemove

Remove a Replication Site

func NewSiteReplicationRemove ¶ added in v0.15.8

func NewSiteReplicationRemove(ctx *middleware.Context, handler SiteReplicationRemoveHandler) *SiteReplicationRemove

NewSiteReplicationRemove creates a new http.Handler for the site replication remove operation

func (*SiteReplicationRemove) ServeHTTP ¶ added in v0.15.8

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

type SiteReplicationRemoveDefault ¶ added in v0.15.8

type SiteReplicationRemoveDefault struct {

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

SiteReplicationRemoveDefault Generic error response.

swagger:response siteReplicationRemoveDefault

func NewSiteReplicationRemoveDefault ¶ added in v0.15.8

func NewSiteReplicationRemoveDefault(code int) *SiteReplicationRemoveDefault

NewSiteReplicationRemoveDefault creates SiteReplicationRemoveDefault with default headers values

func (*SiteReplicationRemoveDefault) SetPayload ¶ added in v0.15.8

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

SetPayload sets the payload to the site replication remove default response

func (*SiteReplicationRemoveDefault) SetStatusCode ¶ added in v0.15.8

func (o *SiteReplicationRemoveDefault) SetStatusCode(code int)

SetStatusCode sets the status to the site replication remove default response

func (*SiteReplicationRemoveDefault) WithPayload ¶ added in v0.15.8

WithPayload adds the payload to the site replication remove default response

func (*SiteReplicationRemoveDefault) WithStatusCode ¶ added in v0.15.8

WithStatusCode adds the status to the site replication remove default response

func (*SiteReplicationRemoveDefault) WriteResponse ¶ added in v0.15.8

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

WriteResponse to the client

type SiteReplicationRemoveHandler ¶ added in v0.15.8

type SiteReplicationRemoveHandler interface {
	Handle(SiteReplicationRemoveParams, *models.Principal) middleware.Responder
}

SiteReplicationRemoveHandler interface for that can handle valid site replication remove params

type SiteReplicationRemoveHandlerFunc ¶ added in v0.15.8

type SiteReplicationRemoveHandlerFunc func(SiteReplicationRemoveParams, *models.Principal) middleware.Responder

SiteReplicationRemoveHandlerFunc turns a function with the right signature into a site replication remove handler

func (SiteReplicationRemoveHandlerFunc) Handle ¶ added in v0.15.8

Handle executing the request and returning a response

type SiteReplicationRemoveNoContent ¶ added in v0.15.8

type SiteReplicationRemoveNoContent struct {

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

SiteReplicationRemoveNoContent A successful response.

swagger:response siteReplicationRemoveNoContent

func NewSiteReplicationRemoveNoContent ¶ added in v0.15.8

func NewSiteReplicationRemoveNoContent() *SiteReplicationRemoveNoContent

NewSiteReplicationRemoveNoContent creates SiteReplicationRemoveNoContent with default headers values

func (*SiteReplicationRemoveNoContent) SetPayload ¶ added in v0.15.8

SetPayload sets the payload to the site replication remove no content response

func (*SiteReplicationRemoveNoContent) WithPayload ¶ added in v0.15.8

WithPayload adds the payload to the site replication remove no content response

func (*SiteReplicationRemoveNoContent) WriteResponse ¶ added in v0.15.8

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

WriteResponse to the client

type SiteReplicationRemoveParams ¶ added in v0.15.8

type SiteReplicationRemoveParams struct {

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

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

SiteReplicationRemoveParams contains all the bound params for the site replication remove operation typically these are obtained from a http.Request

swagger:parameters SiteReplicationRemove

func NewSiteReplicationRemoveParams ¶ added in v0.15.8

func NewSiteReplicationRemoveParams() SiteReplicationRemoveParams

NewSiteReplicationRemoveParams creates a new SiteReplicationRemoveParams object

There are no default values defined in the spec.

func (*SiteReplicationRemoveParams) BindRequest ¶ added in v0.15.8

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

type SiteReplicationRemoveURL ¶ added in v0.15.8

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

SiteReplicationRemoveURL generates an URL for the site replication remove operation

func (*SiteReplicationRemoveURL) Build ¶ added in v0.15.8

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

Build a url path and query string

func (*SiteReplicationRemoveURL) BuildFull ¶ added in v0.15.8

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

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

func (*SiteReplicationRemoveURL) Must ¶ added in v0.15.8

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

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

func (*SiteReplicationRemoveURL) SetBasePath ¶ added in v0.15.8

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

func (o *SiteReplicationRemoveURL) String() string

String returns the string representation of the path with query string

func (*SiteReplicationRemoveURL) StringFull ¶ added in v0.15.8

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

StringFull returns the string representation of a complete url

func (*SiteReplicationRemoveURL) WithBasePath ¶ added in v0.15.8

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

type SubnetInfo struct {
	Context *middleware.Context
	Handler SubnetInfoHandler
}
SubnetInfo swagger:route GET /subnet/info AdminAPI subnetInfo

Subnet info

func NewSubnetInfo ¶ added in v0.14.0

func NewSubnetInfo(ctx *middleware.Context, handler SubnetInfoHandler) *SubnetInfo

NewSubnetInfo creates a new http.Handler for the subnet info operation

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

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

type SubnetInfoDefault ¶ added in v0.14.0

type SubnetInfoDefault struct {

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

SubnetInfoDefault Generic error response.

swagger:response subnetInfoDefault

func NewSubnetInfoDefault ¶ added in v0.14.0

func NewSubnetInfoDefault(code int) *SubnetInfoDefault

NewSubnetInfoDefault creates SubnetInfoDefault with default headers values

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

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

SetPayload sets the payload to the subnet info default response

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

func (o *SubnetInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subnet info default response

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

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

WithPayload adds the payload to the subnet info default response

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

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

WithStatusCode adds the status to the subnet info default response

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

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

WriteResponse to the client

type SubnetInfoHandler ¶ added in v0.14.0

type SubnetInfoHandler interface {
	Handle(SubnetInfoParams, *models.Principal) middleware.Responder
}

SubnetInfoHandler interface for that can handle valid subnet info params

type SubnetInfoHandlerFunc ¶ added in v0.14.0

type SubnetInfoHandlerFunc func(SubnetInfoParams, *models.Principal) middleware.Responder

SubnetInfoHandlerFunc turns a function with the right signature into a subnet info handler

func (SubnetInfoHandlerFunc) Handle ¶ added in v0.14.0

Handle executing the request and returning a response

type SubnetInfoOK ¶ added in v0.14.0

type SubnetInfoOK struct {

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

SubnetInfoOK A successful response.

swagger:response subnetInfoOK

func NewSubnetInfoOK ¶ added in v0.14.0

func NewSubnetInfoOK() *SubnetInfoOK

NewSubnetInfoOK creates SubnetInfoOK with default headers values

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

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

SetPayload sets the payload to the subnet info o k response

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

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

WithPayload adds the payload to the subnet info o k response

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

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

WriteResponse to the client

type SubnetInfoParams ¶ added in v0.14.0

type SubnetInfoParams struct {

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

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

swagger:parameters SubnetInfo

func NewSubnetInfoParams ¶ added in v0.14.0

func NewSubnetInfoParams() SubnetInfoParams

NewSubnetInfoParams creates a new SubnetInfoParams object

There are no default values defined in the spec.

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

func (o *SubnetInfoParams) 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 NewSubnetInfoParams() beforehand.

type SubnetInfoURL ¶ added in v0.14.0

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

SubnetInfoURL generates an URL for the subnet info operation

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

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

Build a url path and query string

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

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

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

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

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

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

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

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

func (o *SubnetInfoURL) String() string

String returns the string representation of the path with query string

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

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

StringFull returns the string representation of a complete url

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

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

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

type SubnetLogin struct {
	Context *middleware.Context
	Handler SubnetLoginHandler
}
SubnetLogin swagger:route POST /subnet/login AdminAPI subnetLogin

Login to subnet

func NewSubnetLogin ¶ added in v0.14.0

func NewSubnetLogin(ctx *middleware.Context, handler SubnetLoginHandler) *SubnetLogin

NewSubnetLogin creates a new http.Handler for the subnet login operation

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

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

type SubnetLoginDefault ¶ added in v0.14.0

type SubnetLoginDefault struct {

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

SubnetLoginDefault Generic error response.

swagger:response subnetLoginDefault

func NewSubnetLoginDefault ¶ added in v0.14.0

func NewSubnetLoginDefault(code int) *SubnetLoginDefault

NewSubnetLoginDefault creates SubnetLoginDefault with default headers values

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

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

SetPayload sets the payload to the subnet login default response

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

func (o *SubnetLoginDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subnet login default response

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

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

WithPayload adds the payload to the subnet login default response

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

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

WithStatusCode adds the status to the subnet login default response

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

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

WriteResponse to the client

type SubnetLoginHandler ¶ added in v0.14.0

type SubnetLoginHandler interface {
	Handle(SubnetLoginParams, *models.Principal) middleware.Responder
}

SubnetLoginHandler interface for that can handle valid subnet login params

type SubnetLoginHandlerFunc ¶ added in v0.14.0

type SubnetLoginHandlerFunc func(SubnetLoginParams, *models.Principal) middleware.Responder

SubnetLoginHandlerFunc turns a function with the right signature into a subnet login handler

func (SubnetLoginHandlerFunc) Handle ¶ added in v0.14.0

Handle executing the request and returning a response

type SubnetLoginMFA ¶ added in v0.14.0

type SubnetLoginMFA struct {
	Context *middleware.Context
	Handler SubnetLoginMFAHandler
}
SubnetLoginMFA swagger:route POST /subnet/login/mfa AdminAPI subnetLoginMFA

Login to subnet using mfa

func NewSubnetLoginMFA ¶ added in v0.14.0

func NewSubnetLoginMFA(ctx *middleware.Context, handler SubnetLoginMFAHandler) *SubnetLoginMFA

NewSubnetLoginMFA creates a new http.Handler for the subnet login m f a operation

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

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

type SubnetLoginMFADefault ¶ added in v0.14.0

type SubnetLoginMFADefault struct {

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

SubnetLoginMFADefault Generic error response.

swagger:response subnetLoginMFADefault

func NewSubnetLoginMFADefault ¶ added in v0.14.0

func NewSubnetLoginMFADefault(code int) *SubnetLoginMFADefault

NewSubnetLoginMFADefault creates SubnetLoginMFADefault with default headers values

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

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

SetPayload sets the payload to the subnet login m f a default response

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

func (o *SubnetLoginMFADefault) SetStatusCode(code int)

SetStatusCode sets the status to the subnet login m f a default response

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

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

WithPayload adds the payload to the subnet login m f a default response

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

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

WithStatusCode adds the status to the subnet login m f a default response

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

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

WriteResponse to the client

type SubnetLoginMFAHandler ¶ added in v0.14.0

type SubnetLoginMFAHandler interface {
	Handle(SubnetLoginMFAParams, *models.Principal) middleware.Responder
}

SubnetLoginMFAHandler interface for that can handle valid subnet login m f a params

type SubnetLoginMFAHandlerFunc ¶ added in v0.14.0

type SubnetLoginMFAHandlerFunc func(SubnetLoginMFAParams, *models.Principal) middleware.Responder

SubnetLoginMFAHandlerFunc turns a function with the right signature into a subnet login m f a handler

func (SubnetLoginMFAHandlerFunc) Handle ¶ added in v0.14.0

Handle executing the request and returning a response

type SubnetLoginMFAOK ¶ added in v0.14.0

type SubnetLoginMFAOK struct {

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

SubnetLoginMFAOK A successful response.

swagger:response subnetLoginMFAOK

func NewSubnetLoginMFAOK ¶ added in v0.14.0

func NewSubnetLoginMFAOK() *SubnetLoginMFAOK

NewSubnetLoginMFAOK creates SubnetLoginMFAOK with default headers values

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

func (o *SubnetLoginMFAOK) SetPayload(payload *models.SubnetLoginResponse)

SetPayload sets the payload to the subnet login m f a o k response

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

func (o *SubnetLoginMFAOK) WithPayload(payload *models.SubnetLoginResponse) *SubnetLoginMFAOK

WithPayload adds the payload to the subnet login m f a o k response

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

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

WriteResponse to the client

type SubnetLoginMFAParams ¶ added in v0.14.0

type SubnetLoginMFAParams struct {

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

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

SubnetLoginMFAParams contains all the bound params for the subnet login m f a operation typically these are obtained from a http.Request

swagger:parameters SubnetLoginMFA

func NewSubnetLoginMFAParams ¶ added in v0.14.0

func NewSubnetLoginMFAParams() SubnetLoginMFAParams

NewSubnetLoginMFAParams creates a new SubnetLoginMFAParams object

There are no default values defined in the spec.

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

func (o *SubnetLoginMFAParams) 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 NewSubnetLoginMFAParams() beforehand.

type SubnetLoginMFAURL ¶ added in v0.14.0

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

SubnetLoginMFAURL generates an URL for the subnet login m f a operation

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

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

Build a url path and query string

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

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

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

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

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

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

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

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

func (o *SubnetLoginMFAURL) String() string

String returns the string representation of the path with query string

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

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

StringFull returns the string representation of a complete url

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

func (o *SubnetLoginMFAURL) WithBasePath(bp string) *SubnetLoginMFAURL

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 SubnetLoginOK ¶ added in v0.14.0

type SubnetLoginOK struct {

	/*
	  In: Body
	*/
	Payload *models.SubnetLoginResponse `json:"body,omitempty"`
}

SubnetLoginOK A successful response.

swagger:response subnetLoginOK

func NewSubnetLoginOK ¶ added in v0.14.0

func NewSubnetLoginOK() *SubnetLoginOK

NewSubnetLoginOK creates SubnetLoginOK with default headers values

func (*SubnetLoginOK) SetPayload ¶ added in v0.14.0

func (o *SubnetLoginOK) SetPayload(payload *models.SubnetLoginResponse)

SetPayload sets the payload to the subnet login o k response

func (*SubnetLoginOK) WithPayload ¶ added in v0.14.0

func (o *SubnetLoginOK) WithPayload(payload *models.SubnetLoginResponse) *SubnetLoginOK

WithPayload adds the payload to the subnet login o k response

func (*SubnetLoginOK) WriteResponse ¶ added in v0.14.0

func (o *SubnetLoginOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SubnetLoginParams ¶ added in v0.14.0

type SubnetLoginParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.SubnetLoginRequest
}

SubnetLoginParams contains all the bound params for the subnet login operation typically these are obtained from a http.Request

swagger:parameters SubnetLogin

func NewSubnetLoginParams ¶ added in v0.14.0

func NewSubnetLoginParams() SubnetLoginParams

NewSubnetLoginParams creates a new SubnetLoginParams object

There are no default values defined in the spec.

func (*SubnetLoginParams) BindRequest ¶ added in v0.14.0

func (o *SubnetLoginParams) 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 NewSubnetLoginParams() beforehand.

type SubnetLoginURL ¶ added in v0.14.0

type SubnetLoginURL struct {
	// contains filtered or unexported fields
}

SubnetLoginURL generates an URL for the subnet login operation

func (*SubnetLoginURL) Build ¶ added in v0.14.0

func (o *SubnetLoginURL) Build() (*url.URL, error)

Build a url path and query string

func (*SubnetLoginURL) BuildFull ¶ added in v0.14.0

func (o *SubnetLoginURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SubnetLoginURL) Must ¶ added in v0.14.0

func (o *SubnetLoginURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SubnetLoginURL) SetBasePath ¶ added in v0.14.0

func (o *SubnetLoginURL) 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 (*SubnetLoginURL) String ¶ added in v0.14.0

func (o *SubnetLoginURL) String() string

String returns the string representation of the path with query string

func (*SubnetLoginURL) StringFull ¶ added in v0.14.0

func (o *SubnetLoginURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SubnetLoginURL) WithBasePath ¶ added in v0.14.0

func (o *SubnetLoginURL) WithBasePath(bp string) *SubnetLoginURL

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 SubnetRegToken ¶ added in v0.14.0

type SubnetRegToken struct {
	Context *middleware.Context
	Handler SubnetRegTokenHandler
}
SubnetRegToken swagger:route GET /subnet/registration-token AdminAPI subnetRegToken

Subnet registraton token

func NewSubnetRegToken ¶ added in v0.14.0

func NewSubnetRegToken(ctx *middleware.Context, handler SubnetRegTokenHandler) *SubnetRegToken

NewSubnetRegToken creates a new http.Handler for the subnet reg token operation

func (*SubnetRegToken) ServeHTTP ¶ added in v0.14.0

func (o *SubnetRegToken) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SubnetRegTokenDefault ¶ added in v0.14.0

type SubnetRegTokenDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

SubnetRegTokenDefault Generic error response.

swagger:response subnetRegTokenDefault

func NewSubnetRegTokenDefault ¶ added in v0.14.0

func NewSubnetRegTokenDefault(code int) *SubnetRegTokenDefault

NewSubnetRegTokenDefault creates SubnetRegTokenDefault with default headers values

func (*SubnetRegTokenDefault) SetPayload ¶ added in v0.14.0

func (o *SubnetRegTokenDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the subnet reg token default response

func (*SubnetRegTokenDefault) SetStatusCode ¶ added in v0.14.0

func (o *SubnetRegTokenDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subnet reg token default response

func (*SubnetRegTokenDefault) WithPayload ¶ added in v0.14.0

func (o *SubnetRegTokenDefault) WithPayload(payload *models.Error) *SubnetRegTokenDefault

WithPayload adds the payload to the subnet reg token default response

func (*SubnetRegTokenDefault) WithStatusCode ¶ added in v0.14.0

func (o *SubnetRegTokenDefault) WithStatusCode(code int) *SubnetRegTokenDefault

WithStatusCode adds the status to the subnet reg token default response

func (*SubnetRegTokenDefault) WriteResponse ¶ added in v0.14.0

func (o *SubnetRegTokenDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SubnetRegTokenHandler ¶ added in v0.14.0

type SubnetRegTokenHandler interface {
	Handle(SubnetRegTokenParams, *models.Principal) middleware.Responder
}

SubnetRegTokenHandler interface for that can handle valid subnet reg token params

type SubnetRegTokenHandlerFunc ¶ added in v0.14.0

type SubnetRegTokenHandlerFunc func(SubnetRegTokenParams, *models.Principal) middleware.Responder

SubnetRegTokenHandlerFunc turns a function with the right signature into a subnet reg token handler

func (SubnetRegTokenHandlerFunc) Handle ¶ added in v0.14.0

Handle executing the request and returning a response

type SubnetRegTokenOK ¶ added in v0.14.0

type SubnetRegTokenOK struct {

	/*
	  In: Body
	*/
	Payload *models.SubnetRegTokenResponse `json:"body,omitempty"`
}

SubnetRegTokenOK A successful response.

swagger:response subnetRegTokenOK

func NewSubnetRegTokenOK ¶ added in v0.14.0

func NewSubnetRegTokenOK() *SubnetRegTokenOK

NewSubnetRegTokenOK creates SubnetRegTokenOK with default headers values

func (*SubnetRegTokenOK) SetPayload ¶ added in v0.14.0

func (o *SubnetRegTokenOK) SetPayload(payload *models.SubnetRegTokenResponse)

SetPayload sets the payload to the subnet reg token o k response

func (*SubnetRegTokenOK) WithPayload ¶ added in v0.14.0

WithPayload adds the payload to the subnet reg token o k response

func (*SubnetRegTokenOK) WriteResponse ¶ added in v0.14.0

func (o *SubnetRegTokenOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SubnetRegTokenParams ¶ added in v0.14.0

type SubnetRegTokenParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

SubnetRegTokenParams contains all the bound params for the subnet reg token operation typically these are obtained from a http.Request

swagger:parameters SubnetRegToken

func NewSubnetRegTokenParams ¶ added in v0.14.0

func NewSubnetRegTokenParams() SubnetRegTokenParams

NewSubnetRegTokenParams creates a new SubnetRegTokenParams object

There are no default values defined in the spec.

func (*SubnetRegTokenParams) BindRequest ¶ added in v0.14.0

func (o *SubnetRegTokenParams) 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 NewSubnetRegTokenParams() beforehand.

type SubnetRegTokenURL ¶ added in v0.14.0

type SubnetRegTokenURL struct {
	// contains filtered or unexported fields
}

SubnetRegTokenURL generates an URL for the subnet reg token operation

func (*SubnetRegTokenURL) Build ¶ added in v0.14.0

func (o *SubnetRegTokenURL) Build() (*url.URL, error)

Build a url path and query string

func (*SubnetRegTokenURL) BuildFull ¶ added in v0.14.0

func (o *SubnetRegTokenURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SubnetRegTokenURL) Must ¶ added in v0.14.0

func (o *SubnetRegTokenURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SubnetRegTokenURL) SetBasePath ¶ added in v0.14.0

func (o *SubnetRegTokenURL) 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 (*SubnetRegTokenURL) String ¶ added in v0.14.0

func (o *SubnetRegTokenURL) String() string

String returns the string representation of the path with query string

func (*SubnetRegTokenURL) StringFull ¶ added in v0.14.0

func (o *SubnetRegTokenURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SubnetRegTokenURL) WithBasePath ¶ added in v0.14.0

func (o *SubnetRegTokenURL) WithBasePath(bp string) *SubnetRegTokenURL

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 SubnetRegister ¶ added in v0.14.0

type SubnetRegister struct {
	Context *middleware.Context
	Handler SubnetRegisterHandler
}
SubnetRegister swagger:route POST /subnet/register AdminAPI subnetRegister

Register cluster with Subnet

func NewSubnetRegister ¶ added in v0.14.0

func NewSubnetRegister(ctx *middleware.Context, handler SubnetRegisterHandler) *SubnetRegister

NewSubnetRegister creates a new http.Handler for the subnet register operation

func (*SubnetRegister) ServeHTTP ¶ added in v0.14.0

func (o *SubnetRegister) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SubnetRegisterDefault ¶ added in v0.14.0

type SubnetRegisterDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

SubnetRegisterDefault Generic error response.

swagger:response subnetRegisterDefault

func NewSubnetRegisterDefault ¶ added in v0.14.0

func NewSubnetRegisterDefault(code int) *SubnetRegisterDefault

NewSubnetRegisterDefault creates SubnetRegisterDefault with default headers values

func (*SubnetRegisterDefault) SetPayload ¶ added in v0.14.0

func (o *SubnetRegisterDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the subnet register default response

func (*SubnetRegisterDefault) SetStatusCode ¶ added in v0.14.0

func (o *SubnetRegisterDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subnet register default response

func (*SubnetRegisterDefault) WithPayload ¶ added in v0.14.0

func (o *SubnetRegisterDefault) WithPayload(payload *models.Error) *SubnetRegisterDefault

WithPayload adds the payload to the subnet register default response

func (*SubnetRegisterDefault) WithStatusCode ¶ added in v0.14.0

func (o *SubnetRegisterDefault) WithStatusCode(code int) *SubnetRegisterDefault

WithStatusCode adds the status to the subnet register default response

func (*SubnetRegisterDefault) WriteResponse ¶ added in v0.14.0

func (o *SubnetRegisterDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SubnetRegisterHandler ¶ added in v0.14.0

type SubnetRegisterHandler interface {
	Handle(SubnetRegisterParams, *models.Principal) middleware.Responder
}

SubnetRegisterHandler interface for that can handle valid subnet register params

type SubnetRegisterHandlerFunc ¶ added in v0.14.0

type SubnetRegisterHandlerFunc func(SubnetRegisterParams, *models.Principal) middleware.Responder

SubnetRegisterHandlerFunc turns a function with the right signature into a subnet register handler

func (SubnetRegisterHandlerFunc) Handle ¶ added in v0.14.0

Handle executing the request and returning a response

type SubnetRegisterOK ¶ added in v0.14.0

type SubnetRegisterOK struct {
}

SubnetRegisterOK A successful response.

swagger:response subnetRegisterOK

func NewSubnetRegisterOK ¶ added in v0.14.0

func NewSubnetRegisterOK() *SubnetRegisterOK

NewSubnetRegisterOK creates SubnetRegisterOK with default headers values

func (*SubnetRegisterOK) WriteResponse ¶ added in v0.14.0

func (o *SubnetRegisterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SubnetRegisterParams ¶ added in v0.14.0

type SubnetRegisterParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.SubnetRegisterRequest
}

SubnetRegisterParams contains all the bound params for the subnet register operation typically these are obtained from a http.Request

swagger:parameters SubnetRegister

func NewSubnetRegisterParams ¶ added in v0.14.0

func NewSubnetRegisterParams() SubnetRegisterParams

NewSubnetRegisterParams creates a new SubnetRegisterParams object

There are no default values defined in the spec.

func (*SubnetRegisterParams) BindRequest ¶ added in v0.14.0

func (o *SubnetRegisterParams) 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 NewSubnetRegisterParams() beforehand.

type SubnetRegisterURL ¶ added in v0.14.0

type SubnetRegisterURL struct {
	// contains filtered or unexported fields
}

SubnetRegisterURL generates an URL for the subnet register operation

func (*SubnetRegisterURL) Build ¶ added in v0.14.0

func (o *SubnetRegisterURL) Build() (*url.URL, error)

Build a url path and query string

func (*SubnetRegisterURL) BuildFull ¶ added in v0.14.0

func (o *SubnetRegisterURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SubnetRegisterURL) Must ¶ added in v0.14.0

func (o *SubnetRegisterURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SubnetRegisterURL) SetBasePath ¶ added in v0.14.0

func (o *SubnetRegisterURL) 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 (*SubnetRegisterURL) String ¶ added in v0.14.0

func (o *SubnetRegisterURL) String() string

String returns the string representation of the path with query string

func (*SubnetRegisterURL) StringFull ¶ added in v0.14.0

func (o *SubnetRegisterURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SubnetRegisterURL) WithBasePath ¶ added in v0.14.0

func (o *SubnetRegisterURL) WithBasePath(bp string) *SubnetRegisterURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TiersList ¶ added in v0.7.0

type TiersList struct {
	Context *middleware.Context
	Handler TiersListHandler
}
TiersList swagger:route GET /admin/tiers AdminAPI tiersList

Returns a list of tiers for ilm

func NewTiersList ¶ added in v0.7.0

func NewTiersList(ctx *middleware.Context, handler TiersListHandler) *TiersList

NewTiersList creates a new http.Handler for the tiers list operation

func (*TiersList) ServeHTTP ¶ added in v0.7.0

func (o *TiersList) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TiersListDefault ¶ added in v0.7.0

type TiersListDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

TiersListDefault Generic error response.

swagger:response tiersListDefault

func NewTiersListDefault ¶ added in v0.7.0

func NewTiersListDefault(code int) *TiersListDefault

NewTiersListDefault creates TiersListDefault with default headers values

func (*TiersListDefault) SetPayload ¶ added in v0.7.0

func (o *TiersListDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tiers list default response

func (*TiersListDefault) SetStatusCode ¶ added in v0.7.0

func (o *TiersListDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tiers list default response

func (*TiersListDefault) WithPayload ¶ added in v0.7.0

func (o *TiersListDefault) WithPayload(payload *models.Error) *TiersListDefault

WithPayload adds the payload to the tiers list default response

func (*TiersListDefault) WithStatusCode ¶ added in v0.7.0

func (o *TiersListDefault) WithStatusCode(code int) *TiersListDefault

WithStatusCode adds the status to the tiers list default response

func (*TiersListDefault) WriteResponse ¶ added in v0.7.0

func (o *TiersListDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TiersListHandler ¶ added in v0.7.0

type TiersListHandler interface {
	Handle(TiersListParams, *models.Principal) middleware.Responder
}

TiersListHandler interface for that can handle valid tiers list params

type TiersListHandlerFunc ¶ added in v0.7.0

type TiersListHandlerFunc func(TiersListParams, *models.Principal) middleware.Responder

TiersListHandlerFunc turns a function with the right signature into a tiers list handler

func (TiersListHandlerFunc) Handle ¶ added in v0.7.0

Handle executing the request and returning a response

type TiersListOK ¶ added in v0.7.0

type TiersListOK struct {

	/*
	  In: Body
	*/
	Payload *models.TierListResponse `json:"body,omitempty"`
}

TiersListOK A successful response.

swagger:response tiersListOK

func NewTiersListOK ¶ added in v0.7.0

func NewTiersListOK() *TiersListOK

NewTiersListOK creates TiersListOK with default headers values

func (*TiersListOK) SetPayload ¶ added in v0.7.0

func (o *TiersListOK) SetPayload(payload *models.TierListResponse)

SetPayload sets the payload to the tiers list o k response

func (*TiersListOK) WithPayload ¶ added in v0.7.0

func (o *TiersListOK) WithPayload(payload *models.TierListResponse) *TiersListOK

WithPayload adds the payload to the tiers list o k response

func (*TiersListOK) WriteResponse ¶ added in v0.7.0

func (o *TiersListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TiersListParams ¶ added in v0.7.0

type TiersListParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

TiersListParams contains all the bound params for the tiers list operation typically these are obtained from a http.Request

swagger:parameters TiersList

func NewTiersListParams ¶ added in v0.7.0

func NewTiersListParams() TiersListParams

NewTiersListParams creates a new TiersListParams object

There are no default values defined in the spec.

func (*TiersListParams) BindRequest ¶ added in v0.7.0

func (o *TiersListParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewTiersListParams() beforehand.

type TiersListURL ¶ added in v0.7.0

type TiersListURL struct {
	// contains filtered or unexported fields
}

TiersListURL generates an URL for the tiers list operation

func (*TiersListURL) Build ¶ added in v0.7.0

func (o *TiersListURL) Build() (*url.URL, error)

Build a url path and query string

func (*TiersListURL) BuildFull ¶ added in v0.7.0

func (o *TiersListURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TiersListURL) Must ¶ added in v0.7.0

func (o *TiersListURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TiersListURL) SetBasePath ¶ added in v0.7.0

func (o *TiersListURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TiersListURL) String ¶ added in v0.7.0

func (o *TiersListURL) String() string

String returns the string representation of the path with query string

func (*TiersListURL) StringFull ¶ added in v0.7.0

func (o *TiersListURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TiersListURL) WithBasePath ¶ added in v0.7.0

func (o *TiersListURL) WithBasePath(bp string) *TiersListURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateGroup ¶

type UpdateGroup struct {
	Context *middleware.Context
	Handler UpdateGroupHandler
}
UpdateGroup swagger:route PUT /group 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: query
	*/
	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 UpdateUserGroups ¶

type UpdateUserGroups struct {
	Context *middleware.Context
	Handler UpdateUserGroupsHandler
}
UpdateUserGroups swagger:route PUT /user/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: query
	*/
	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 /user 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: query
	*/
	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