admin_api

package
v0.0.0-...-fd125ec Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const AddGroupCreatedCode int = 201

AddGroupCreatedCode is the HTTP code returned for type AddGroupCreated

View Source
const AddNotificationEndpointCreatedCode int = 201

AddNotificationEndpointCreatedCode is the HTTP code returned for type AddNotificationEndpointCreated

View Source
const AddPolicyCreatedCode int = 201

AddPolicyCreatedCode is the HTTP code returned for type AddPolicyCreated

View Source
const AddTierCreatedCode int = 201

AddTierCreatedCode is the HTTP code returned for type AddTierCreated

View Source
const AddUserCreatedCode int = 201

AddUserCreatedCode is the HTTP code returned for type AddUserCreated

View Source
const AdminInfoOKCode int = 200

AdminInfoOKCode is the HTTP code returned for type AdminInfoOK

View Source
const ArnListOKCode int = 200

ArnListOKCode is the HTTP code returned for type ArnListOK

View Source
const BulkUpdateUsersGroupsOKCode int = 200

BulkUpdateUsersGroupsOKCode is the HTTP code returned for type BulkUpdateUsersGroupsOK

View Source
const ChangeUserPasswordCreatedCode int = 201

ChangeUserPasswordCreatedCode is the HTTP code returned for type ChangeUserPasswordCreated

View Source
const ConfigInfoOKCode int = 200

ConfigInfoOKCode is the HTTP code returned for type ConfigInfoOK

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

GetTierOKCode is the HTTP code returned for type GetTierOK

View Source
const GetUserInfoOKCode int = 200

GetUserInfoOKCode is the HTTP code returned for type GetUserInfoOK

View Source
const GroupInfoOKCode int = 200

GroupInfoOKCode is the HTTP code returned for type GroupInfoOK

View Source
const ListAUserServiceAccountsOKCode int = 200

ListAUserServiceAccountsOKCode is the HTTP code returned for type ListAUserServiceAccountsOK

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

SubscriptionInfoOKCode is the HTTP code returned for type SubscriptionInfoOK

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

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

Allows to configure a new tier

func NewAddTier

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

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

func (*AddTier) ServeHTTP

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

type AddTierCreated

type AddTierCreated struct {
}

AddTierCreated A successful response.

swagger:response addTierCreated

func NewAddTierCreated

func NewAddTierCreated() *AddTierCreated

NewAddTierCreated creates AddTierCreated with default headers values

func (*AddTierCreated) WriteResponse

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

WriteResponse to the client

type AddTierDefault

type AddTierDefault struct {

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

AddTierDefault Generic error response.

swagger:response addTierDefault

func NewAddTierDefault

func NewAddTierDefault(code int) *AddTierDefault

NewAddTierDefault creates AddTierDefault with default headers values

func (*AddTierDefault) SetPayload

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

SetPayload sets the payload to the add tier default response

func (*AddTierDefault) SetStatusCode

func (o *AddTierDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add tier default response

func (*AddTierDefault) WithPayload

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

WithPayload adds the payload to the add tier default response

func (*AddTierDefault) WithStatusCode

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

WithStatusCode adds the status to the add tier default response

func (*AddTierDefault) WriteResponse

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

WriteResponse to the client

type AddTierHandler

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

AddTierHandler interface for that can handle valid add tier params

type AddTierHandlerFunc

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

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

func (AddTierHandlerFunc) Handle

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

Handle executing the request and returning a response

type AddTierParams

type AddTierParams struct {

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

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

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

swagger:parameters AddTier

func NewAddTierParams

func NewAddTierParams() AddTierParams

NewAddTierParams creates a new AddTierParams object

There are no default values defined in the spec.

func (*AddTierParams) BindRequest

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

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

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

type AddTierURL

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

AddTierURL generates an URL for the add tier operation

func (*AddTierURL) Build

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

Build a url path and query string

func (*AddTierURL) BuildFull

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

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

func (*AddTierURL) Must

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

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

func (*AddTierURL) SetBasePath

func (o *AddTierURL) SetBasePath(bp string)

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

func (*AddTierURL) String

func (o *AddTierURL) String() string

String returns the string representation of the path with query string

func (*AddTierURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddTierURL) WithBasePath

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

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

type AddUser

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

Add User

func NewAddUser

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

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

func (*AddUser) ServeHTTP

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

type AddUserCreated

type AddUserCreated struct {

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

AddUserCreated A successful response.

swagger:response addUserCreated

func NewAddUserCreated

func NewAddUserCreated() *AddUserCreated

NewAddUserCreated creates AddUserCreated with default headers values

func (*AddUserCreated) SetPayload

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

SetPayload sets the payload to the add user created response

func (*AddUserCreated) WithPayload

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

WithPayload adds the payload to the add user created response

func (*AddUserCreated) WriteResponse

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

WriteResponse to the client

type AddUserDefault

type AddUserDefault struct {

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

AddUserDefault Generic error response.

swagger:response addUserDefault

func NewAddUserDefault

func NewAddUserDefault(code int) *AddUserDefault

NewAddUserDefault creates AddUserDefault with default headers values

func (*AddUserDefault) SetPayload

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

SetPayload sets the payload to the add user default response

func (*AddUserDefault) SetStatusCode

func (o *AddUserDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add user default response

func (*AddUserDefault) WithPayload

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

WithPayload adds the payload to the add user default response

func (*AddUserDefault) WithStatusCode

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

WithStatusCode adds the status to the add user default response

func (*AddUserDefault) WriteResponse

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

WriteResponse to the client

type AddUserHandler

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

AddUserHandler interface for that can handle valid add user params

type AddUserHandlerFunc

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

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

func (AddUserHandlerFunc) Handle

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

Handle executing the request and returning a response

type AddUserParams

type AddUserParams struct {

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

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

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

swagger:parameters AddUser

func NewAddUserParams

func NewAddUserParams() AddUserParams

NewAddUserParams creates a new AddUserParams object

There are no default values defined in the spec.

func (*AddUserParams) BindRequest

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

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

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

type AddUserURL

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

AddUserURL generates an URL for the add user operation

func (*AddUserURL) Build

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

Build a url path and query string

func (*AddUserURL) BuildFull

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

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

func (*AddUserURL) Must

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

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

func (*AddUserURL) SetBasePath

func (o *AddUserURL) SetBasePath(bp string)

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

func (*AddUserURL) String

func (o *AddUserURL) String() string

String returns the string representation of the path with query string

func (*AddUserURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddUserURL) WithBasePath

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

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

type AdminInfo

type AdminInfo struct {
	Context *middleware.Context
	Handler AdminInfoHandler
}
AdminInfo swagger:route GET /admin/info AdminAPI adminInfo

Returns information about the deployment

func NewAdminInfo

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

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

func (*AdminInfo) ServeHTTP

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

type AdminInfoDefault

type AdminInfoDefault struct {

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

AdminInfoDefault Generic error response.

swagger:response adminInfoDefault

func NewAdminInfoDefault

func NewAdminInfoDefault(code int) *AdminInfoDefault

NewAdminInfoDefault creates AdminInfoDefault with default headers values

func (*AdminInfoDefault) SetPayload

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

SetPayload sets the payload to the admin info default response

func (*AdminInfoDefault) SetStatusCode

func (o *AdminInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the admin info default response

func (*AdminInfoDefault) WithPayload

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

WithPayload adds the payload to the admin info default response

func (*AdminInfoDefault) WithStatusCode

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

WithStatusCode adds the status to the admin info default response

func (*AdminInfoDefault) WriteResponse

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

WriteResponse to the client

type AdminInfoHandler

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

AdminInfoHandler interface for that can handle valid admin info params

type AdminInfoHandlerFunc

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

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

func (AdminInfoHandlerFunc) Handle

Handle executing the request and returning a response

type AdminInfoOK

type AdminInfoOK struct {

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

AdminInfoOK A successful response.

swagger:response adminInfoOK

func NewAdminInfoOK

func NewAdminInfoOK() *AdminInfoOK

NewAdminInfoOK creates AdminInfoOK with default headers values

func (*AdminInfoOK) SetPayload

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

SetPayload sets the payload to the admin info o k response

func (*AdminInfoOK) WithPayload

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

WithPayload adds the payload to the admin info o k response

func (*AdminInfoOK) WriteResponse

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

WriteResponse to the client

type AdminInfoParams

type AdminInfoParams struct {

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

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

swagger:parameters AdminInfo

func NewAdminInfoParams

func NewAdminInfoParams() AdminInfoParams

NewAdminInfoParams creates a new AdminInfoParams object

There are no default values defined in the spec.

func (*AdminInfoParams) BindRequest

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

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

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

type AdminInfoURL

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

AdminInfoURL generates an URL for the admin info operation

func (*AdminInfoURL) Build

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

Build a url path and query string

func (*AdminInfoURL) BuildFull

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

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

func (*AdminInfoURL) Must

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

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

func (*AdminInfoURL) SetBasePath

func (o *AdminInfoURL) SetBasePath(bp string)

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

func (*AdminInfoURL) String

func (o *AdminInfoURL) String() string

String returns the string representation of the path with query string

func (*AdminInfoURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AdminInfoURL) WithBasePath

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

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

type ArnList

type ArnList struct {
	Context *middleware.Context
	Handler ArnListHandler
}
ArnList swagger:route GET /admin/arns AdminAPI arnList

Returns a list of active ARNs in the instance

func NewArnList

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

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

func (*ArnList) ServeHTTP

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

type ArnListDefault

type ArnListDefault struct {

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

ArnListDefault Generic error response.

swagger:response arnListDefault

func NewArnListDefault

func NewArnListDefault(code int) *ArnListDefault

NewArnListDefault creates ArnListDefault with default headers values

func (*ArnListDefault) SetPayload

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

SetPayload sets the payload to the arn list default response

func (*ArnListDefault) SetStatusCode

func (o *ArnListDefault) SetStatusCode(code int)

SetStatusCode sets the status to the arn list default response

func (*ArnListDefault) WithPayload

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

WithPayload adds the payload to the arn list default response

func (*ArnListDefault) WithStatusCode

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

WithStatusCode adds the status to the arn list default response

func (*ArnListDefault) WriteResponse

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

WriteResponse to the client

type ArnListHandler

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

ArnListHandler interface for that can handle valid arn list params

type ArnListHandlerFunc

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

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

func (ArnListHandlerFunc) Handle

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

Handle executing the request and returning a response

type ArnListOK

type ArnListOK struct {

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

ArnListOK A successful response.

swagger:response arnListOK

func NewArnListOK

func NewArnListOK() *ArnListOK

NewArnListOK creates ArnListOK with default headers values

func (*ArnListOK) SetPayload

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

SetPayload sets the payload to the arn list o k response

func (*ArnListOK) WithPayload

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

WithPayload adds the payload to the arn list o k response

func (*ArnListOK) WriteResponse

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

WriteResponse to the client

type ArnListParams

type ArnListParams struct {

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

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

swagger:parameters ArnList

func NewArnListParams

func NewArnListParams() ArnListParams

NewArnListParams creates a new ArnListParams object

There are no default values defined in the spec.

func (*ArnListParams) BindRequest

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

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

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

type ArnListURL

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

ArnListURL generates an URL for the arn list operation

func (*ArnListURL) Build

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

Build a url path and query string

func (*ArnListURL) BuildFull

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

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

func (*ArnListURL) Must

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

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

func (*ArnListURL) SetBasePath

func (o *ArnListURL) SetBasePath(bp string)

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

func (*ArnListURL) String

func (o *ArnListURL) String() string

String returns the string representation of the path with query string

func (*ArnListURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ArnListURL) WithBasePath

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

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

type BulkUpdateUsersGroups

type BulkUpdateUsersGroups struct {
	Context *middleware.Context
	Handler BulkUpdateUsersGroupsHandler
}
BulkUpdateUsersGroups swagger:route PUT /users-groups-bulk AdminAPI bulkUpdateUsersGroups

Bulk functionality to Add Users to Groups

func NewBulkUpdateUsersGroups

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

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

func (*BulkUpdateUsersGroups) ServeHTTP

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

type BulkUpdateUsersGroupsDefault

type BulkUpdateUsersGroupsDefault struct {

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

BulkUpdateUsersGroupsDefault Generic error response.

swagger:response bulkUpdateUsersGroupsDefault

func NewBulkUpdateUsersGroupsDefault

func NewBulkUpdateUsersGroupsDefault(code int) *BulkUpdateUsersGroupsDefault

NewBulkUpdateUsersGroupsDefault creates BulkUpdateUsersGroupsDefault with default headers values

func (*BulkUpdateUsersGroupsDefault) SetPayload

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

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

func (*BulkUpdateUsersGroupsDefault) SetStatusCode

func (o *BulkUpdateUsersGroupsDefault) SetStatusCode(code int)

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

func (*BulkUpdateUsersGroupsDefault) WithPayload

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

func (*BulkUpdateUsersGroupsDefault) WithStatusCode

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

func (*BulkUpdateUsersGroupsDefault) WriteResponse

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

WriteResponse to the client

type BulkUpdateUsersGroupsHandler

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

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

type BulkUpdateUsersGroupsHandlerFunc

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

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

func (BulkUpdateUsersGroupsHandlerFunc) Handle

Handle executing the request and returning a response

type BulkUpdateUsersGroupsOK

type BulkUpdateUsersGroupsOK struct {
}

BulkUpdateUsersGroupsOK A successful response.

swagger:response bulkUpdateUsersGroupsOK

func NewBulkUpdateUsersGroupsOK

func NewBulkUpdateUsersGroupsOK() *BulkUpdateUsersGroupsOK

NewBulkUpdateUsersGroupsOK creates BulkUpdateUsersGroupsOK with default headers values

func (*BulkUpdateUsersGroupsOK) WriteResponse

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

WriteResponse to the client

type BulkUpdateUsersGroupsParams

type BulkUpdateUsersGroupsParams struct {

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

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

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

swagger:parameters BulkUpdateUsersGroups

func NewBulkUpdateUsersGroupsParams

func NewBulkUpdateUsersGroupsParams() BulkUpdateUsersGroupsParams

NewBulkUpdateUsersGroupsParams creates a new BulkUpdateUsersGroupsParams object

There are no default values defined in the spec.

func (*BulkUpdateUsersGroupsParams) BindRequest

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

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

type BulkUpdateUsersGroupsURL

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

BulkUpdateUsersGroupsURL generates an URL for the bulk update users groups operation

func (*BulkUpdateUsersGroupsURL) Build

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

Build a url path and query string

func (*BulkUpdateUsersGroupsURL) BuildFull

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

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

func (*BulkUpdateUsersGroupsURL) Must

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

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

func (*BulkUpdateUsersGroupsURL) SetBasePath

func (o *BulkUpdateUsersGroupsURL) SetBasePath(bp string)

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

func (*BulkUpdateUsersGroupsURL) String

func (o *BulkUpdateUsersGroupsURL) String() string

String returns the string representation of the path with query string

func (*BulkUpdateUsersGroupsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*BulkUpdateUsersGroupsURL) WithBasePath

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

type ChangeUserPassword

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

Change password of currently logged in user.

func NewChangeUserPassword

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

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

func (*ChangeUserPassword) ServeHTTP

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

type ChangeUserPasswordCreated

type ChangeUserPasswordCreated struct {
}

ChangeUserPasswordCreated Password successfully changed.

swagger:response changeUserPasswordCreated

func NewChangeUserPasswordCreated

func NewChangeUserPasswordCreated() *ChangeUserPasswordCreated

NewChangeUserPasswordCreated creates ChangeUserPasswordCreated with default headers values

func (*ChangeUserPasswordCreated) WriteResponse

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

WriteResponse to the client

type ChangeUserPasswordDefault

type ChangeUserPasswordDefault struct {

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

ChangeUserPasswordDefault Generic error response.

swagger:response changeUserPasswordDefault

func NewChangeUserPasswordDefault

func NewChangeUserPasswordDefault(code int) *ChangeUserPasswordDefault

NewChangeUserPasswordDefault creates ChangeUserPasswordDefault with default headers values

func (*ChangeUserPasswordDefault) SetPayload

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

SetPayload sets the payload to the change user password default response

func (*ChangeUserPasswordDefault) SetStatusCode

func (o *ChangeUserPasswordDefault) SetStatusCode(code int)

SetStatusCode sets the status to the change user password default response

func (*ChangeUserPasswordDefault) WithPayload

WithPayload adds the payload to the change user password default response

func (*ChangeUserPasswordDefault) WithStatusCode

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

WithStatusCode adds the status to the change user password default response

func (*ChangeUserPasswordDefault) WriteResponse

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

WriteResponse to the client

type ChangeUserPasswordHandler

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

ChangeUserPasswordHandler interface for that can handle valid change user password params

type ChangeUserPasswordHandlerFunc

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

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

func (ChangeUserPasswordHandlerFunc) Handle

Handle executing the request and returning a response

type ChangeUserPasswordParams

type ChangeUserPasswordParams struct {

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

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

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

swagger:parameters ChangeUserPassword

func NewChangeUserPasswordParams

func NewChangeUserPasswordParams() ChangeUserPasswordParams

NewChangeUserPasswordParams creates a new ChangeUserPasswordParams object

There are no default values defined in the spec.

func (*ChangeUserPasswordParams) BindRequest

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

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

type ChangeUserPasswordURL

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

ChangeUserPasswordURL generates an URL for the change user password operation

func (*ChangeUserPasswordURL) Build

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

Build a url path and query string

func (*ChangeUserPasswordURL) BuildFull

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

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

func (*ChangeUserPasswordURL) Must

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

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

func (*ChangeUserPasswordURL) SetBasePath

func (o *ChangeUserPasswordURL) SetBasePath(bp string)

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

func (*ChangeUserPasswordURL) String

func (o *ChangeUserPasswordURL) String() string

String returns the string representation of the path with query string

func (*ChangeUserPasswordURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ChangeUserPasswordURL) WithBasePath

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

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

type ConfigInfo

type ConfigInfo struct {
	Context *middleware.Context
	Handler ConfigInfoHandler
}
ConfigInfo swagger:route GET /configs/{name} AdminAPI configInfo

Configuration info

func NewConfigInfo

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

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

func (*ConfigInfo) ServeHTTP

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

type ConfigInfoDefault

type ConfigInfoDefault struct {

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

ConfigInfoDefault Generic error response.

swagger:response configInfoDefault

func NewConfigInfoDefault

func NewConfigInfoDefault(code int) *ConfigInfoDefault

NewConfigInfoDefault creates ConfigInfoDefault with default headers values

func (*ConfigInfoDefault) SetPayload

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

SetPayload sets the payload to the config info default response

func (*ConfigInfoDefault) SetStatusCode

func (o *ConfigInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the config info default response

func (*ConfigInfoDefault) WithPayload

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

WithPayload adds the payload to the config info default response

func (*ConfigInfoDefault) WithStatusCode

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

WithStatusCode adds the status to the config info default response

func (*ConfigInfoDefault) WriteResponse

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

WriteResponse to the client

type ConfigInfoHandler

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

ConfigInfoHandler interface for that can handle valid config info params

type ConfigInfoHandlerFunc

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

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

func (ConfigInfoHandlerFunc) Handle

Handle executing the request and returning a response

type ConfigInfoOK

type ConfigInfoOK struct {

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

ConfigInfoOK A successful response.

swagger:response configInfoOK

func NewConfigInfoOK

func NewConfigInfoOK() *ConfigInfoOK

NewConfigInfoOK creates ConfigInfoOK with default headers values

func (*ConfigInfoOK) SetPayload

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

SetPayload sets the payload to the config info o k response

func (*ConfigInfoOK) WithPayload

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

WithPayload adds the payload to the config info o k response

func (*ConfigInfoOK) WriteResponse

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

WriteResponse to the client

type ConfigInfoParams

type ConfigInfoParams struct {

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

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

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

swagger:parameters ConfigInfo

func NewConfigInfoParams

func NewConfigInfoParams() ConfigInfoParams

NewConfigInfoParams creates a new ConfigInfoParams object

There are no default values defined in the spec.

func (*ConfigInfoParams) BindRequest

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

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

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

type ConfigInfoURL

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

ConfigInfoURL generates an URL for the config info operation

func (*ConfigInfoURL) Build

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

Build a url path and query string

func (*ConfigInfoURL) BuildFull

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

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

func (*ConfigInfoURL) Must

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

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

func (*ConfigInfoURL) SetBasePath

func (o *ConfigInfoURL) SetBasePath(bp string)

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

func (*ConfigInfoURL) String

func (o *ConfigInfoURL) String() string

String returns the string representation of the path with query string

func (*ConfigInfoURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ConfigInfoURL) WithBasePath

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

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

type CreateAUserServiceAccount

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

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

type CreateAUserServiceAccountCreated

type CreateAUserServiceAccountCreated struct {

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

CreateAUserServiceAccountCreated A successful response.

swagger:response createAUserServiceAccountCreated

func NewCreateAUserServiceAccountCreated

func NewCreateAUserServiceAccountCreated() *CreateAUserServiceAccountCreated

NewCreateAUserServiceAccountCreated creates CreateAUserServiceAccountCreated with default headers values

func (*CreateAUserServiceAccountCreated) SetPayload

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

func (*CreateAUserServiceAccountCreated) WithPayload

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

func (*CreateAUserServiceAccountCreated) WriteResponse

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

WriteResponse to the client

type CreateAUserServiceAccountDefault

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

func NewCreateAUserServiceAccountDefault(code int) *CreateAUserServiceAccountDefault

NewCreateAUserServiceAccountDefault creates CreateAUserServiceAccountDefault with default headers values

func (*CreateAUserServiceAccountDefault) SetPayload

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

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

func (*CreateAUserServiceAccountDefault) SetStatusCode

func (o *CreateAUserServiceAccountDefault) SetStatusCode(code int)

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

func (*CreateAUserServiceAccountDefault) WithPayload

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

func (*CreateAUserServiceAccountDefault) WithStatusCode

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

func (*CreateAUserServiceAccountDefault) WriteResponse

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

WriteResponse to the client

type CreateAUserServiceAccountHandler

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

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

type CreateAUserServiceAccountHandlerFunc

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

Handle executing the request and returning a response

type CreateAUserServiceAccountParams

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

func NewCreateAUserServiceAccountParams() CreateAUserServiceAccountParams

NewCreateAUserServiceAccountParams creates a new CreateAUserServiceAccountParams object

There are no default values defined in the spec.

func (*CreateAUserServiceAccountParams) 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 NewCreateAUserServiceAccountParams() beforehand.

type CreateAUserServiceAccountURL

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

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

Build a url path and query string

func (*CreateAUserServiceAccountURL) BuildFull

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

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

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

String returns the string representation of the path with query string

func (*CreateAUserServiceAccountURL) StringFull

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

StringFull returns the string representation of a complete url

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

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

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

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

func (*CreateServiceAccountCredentials) ServeHTTP

type CreateServiceAccountCredentialsCreated

type CreateServiceAccountCredentialsCreated struct {

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

CreateServiceAccountCredentialsCreated A successful response.

swagger:response createServiceAccountCredentialsCreated

func NewCreateServiceAccountCredentialsCreated

func NewCreateServiceAccountCredentialsCreated() *CreateServiceAccountCredentialsCreated

NewCreateServiceAccountCredentialsCreated creates CreateServiceAccountCredentialsCreated with default headers values

func (*CreateServiceAccountCredentialsCreated) SetPayload

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

func (*CreateServiceAccountCredentialsCreated) WithPayload

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

func (*CreateServiceAccountCredentialsCreated) WriteResponse

WriteResponse to the client

type CreateServiceAccountCredentialsDefault

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

func NewCreateServiceAccountCredentialsDefault(code int) *CreateServiceAccountCredentialsDefault

NewCreateServiceAccountCredentialsDefault creates CreateServiceAccountCredentialsDefault with default headers values

func (*CreateServiceAccountCredentialsDefault) SetPayload

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

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

func (*CreateServiceAccountCredentialsDefault) SetStatusCode

func (o *CreateServiceAccountCredentialsDefault) SetStatusCode(code int)

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

func (*CreateServiceAccountCredentialsDefault) WithPayload

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

func (*CreateServiceAccountCredentialsDefault) WithStatusCode

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

func (*CreateServiceAccountCredentialsDefault) WriteResponse

WriteResponse to the client

type CreateServiceAccountCredentialsHandler

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

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

type CreateServiceAccountCredentialsHandlerFunc

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

Handle executing the request and returning a response

type CreateServiceAccountCredentialsParams

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

func NewCreateServiceAccountCredentialsParams() CreateServiceAccountCredentialsParams

NewCreateServiceAccountCredentialsParams creates a new CreateServiceAccountCredentialsParams object

There are no default values defined in the spec.

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

type CreateServiceAccountCredentialsURL

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

CreateServiceAccountCredentialsURL generates an URL for the create service account credentials operation

func (*CreateServiceAccountCredentialsURL) Build

Build a url path and query string

func (*CreateServiceAccountCredentialsURL) BuildFull

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

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

func (*CreateServiceAccountCredentialsURL) SetBasePath

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

String returns the string representation of the path with query string

func (*CreateServiceAccountCredentialsURL) StringFull

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

StringFull returns the string representation of a complete url

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

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

Create Service Account With Credentials

func NewCreateServiceAccountCreds

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

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

func (*CreateServiceAccountCreds) ServeHTTP

type CreateServiceAccountCredsCreated

type CreateServiceAccountCredsCreated struct {

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

CreateServiceAccountCredsCreated A successful response.

swagger:response createServiceAccountCredsCreated

func NewCreateServiceAccountCredsCreated

func NewCreateServiceAccountCredsCreated() *CreateServiceAccountCredsCreated

NewCreateServiceAccountCredsCreated creates CreateServiceAccountCredsCreated with default headers values

func (*CreateServiceAccountCredsCreated) SetPayload

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

func (*CreateServiceAccountCredsCreated) WithPayload

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

func (*CreateServiceAccountCredsCreated) WriteResponse

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

WriteResponse to the client

type CreateServiceAccountCredsDefault

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

func NewCreateServiceAccountCredsDefault(code int) *CreateServiceAccountCredsDefault

NewCreateServiceAccountCredsDefault creates CreateServiceAccountCredsDefault with default headers values

func (*CreateServiceAccountCredsDefault) SetPayload

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

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

func (*CreateServiceAccountCredsDefault) SetStatusCode

func (o *CreateServiceAccountCredsDefault) SetStatusCode(code int)

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

func (*CreateServiceAccountCredsDefault) WithPayload

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

func (*CreateServiceAccountCredsDefault) WithStatusCode

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

func (*CreateServiceAccountCredsDefault) WriteResponse

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

WriteResponse to the client

type CreateServiceAccountCredsHandler

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

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

type CreateServiceAccountCredsHandlerFunc

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

Handle executing the request and returning a response

type CreateServiceAccountCredsParams

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

func NewCreateServiceAccountCredsParams() CreateServiceAccountCredsParams

NewCreateServiceAccountCredsParams creates a new CreateServiceAccountCredsParams object

There are no default values defined in the spec.

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

type CreateServiceAccountCredsURL

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

CreateServiceAccountCredsURL generates an URL for the create service account creds operation

func (*CreateServiceAccountCredsURL) Build

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

Build a url path and query string

func (*CreateServiceAccountCredsURL) BuildFull

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

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

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

String returns the string representation of the path with query string

func (*CreateServiceAccountCredsURL) StringFull

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

StringFull returns the string representation of a complete url

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

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

Returns information about the deployment

func NewDashboardWidgetDetails

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

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

func (*DashboardWidgetDetails) ServeHTTP

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

type DashboardWidgetDetailsDefault

type DashboardWidgetDetailsDefault struct {

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

DashboardWidgetDetailsDefault Generic error response.

swagger:response dashboardWidgetDetailsDefault

func NewDashboardWidgetDetailsDefault

func NewDashboardWidgetDetailsDefault(code int) *DashboardWidgetDetailsDefault

NewDashboardWidgetDetailsDefault creates DashboardWidgetDetailsDefault with default headers values

func (*DashboardWidgetDetailsDefault) SetPayload

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

SetPayload sets the payload to the dashboard widget details default response

func (*DashboardWidgetDetailsDefault) SetStatusCode

func (o *DashboardWidgetDetailsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the dashboard widget details default response

func (*DashboardWidgetDetailsDefault) WithPayload

WithPayload adds the payload to the dashboard widget details default response

func (*DashboardWidgetDetailsDefault) WithStatusCode

WithStatusCode adds the status to the dashboard widget details default response

func (*DashboardWidgetDetailsDefault) WriteResponse

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

WriteResponse to the client

type DashboardWidgetDetailsHandler

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

DashboardWidgetDetailsHandler interface for that can handle valid dashboard widget details params

type DashboardWidgetDetailsHandlerFunc

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

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

func (DashboardWidgetDetailsHandlerFunc) Handle

Handle executing the request and returning a response

type DashboardWidgetDetailsOK

type DashboardWidgetDetailsOK struct {

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

DashboardWidgetDetailsOK A successful response.

swagger:response dashboardWidgetDetailsOK

func NewDashboardWidgetDetailsOK

func NewDashboardWidgetDetailsOK() *DashboardWidgetDetailsOK

NewDashboardWidgetDetailsOK creates DashboardWidgetDetailsOK with default headers values

func (*DashboardWidgetDetailsOK) SetPayload

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

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

func (*DashboardWidgetDetailsOK) WithPayload

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

func (*DashboardWidgetDetailsOK) WriteResponse

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

WriteResponse to the client

type DashboardWidgetDetailsParams

type DashboardWidgetDetailsParams struct {

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

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

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

swagger:parameters DashboardWidgetDetails

func NewDashboardWidgetDetailsParams

func NewDashboardWidgetDetailsParams() DashboardWidgetDetailsParams

NewDashboardWidgetDetailsParams creates a new DashboardWidgetDetailsParams object

There are no default values defined in the spec.

func (*DashboardWidgetDetailsParams) BindRequest

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

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

type DashboardWidgetDetailsURL

type DashboardWidgetDetailsURL struct {
	WidgetID int32

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

DashboardWidgetDetailsURL generates an URL for the dashboard widget details operation

func (*DashboardWidgetDetailsURL) Build

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

Build a url path and query string

func (*DashboardWidgetDetailsURL) BuildFull

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

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

func (*DashboardWidgetDetailsURL) Must

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

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

func (*DashboardWidgetDetailsURL) SetBasePath

func (o *DashboardWidgetDetailsURL) SetBasePath(bp string)

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

func (*DashboardWidgetDetailsURL) String

func (o *DashboardWidgetDetailsURL) String() string

String returns the string representation of the path with query string

func (*DashboardWidgetDetailsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DashboardWidgetDetailsURL) WithBasePath

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

type DeleteAccessRuleWithBucket

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

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

type DeleteAccessRuleWithBucketDefault

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

func NewDeleteAccessRuleWithBucketDefault(code int) *DeleteAccessRuleWithBucketDefault

NewDeleteAccessRuleWithBucketDefault creates DeleteAccessRuleWithBucketDefault with default headers values

func (*DeleteAccessRuleWithBucketDefault) SetPayload

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

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

func (*DeleteAccessRuleWithBucketDefault) SetStatusCode

func (o *DeleteAccessRuleWithBucketDefault) SetStatusCode(code int)

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

func (*DeleteAccessRuleWithBucketDefault) WithPayload

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

func (*DeleteAccessRuleWithBucketDefault) WithStatusCode

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

func (*DeleteAccessRuleWithBucketDefault) WriteResponse

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

WriteResponse to the client

type DeleteAccessRuleWithBucketHandler

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

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

type DeleteAccessRuleWithBucketHandlerFunc

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

Handle executing the request and returning a response

type DeleteAccessRuleWithBucketOK

type DeleteAccessRuleWithBucketOK struct {

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

DeleteAccessRuleWithBucketOK A successful response.

swagger:response deleteAccessRuleWithBucketOK

func NewDeleteAccessRuleWithBucketOK

func NewDeleteAccessRuleWithBucketOK() *DeleteAccessRuleWithBucketOK

NewDeleteAccessRuleWithBucketOK creates DeleteAccessRuleWithBucketOK with default headers values

func (*DeleteAccessRuleWithBucketOK) SetPayload

func (o *DeleteAccessRuleWithBucketOK) SetPayload(payload bool)

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

func (*DeleteAccessRuleWithBucketOK) WithPayload

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

func (*DeleteAccessRuleWithBucketOK) WriteResponse

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

WriteResponse to the client

type DeleteAccessRuleWithBucketParams

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

func NewDeleteAccessRuleWithBucketParams() DeleteAccessRuleWithBucketParams

NewDeleteAccessRuleWithBucketParams creates a new DeleteAccessRuleWithBucketParams object

There are no default values defined in the spec.

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

type DeleteAccessRuleWithBucketURL

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

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

Build a url path and query string

func (*DeleteAccessRuleWithBucketURL) BuildFull

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

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

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

String returns the string representation of the path with query string

func (*DeleteAccessRuleWithBucketURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteAccessRuleWithBucketURL) WithBasePath

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

type EditTierCredentials

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

Edit Tier Credentials

func NewEditTierCredentials

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

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

func (*EditTierCredentials) ServeHTTP

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

type EditTierCredentialsDefault

type EditTierCredentialsDefault struct {

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

EditTierCredentialsDefault Generic error response.

swagger:response editTierCredentialsDefault

func NewEditTierCredentialsDefault

func NewEditTierCredentialsDefault(code int) *EditTierCredentialsDefault

NewEditTierCredentialsDefault creates EditTierCredentialsDefault with default headers values

func (*EditTierCredentialsDefault) SetPayload

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

SetPayload sets the payload to the edit tier credentials default response

func (*EditTierCredentialsDefault) SetStatusCode

func (o *EditTierCredentialsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the edit tier credentials default response

func (*EditTierCredentialsDefault) WithPayload

WithPayload adds the payload to the edit tier credentials default response

func (*EditTierCredentialsDefault) WithStatusCode

WithStatusCode adds the status to the edit tier credentials default response

func (*EditTierCredentialsDefault) WriteResponse

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

WriteResponse to the client

type EditTierCredentialsHandler

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

EditTierCredentialsHandler interface for that can handle valid edit tier credentials params

type EditTierCredentialsHandlerFunc

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

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

func (EditTierCredentialsHandlerFunc) Handle

Handle executing the request and returning a response

type EditTierCredentialsOK

type EditTierCredentialsOK struct {
}

EditTierCredentialsOK A successful response.

swagger:response editTierCredentialsOK

func NewEditTierCredentialsOK

func NewEditTierCredentialsOK() *EditTierCredentialsOK

NewEditTierCredentialsOK creates EditTierCredentialsOK with default headers values

func (*EditTierCredentialsOK) WriteResponse

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

WriteResponse to the client

type EditTierCredentialsParams

type EditTierCredentialsParams struct {

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

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

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

swagger:parameters EditTierCredentials

func NewEditTierCredentialsParams

func NewEditTierCredentialsParams() EditTierCredentialsParams

NewEditTierCredentialsParams creates a new EditTierCredentialsParams object

There are no default values defined in the spec.

func (*EditTierCredentialsParams) BindRequest

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

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

type EditTierCredentialsURL

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

EditTierCredentialsURL generates an URL for the edit tier credentials operation

func (*EditTierCredentialsURL) Build

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

Build a url path and query string

func (*EditTierCredentialsURL) BuildFull

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

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

func (*EditTierCredentialsURL) Must

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

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

func (*EditTierCredentialsURL) SetBasePath

func (o *EditTierCredentialsURL) SetBasePath(bp string)

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

func (*EditTierCredentialsURL) String

func (o *EditTierCredentialsURL) String() string

String returns the string representation of the path with query string

func (*EditTierCredentialsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*EditTierCredentialsURL) WithBasePath

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

type GetTier

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

Get Tier

func NewGetTier

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

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

func (*GetTier) ServeHTTP

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

type GetTierDefault

type GetTierDefault struct {

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

GetTierDefault Generic error response.

swagger:response getTierDefault

func NewGetTierDefault

func NewGetTierDefault(code int) *GetTierDefault

NewGetTierDefault creates GetTierDefault with default headers values

func (*GetTierDefault) SetPayload

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

SetPayload sets the payload to the get tier default response

func (*GetTierDefault) SetStatusCode

func (o *GetTierDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get tier default response

func (*GetTierDefault) WithPayload

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

WithPayload adds the payload to the get tier default response

func (*GetTierDefault) WithStatusCode

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

WithStatusCode adds the status to the get tier default response

func (*GetTierDefault) WriteResponse

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

WriteResponse to the client

type GetTierHandler

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

GetTierHandler interface for that can handle valid get tier params

type GetTierHandlerFunc

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

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

func (GetTierHandlerFunc) Handle

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

Handle executing the request and returning a response

type GetTierOK

type GetTierOK struct {

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

GetTierOK A successful response.

swagger:response getTierOK

func NewGetTierOK

func NewGetTierOK() *GetTierOK

NewGetTierOK creates GetTierOK with default headers values

func (*GetTierOK) SetPayload

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

SetPayload sets the payload to the get tier o k response

func (*GetTierOK) WithPayload

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

WithPayload adds the payload to the get tier o k response

func (*GetTierOK) WriteResponse

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

WriteResponse to the client

type GetTierParams

type GetTierParams struct {

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

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

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

swagger:parameters GetTier

func NewGetTierParams

func NewGetTierParams() GetTierParams

NewGetTierParams creates a new GetTierParams object

There are no default values defined in the spec.

func (*GetTierParams) BindRequest

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

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

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

type GetTierURL

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

GetTierURL generates an URL for the get tier operation

func (*GetTierURL) Build

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

Build a url path and query string

func (*GetTierURL) BuildFull

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

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

func (*GetTierURL) Must

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

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

func (*GetTierURL) SetBasePath

func (o *GetTierURL) SetBasePath(bp string)

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

func (*GetTierURL) String

func (o *GetTierURL) String() string

String returns the string representation of the path with query string

func (*GetTierURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetTierURL) WithBasePath

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

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

type GetUserInfo

type GetUserInfo struct {
	Context *middleware.Context
	Handler GetUserInfoHandler
}
GetUserInfo swagger:route GET /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 ListAUserServiceAccounts

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

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

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

func (*ListAUserServiceAccounts) ServeHTTP

type ListAUserServiceAccountsDefault

type ListAUserServiceAccountsDefault struct {

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

ListAUserServiceAccountsDefault Generic error response.

swagger:response listAUserServiceAccountsDefault

func NewListAUserServiceAccountsDefault

func NewListAUserServiceAccountsDefault(code int) *ListAUserServiceAccountsDefault

NewListAUserServiceAccountsDefault creates ListAUserServiceAccountsDefault with default headers values

func (*ListAUserServiceAccountsDefault) SetPayload

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

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

func (*ListAUserServiceAccountsDefault) SetStatusCode

func (o *ListAUserServiceAccountsDefault) SetStatusCode(code int)

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

func (*ListAUserServiceAccountsDefault) WithPayload

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

func (*ListAUserServiceAccountsDefault) WithStatusCode

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

func (*ListAUserServiceAccountsDefault) WriteResponse

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

WriteResponse to the client

type ListAUserServiceAccountsHandler

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

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

type ListAUserServiceAccountsHandlerFunc

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

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

func (ListAUserServiceAccountsHandlerFunc) Handle

Handle executing the request and returning a response

type ListAUserServiceAccountsOK

type ListAUserServiceAccountsOK struct {

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

ListAUserServiceAccountsOK A successful response.

swagger:response listAUserServiceAccountsOK

func NewListAUserServiceAccountsOK

func NewListAUserServiceAccountsOK() *ListAUserServiceAccountsOK

NewListAUserServiceAccountsOK creates ListAUserServiceAccountsOK with default headers values

func (*ListAUserServiceAccountsOK) SetPayload

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

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

func (*ListAUserServiceAccountsOK) WithPayload

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

func (*ListAUserServiceAccountsOK) WriteResponse

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

WriteResponse to the client

type ListAUserServiceAccountsParams

type ListAUserServiceAccountsParams struct {

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

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

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

swagger:parameters ListAUserServiceAccounts

func NewListAUserServiceAccountsParams

func NewListAUserServiceAccountsParams() ListAUserServiceAccountsParams

NewListAUserServiceAccountsParams creates a new ListAUserServiceAccountsParams object

There are no default values defined in the spec.

func (*ListAUserServiceAccountsParams) BindRequest

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

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

type ListAUserServiceAccountsURL

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

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

func (*ListAUserServiceAccountsURL) Build

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

Build a url path and query string

func (*ListAUserServiceAccountsURL) BuildFull

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

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

func (*ListAUserServiceAccountsURL) Must

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

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

func (*ListAUserServiceAccountsURL) SetBasePath

func (o *ListAUserServiceAccountsURL) SetBasePath(bp string)

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

func (*ListAUserServiceAccountsURL) String

func (o *ListAUserServiceAccountsURL) String() string

String returns the string representation of the path with query string

func (*ListAUserServiceAccountsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListAUserServiceAccountsURL) WithBasePath

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

type ListAccessRulesWithBucket

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

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

type ListAccessRulesWithBucketDefault

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

func NewListAccessRulesWithBucketDefault(code int) *ListAccessRulesWithBucketDefault

NewListAccessRulesWithBucketDefault creates ListAccessRulesWithBucketDefault with default headers values

func (*ListAccessRulesWithBucketDefault) SetPayload

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

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

func (*ListAccessRulesWithBucketDefault) SetStatusCode

func (o *ListAccessRulesWithBucketDefault) SetStatusCode(code int)

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

func (*ListAccessRulesWithBucketDefault) WithPayload

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

func (*ListAccessRulesWithBucketDefault) WithStatusCode

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

func (*ListAccessRulesWithBucketDefault) WriteResponse

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

WriteResponse to the client

type ListAccessRulesWithBucketHandler

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

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

type ListAccessRulesWithBucketHandlerFunc

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

Handle executing the request and returning a response

type ListAccessRulesWithBucketOK

type ListAccessRulesWithBucketOK struct {

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

ListAccessRulesWithBucketOK A successful response.

swagger:response listAccessRulesWithBucketOK

func NewListAccessRulesWithBucketOK

func NewListAccessRulesWithBucketOK() *ListAccessRulesWithBucketOK

NewListAccessRulesWithBucketOK creates ListAccessRulesWithBucketOK with default headers values

func (*ListAccessRulesWithBucketOK) SetPayload

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

func (*ListAccessRulesWithBucketOK) WithPayload

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

func (*ListAccessRulesWithBucketOK) WriteResponse

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

WriteResponse to the client

type ListAccessRulesWithBucketParams

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

func NewListAccessRulesWithBucketParams() ListAccessRulesWithBucketParams

NewListAccessRulesWithBucketParams creates a new ListAccessRulesWithBucketParams object

There are no default values defined in the spec.

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

type ListAccessRulesWithBucketURL

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

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

Build a url path and query string

func (*ListAccessRulesWithBucketURL) BuildFull

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

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

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

String returns the string representation of the path with query string

func (*ListAccessRulesWithBucketURL) StringFull

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

StringFull returns the string representation of a complete url

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

type ListConfig struct {
	Context *middleware.Context
	Handler ListConfigHandler
}
ListConfig swagger:route GET /configs AdminAPI listConfig

List Configurations

func NewListConfig

func NewListConfig(ctx *middleware.Context, handler ListConfigHandler) *ListConfig

NewListConfig creates a new http.Handler for the list config operation

func (*ListConfig) ServeHTTP

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

type ListConfigDefault

type ListConfigDefault struct {

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

ListConfigDefault Generic error response.

swagger:response listConfigDefault

func NewListConfigDefault

func NewListConfigDefault(code int) *ListConfigDefault

NewListConfigDefault creates ListConfigDefault with default headers values

func (*ListConfigDefault) SetPayload

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

SetPayload sets the payload to the list config default response

func (*ListConfigDefault) SetStatusCode

func (o *ListConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list config default response

func (*ListConfigDefault) WithPayload

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

WithPayload adds the payload to the list config default response

func (*ListConfigDefault) WithStatusCode

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

WithStatusCode adds the status to the list config default response

func (*ListConfigDefault) WriteResponse

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

WriteResponse to the client

type ListConfigHandler

type ListConfigHandler interface {
	Handle(ListConfigParams, *models.Principal) middleware.Responder
}

ListConfigHandler interface for that can handle valid list config params

type ListConfigHandlerFunc

type ListConfigHandlerFunc func(ListConfigParams, *models.Principal) middleware.Responder

ListConfigHandlerFunc turns a function with the right signature into a list config handler

func (ListConfigHandlerFunc) Handle

Handle executing the request and returning a response

type ListConfigOK

type ListConfigOK struct {

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

ListConfigOK A successful response.

swagger:response listConfigOK

func NewListConfigOK

func NewListConfigOK() *ListConfigOK

NewListConfigOK creates ListConfigOK with default headers values

func (*ListConfigOK) SetPayload

func (o *ListConfigOK) SetPayload(payload *models.ListConfigResponse)

SetPayload sets the payload to the list config o k response

func (*ListConfigOK) WithPayload

func (o *ListConfigOK) WithPayload(payload *models.ListConfigResponse) *ListConfigOK

WithPayload adds the payload to the list config o k response

func (*ListConfigOK) WriteResponse

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

WriteResponse to the client

type ListConfigParams

type ListConfigParams struct {

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

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

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

swagger:parameters ListConfig

func NewListConfigParams

func NewListConfigParams() ListConfigParams

NewListConfigParams creates a new ListConfigParams object

There are no default values defined in the spec.

func (*ListConfigParams) BindRequest

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

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

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

type ListConfigURL

type ListConfigURL struct {
	Limit  *int32
	Offset *int32
	// contains filtered or unexported fields
}

ListConfigURL generates an URL for the list config operation

func (*ListConfigURL) Build

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

Build a url path and query string

func (*ListConfigURL) BuildFull

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

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

func (*ListConfigURL) Must

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

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

func (*ListConfigURL) SetBasePath

func (o *ListConfigURL) SetBasePath(bp string)

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

func (*ListConfigURL) String

func (o *ListConfigURL) String() string

String returns the string representation of the path with query string

func (*ListConfigURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListConfigURL) WithBasePath

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

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

type ListGroups

type ListGroups struct {
	Context *middleware.Context
	Handler ListGroupsHandler
}
ListGroups swagger:route GET /groups AdminAPI listGroups

List Groups

func NewListGroups

func NewListGroups(ctx *middleware.Context, handler ListGroupsHandler) *ListGroups

NewListGroups creates a new http.Handler for the list groups operation

func (*ListGroups) ServeHTTP

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

type ListGroupsDefault

type ListGroupsDefault struct {

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

ListGroupsDefault Generic error response.

swagger:response listGroupsDefault

func NewListGroupsDefault

func NewListGroupsDefault(code int) *ListGroupsDefault

NewListGroupsDefault creates ListGroupsDefault with default headers values

func (*ListGroupsDefault) SetPayload

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

SetPayload sets the payload to the list groups default response

func (*ListGroupsDefault) SetStatusCode

func (o *ListGroupsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list groups default response

func (*ListGroupsDefault) WithPayload

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

WithPayload adds the payload to the list groups default response

func (*ListGroupsDefault) WithStatusCode

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

WithStatusCode adds the status to the list groups default response

func (*ListGroupsDefault) WriteResponse

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

WriteResponse to the client

type ListGroupsForPolicy

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

List Groups for a Policy

func NewListGroupsForPolicy

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

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

func (*ListGroupsForPolicy) ServeHTTP

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

type ListGroupsForPolicyDefault

type ListGroupsForPolicyDefault struct {

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

ListGroupsForPolicyDefault Generic error response.

swagger:response listGroupsForPolicyDefault

func NewListGroupsForPolicyDefault

func NewListGroupsForPolicyDefault(code int) *ListGroupsForPolicyDefault

NewListGroupsForPolicyDefault creates ListGroupsForPolicyDefault with default headers values

func (*ListGroupsForPolicyDefault) SetPayload

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

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

func (*ListGroupsForPolicyDefault) SetStatusCode

func (o *ListGroupsForPolicyDefault) SetStatusCode(code int)

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

func (*ListGroupsForPolicyDefault) WithPayload

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

func (*ListGroupsForPolicyDefault) WithStatusCode

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

func (*ListGroupsForPolicyDefault) WriteResponse

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

WriteResponse to the client

type ListGroupsForPolicyHandler

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

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

type ListGroupsForPolicyHandlerFunc

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

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

func (ListGroupsForPolicyHandlerFunc) Handle

Handle executing the request and returning a response

type ListGroupsForPolicyOK

type ListGroupsForPolicyOK struct {

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

ListGroupsForPolicyOK A successful response.

swagger:response listGroupsForPolicyOK

func NewListGroupsForPolicyOK

func NewListGroupsForPolicyOK() *ListGroupsForPolicyOK

NewListGroupsForPolicyOK creates ListGroupsForPolicyOK with default headers values

func (*ListGroupsForPolicyOK) SetPayload

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

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

func (*ListGroupsForPolicyOK) WithPayload

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

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

func (*ListGroupsForPolicyOK) WriteResponse

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

WriteResponse to the client

type ListGroupsForPolicyParams

type ListGroupsForPolicyParams struct {

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

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

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

swagger:parameters ListGroupsForPolicy

func NewListGroupsForPolicyParams

func NewListGroupsForPolicyParams() ListGroupsForPolicyParams

NewListGroupsForPolicyParams creates a new ListGroupsForPolicyParams object

There are no default values defined in the spec.

func (*ListGroupsForPolicyParams) BindRequest

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

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

type ListGroupsForPolicyURL

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

ListGroupsForPolicyURL generates an URL for the list groups for policy operation

func (*ListGroupsForPolicyURL) Build

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

Build a url path and query string

func (*ListGroupsForPolicyURL) BuildFull

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

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

func (*ListGroupsForPolicyURL) Must

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

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

func (*ListGroupsForPolicyURL) SetBasePath

func (o *ListGroupsForPolicyURL) SetBasePath(bp string)

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

func (*ListGroupsForPolicyURL) String

func (o *ListGroupsForPolicyURL) String() string

String returns the string representation of the path with query string

func (*ListGroupsForPolicyURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListGroupsForPolicyURL) WithBasePath

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

type ListGroupsHandler

type ListGroupsHandler interface {
	Handle(ListGroupsParams, *models.Principal) middleware.Responder
}

ListGroupsHandler interface for that can handle valid list groups params

type ListGroupsHandlerFunc

type ListGroupsHandlerFunc func(ListGroupsParams, *models.Principal) middleware.Responder

ListGroupsHandlerFunc turns a function with the right signature into a list groups handler

func (ListGroupsHandlerFunc) Handle

Handle executing the request and returning a response

type ListGroupsOK

type ListGroupsOK struct {

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

ListGroupsOK A successful response.

swagger:response listGroupsOK

func NewListGroupsOK

func NewListGroupsOK() *ListGroupsOK

NewListGroupsOK creates ListGroupsOK with default headers values

func (*ListGroupsOK) SetPayload

func (o *ListGroupsOK) SetPayload(payload *models.ListGroupsResponse)

SetPayload sets the payload to the list groups o k response

func (*ListGroupsOK) WithPayload

func (o *ListGroupsOK) WithPayload(payload *models.ListGroupsResponse) *ListGroupsOK

WithPayload adds the payload to the list groups o k response

func (*ListGroupsOK) WriteResponse

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

WriteResponse to the client

type ListGroupsParams

type ListGroupsParams struct {

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

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

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

swagger:parameters ListGroups

func NewListGroupsParams

func NewListGroupsParams() ListGroupsParams

NewListGroupsParams creates a new ListGroupsParams object

There are no default values defined in the spec.

func (*ListGroupsParams) BindRequest

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

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

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

type ListGroupsURL

type ListGroupsURL struct {
	Limit  *int32
	Offset *int32
	// contains filtered or unexported fields
}

ListGroupsURL generates an URL for the list groups operation

func (*ListGroupsURL) Build

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

Build a url path and query string

func (*ListGroupsURL) BuildFull

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

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

func (*ListGroupsURL) Must

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

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

func (*ListGroupsURL) SetBasePath

func (o *ListGroupsURL) SetBasePath(bp string)

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

func (*ListGroupsURL) String

func (o *ListGroupsURL) String() string

String returns the string representation of the path with query string

func (*ListGroupsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListGroupsURL) WithBasePath

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

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

type ListPolicies

type ListPolicies struct {
	Context *middleware.Context
	Handler ListPoliciesHandler
}
ListPolicies swagger:route GET /policies AdminAPI listPolicies

List Policies

func NewListPolicies

func NewListPolicies(ctx *middleware.Context, handler ListPoliciesHandler) *ListPolicies

NewListPolicies creates a new http.Handler for the list policies operation

func (*ListPolicies) ServeHTTP

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

type ListPoliciesDefault

type ListPoliciesDefault struct {

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

ListPoliciesDefault Generic error response.

swagger:response listPoliciesDefault

func NewListPoliciesDefault

func NewListPoliciesDefault(code int) *ListPoliciesDefault

NewListPoliciesDefault creates ListPoliciesDefault with default headers values

func (*ListPoliciesDefault) SetPayload

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

SetPayload sets the payload to the list policies default response

func (*ListPoliciesDefault) SetStatusCode

func (o *ListPoliciesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list policies default response

func (*ListPoliciesDefault) WithPayload

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

WithPayload adds the payload to the list policies default response

func (*ListPoliciesDefault) WithStatusCode

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

WithStatusCode adds the status to the list policies default response

func (*ListPoliciesDefault) WriteResponse

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

WriteResponse to the client

type ListPoliciesHandler

type ListPoliciesHandler interface {
	Handle(ListPoliciesParams, *models.Principal) middleware.Responder
}

ListPoliciesHandler interface for that can handle valid list policies params

type ListPoliciesHandlerFunc

type ListPoliciesHandlerFunc func(ListPoliciesParams, *models.Principal) middleware.Responder

ListPoliciesHandlerFunc turns a function with the right signature into a list policies handler

func (ListPoliciesHandlerFunc) Handle

Handle executing the request and returning a response

type ListPoliciesOK

type ListPoliciesOK struct {

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

ListPoliciesOK A successful response.

swagger:response listPoliciesOK

func NewListPoliciesOK

func NewListPoliciesOK() *ListPoliciesOK

NewListPoliciesOK creates ListPoliciesOK with default headers values

func (*ListPoliciesOK) SetPayload

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

SetPayload sets the payload to the list policies o k response

func (*ListPoliciesOK) WithPayload

func (o *ListPoliciesOK) WithPayload(payload *models.ListPoliciesResponse) *ListPoliciesOK

WithPayload adds the payload to the list policies o k response

func (*ListPoliciesOK) WriteResponse

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

WriteResponse to the client

type ListPoliciesParams

type ListPoliciesParams struct {

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

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

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

swagger:parameters ListPolicies

func NewListPoliciesParams

func NewListPoliciesParams() ListPoliciesParams

NewListPoliciesParams creates a new ListPoliciesParams object

There are no default values defined in the spec.

func (*ListPoliciesParams) BindRequest

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

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

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

type ListPoliciesURL

type ListPoliciesURL struct {
	Limit  *int32
	Offset *int32
	// contains filtered or unexported fields
}

ListPoliciesURL generates an URL for the list policies operation

func (*ListPoliciesURL) Build

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

Build a url path and query string

func (*ListPoliciesURL) BuildFull

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

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

func (*ListPoliciesURL) Must

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

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

func (*ListPoliciesURL) SetBasePath

func (o *ListPoliciesURL) SetBasePath(bp string)

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

func (*ListPoliciesURL) String

func (o *ListPoliciesURL) String() string

String returns the string representation of the path with query string

func (*ListPoliciesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListPoliciesURL) WithBasePath

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

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

type ListPoliciesWithBucket

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

List Policies With Given Bucket

func NewListPoliciesWithBucket

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

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

func (*ListPoliciesWithBucket) ServeHTTP

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

type ListPoliciesWithBucketDefault

type ListPoliciesWithBucketDefault struct {

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

ListPoliciesWithBucketDefault Generic error response.

swagger:response listPoliciesWithBucketDefault

func NewListPoliciesWithBucketDefault

func NewListPoliciesWithBucketDefault(code int) *ListPoliciesWithBucketDefault

NewListPoliciesWithBucketDefault creates ListPoliciesWithBucketDefault with default headers values

func (*ListPoliciesWithBucketDefault) SetPayload

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

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

func (*ListPoliciesWithBucketDefault) SetStatusCode

func (o *ListPoliciesWithBucketDefault) SetStatusCode(code int)

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

func (*ListPoliciesWithBucketDefault) WithPayload

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

func (*ListPoliciesWithBucketDefault) WithStatusCode

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

func (*ListPoliciesWithBucketDefault) WriteResponse

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

WriteResponse to the client

type ListPoliciesWithBucketHandler

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

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

type ListPoliciesWithBucketHandlerFunc

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

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

func (ListPoliciesWithBucketHandlerFunc) Handle

Handle executing the request and returning a response

type ListPoliciesWithBucketOK

type ListPoliciesWithBucketOK struct {

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

ListPoliciesWithBucketOK A successful response.

swagger:response listPoliciesWithBucketOK

func NewListPoliciesWithBucketOK

func NewListPoliciesWithBucketOK() *ListPoliciesWithBucketOK

NewListPoliciesWithBucketOK creates ListPoliciesWithBucketOK with default headers values

func (*ListPoliciesWithBucketOK) SetPayload

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

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

func (*ListPoliciesWithBucketOK) WithPayload

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

func (*ListPoliciesWithBucketOK) WriteResponse

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

WriteResponse to the client

type ListPoliciesWithBucketParams

type ListPoliciesWithBucketParams struct {

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

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

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

swagger:parameters ListPoliciesWithBucket

func NewListPoliciesWithBucketParams

func NewListPoliciesWithBucketParams() ListPoliciesWithBucketParams

NewListPoliciesWithBucketParams creates a new ListPoliciesWithBucketParams object

There are no default values defined in the spec.

func (*ListPoliciesWithBucketParams) BindRequest

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

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

type ListPoliciesWithBucketURL

type ListPoliciesWithBucketURL struct {
	Bucket string

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

ListPoliciesWithBucketURL generates an URL for the list policies with bucket operation

func (*ListPoliciesWithBucketURL) Build

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

Build a url path and query string

func (*ListPoliciesWithBucketURL) BuildFull

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

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

func (*ListPoliciesWithBucketURL) Must

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

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

func (*ListPoliciesWithBucketURL) SetBasePath

func (o *ListPoliciesWithBucketURL) SetBasePath(bp string)

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

func (*ListPoliciesWithBucketURL) String

func (o *ListPoliciesWithBucketURL) String() string

String returns the string representation of the path with query string

func (*ListPoliciesWithBucketURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListPoliciesWithBucketURL) WithBasePath

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

type ListUsers

type ListUsers struct {
	Context *middleware.Context
	Handler ListUsersHandler
}
ListUsers swagger:route GET /users AdminAPI listUsers

List Users

func NewListUsers

func NewListUsers(ctx *middleware.Context, handler ListUsersHandler) *ListUsers

NewListUsers creates a new http.Handler for the list users operation

func (*ListUsers) ServeHTTP

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

type ListUsersDefault

type ListUsersDefault struct {

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

ListUsersDefault Generic error response.

swagger:response listUsersDefault

func NewListUsersDefault

func NewListUsersDefault(code int) *ListUsersDefault

NewListUsersDefault creates ListUsersDefault with default headers values

func (*ListUsersDefault) SetPayload

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

SetPayload sets the payload to the list users default response

func (*ListUsersDefault) SetStatusCode

func (o *ListUsersDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list users default response

func (*ListUsersDefault) WithPayload

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

WithPayload adds the payload to the list users default response

func (*ListUsersDefault) WithStatusCode

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

WithStatusCode adds the status to the list users default response

func (*ListUsersDefault) WriteResponse

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

WriteResponse to the client

type ListUsersForPolicy

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

List Users for a Policy

func NewListUsersForPolicy

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

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

func (*ListUsersForPolicy) ServeHTTP

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

type ListUsersForPolicyDefault

type ListUsersForPolicyDefault struct {

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

ListUsersForPolicyDefault Generic error response.

swagger:response listUsersForPolicyDefault

func NewListUsersForPolicyDefault

func NewListUsersForPolicyDefault(code int) *ListUsersForPolicyDefault

NewListUsersForPolicyDefault creates ListUsersForPolicyDefault with default headers values

func (*ListUsersForPolicyDefault) SetPayload

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

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

func (*ListUsersForPolicyDefault) SetStatusCode

func (o *ListUsersForPolicyDefault) SetStatusCode(code int)

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

func (*ListUsersForPolicyDefault) WithPayload

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

func (*ListUsersForPolicyDefault) WithStatusCode

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

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

func (*ListUsersForPolicyDefault) WriteResponse

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

WriteResponse to the client

type ListUsersForPolicyHandler

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

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

type ListUsersForPolicyHandlerFunc

type ListUsersForPolicyHandlerFunc func(ListUsersForPolicyParams, *models.Principal) middleware.Responder

ListUsersForPolicyHandlerFunc turns a function with the right signature into a list users for policy handler

func (ListUsersForPolicyHandlerFunc) Handle

Handle executing the request and returning a response

type ListUsersForPolicyOK

type ListUsersForPolicyOK struct {

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

ListUsersForPolicyOK A successful response.

swagger:response listUsersForPolicyOK

func NewListUsersForPolicyOK

func NewListUsersForPolicyOK() *ListUsersForPolicyOK

NewListUsersForPolicyOK creates ListUsersForPolicyOK with default headers values

func (*ListUsersForPolicyOK) SetPayload

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

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

func (*ListUsersForPolicyOK) WithPayload

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

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

func (*ListUsersForPolicyOK) WriteResponse

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

WriteResponse to the client

type ListUsersForPolicyParams

type ListUsersForPolicyParams struct {

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

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

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

swagger:parameters ListUsersForPolicy

func NewListUsersForPolicyParams

func NewListUsersForPolicyParams() ListUsersForPolicyParams

NewListUsersForPolicyParams creates a new ListUsersForPolicyParams object

There are no default values defined in the spec.

func (*ListUsersForPolicyParams) BindRequest

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

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

type ListUsersForPolicyURL

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

ListUsersForPolicyURL generates an URL for the list users for policy operation

func (*ListUsersForPolicyURL) Build

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

Build a url path and query string

func (*ListUsersForPolicyURL) BuildFull

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

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

func (*ListUsersForPolicyURL) Must

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

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

func (*ListUsersForPolicyURL) SetBasePath

func (o *ListUsersForPolicyURL) SetBasePath(bp string)

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

func (*ListUsersForPolicyURL) String

func (o *ListUsersForPolicyURL) String() string

String returns the string representation of the path with query string

func (*ListUsersForPolicyURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListUsersForPolicyURL) WithBasePath

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

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

type ListUsersHandler

type ListUsersHandler interface {
	Handle(ListUsersParams, *models.Principal) middleware.Responder
}

ListUsersHandler interface for that can handle valid list users params

type ListUsersHandlerFunc

type ListUsersHandlerFunc func(ListUsersParams, *models.Principal) middleware.Responder

ListUsersHandlerFunc turns a function with the right signature into a list users handler

func (ListUsersHandlerFunc) Handle

Handle executing the request and returning a response

type ListUsersOK

type ListUsersOK struct {

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

ListUsersOK A successful response.

swagger:response listUsersOK

func NewListUsersOK

func NewListUsersOK() *ListUsersOK

NewListUsersOK creates ListUsersOK with default headers values

func (*ListUsersOK) SetPayload

func (o *ListUsersOK) SetPayload(payload *models.ListUsersResponse)

SetPayload sets the payload to the list users o k response

func (*ListUsersOK) WithPayload

func (o *ListUsersOK) WithPayload(payload *models.ListUsersResponse) *ListUsersOK

WithPayload adds the payload to the list users o k response

func (*ListUsersOK) WriteResponse

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

WriteResponse to the client

type ListUsersParams

type ListUsersParams struct {

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

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

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

swagger:parameters ListUsers

func NewListUsersParams

func NewListUsersParams() ListUsersParams

NewListUsersParams creates a new ListUsersParams object

There are no default values defined in the spec.

func (*ListUsersParams) BindRequest

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

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

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

type ListUsersURL

type ListUsersURL struct {
	Limit  *int32
	Offset *int32
	// contains filtered or unexported fields
}

ListUsersURL generates an URL for the list users operation

func (*ListUsersURL) Build

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

Build a url path and query string

func (*ListUsersURL) BuildFull

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

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

func (*ListUsersURL) Must

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

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

func (*ListUsersURL) SetBasePath

func (o *ListUsersURL) SetBasePath(bp string)

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

func (*ListUsersURL) String

func (o *ListUsersURL) String() string

String returns the string representation of the path with query string

func (*ListUsersURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListUsersURL) WithBasePath

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

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

type ListUsersWithAccessToBucket

type ListUsersWithAccessToBucket struct {
	Context *middleware.Context
	Handler ListUsersWithAccessToBucketHandler
}
ListUsersWithAccessToBucket swagger:route GET /bucket-users/{bucket} AdminAPI listUsersWithAccessToBucket

List Users With Access to a Given Bucket

func NewListUsersWithAccessToBucket

func NewListUsersWithAccessToBucket(ctx *middleware.Context, handler ListUsersWithAccessToBucketHandler) *ListUsersWithAccessToBucket

NewListUsersWithAccessToBucket creates a new http.Handler for the list users with access to bucket operation

func (*ListUsersWithAccessToBucket) ServeHTTP

type ListUsersWithAccessToBucketDefault

type ListUsersWithAccessToBucketDefault struct {

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

ListUsersWithAccessToBucketDefault Generic error response.

swagger:response listUsersWithAccessToBucketDefault

func NewListUsersWithAccessToBucketDefault

func NewListUsersWithAccessToBucketDefault(code int) *ListUsersWithAccessToBucketDefault

NewListUsersWithAccessToBucketDefault creates ListUsersWithAccessToBucketDefault with default headers values

func (*ListUsersWithAccessToBucketDefault) SetPayload

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

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

func (*ListUsersWithAccessToBucketDefault) SetStatusCode

func (o *ListUsersWithAccessToBucketDefault) SetStatusCode(code int)

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

func (*ListUsersWithAccessToBucketDefault) WithPayload

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

func (*ListUsersWithAccessToBucketDefault) WithStatusCode

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

func (*ListUsersWithAccessToBucketDefault) WriteResponse

WriteResponse to the client

type ListUsersWithAccessToBucketHandler

type ListUsersWithAccessToBucketHandler interface {
	Handle(ListUsersWithAccessToBucketParams, *models.Principal) middleware.Responder
}

ListUsersWithAccessToBucketHandler interface for that can handle valid list users with access to bucket params

type ListUsersWithAccessToBucketHandlerFunc

type ListUsersWithAccessToBucketHandlerFunc func(ListUsersWithAccessToBucketParams, *models.Principal) middleware.Responder

ListUsersWithAccessToBucketHandlerFunc turns a function with the right signature into a list users with access to bucket handler

func (ListUsersWithAccessToBucketHandlerFunc) Handle

Handle executing the request and returning a response

type ListUsersWithAccessToBucketOK

type ListUsersWithAccessToBucketOK struct {

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

ListUsersWithAccessToBucketOK A successful response.

swagger:response listUsersWithAccessToBucketOK

func NewListUsersWithAccessToBucketOK

func NewListUsersWithAccessToBucketOK() *ListUsersWithAccessToBucketOK

NewListUsersWithAccessToBucketOK creates ListUsersWithAccessToBucketOK with default headers values

func (*ListUsersWithAccessToBucketOK) SetPayload

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

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

func (*ListUsersWithAccessToBucketOK) WithPayload

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

func (*ListUsersWithAccessToBucketOK) WriteResponse

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

WriteResponse to the client

type ListUsersWithAccessToBucketParams

type ListUsersWithAccessToBucketParams struct {

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

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

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

swagger:parameters ListUsersWithAccessToBucket

func NewListUsersWithAccessToBucketParams

func NewListUsersWithAccessToBucketParams() ListUsersWithAccessToBucketParams

NewListUsersWithAccessToBucketParams creates a new ListUsersWithAccessToBucketParams object

There are no default values defined in the spec.

func (*ListUsersWithAccessToBucketParams) BindRequest

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

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

type ListUsersWithAccessToBucketURL

type ListUsersWithAccessToBucketURL struct {
	Bucket string

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

ListUsersWithAccessToBucketURL generates an URL for the list users with access to bucket operation

func (*ListUsersWithAccessToBucketURL) Build

Build a url path and query string

func (*ListUsersWithAccessToBucketURL) BuildFull

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

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

func (*ListUsersWithAccessToBucketURL) Must

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

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

func (*ListUsersWithAccessToBucketURL) SetBasePath

func (o *ListUsersWithAccessToBucketURL) SetBasePath(bp string)

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

func (*ListUsersWithAccessToBucketURL) String

String returns the string representation of the path with query string

func (*ListUsersWithAccessToBucketURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListUsersWithAccessToBucketURL) WithBasePath

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

type NotificationEndpointList

type NotificationEndpointList struct {
	Context *middleware.Context
	Handler NotificationEndpointListHandler
}
NotificationEndpointList swagger:route GET /admin/notification_endpoints AdminAPI notificationEndpointList

Returns a list of active notification endpoints

func NewNotificationEndpointList

func NewNotificationEndpointList(ctx *middleware.Context, handler NotificationEndpointListHandler) *NotificationEndpointList

NewNotificationEndpointList creates a new http.Handler for the notification endpoint list operation

func (*NotificationEndpointList) ServeHTTP

type NotificationEndpointListDefault

type NotificationEndpointListDefault struct {

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

NotificationEndpointListDefault Generic error response.

swagger:response notificationEndpointListDefault

func NewNotificationEndpointListDefault

func NewNotificationEndpointListDefault(code int) *NotificationEndpointListDefault

NewNotificationEndpointListDefault creates NotificationEndpointListDefault with default headers values

func (*NotificationEndpointListDefault) SetPayload

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

SetPayload sets the payload to the notification endpoint list default response

func (*NotificationEndpointListDefault) SetStatusCode

func (o *NotificationEndpointListDefault) SetStatusCode(code int)

SetStatusCode sets the status to the notification endpoint list default response

func (*NotificationEndpointListDefault) WithPayload

WithPayload adds the payload to the notification endpoint list default response

func (*NotificationEndpointListDefault) WithStatusCode

WithStatusCode adds the status to the notification endpoint list default response

func (*NotificationEndpointListDefault) WriteResponse

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

WriteResponse to the client

type NotificationEndpointListHandler

type NotificationEndpointListHandler interface {
	Handle(NotificationEndpointListParams, *models.Principal) middleware.Responder
}

NotificationEndpointListHandler interface for that can handle valid notification endpoint list params

type NotificationEndpointListHandlerFunc

type NotificationEndpointListHandlerFunc func(NotificationEndpointListParams, *models.Principal) middleware.Responder

NotificationEndpointListHandlerFunc turns a function with the right signature into a notification endpoint list handler

func (NotificationEndpointListHandlerFunc) Handle

Handle executing the request and returning a response

type NotificationEndpointListOK

type NotificationEndpointListOK struct {

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

NotificationEndpointListOK A successful response.

swagger:response notificationEndpointListOK

func NewNotificationEndpointListOK

func NewNotificationEndpointListOK() *NotificationEndpointListOK

NewNotificationEndpointListOK creates NotificationEndpointListOK with default headers values

func (*NotificationEndpointListOK) SetPayload

SetPayload sets the payload to the notification endpoint list o k response

func (*NotificationEndpointListOK) WithPayload

WithPayload adds the payload to the notification endpoint list o k response

func (*NotificationEndpointListOK) WriteResponse

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

WriteResponse to the client

type NotificationEndpointListParams

type NotificationEndpointListParams struct {

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

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

swagger:parameters NotificationEndpointList

func NewNotificationEndpointListParams

func NewNotificationEndpointListParams() NotificationEndpointListParams

NewNotificationEndpointListParams creates a new NotificationEndpointListParams object

There are no default values defined in the spec.

func (*NotificationEndpointListParams) BindRequest

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

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

type NotificationEndpointListURL

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

NotificationEndpointListURL generates an URL for the notification endpoint list operation

func (*NotificationEndpointListURL) Build

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

Build a url path and query string

func (*NotificationEndpointListURL) BuildFull

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

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

func (*NotificationEndpointListURL) Must

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

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

func (*NotificationEndpointListURL) SetBasePath

func (o *NotificationEndpointListURL) SetBasePath(bp string)

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

func (*NotificationEndpointListURL) String

func (o *NotificationEndpointListURL) String() string

String returns the string representation of the path with query string

func (*NotificationEndpointListURL) StringFull

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

StringFull returns the string representation of a complete url

func (*NotificationEndpointListURL) WithBasePath

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

type PolicyInfo

type PolicyInfo struct {
	Context *middleware.Context
	Handler PolicyInfoHandler
}
PolicyInfo swagger:route GET /policy AdminAPI policyInfo

Policy info

func NewPolicyInfo

func NewPolicyInfo(ctx *middleware.Context, handler PolicyInfoHandler) *PolicyInfo

NewPolicyInfo creates a new http.Handler for the policy info operation

func (*PolicyInfo) ServeHTTP

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

type PolicyInfoDefault

type PolicyInfoDefault struct {

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

PolicyInfoDefault Generic error response.

swagger:response policyInfoDefault

func NewPolicyInfoDefault

func NewPolicyInfoDefault(code int) *PolicyInfoDefault

NewPolicyInfoDefault creates PolicyInfoDefault with default headers values

func (*PolicyInfoDefault) SetPayload

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

SetPayload sets the payload to the policy info default response

func (*PolicyInfoDefault) SetStatusCode

func (o *PolicyInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the policy info default response

func (*PolicyInfoDefault) WithPayload

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

WithPayload adds the payload to the policy info default response

func (*PolicyInfoDefault) WithStatusCode

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

WithStatusCode adds the status to the policy info default response

func (*PolicyInfoDefault) WriteResponse

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

WriteResponse to the client

type PolicyInfoHandler

type PolicyInfoHandler interface {
	Handle(PolicyInfoParams, *models.Principal) middleware.Responder
}

PolicyInfoHandler interface for that can handle valid policy info params

type PolicyInfoHandlerFunc

type PolicyInfoHandlerFunc func(PolicyInfoParams, *models.Principal) middleware.Responder

PolicyInfoHandlerFunc turns a function with the right signature into a policy info handler

func (PolicyInfoHandlerFunc) Handle

Handle executing the request and returning a response

type PolicyInfoOK

type PolicyInfoOK struct {

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

PolicyInfoOK A successful response.

swagger:response policyInfoOK

func NewPolicyInfoOK

func NewPolicyInfoOK() *PolicyInfoOK

NewPolicyInfoOK creates PolicyInfoOK with default headers values

func (*PolicyInfoOK) SetPayload

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

SetPayload sets the payload to the policy info o k response

func (*PolicyInfoOK) WithPayload

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

WithPayload adds the payload to the policy info o k response

func (*PolicyInfoOK) WriteResponse

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

WriteResponse to the client

type PolicyInfoParams

type PolicyInfoParams struct {

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

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

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

swagger:parameters PolicyInfo

func NewPolicyInfoParams

func NewPolicyInfoParams() PolicyInfoParams

NewPolicyInfoParams creates a new PolicyInfoParams object

There are no default values defined in the spec.

func (*PolicyInfoParams) BindRequest

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

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

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

type PolicyInfoURL

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

PolicyInfoURL generates an URL for the policy info operation

func (*PolicyInfoURL) Build

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

Build a url path and query string

func (*PolicyInfoURL) BuildFull

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

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

func (*PolicyInfoURL) Must

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

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

func (*PolicyInfoURL) SetBasePath

func (o *PolicyInfoURL) SetBasePath(bp string)

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

func (*PolicyInfoURL) String

func (o *PolicyInfoURL) String() string

String returns the string representation of the path with query string

func (*PolicyInfoURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PolicyInfoURL) WithBasePath

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

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

type ProfilingStart

type ProfilingStart struct {
	Context *middleware.Context
	Handler ProfilingStartHandler
}
ProfilingStart swagger:route POST /profiling/start AdminAPI profilingStart

Start recording profile data

func NewProfilingStart

func NewProfilingStart(ctx *middleware.Context, handler ProfilingStartHandler) *ProfilingStart

NewProfilingStart creates a new http.Handler for the profiling start operation

func (*ProfilingStart) ServeHTTP

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

type ProfilingStartCreated

type ProfilingStartCreated struct {

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

ProfilingStartCreated A successful response.

swagger:response profilingStartCreated

func NewProfilingStartCreated

func NewProfilingStartCreated() *ProfilingStartCreated

NewProfilingStartCreated creates ProfilingStartCreated with default headers values

func (*ProfilingStartCreated) SetPayload

func (o *ProfilingStartCreated) SetPayload(payload *models.StartProfilingList)

SetPayload sets the payload to the profiling start created response

func (*ProfilingStartCreated) WithPayload

WithPayload adds the payload to the profiling start created response

func (*ProfilingStartCreated) WriteResponse

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

WriteResponse to the client

type ProfilingStartDefault

type ProfilingStartDefault struct {

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

ProfilingStartDefault Generic error response.

swagger:response profilingStartDefault

func NewProfilingStartDefault

func NewProfilingStartDefault(code int) *ProfilingStartDefault

NewProfilingStartDefault creates ProfilingStartDefault with default headers values

func (*ProfilingStartDefault) SetPayload

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

SetPayload sets the payload to the profiling start default response

func (*ProfilingStartDefault) SetStatusCode

func (o *ProfilingStartDefault) SetStatusCode(code int)

SetStatusCode sets the status to the profiling start default response

func (*ProfilingStartDefault) WithPayload

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

WithPayload adds the payload to the profiling start default response

func (*ProfilingStartDefault) WithStatusCode

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

WithStatusCode adds the status to the profiling start default response

func (*ProfilingStartDefault) WriteResponse

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

WriteResponse to the client

type ProfilingStartHandler

type ProfilingStartHandler interface {
	Handle(ProfilingStartParams, *models.Principal) middleware.Responder
}

ProfilingStartHandler interface for that can handle valid profiling start params

type ProfilingStartHandlerFunc

type ProfilingStartHandlerFunc func(ProfilingStartParams, *models.Principal) middleware.Responder

ProfilingStartHandlerFunc turns a function with the right signature into a profiling start handler

func (ProfilingStartHandlerFunc) Handle

Handle executing the request and returning a response

type ProfilingStartParams

type ProfilingStartParams struct {

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

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

ProfilingStartParams contains all the bound params for the profiling start operation typically these are obtained from a http.Request

swagger:parameters ProfilingStart

func NewProfilingStartParams

func NewProfilingStartParams() ProfilingStartParams

NewProfilingStartParams creates a new ProfilingStartParams object

There are no default values defined in the spec.

func (*ProfilingStartParams) BindRequest

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

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

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

type ProfilingStartURL

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

ProfilingStartURL generates an URL for the profiling start operation

func (*ProfilingStartURL) Build

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

Build a url path and query string

func (*ProfilingStartURL) BuildFull

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

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

func (*ProfilingStartURL) Must

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

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

func (*ProfilingStartURL) SetBasePath

func (o *ProfilingStartURL) SetBasePath(bp string)

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

func (*ProfilingStartURL) String

func (o *ProfilingStartURL) String() string

String returns the string representation of the path with query string

func (*ProfilingStartURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ProfilingStartURL) WithBasePath

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

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

type ProfilingStop

type ProfilingStop struct {
	Context *middleware.Context
	Handler ProfilingStopHandler
}
ProfilingStop swagger:route POST /profiling/stop AdminAPI profilingStop

Stop and download profile data

func NewProfilingStop

func NewProfilingStop(ctx *middleware.Context, handler ProfilingStopHandler) *ProfilingStop

NewProfilingStop creates a new http.Handler for the profiling stop operation

func (*ProfilingStop) ServeHTTP

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

type ProfilingStopCreated

type ProfilingStopCreated struct {

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

ProfilingStopCreated A successful response.

swagger:response profilingStopCreated

func NewProfilingStopCreated

func NewProfilingStopCreated() *ProfilingStopCreated

NewProfilingStopCreated creates ProfilingStopCreated with default headers values

func (*ProfilingStopCreated) SetPayload

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

SetPayload sets the payload to the profiling stop created response

func (*ProfilingStopCreated) WithPayload

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

WithPayload adds the payload to the profiling stop created response

func (*ProfilingStopCreated) WriteResponse

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

WriteResponse to the client

type ProfilingStopDefault

type ProfilingStopDefault struct {

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

ProfilingStopDefault Generic error response.

swagger:response profilingStopDefault

func NewProfilingStopDefault

func NewProfilingStopDefault(code int) *ProfilingStopDefault

NewProfilingStopDefault creates ProfilingStopDefault with default headers values

func (*ProfilingStopDefault) SetPayload

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

SetPayload sets the payload to the profiling stop default response

func (*ProfilingStopDefault) SetStatusCode

func (o *ProfilingStopDefault) SetStatusCode(code int)

SetStatusCode sets the status to the profiling stop default response

func (*ProfilingStopDefault) WithPayload

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

WithPayload adds the payload to the profiling stop default response

func (*ProfilingStopDefault) WithStatusCode

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

WithStatusCode adds the status to the profiling stop default response

func (*ProfilingStopDefault) WriteResponse

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

WriteResponse to the client

type ProfilingStopHandler

type ProfilingStopHandler interface {
	Handle(ProfilingStopParams, *models.Principal) middleware.Responder
}

ProfilingStopHandler interface for that can handle valid profiling stop params

type ProfilingStopHandlerFunc

type ProfilingStopHandlerFunc func(ProfilingStopParams, *models.Principal) middleware.Responder

ProfilingStopHandlerFunc turns a function with the right signature into a profiling stop handler

func (ProfilingStopHandlerFunc) Handle

Handle executing the request and returning a response

type ProfilingStopParams

type ProfilingStopParams struct {

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

ProfilingStopParams contains all the bound params for the profiling stop operation typically these are obtained from a http.Request

swagger:parameters ProfilingStop

func NewProfilingStopParams

func NewProfilingStopParams() ProfilingStopParams

NewProfilingStopParams creates a new ProfilingStopParams object

There are no default values defined in the spec.

func (*ProfilingStopParams) BindRequest

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

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

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

type ProfilingStopURL

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

ProfilingStopURL generates an URL for the profiling stop operation

func (*ProfilingStopURL) Build

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

Build a url path and query string

func (*ProfilingStopURL) BuildFull

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

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

func (*ProfilingStopURL) Must

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

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

func (*ProfilingStopURL) SetBasePath

func (o *ProfilingStopURL) SetBasePath(bp string)

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

func (*ProfilingStopURL) String

func (o *ProfilingStopURL) String() string

String returns the string representation of the path with query string

func (*ProfilingStopURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ProfilingStopURL) WithBasePath

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

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

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

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

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

type SetAccessRuleWithBucketDefault

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

func NewSetAccessRuleWithBucketDefault(code int) *SetAccessRuleWithBucketDefault

NewSetAccessRuleWithBucketDefault creates SetAccessRuleWithBucketDefault with default headers values

func (*SetAccessRuleWithBucketDefault) SetPayload

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

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

func (*SetAccessRuleWithBucketDefault) SetStatusCode

func (o *SetAccessRuleWithBucketDefault) SetStatusCode(code int)

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

func (*SetAccessRuleWithBucketDefault) WithPayload

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

func (*SetAccessRuleWithBucketDefault) WithStatusCode

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

func (*SetAccessRuleWithBucketDefault) WriteResponse

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

WriteResponse to the client

type SetAccessRuleWithBucketHandler

type SetAccessRuleWithBucketHandler interface {
	Handle(SetAccessRuleWithBucketParams, *models.Principal) middleware.Responder
}

SetAccessRuleWithBucketHandler interface for that can handle valid set access rule with bucket params

type SetAccessRuleWithBucketHandlerFunc

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

Handle executing the request and returning a response

type SetAccessRuleWithBucketOK

type SetAccessRuleWithBucketOK struct {

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

SetAccessRuleWithBucketOK A successful response.

swagger:response setAccessRuleWithBucketOK

func NewSetAccessRuleWithBucketOK

func NewSetAccessRuleWithBucketOK() *SetAccessRuleWithBucketOK

NewSetAccessRuleWithBucketOK creates SetAccessRuleWithBucketOK with default headers values

func (*SetAccessRuleWithBucketOK) SetPayload

func (o *SetAccessRuleWithBucketOK) SetPayload(payload bool)

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

func (*SetAccessRuleWithBucketOK) WithPayload

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

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

func (*SetAccessRuleWithBucketOK) WriteResponse

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

WriteResponse to the client

type SetAccessRuleWithBucketParams

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

func NewSetAccessRuleWithBucketParams() SetAccessRuleWithBucketParams

NewSetAccessRuleWithBucketParams creates a new SetAccessRuleWithBucketParams object

There are no default values defined in the spec.

func (*SetAccessRuleWithBucketParams) 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 NewSetAccessRuleWithBucketParams() beforehand.

type SetAccessRuleWithBucketURL

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

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

Build a url path and query string

func (*SetAccessRuleWithBucketURL) BuildFull

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

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

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

func (o *SetAccessRuleWithBucketURL) String() string

String returns the string representation of the path with query string

func (*SetAccessRuleWithBucketURL) StringFull

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

StringFull returns the string representation of a complete url

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

type SetConfig struct {
	Context *middleware.Context
	Handler SetConfigHandler
}
SetConfig swagger:route PUT /configs/{name} AdminAPI setConfig

Set Configuration

func NewSetConfig

func NewSetConfig(ctx *middleware.Context, handler SetConfigHandler) *SetConfig

NewSetConfig creates a new http.Handler for the set config operation

func (*SetConfig) ServeHTTP

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

type SetConfigDefault

type SetConfigDefault struct {

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

SetConfigDefault Generic error response.

swagger:response setConfigDefault

func NewSetConfigDefault

func NewSetConfigDefault(code int) *SetConfigDefault

NewSetConfigDefault creates SetConfigDefault with default headers values

func (*SetConfigDefault) SetPayload

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

SetPayload sets the payload to the set config default response

func (*SetConfigDefault) SetStatusCode

func (o *SetConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set config default response

func (*SetConfigDefault) WithPayload

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

WithPayload adds the payload to the set config default response

func (*SetConfigDefault) WithStatusCode

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

WithStatusCode adds the status to the set config default response

func (*SetConfigDefault) WriteResponse

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

WriteResponse to the client

type SetConfigHandler

type SetConfigHandler interface {
	Handle(SetConfigParams, *models.Principal) middleware.Responder
}

SetConfigHandler interface for that can handle valid set config params

type SetConfigHandlerFunc

type SetConfigHandlerFunc func(SetConfigParams, *models.Principal) middleware.Responder

SetConfigHandlerFunc turns a function with the right signature into a set config handler

func (SetConfigHandlerFunc) Handle

Handle executing the request and returning a response

type SetConfigOK

type SetConfigOK struct {

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

SetConfigOK A successful response.

swagger:response setConfigOK

func NewSetConfigOK

func NewSetConfigOK() *SetConfigOK

NewSetConfigOK creates SetConfigOK with default headers values

func (*SetConfigOK) SetPayload

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

SetPayload sets the payload to the set config o k response

func (*SetConfigOK) WithPayload

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

WithPayload adds the payload to the set config o k response

func (*SetConfigOK) WriteResponse

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

WriteResponse to the client

type SetConfigParams

type SetConfigParams struct {

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

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

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

swagger:parameters SetConfig

func NewSetConfigParams

func NewSetConfigParams() SetConfigParams

NewSetConfigParams creates a new SetConfigParams object

There are no default values defined in the spec.

func (*SetConfigParams) BindRequest

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

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

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

type SetConfigURL

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

SetConfigURL generates an URL for the set config operation

func (*SetConfigURL) Build

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

Build a url path and query string

func (*SetConfigURL) BuildFull

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

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

func (*SetConfigURL) Must

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

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

func (*SetConfigURL) SetBasePath

func (o *SetConfigURL) SetBasePath(bp string)

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

func (*SetConfigURL) String

func (o *SetConfigURL) String() string

String returns the string representation of the path with query string

func (*SetConfigURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SetConfigURL) WithBasePath

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

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

type SetPolicy

type SetPolicy struct {
	Context *middleware.Context
	Handler SetPolicyHandler
}
SetPolicy swagger:route PUT /set-policy/{name} AdminAPI setPolicy

Set policy

func NewSetPolicy

func NewSetPolicy(ctx *middleware.Context, handler SetPolicyHandler) *SetPolicy

NewSetPolicy creates a new http.Handler for the set policy operation

func (*SetPolicy) ServeHTTP

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

type SetPolicyDefault

type SetPolicyDefault struct {

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

SetPolicyDefault Generic error response.

swagger:response setPolicyDefault

func NewSetPolicyDefault

func NewSetPolicyDefault(code int) *SetPolicyDefault

NewSetPolicyDefault creates SetPolicyDefault with default headers values

func (*SetPolicyDefault) SetPayload

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

SetPayload sets the payload to the set policy default response

func (*SetPolicyDefault) SetStatusCode

func (o *SetPolicyDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set policy default response

func (*SetPolicyDefault) WithPayload

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

WithPayload adds the payload to the set policy default response

func (*SetPolicyDefault) WithStatusCode

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

WithStatusCode adds the status to the set policy default response

func (*SetPolicyDefault) WriteResponse

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

WriteResponse to the client

type SetPolicyHandler

type SetPolicyHandler interface {
	Handle(SetPolicyParams, *models.Principal) middleware.Responder
}

SetPolicyHandler interface for that can handle valid set policy params

type SetPolicyHandlerFunc

type SetPolicyHandlerFunc func(SetPolicyParams, *models.Principal) middleware.Responder

SetPolicyHandlerFunc turns a function with the right signature into a set policy handler

func (SetPolicyHandlerFunc) Handle

Handle executing the request and returning a response

type SetPolicyMultiple

type SetPolicyMultiple struct {
	Context *middleware.Context
	Handler SetPolicyMultipleHandler
}
SetPolicyMultiple swagger:route PUT /set-policy-multi/{name} AdminAPI setPolicyMultiple

Set policy to multiple users/groups

func NewSetPolicyMultiple

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

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

func (*SetPolicyMultiple) ServeHTTP

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

type SetPolicyMultipleDefault

type SetPolicyMultipleDefault struct {

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

SetPolicyMultipleDefault Generic error response.

swagger:response setPolicyMultipleDefault

func NewSetPolicyMultipleDefault

func NewSetPolicyMultipleDefault(code int) *SetPolicyMultipleDefault

NewSetPolicyMultipleDefault creates SetPolicyMultipleDefault with default headers values

func (*SetPolicyMultipleDefault) SetPayload

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

SetPayload sets the payload to the set policy multiple default response

func (*SetPolicyMultipleDefault) SetStatusCode

func (o *SetPolicyMultipleDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set policy multiple default response

func (*SetPolicyMultipleDefault) WithPayload

WithPayload adds the payload to the set policy multiple default response

func (*SetPolicyMultipleDefault) WithStatusCode

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

WithStatusCode adds the status to the set policy multiple default response

func (*SetPolicyMultipleDefault) WriteResponse

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

WriteResponse to the client

type SetPolicyMultipleHandler

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

SetPolicyMultipleHandler interface for that can handle valid set policy multiple params

type SetPolicyMultipleHandlerFunc

type SetPolicyMultipleHandlerFunc func(SetPolicyMultipleParams, *models.Principal) middleware.Responder

SetPolicyMultipleHandlerFunc turns a function with the right signature into a set policy multiple handler

func (SetPolicyMultipleHandlerFunc) Handle

Handle executing the request and returning a response

type SetPolicyMultipleNoContent

type SetPolicyMultipleNoContent struct {
}

SetPolicyMultipleNoContent A successful response.

swagger:response setPolicyMultipleNoContent

func NewSetPolicyMultipleNoContent

func NewSetPolicyMultipleNoContent() *SetPolicyMultipleNoContent

NewSetPolicyMultipleNoContent creates SetPolicyMultipleNoContent with default headers values

func (*SetPolicyMultipleNoContent) WriteResponse

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

WriteResponse to the client

type SetPolicyMultipleParams

type SetPolicyMultipleParams struct {

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

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

SetPolicyMultipleParams contains all the bound params for the set policy multiple operation typically these are obtained from a http.Request

swagger:parameters SetPolicyMultiple

func NewSetPolicyMultipleParams

func NewSetPolicyMultipleParams() SetPolicyMultipleParams

NewSetPolicyMultipleParams creates a new SetPolicyMultipleParams object

There are no default values defined in the spec.

func (*SetPolicyMultipleParams) BindRequest

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

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

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

type SetPolicyMultipleURL

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

SetPolicyMultipleURL generates an URL for the set policy multiple operation

func (*SetPolicyMultipleURL) Build

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

Build a url path and query string

func (*SetPolicyMultipleURL) BuildFull

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

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

func (*SetPolicyMultipleURL) Must

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

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

func (*SetPolicyMultipleURL) SetBasePath

func (o *SetPolicyMultipleURL) SetBasePath(bp string)

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

func (*SetPolicyMultipleURL) String

func (o *SetPolicyMultipleURL) String() string

String returns the string representation of the path with query string

func (*SetPolicyMultipleURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SetPolicyMultipleURL) WithBasePath

func (o *SetPolicyMultipleURL) WithBasePath(bp string) *SetPolicyMultipleURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type SetPolicyNoContent

type SetPolicyNoContent struct {
}

SetPolicyNoContent A successful response.

swagger:response setPolicyNoContent

func NewSetPolicyNoContent

func NewSetPolicyNoContent() *SetPolicyNoContent

NewSetPolicyNoContent creates SetPolicyNoContent with default headers values

func (*SetPolicyNoContent) WriteResponse

func (o *SetPolicyNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetPolicyParams

type SetPolicyParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.SetPolicyRequest
	/*
	  Required: true
	  In: path
	*/
	Name string
}

SetPolicyParams contains all the bound params for the set policy operation typically these are obtained from a http.Request

swagger:parameters SetPolicy

func NewSetPolicyParams

func NewSetPolicyParams() SetPolicyParams

NewSetPolicyParams creates a new SetPolicyParams object

There are no default values defined in the spec.

func (*SetPolicyParams) BindRequest

func (o *SetPolicyParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewSetPolicyParams() beforehand.

type SetPolicyURL

type SetPolicyURL struct {
	Name string
	// contains filtered or unexported fields
}

SetPolicyURL generates an URL for the set policy operation

func (*SetPolicyURL) Build

func (o *SetPolicyURL) Build() (*url.URL, error)

Build a url path and query string

func (*SetPolicyURL) BuildFull

func (o *SetPolicyURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SetPolicyURL) Must

func (o *SetPolicyURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SetPolicyURL) SetBasePath

func (o *SetPolicyURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*SetPolicyURL) String

func (o *SetPolicyURL) String() string

String returns the string representation of the path with query string

func (*SetPolicyURL) StringFull

func (o *SetPolicyURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SetPolicyURL) WithBasePath

func (o *SetPolicyURL) WithBasePath(bp string) *SetPolicyURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type SubscriptionInfo

type SubscriptionInfo struct {
	Context *middleware.Context
	Handler SubscriptionInfoHandler
}
SubscriptionInfo swagger:route GET /subscription/info AdminAPI subscriptionInfo

Subscription info

func NewSubscriptionInfo

func NewSubscriptionInfo(ctx *middleware.Context, handler SubscriptionInfoHandler) *SubscriptionInfo

NewSubscriptionInfo creates a new http.Handler for the subscription info operation

func (*SubscriptionInfo) ServeHTTP

func (o *SubscriptionInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SubscriptionInfoDefault

type SubscriptionInfoDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

SubscriptionInfoDefault Generic error response.

swagger:response subscriptionInfoDefault

func NewSubscriptionInfoDefault

func NewSubscriptionInfoDefault(code int) *SubscriptionInfoDefault

NewSubscriptionInfoDefault creates SubscriptionInfoDefault with default headers values

func (*SubscriptionInfoDefault) SetPayload

func (o *SubscriptionInfoDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the subscription info default response

func (*SubscriptionInfoDefault) SetStatusCode

func (o *SubscriptionInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the subscription info default response

func (*SubscriptionInfoDefault) WithPayload

func (o *SubscriptionInfoDefault) WithPayload(payload *models.Error) *SubscriptionInfoDefault

WithPayload adds the payload to the subscription info default response

func (*SubscriptionInfoDefault) WithStatusCode

func (o *SubscriptionInfoDefault) WithStatusCode(code int) *SubscriptionInfoDefault

WithStatusCode adds the status to the subscription info default response

func (*SubscriptionInfoDefault) WriteResponse

func (o *SubscriptionInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SubscriptionInfoHandler

type SubscriptionInfoHandler interface {
	Handle(SubscriptionInfoParams, *models.Principal) middleware.Responder
}

SubscriptionInfoHandler interface for that can handle valid subscription info params

type SubscriptionInfoHandlerFunc

type SubscriptionInfoHandlerFunc func(SubscriptionInfoParams, *models.Principal) middleware.Responder

SubscriptionInfoHandlerFunc turns a function with the right signature into a subscription info handler

func (SubscriptionInfoHandlerFunc) Handle

Handle executing the request and returning a response

type SubscriptionInfoOK

type SubscriptionInfoOK struct {

	/*
	  In: Body
	*/
	Payload *models.License `json:"body,omitempty"`
}

SubscriptionInfoOK A successful response.

swagger:response subscriptionInfoOK

func NewSubscriptionInfoOK

func NewSubscriptionInfoOK() *SubscriptionInfoOK

NewSubscriptionInfoOK creates SubscriptionInfoOK with default headers values

func (*SubscriptionInfoOK) SetPayload

func (o *SubscriptionInfoOK) SetPayload(payload *models.License)

SetPayload sets the payload to the subscription info o k response

func (*SubscriptionInfoOK) WithPayload

func (o *SubscriptionInfoOK) WithPayload(payload *models.License) *SubscriptionInfoOK

WithPayload adds the payload to the subscription info o k response

func (*SubscriptionInfoOK) WriteResponse

func (o *SubscriptionInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SubscriptionInfoParams

type SubscriptionInfoParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

SubscriptionInfoParams contains all the bound params for the subscription info operation typically these are obtained from a http.Request

swagger:parameters SubscriptionInfo

func NewSubscriptionInfoParams

func NewSubscriptionInfoParams() SubscriptionInfoParams

NewSubscriptionInfoParams creates a new SubscriptionInfoParams object

There are no default values defined in the spec.

func (*SubscriptionInfoParams) BindRequest

func (o *SubscriptionInfoParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewSubscriptionInfoParams() beforehand.

type SubscriptionInfoURL

type SubscriptionInfoURL struct {
	// contains filtered or unexported fields
}

SubscriptionInfoURL generates an URL for the subscription info operation

func (*SubscriptionInfoURL) Build

func (o *SubscriptionInfoURL) Build() (*url.URL, error)

Build a url path and query string

func (*SubscriptionInfoURL) BuildFull

func (o *SubscriptionInfoURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SubscriptionInfoURL) Must

func (o *SubscriptionInfoURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SubscriptionInfoURL) SetBasePath

func (o *SubscriptionInfoURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*SubscriptionInfoURL) String

func (o *SubscriptionInfoURL) String() string

String returns the string representation of the path with query string

func (*SubscriptionInfoURL) StringFull

func (o *SubscriptionInfoURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SubscriptionInfoURL) WithBasePath

func (o *SubscriptionInfoURL) WithBasePath(bp string) *SubscriptionInfoURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TiersList

type TiersList struct {
	Context *middleware.Context
	Handler TiersListHandler
}
TiersList swagger:route GET /admin/tiers AdminAPI tiersList

Returns a list of tiers for ilm

func NewTiersList

func NewTiersList(ctx *middleware.Context, handler TiersListHandler) *TiersList

NewTiersList creates a new http.Handler for the tiers list operation

func (*TiersList) ServeHTTP

func (o *TiersList) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TiersListDefault

type TiersListDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

TiersListDefault Generic error response.

swagger:response tiersListDefault

func NewTiersListDefault

func NewTiersListDefault(code int) *TiersListDefault

NewTiersListDefault creates TiersListDefault with default headers values

func (*TiersListDefault) SetPayload

func (o *TiersListDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tiers list default response

func (*TiersListDefault) SetStatusCode

func (o *TiersListDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tiers list default response

func (*TiersListDefault) WithPayload

func (o *TiersListDefault) WithPayload(payload *models.Error) *TiersListDefault

WithPayload adds the payload to the tiers list default response

func (*TiersListDefault) WithStatusCode

func (o *TiersListDefault) WithStatusCode(code int) *TiersListDefault

WithStatusCode adds the status to the tiers list default response

func (*TiersListDefault) WriteResponse

func (o *TiersListDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TiersListHandler

type TiersListHandler interface {
	Handle(TiersListParams, *models.Principal) middleware.Responder
}

TiersListHandler interface for that can handle valid tiers list params

type TiersListHandlerFunc

type TiersListHandlerFunc func(TiersListParams, *models.Principal) middleware.Responder

TiersListHandlerFunc turns a function with the right signature into a tiers list handler

func (TiersListHandlerFunc) Handle

Handle executing the request and returning a response

type TiersListOK

type TiersListOK struct {

	/*
	  In: Body
	*/
	Payload *models.TierListResponse `json:"body,omitempty"`
}

TiersListOK A successful response.

swagger:response tiersListOK

func NewTiersListOK

func NewTiersListOK() *TiersListOK

NewTiersListOK creates TiersListOK with default headers values

func (*TiersListOK) SetPayload

func (o *TiersListOK) SetPayload(payload *models.TierListResponse)

SetPayload sets the payload to the tiers list o k response

func (*TiersListOK) WithPayload

func (o *TiersListOK) WithPayload(payload *models.TierListResponse) *TiersListOK

WithPayload adds the payload to the tiers list o k response

func (*TiersListOK) WriteResponse

func (o *TiersListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TiersListParams

type TiersListParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

TiersListParams contains all the bound params for the tiers list operation typically these are obtained from a http.Request

swagger:parameters TiersList

func NewTiersListParams

func NewTiersListParams() TiersListParams

NewTiersListParams creates a new TiersListParams object

There are no default values defined in the spec.

func (*TiersListParams) BindRequest

func (o *TiersListParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewTiersListParams() beforehand.

type TiersListURL

type TiersListURL struct {
	// contains filtered or unexported fields
}

TiersListURL generates an URL for the tiers list operation

func (*TiersListURL) Build

func (o *TiersListURL) Build() (*url.URL, error)

Build a url path and query string

func (*TiersListURL) BuildFull

func (o *TiersListURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TiersListURL) Must

func (o *TiersListURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TiersListURL) SetBasePath

func (o *TiersListURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TiersListURL) String

func (o *TiersListURL) String() string

String returns the string representation of the path with query string

func (*TiersListURL) StringFull

func (o *TiersListURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TiersListURL) WithBasePath

func (o *TiersListURL) WithBasePath(bp string) *TiersListURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateGroup

type UpdateGroup struct {
	Context *middleware.Context
	Handler UpdateGroupHandler
}
UpdateGroup swagger:route PUT /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