admin_api

package
v0.3.12 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: AGPL-3.0 Imports: 12 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 AddUserCreatedCode int = 201

AddUserCreatedCode is the HTTP code returned for type AddUserCreated

View Source
const AdminInfoOKCode int = 200

AdminInfoOKCode is the HTTP code returned for type AdminInfoOK

View Source
const ArnListOKCode int = 200

ArnListOKCode is the HTTP code returned for type ArnListOK

View Source
const BulkUpdateUsersGroupsOKCode int = 200

BulkUpdateUsersGroupsOKCode is the HTTP code returned for type BulkUpdateUsersGroupsOK

View Source
const ConfigInfoOKCode int = 200

ConfigInfoOKCode is the HTTP code returned for type ConfigInfoOK

View Source
const CreateTenantOKCode int = 200

CreateTenantOKCode is the HTTP code returned for type CreateTenantOK

View Source
const DeleteTenantNoContentCode int = 204

DeleteTenantNoContentCode is the HTTP code returned for type DeleteTenantNoContent

View Source
const GetResourceQuotaOKCode int = 200

GetResourceQuotaOKCode is the HTTP code returned for type GetResourceQuotaOK

View Source
const GetTenantUsageOKCode int = 200

GetTenantUsageOKCode is the HTTP code returned for type GetTenantUsageOK

View Source
const GetUserInfoOKCode int = 200

GetUserInfoOKCode is the HTTP code returned for type GetUserInfoOK

View Source
const GroupInfoOKCode int = 200

GroupInfoOKCode is the HTTP code returned for type GroupInfoOK

View Source
const ListAllTenantsOKCode int = 200

ListAllTenantsOKCode is the HTTP code returned for type ListAllTenantsOK

View Source
const ListConfigOKCode int = 200

ListConfigOKCode is the HTTP code returned for type ListConfigOK

View Source
const ListGroupsOKCode int = 200

ListGroupsOKCode is the HTTP code returned for type ListGroupsOK

View Source
const ListPoliciesOKCode int = 200

ListPoliciesOKCode is the HTTP code returned for type ListPoliciesOK

View Source
const ListTenantsOKCode int = 200

ListTenantsOKCode is the HTTP code returned for type ListTenantsOK

View Source
const ListUsersOKCode int = 200

ListUsersOKCode is the HTTP code returned for type ListUsersOK

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

SetConfigNoContentCode is the HTTP code returned for type SetConfigNoContent

View Source
const SetPolicyNoContentCode int = 204

SetPolicyNoContentCode is the HTTP code returned for type SetPolicyNoContent

View Source
const TenantAddZoneCreatedCode int = 201

TenantAddZoneCreatedCode is the HTTP code returned for type TenantAddZoneCreated

View Source
const TenantInfoOKCode int = 200

TenantInfoOKCode is the HTTP code returned for type TenantInfoOK

View Source
const UpdateGroupOKCode int = 200

UpdateGroupOKCode is the HTTP code returned for type UpdateGroupOK

View Source
const UpdateTenantCreatedCode int = 201

UpdateTenantCreatedCode is the HTTP code returned for type UpdateTenantCreated

View Source
const UpdateUserGroupsOKCode int = 200

UpdateUserGroupsOKCode is the HTTP code returned for type UpdateUserGroupsOK

View Source
const UpdateUserInfoOKCode int = 200

UpdateUserInfoOKCode is the HTTP code returned for type UpdateUserInfoOK

Variables

This section is empty.

Functions

This section is empty.

Types

type AddGroup

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

AddGroup swagger:route POST /groups AdminAPI addGroup

Add Group

func NewAddGroup

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

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

func (*AddGroup) ServeHTTP

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

type AddGroupCreated

type AddGroupCreated struct {
}

AddGroupCreated A successful response.

swagger:response addGroupCreated

func NewAddGroupCreated

func NewAddGroupCreated() *AddGroupCreated

NewAddGroupCreated creates AddGroupCreated with default headers values

func (*AddGroupCreated) WriteResponse

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

WriteResponse to the client

type AddGroupDefault

type AddGroupDefault struct {

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

AddGroupDefault Generic error response.

swagger:response addGroupDefault

func NewAddGroupDefault

func NewAddGroupDefault(code int) *AddGroupDefault

NewAddGroupDefault creates AddGroupDefault with default headers values

func (*AddGroupDefault) SetPayload

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

SetPayload sets the payload to the add group default response

func (*AddGroupDefault) SetStatusCode

func (o *AddGroupDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add group default response

func (*AddGroupDefault) WithPayload

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

WithPayload adds the payload to the add group default response

func (*AddGroupDefault) WithStatusCode

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

WithStatusCode adds the status to the add group default response

func (*AddGroupDefault) WriteResponse

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

WriteResponse to the client

type AddGroupHandler

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

AddGroupHandler interface for that can handle valid add group params

type AddGroupHandlerFunc

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

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

func (AddGroupHandlerFunc) Handle

Handle executing the request and returning a response

type AddGroupParams

type AddGroupParams struct {

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

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

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

swagger:parameters AddGroup

func NewAddGroupParams

func NewAddGroupParams() AddGroupParams

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

func (*AddGroupParams) BindRequest

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

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

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

type AddGroupURL

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

AddGroupURL generates an URL for the add group operation

func (*AddGroupURL) Build

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

Build a url path and query string

func (*AddGroupURL) BuildFull

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

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

func (*AddGroupURL) Must

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

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

func (*AddGroupURL) SetBasePath

func (o *AddGroupURL) SetBasePath(bp string)

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

func (*AddGroupURL) String

func (o *AddGroupURL) String() string

String returns the string representation of the path with query string

func (*AddGroupURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddGroupURL) WithBasePath

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

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

type AddNotificationEndpoint

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

AddNotificationEndpoint swagger:route POST /admin/notification_endpoints AdminAPI addNotificationEndpoint

Allows to configure a new notification endpoint

func NewAddNotificationEndpoint

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

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

func (*AddNotificationEndpoint) ServeHTTP

type AddNotificationEndpointCreated

type AddNotificationEndpointCreated struct {

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

AddNotificationEndpointCreated A successful response.

swagger:response addNotificationEndpointCreated

func NewAddNotificationEndpointCreated

func NewAddNotificationEndpointCreated() *AddNotificationEndpointCreated

NewAddNotificationEndpointCreated creates AddNotificationEndpointCreated with default headers values

func (*AddNotificationEndpointCreated) SetPayload

SetPayload sets the payload to the add notification endpoint created response

func (*AddNotificationEndpointCreated) WithPayload

WithPayload adds the payload to the add notification endpoint created response

func (*AddNotificationEndpointCreated) WriteResponse

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

WriteResponse to the client

type AddNotificationEndpointDefault

type AddNotificationEndpointDefault struct {

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

AddNotificationEndpointDefault Generic error response.

swagger:response addNotificationEndpointDefault

func NewAddNotificationEndpointDefault

func NewAddNotificationEndpointDefault(code int) *AddNotificationEndpointDefault

NewAddNotificationEndpointDefault creates AddNotificationEndpointDefault with default headers values

func (*AddNotificationEndpointDefault) SetPayload

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

SetPayload sets the payload to the add notification endpoint default response

func (*AddNotificationEndpointDefault) SetStatusCode

func (o *AddNotificationEndpointDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add notification endpoint default response

func (*AddNotificationEndpointDefault) WithPayload

WithPayload adds the payload to the add notification endpoint default response

func (*AddNotificationEndpointDefault) WithStatusCode

WithStatusCode adds the status to the add notification endpoint default response

func (*AddNotificationEndpointDefault) WriteResponse

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

WriteResponse to the client

type AddNotificationEndpointHandler

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

AddNotificationEndpointHandler interface for that can handle valid add notification endpoint params

type AddNotificationEndpointHandlerFunc

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

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

func (AddNotificationEndpointHandlerFunc) Handle

Handle executing the request and returning a response

type AddNotificationEndpointParams

type AddNotificationEndpointParams struct {

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

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

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

swagger:parameters AddNotificationEndpoint

func NewAddNotificationEndpointParams

func NewAddNotificationEndpointParams() AddNotificationEndpointParams

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

func (*AddNotificationEndpointParams) BindRequest

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

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

type AddNotificationEndpointURL

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

AddNotificationEndpointURL generates an URL for the add notification endpoint operation

func (*AddNotificationEndpointURL) Build

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

Build a url path and query string

func (*AddNotificationEndpointURL) BuildFull

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

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

func (*AddNotificationEndpointURL) Must

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

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

func (*AddNotificationEndpointURL) SetBasePath

func (o *AddNotificationEndpointURL) SetBasePath(bp string)

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

func (*AddNotificationEndpointURL) String

func (o *AddNotificationEndpointURL) String() string

String returns the string representation of the path with query string

func (*AddNotificationEndpointURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddNotificationEndpointURL) WithBasePath

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

type AddPolicy

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

AddPolicy swagger:route POST /policies AdminAPI addPolicy

Add Policy

func NewAddPolicy

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

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

func (*AddPolicy) ServeHTTP

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

type AddPolicyCreated

type AddPolicyCreated struct {

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

AddPolicyCreated A successful response.

swagger:response addPolicyCreated

func NewAddPolicyCreated

func NewAddPolicyCreated() *AddPolicyCreated

NewAddPolicyCreated creates AddPolicyCreated with default headers values

func (*AddPolicyCreated) SetPayload

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

SetPayload sets the payload to the add policy created response

func (*AddPolicyCreated) WithPayload

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

WithPayload adds the payload to the add policy created response

func (*AddPolicyCreated) WriteResponse

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

WriteResponse to the client

type AddPolicyDefault

type AddPolicyDefault struct {

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

AddPolicyDefault Generic error response.

swagger:response addPolicyDefault

func NewAddPolicyDefault

func NewAddPolicyDefault(code int) *AddPolicyDefault

NewAddPolicyDefault creates AddPolicyDefault with default headers values

func (*AddPolicyDefault) SetPayload

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

SetPayload sets the payload to the add policy default response

func (*AddPolicyDefault) SetStatusCode

func (o *AddPolicyDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add policy default response

func (*AddPolicyDefault) WithPayload

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

WithPayload adds the payload to the add policy default response

func (*AddPolicyDefault) WithStatusCode

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

WithStatusCode adds the status to the add policy default response

func (*AddPolicyDefault) WriteResponse

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

WriteResponse to the client

type AddPolicyHandler

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

AddPolicyHandler interface for that can handle valid add policy params

type AddPolicyHandlerFunc

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

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

func (AddPolicyHandlerFunc) Handle

Handle executing the request and returning a response

type AddPolicyParams

type AddPolicyParams struct {

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

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

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

swagger:parameters AddPolicy

func NewAddPolicyParams

func NewAddPolicyParams() AddPolicyParams

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

func (*AddPolicyParams) BindRequest

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

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

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

type AddPolicyURL

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

AddPolicyURL generates an URL for the add policy operation

func (*AddPolicyURL) Build

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

Build a url path and query string

func (*AddPolicyURL) BuildFull

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

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

func (*AddPolicyURL) Must

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

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

func (*AddPolicyURL) SetBasePath

func (o *AddPolicyURL) SetBasePath(bp string)

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

func (*AddPolicyURL) String

func (o *AddPolicyURL) String() string

String returns the string representation of the path with query string

func (*AddPolicyURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddPolicyURL) WithBasePath

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

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

type AddUser

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

AddUser swagger:route POST /users AdminAPI addUser

Add User

func NewAddUser

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

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

func (*AddUser) ServeHTTP

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

type AddUserCreated

type AddUserCreated struct {

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

AddUserCreated A successful response.

swagger:response addUserCreated

func NewAddUserCreated

func NewAddUserCreated() *AddUserCreated

NewAddUserCreated creates AddUserCreated with default headers values

func (*AddUserCreated) SetPayload

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

SetPayload sets the payload to the add user created response

func (*AddUserCreated) WithPayload

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

WithPayload adds the payload to the add user created response

func (*AddUserCreated) WriteResponse

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

WriteResponse to the client

type AddUserDefault

type AddUserDefault struct {

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

AddUserDefault Generic error response.

swagger:response addUserDefault

func NewAddUserDefault

func NewAddUserDefault(code int) *AddUserDefault

NewAddUserDefault creates AddUserDefault with default headers values

func (*AddUserDefault) SetPayload

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

SetPayload sets the payload to the add user default response

func (*AddUserDefault) SetStatusCode

func (o *AddUserDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add user default response

func (*AddUserDefault) WithPayload

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

WithPayload adds the payload to the add user default response

func (*AddUserDefault) WithStatusCode

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

WithStatusCode adds the status to the add user default response

func (*AddUserDefault) WriteResponse

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

WriteResponse to the client

type AddUserHandler

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

AddUserHandler interface for that can handle valid add user params

type AddUserHandlerFunc

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

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

func (AddUserHandlerFunc) Handle

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

Handle executing the request and returning a response

type AddUserParams

type AddUserParams struct {

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

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

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

swagger:parameters AddUser

func NewAddUserParams

func NewAddUserParams() AddUserParams

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

func (*AddUserParams) BindRequest

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

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

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

type AddUserURL

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

AddUserURL generates an URL for the add user operation

func (*AddUserURL) Build

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

Build a url path and query string

func (*AddUserURL) BuildFull

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

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

func (*AddUserURL) Must

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

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

func (*AddUserURL) SetBasePath

func (o *AddUserURL) SetBasePath(bp string)

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

func (*AddUserURL) String

func (o *AddUserURL) String() string

String returns the string representation of the path with query string

func (*AddUserURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddUserURL) WithBasePath

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

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

type AdminInfo

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

AdminInfo swagger:route GET /admin/info AdminAPI adminInfo

Returns information about the deployment

func NewAdminInfo

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

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

func (*AdminInfo) ServeHTTP

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

type AdminInfoDefault

type AdminInfoDefault struct {

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

AdminInfoDefault Generic error response.

swagger:response adminInfoDefault

func NewAdminInfoDefault

func NewAdminInfoDefault(code int) *AdminInfoDefault

NewAdminInfoDefault creates AdminInfoDefault with default headers values

func (*AdminInfoDefault) SetPayload

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

SetPayload sets the payload to the admin info default response

func (*AdminInfoDefault) SetStatusCode

func (o *AdminInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the admin info default response

func (*AdminInfoDefault) WithPayload

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

WithPayload adds the payload to the admin info default response

func (*AdminInfoDefault) WithStatusCode

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

WithStatusCode adds the status to the admin info default response

func (*AdminInfoDefault) WriteResponse

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

WriteResponse to the client

type AdminInfoHandler

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

AdminInfoHandler interface for that can handle valid admin info params

type AdminInfoHandlerFunc

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

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

func (AdminInfoHandlerFunc) Handle

Handle executing the request and returning a response

type AdminInfoOK

type AdminInfoOK struct {

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

AdminInfoOK A successful response.

swagger:response adminInfoOK

func NewAdminInfoOK

func NewAdminInfoOK() *AdminInfoOK

NewAdminInfoOK creates AdminInfoOK with default headers values

func (*AdminInfoOK) SetPayload

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

SetPayload sets the payload to the admin info o k response

func (*AdminInfoOK) WithPayload

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

WithPayload adds the payload to the admin info o k response

func (*AdminInfoOK) WriteResponse

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

WriteResponse to the client

type AdminInfoParams

type AdminInfoParams struct {

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

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

swagger:parameters AdminInfo

func NewAdminInfoParams

func NewAdminInfoParams() AdminInfoParams

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

func (*AdminInfoParams) BindRequest

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

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

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

type AdminInfoURL

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

AdminInfoURL generates an URL for the admin info operation

func (*AdminInfoURL) Build

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

Build a url path and query string

func (*AdminInfoURL) BuildFull

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

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

func (*AdminInfoURL) Must

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

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

func (*AdminInfoURL) SetBasePath

func (o *AdminInfoURL) SetBasePath(bp string)

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

func (*AdminInfoURL) String

func (o *AdminInfoURL) String() string

String returns the string representation of the path with query string

func (*AdminInfoURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AdminInfoURL) WithBasePath

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

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

type ArnList

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

ArnList swagger:route GET /admin/arns AdminAPI arnList

Returns a list of active ARNs in the instance

func NewArnList

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

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

func (*ArnList) ServeHTTP

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

type ArnListDefault

type ArnListDefault struct {

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

ArnListDefault Generic error response.

swagger:response arnListDefault

func NewArnListDefault

func NewArnListDefault(code int) *ArnListDefault

NewArnListDefault creates ArnListDefault with default headers values

func (*ArnListDefault) SetPayload

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

SetPayload sets the payload to the arn list default response

func (*ArnListDefault) SetStatusCode

func (o *ArnListDefault) SetStatusCode(code int)

SetStatusCode sets the status to the arn list default response

func (*ArnListDefault) WithPayload

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

WithPayload adds the payload to the arn list default response

func (*ArnListDefault) WithStatusCode

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

WithStatusCode adds the status to the arn list default response

func (*ArnListDefault) WriteResponse

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

WriteResponse to the client

type ArnListHandler

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

ArnListHandler interface for that can handle valid arn list params

type ArnListHandlerFunc

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

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

func (ArnListHandlerFunc) Handle

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

Handle executing the request and returning a response

type ArnListOK

type ArnListOK struct {

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

ArnListOK A successful response.

swagger:response arnListOK

func NewArnListOK

func NewArnListOK() *ArnListOK

NewArnListOK creates ArnListOK with default headers values

func (*ArnListOK) SetPayload

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

SetPayload sets the payload to the arn list o k response

func (*ArnListOK) WithPayload

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

WithPayload adds the payload to the arn list o k response

func (*ArnListOK) WriteResponse

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

WriteResponse to the client

type ArnListParams

type ArnListParams struct {

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

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

swagger:parameters ArnList

func NewArnListParams

func NewArnListParams() ArnListParams

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

func (*ArnListParams) BindRequest

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

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

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

type ArnListURL

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

ArnListURL generates an URL for the arn list operation

func (*ArnListURL) Build

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

Build a url path and query string

func (*ArnListURL) BuildFull

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

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

func (*ArnListURL) Must

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

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

func (*ArnListURL) SetBasePath

func (o *ArnListURL) SetBasePath(bp string)

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

func (*ArnListURL) String

func (o *ArnListURL) String() string

String returns the string representation of the path with query string

func (*ArnListURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ArnListURL) WithBasePath

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

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

type BulkUpdateUsersGroups

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

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

Bulk functionality to Add Users to Groups

func NewBulkUpdateUsersGroups

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

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

func (*BulkUpdateUsersGroups) ServeHTTP

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

type BulkUpdateUsersGroupsDefault

type BulkUpdateUsersGroupsDefault struct {

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

BulkUpdateUsersGroupsDefault Generic error response.

swagger:response bulkUpdateUsersGroupsDefault

func NewBulkUpdateUsersGroupsDefault

func NewBulkUpdateUsersGroupsDefault(code int) *BulkUpdateUsersGroupsDefault

NewBulkUpdateUsersGroupsDefault creates BulkUpdateUsersGroupsDefault with default headers values

func (*BulkUpdateUsersGroupsDefault) SetPayload

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

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

func (*BulkUpdateUsersGroupsDefault) SetStatusCode

func (o *BulkUpdateUsersGroupsDefault) SetStatusCode(code int)

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

func (*BulkUpdateUsersGroupsDefault) WithPayload

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

func (*BulkUpdateUsersGroupsDefault) WithStatusCode

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

func (*BulkUpdateUsersGroupsDefault) WriteResponse

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

WriteResponse to the client

type BulkUpdateUsersGroupsHandler

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

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

type BulkUpdateUsersGroupsHandlerFunc

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

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

func (BulkUpdateUsersGroupsHandlerFunc) Handle

Handle executing the request and returning a response

type BulkUpdateUsersGroupsOK

type BulkUpdateUsersGroupsOK struct {
}

BulkUpdateUsersGroupsOK A successful response.

swagger:response bulkUpdateUsersGroupsOK

func NewBulkUpdateUsersGroupsOK

func NewBulkUpdateUsersGroupsOK() *BulkUpdateUsersGroupsOK

NewBulkUpdateUsersGroupsOK creates BulkUpdateUsersGroupsOK with default headers values

func (*BulkUpdateUsersGroupsOK) WriteResponse

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

WriteResponse to the client

type BulkUpdateUsersGroupsParams

type BulkUpdateUsersGroupsParams struct {

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

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

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

swagger:parameters BulkUpdateUsersGroups

func NewBulkUpdateUsersGroupsParams

func NewBulkUpdateUsersGroupsParams() BulkUpdateUsersGroupsParams

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

func (*BulkUpdateUsersGroupsParams) BindRequest

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

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

type BulkUpdateUsersGroupsURL

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

BulkUpdateUsersGroupsURL generates an URL for the bulk update users groups operation

func (*BulkUpdateUsersGroupsURL) Build

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

Build a url path and query string

func (*BulkUpdateUsersGroupsURL) BuildFull

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

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

func (*BulkUpdateUsersGroupsURL) Must

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

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

func (*BulkUpdateUsersGroupsURL) SetBasePath

func (o *BulkUpdateUsersGroupsURL) SetBasePath(bp string)

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

func (*BulkUpdateUsersGroupsURL) String

func (o *BulkUpdateUsersGroupsURL) String() string

String returns the string representation of the path with query string

func (*BulkUpdateUsersGroupsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*BulkUpdateUsersGroupsURL) WithBasePath

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

type ConfigInfo

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

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

Configuration info

func NewConfigInfo

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

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

func (*ConfigInfo) ServeHTTP

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

type ConfigInfoDefault

type ConfigInfoDefault struct {

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

ConfigInfoDefault Generic error response.

swagger:response configInfoDefault

func NewConfigInfoDefault

func NewConfigInfoDefault(code int) *ConfigInfoDefault

NewConfigInfoDefault creates ConfigInfoDefault with default headers values

func (*ConfigInfoDefault) SetPayload

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

SetPayload sets the payload to the config info default response

func (*ConfigInfoDefault) SetStatusCode

func (o *ConfigInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the config info default response

func (*ConfigInfoDefault) WithPayload

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

WithPayload adds the payload to the config info default response

func (*ConfigInfoDefault) WithStatusCode

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

WithStatusCode adds the status to the config info default response

func (*ConfigInfoDefault) WriteResponse

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

WriteResponse to the client

type ConfigInfoHandler

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

ConfigInfoHandler interface for that can handle valid config info params

type ConfigInfoHandlerFunc

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

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

func (ConfigInfoHandlerFunc) Handle

Handle executing the request and returning a response

type ConfigInfoOK

type ConfigInfoOK struct {

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

ConfigInfoOK A successful response.

swagger:response configInfoOK

func NewConfigInfoOK

func NewConfigInfoOK() *ConfigInfoOK

NewConfigInfoOK creates ConfigInfoOK with default headers values

func (*ConfigInfoOK) SetPayload

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

SetPayload sets the payload to the config info o k response

func (*ConfigInfoOK) WithPayload

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

WithPayload adds the payload to the config info o k response

func (*ConfigInfoOK) WriteResponse

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

WriteResponse to the client

type ConfigInfoParams

type ConfigInfoParams struct {

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

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

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

swagger:parameters ConfigInfo

func NewConfigInfoParams

func NewConfigInfoParams() ConfigInfoParams

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

func (*ConfigInfoParams) BindRequest

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

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

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

type ConfigInfoURL

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

ConfigInfoURL generates an URL for the config info operation

func (*ConfigInfoURL) Build

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

Build a url path and query string

func (*ConfigInfoURL) BuildFull

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

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

func (*ConfigInfoURL) Must

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

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

func (*ConfigInfoURL) SetBasePath

func (o *ConfigInfoURL) SetBasePath(bp string)

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

func (*ConfigInfoURL) String

func (o *ConfigInfoURL) String() string

String returns the string representation of the path with query string

func (*ConfigInfoURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ConfigInfoURL) WithBasePath

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

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

type CreateTenant

type CreateTenant struct {
	Context *middleware.Context
	Handler CreateTenantHandler
}

CreateTenant swagger:route POST /tenants AdminAPI createTenant

Create Tenant

func NewCreateTenant

func NewCreateTenant(ctx *middleware.Context, handler CreateTenantHandler) *CreateTenant

NewCreateTenant creates a new http.Handler for the create tenant operation

func (*CreateTenant) ServeHTTP

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

type CreateTenantDefault

type CreateTenantDefault struct {

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

CreateTenantDefault Generic error response.

swagger:response createTenantDefault

func NewCreateTenantDefault

func NewCreateTenantDefault(code int) *CreateTenantDefault

NewCreateTenantDefault creates CreateTenantDefault with default headers values

func (*CreateTenantDefault) SetPayload

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

SetPayload sets the payload to the create tenant default response

func (*CreateTenantDefault) SetStatusCode

func (o *CreateTenantDefault) SetStatusCode(code int)

SetStatusCode sets the status to the create tenant default response

func (*CreateTenantDefault) WithPayload

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

WithPayload adds the payload to the create tenant default response

func (*CreateTenantDefault) WithStatusCode

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

WithStatusCode adds the status to the create tenant default response

func (*CreateTenantDefault) WriteResponse

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

WriteResponse to the client

type CreateTenantHandler

type CreateTenantHandler interface {
	Handle(CreateTenantParams, *models.Principal) middleware.Responder
}

CreateTenantHandler interface for that can handle valid create tenant params

type CreateTenantHandlerFunc

type CreateTenantHandlerFunc func(CreateTenantParams, *models.Principal) middleware.Responder

CreateTenantHandlerFunc turns a function with the right signature into a create tenant handler

func (CreateTenantHandlerFunc) Handle

Handle executing the request and returning a response

type CreateTenantOK

type CreateTenantOK struct {

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

CreateTenantOK A successful response.

swagger:response createTenantOK

func NewCreateTenantOK

func NewCreateTenantOK() *CreateTenantOK

NewCreateTenantOK creates CreateTenantOK with default headers values

func (*CreateTenantOK) SetPayload

func (o *CreateTenantOK) SetPayload(payload *models.CreateTenantResponse)

SetPayload sets the payload to the create tenant o k response

func (*CreateTenantOK) WithPayload

func (o *CreateTenantOK) WithPayload(payload *models.CreateTenantResponse) *CreateTenantOK

WithPayload adds the payload to the create tenant o k response

func (*CreateTenantOK) WriteResponse

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

WriteResponse to the client

type CreateTenantParams

type CreateTenantParams struct {

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

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

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

swagger:parameters CreateTenant

func NewCreateTenantParams

func NewCreateTenantParams() CreateTenantParams

NewCreateTenantParams creates a new CreateTenantParams object no default values defined in spec.

func (*CreateTenantParams) BindRequest

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

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

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

type CreateTenantURL

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

CreateTenantURL generates an URL for the create tenant operation

func (*CreateTenantURL) Build

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

Build a url path and query string

func (*CreateTenantURL) BuildFull

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

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

func (*CreateTenantURL) Must

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

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

func (*CreateTenantURL) SetBasePath

func (o *CreateTenantURL) SetBasePath(bp string)

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

func (*CreateTenantURL) String

func (o *CreateTenantURL) String() string

String returns the string representation of the path with query string

func (*CreateTenantURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateTenantURL) WithBasePath

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

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

type DeleteTenant

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

DeleteTenant swagger:route DELETE /namespaces/{namespace}/tenants/{tenant} AdminAPI deleteTenant

Delete Tenant

func NewDeleteTenant

func NewDeleteTenant(ctx *middleware.Context, handler DeleteTenantHandler) *DeleteTenant

NewDeleteTenant creates a new http.Handler for the delete tenant operation

func (*DeleteTenant) ServeHTTP

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

type DeleteTenantDefault

type DeleteTenantDefault struct {

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

DeleteTenantDefault Generic error response.

swagger:response deleteTenantDefault

func NewDeleteTenantDefault

func NewDeleteTenantDefault(code int) *DeleteTenantDefault

NewDeleteTenantDefault creates DeleteTenantDefault with default headers values

func (*DeleteTenantDefault) SetPayload

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

SetPayload sets the payload to the delete tenant default response

func (*DeleteTenantDefault) SetStatusCode

func (o *DeleteTenantDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete tenant default response

func (*DeleteTenantDefault) WithPayload

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

WithPayload adds the payload to the delete tenant default response

func (*DeleteTenantDefault) WithStatusCode

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

WithStatusCode adds the status to the delete tenant default response

func (*DeleteTenantDefault) WriteResponse

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

WriteResponse to the client

type DeleteTenantHandler

type DeleteTenantHandler interface {
	Handle(DeleteTenantParams, *models.Principal) middleware.Responder
}

DeleteTenantHandler interface for that can handle valid delete tenant params

type DeleteTenantHandlerFunc

type DeleteTenantHandlerFunc func(DeleteTenantParams, *models.Principal) middleware.Responder

DeleteTenantHandlerFunc turns a function with the right signature into a delete tenant handler

func (DeleteTenantHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteTenantNoContent

type DeleteTenantNoContent struct {
}

DeleteTenantNoContent A successful response.

swagger:response deleteTenantNoContent

func NewDeleteTenantNoContent

func NewDeleteTenantNoContent() *DeleteTenantNoContent

NewDeleteTenantNoContent creates DeleteTenantNoContent with default headers values

func (*DeleteTenantNoContent) WriteResponse

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

WriteResponse to the client

type DeleteTenantParams

type DeleteTenantParams struct {

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

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

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

swagger:parameters DeleteTenant

func NewDeleteTenantParams

func NewDeleteTenantParams() DeleteTenantParams

NewDeleteTenantParams creates a new DeleteTenantParams object no default values defined in spec.

func (*DeleteTenantParams) BindRequest

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

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

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

type DeleteTenantURL

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

DeleteTenantURL generates an URL for the delete tenant operation

func (*DeleteTenantURL) Build

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

Build a url path and query string

func (*DeleteTenantURL) BuildFull

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

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

func (*DeleteTenantURL) Must

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

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

func (*DeleteTenantURL) SetBasePath

func (o *DeleteTenantURL) SetBasePath(bp string)

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

func (*DeleteTenantURL) String

func (o *DeleteTenantURL) String() string

String returns the string representation of the path with query string

func (*DeleteTenantURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteTenantURL) WithBasePath

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

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

type GetResourceQuota

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

GetResourceQuota swagger:route GET /namespaces/{namespace}/resourcequotas/{resource-quota-name} AdminAPI getResourceQuota

Get Resource Quota

func NewGetResourceQuota

func NewGetResourceQuota(ctx *middleware.Context, handler GetResourceQuotaHandler) *GetResourceQuota

NewGetResourceQuota creates a new http.Handler for the get resource quota operation

func (*GetResourceQuota) ServeHTTP

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

type GetResourceQuotaDefault

type GetResourceQuotaDefault struct {

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

GetResourceQuotaDefault Generic error response.

swagger:response getResourceQuotaDefault

func NewGetResourceQuotaDefault

func NewGetResourceQuotaDefault(code int) *GetResourceQuotaDefault

NewGetResourceQuotaDefault creates GetResourceQuotaDefault with default headers values

func (*GetResourceQuotaDefault) SetPayload

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

SetPayload sets the payload to the get resource quota default response

func (*GetResourceQuotaDefault) SetStatusCode

func (o *GetResourceQuotaDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get resource quota default response

func (*GetResourceQuotaDefault) WithPayload

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

WithPayload adds the payload to the get resource quota default response

func (*GetResourceQuotaDefault) WithStatusCode

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

WithStatusCode adds the status to the get resource quota default response

func (*GetResourceQuotaDefault) WriteResponse

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

WriteResponse to the client

type GetResourceQuotaHandler

type GetResourceQuotaHandler interface {
	Handle(GetResourceQuotaParams, *models.Principal) middleware.Responder
}

GetResourceQuotaHandler interface for that can handle valid get resource quota params

type GetResourceQuotaHandlerFunc

type GetResourceQuotaHandlerFunc func(GetResourceQuotaParams, *models.Principal) middleware.Responder

GetResourceQuotaHandlerFunc turns a function with the right signature into a get resource quota handler

func (GetResourceQuotaHandlerFunc) Handle

Handle executing the request and returning a response

type GetResourceQuotaOK

type GetResourceQuotaOK struct {

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

GetResourceQuotaOK A successful response.

swagger:response getResourceQuotaOK

func NewGetResourceQuotaOK

func NewGetResourceQuotaOK() *GetResourceQuotaOK

NewGetResourceQuotaOK creates GetResourceQuotaOK with default headers values

func (*GetResourceQuotaOK) SetPayload

func (o *GetResourceQuotaOK) SetPayload(payload *models.ResourceQuota)

SetPayload sets the payload to the get resource quota o k response

func (*GetResourceQuotaOK) WithPayload

func (o *GetResourceQuotaOK) WithPayload(payload *models.ResourceQuota) *GetResourceQuotaOK

WithPayload adds the payload to the get resource quota o k response

func (*GetResourceQuotaOK) WriteResponse

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

WriteResponse to the client

type GetResourceQuotaParams

type GetResourceQuotaParams struct {

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

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

GetResourceQuotaParams contains all the bound params for the get resource quota operation typically these are obtained from a http.Request

swagger:parameters GetResourceQuota

func NewGetResourceQuotaParams

func NewGetResourceQuotaParams() GetResourceQuotaParams

NewGetResourceQuotaParams creates a new GetResourceQuotaParams object no default values defined in spec.

func (*GetResourceQuotaParams) BindRequest

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

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

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

type GetResourceQuotaURL

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

GetResourceQuotaURL generates an URL for the get resource quota operation

func (*GetResourceQuotaURL) Build

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

Build a url path and query string

func (*GetResourceQuotaURL) BuildFull

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

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

func (*GetResourceQuotaURL) Must

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

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

func (*GetResourceQuotaURL) SetBasePath

func (o *GetResourceQuotaURL) SetBasePath(bp string)

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

func (*GetResourceQuotaURL) String

func (o *GetResourceQuotaURL) String() string

String returns the string representation of the path with query string

func (*GetResourceQuotaURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetResourceQuotaURL) WithBasePath

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

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

type GetTenantUsage added in v0.3.1

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

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

Get Usage For The Tenant

func NewGetTenantUsage added in v0.3.1

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

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

func (*GetTenantUsage) ServeHTTP added in v0.3.1

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

type GetTenantUsageDefault added in v0.3.1

type GetTenantUsageDefault struct {

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

GetTenantUsageDefault Generic error response.

swagger:response getTenantUsageDefault

func NewGetTenantUsageDefault added in v0.3.1

func NewGetTenantUsageDefault(code int) *GetTenantUsageDefault

NewGetTenantUsageDefault creates GetTenantUsageDefault with default headers values

func (*GetTenantUsageDefault) SetPayload added in v0.3.1

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

SetPayload sets the payload to the get tenant usage default response

func (*GetTenantUsageDefault) SetStatusCode added in v0.3.1

func (o *GetTenantUsageDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get tenant usage default response

func (*GetTenantUsageDefault) WithPayload added in v0.3.1

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

WithPayload adds the payload to the get tenant usage default response

func (*GetTenantUsageDefault) WithStatusCode added in v0.3.1

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

WithStatusCode adds the status to the get tenant usage default response

func (*GetTenantUsageDefault) WriteResponse added in v0.3.1

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

WriteResponse to the client

type GetTenantUsageHandler added in v0.3.1

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

GetTenantUsageHandler interface for that can handle valid get tenant usage params

type GetTenantUsageHandlerFunc added in v0.3.1

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

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

func (GetTenantUsageHandlerFunc) Handle added in v0.3.1

Handle executing the request and returning a response

type GetTenantUsageOK added in v0.3.1

type GetTenantUsageOK struct {

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

GetTenantUsageOK A successful response.

swagger:response getTenantUsageOK

func NewGetTenantUsageOK added in v0.3.1

func NewGetTenantUsageOK() *GetTenantUsageOK

NewGetTenantUsageOK creates GetTenantUsageOK with default headers values

func (*GetTenantUsageOK) SetPayload added in v0.3.1

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

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

func (*GetTenantUsageOK) WithPayload added in v0.3.1

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

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

func (*GetTenantUsageOK) WriteResponse added in v0.3.1

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

WriteResponse to the client

type GetTenantUsageParams added in v0.3.1

type GetTenantUsageParams struct {

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

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

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

swagger:parameters GetTenantUsage

func NewGetTenantUsageParams added in v0.3.1

func NewGetTenantUsageParams() GetTenantUsageParams

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

func (*GetTenantUsageParams) BindRequest added in v0.3.1

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

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

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

type GetTenantUsageURL added in v0.3.1

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

GetTenantUsageURL generates an URL for the get tenant usage operation

func (*GetTenantUsageURL) Build added in v0.3.1

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

Build a url path and query string

func (*GetTenantUsageURL) BuildFull added in v0.3.1

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

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

func (*GetTenantUsageURL) Must added in v0.3.1

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

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

func (*GetTenantUsageURL) SetBasePath added in v0.3.1

func (o *GetTenantUsageURL) SetBasePath(bp string)

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

func (*GetTenantUsageURL) String added in v0.3.1

func (o *GetTenantUsageURL) String() string

String returns the string representation of the path with query string

func (*GetTenantUsageURL) StringFull added in v0.3.1

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

StringFull returns the string representation of a complete url

func (*GetTenantUsageURL) WithBasePath added in v0.3.1

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

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

type GetUserInfo

type GetUserInfo struct {
	Context *middleware.Context
	Handler GetUserInfoHandler
}

GetUserInfo swagger:route GET /users/{name} AdminAPI getUserInfo

Get User Info

func NewGetUserInfo

func NewGetUserInfo(ctx *middleware.Context, handler GetUserInfoHandler) *GetUserInfo

NewGetUserInfo creates a new http.Handler for the get user info operation

func (*GetUserInfo) ServeHTTP

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

type GetUserInfoDefault

type GetUserInfoDefault struct {

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

GetUserInfoDefault Generic error response.

swagger:response getUserInfoDefault

func NewGetUserInfoDefault

func NewGetUserInfoDefault(code int) *GetUserInfoDefault

NewGetUserInfoDefault creates GetUserInfoDefault with default headers values

func (*GetUserInfoDefault) SetPayload

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

SetPayload sets the payload to the get user info default response

func (*GetUserInfoDefault) SetStatusCode

func (o *GetUserInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get user info default response

func (*GetUserInfoDefault) WithPayload

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

WithPayload adds the payload to the get user info default response

func (*GetUserInfoDefault) WithStatusCode

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

WithStatusCode adds the status to the get user info default response

func (*GetUserInfoDefault) WriteResponse

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

WriteResponse to the client

type GetUserInfoHandler

type GetUserInfoHandler interface {
	Handle(GetUserInfoParams, *models.Principal) middleware.Responder
}

GetUserInfoHandler interface for that can handle valid get user info params

type GetUserInfoHandlerFunc

type GetUserInfoHandlerFunc func(GetUserInfoParams, *models.Principal) middleware.Responder

GetUserInfoHandlerFunc turns a function with the right signature into a get user info handler

func (GetUserInfoHandlerFunc) Handle

Handle executing the request and returning a response

type GetUserInfoOK

type GetUserInfoOK struct {

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

GetUserInfoOK A successful response.

swagger:response getUserInfoOK

func NewGetUserInfoOK

func NewGetUserInfoOK() *GetUserInfoOK

NewGetUserInfoOK creates GetUserInfoOK with default headers values

func (*GetUserInfoOK) SetPayload

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

SetPayload sets the payload to the get user info o k response

func (*GetUserInfoOK) WithPayload

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

WithPayload adds the payload to the get user info o k response

func (*GetUserInfoOK) WriteResponse

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

WriteResponse to the client

type GetUserInfoParams

type GetUserInfoParams struct {

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

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

GetUserInfoParams contains all the bound params for the get user info operation typically these are obtained from a http.Request

swagger:parameters GetUserInfo

func NewGetUserInfoParams

func NewGetUserInfoParams() GetUserInfoParams

NewGetUserInfoParams creates a new GetUserInfoParams object no default values defined in spec.

func (*GetUserInfoParams) BindRequest

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

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

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

type GetUserInfoURL

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

GetUserInfoURL generates an URL for the get user info operation

func (*GetUserInfoURL) Build

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

Build a url path and query string

func (*GetUserInfoURL) BuildFull

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

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

func (*GetUserInfoURL) Must

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

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

func (*GetUserInfoURL) SetBasePath

func (o *GetUserInfoURL) SetBasePath(bp string)

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

func (*GetUserInfoURL) String

func (o *GetUserInfoURL) String() string

String returns the string representation of the path with query string

func (*GetUserInfoURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetUserInfoURL) WithBasePath

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

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

type GroupInfo

type GroupInfo struct {
	Context *middleware.Context
	Handler GroupInfoHandler
}

GroupInfo swagger:route GET /groups/{name} AdminAPI groupInfo

Group info

func NewGroupInfo

func NewGroupInfo(ctx *middleware.Context, handler GroupInfoHandler) *GroupInfo

NewGroupInfo creates a new http.Handler for the group info operation

func (*GroupInfo) ServeHTTP

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

type GroupInfoDefault

type GroupInfoDefault struct {

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

GroupInfoDefault Generic error response.

swagger:response groupInfoDefault

func NewGroupInfoDefault

func NewGroupInfoDefault(code int) *GroupInfoDefault

NewGroupInfoDefault creates GroupInfoDefault with default headers values

func (*GroupInfoDefault) SetPayload

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

SetPayload sets the payload to the group info default response

func (*GroupInfoDefault) SetStatusCode

func (o *GroupInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the group info default response

func (*GroupInfoDefault) WithPayload

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

WithPayload adds the payload to the group info default response

func (*GroupInfoDefault) WithStatusCode

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

WithStatusCode adds the status to the group info default response

func (*GroupInfoDefault) WriteResponse

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

WriteResponse to the client

type GroupInfoHandler

type GroupInfoHandler interface {
	Handle(GroupInfoParams, *models.Principal) middleware.Responder
}

GroupInfoHandler interface for that can handle valid group info params

type GroupInfoHandlerFunc

type GroupInfoHandlerFunc func(GroupInfoParams, *models.Principal) middleware.Responder

GroupInfoHandlerFunc turns a function with the right signature into a group info handler

func (GroupInfoHandlerFunc) Handle

Handle executing the request and returning a response

type GroupInfoOK

type GroupInfoOK struct {

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

GroupInfoOK A successful response.

swagger:response groupInfoOK

func NewGroupInfoOK

func NewGroupInfoOK() *GroupInfoOK

NewGroupInfoOK creates GroupInfoOK with default headers values

func (*GroupInfoOK) SetPayload

func (o *GroupInfoOK) SetPayload(payload *models.Group)

SetPayload sets the payload to the group info o k response

func (*GroupInfoOK) WithPayload

func (o *GroupInfoOK) WithPayload(payload *models.Group) *GroupInfoOK

WithPayload adds the payload to the group info o k response

func (*GroupInfoOK) WriteResponse

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

WriteResponse to the client

type GroupInfoParams

type GroupInfoParams struct {

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

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

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

swagger:parameters GroupInfo

func NewGroupInfoParams

func NewGroupInfoParams() GroupInfoParams

NewGroupInfoParams creates a new GroupInfoParams object no default values defined in spec.

func (*GroupInfoParams) BindRequest

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

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

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

type GroupInfoURL

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

GroupInfoURL generates an URL for the group info operation

func (*GroupInfoURL) Build

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

Build a url path and query string

func (*GroupInfoURL) BuildFull

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

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

func (*GroupInfoURL) Must

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

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

func (*GroupInfoURL) SetBasePath

func (o *GroupInfoURL) SetBasePath(bp string)

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

func (*GroupInfoURL) String

func (o *GroupInfoURL) String() string

String returns the string representation of the path with query string

func (*GroupInfoURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GroupInfoURL) WithBasePath

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

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

type ListAllTenants

type ListAllTenants struct {
	Context *middleware.Context
	Handler ListAllTenantsHandler
}

ListAllTenants swagger:route GET /tenants AdminAPI listAllTenants

List Tenant of All Namespaces

func NewListAllTenants

func NewListAllTenants(ctx *middleware.Context, handler ListAllTenantsHandler) *ListAllTenants

NewListAllTenants creates a new http.Handler for the list all tenants operation

func (*ListAllTenants) ServeHTTP

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

type ListAllTenantsDefault

type ListAllTenantsDefault struct {

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

ListAllTenantsDefault Generic error response.

swagger:response listAllTenantsDefault

func NewListAllTenantsDefault

func NewListAllTenantsDefault(code int) *ListAllTenantsDefault

NewListAllTenantsDefault creates ListAllTenantsDefault with default headers values

func (*ListAllTenantsDefault) SetPayload

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

SetPayload sets the payload to the list all tenants default response

func (*ListAllTenantsDefault) SetStatusCode

func (o *ListAllTenantsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list all tenants default response

func (*ListAllTenantsDefault) WithPayload

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

WithPayload adds the payload to the list all tenants default response

func (*ListAllTenantsDefault) WithStatusCode

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

WithStatusCode adds the status to the list all tenants default response

func (*ListAllTenantsDefault) WriteResponse

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

WriteResponse to the client

type ListAllTenantsHandler

type ListAllTenantsHandler interface {
	Handle(ListAllTenantsParams, *models.Principal) middleware.Responder
}

ListAllTenantsHandler interface for that can handle valid list all tenants params

type ListAllTenantsHandlerFunc

type ListAllTenantsHandlerFunc func(ListAllTenantsParams, *models.Principal) middleware.Responder

ListAllTenantsHandlerFunc turns a function with the right signature into a list all tenants handler

func (ListAllTenantsHandlerFunc) Handle

Handle executing the request and returning a response

type ListAllTenantsOK

type ListAllTenantsOK struct {

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

ListAllTenantsOK A successful response.

swagger:response listAllTenantsOK

func NewListAllTenantsOK

func NewListAllTenantsOK() *ListAllTenantsOK

NewListAllTenantsOK creates ListAllTenantsOK with default headers values

func (*ListAllTenantsOK) SetPayload

func (o *ListAllTenantsOK) SetPayload(payload *models.ListTenantsResponse)

SetPayload sets the payload to the list all tenants o k response

func (*ListAllTenantsOK) WithPayload

func (o *ListAllTenantsOK) WithPayload(payload *models.ListTenantsResponse) *ListAllTenantsOK

WithPayload adds the payload to the list all tenants o k response

func (*ListAllTenantsOK) WriteResponse

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

WriteResponse to the client

type ListAllTenantsParams

type ListAllTenantsParams struct {

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

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

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

swagger:parameters ListAllTenants

func NewListAllTenantsParams

func NewListAllTenantsParams() ListAllTenantsParams

NewListAllTenantsParams creates a new ListAllTenantsParams object no default values defined in spec.

func (*ListAllTenantsParams) BindRequest

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

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

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

type ListAllTenantsURL

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

ListAllTenantsURL generates an URL for the list all tenants operation

func (*ListAllTenantsURL) Build

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

Build a url path and query string

func (*ListAllTenantsURL) BuildFull

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

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

func (*ListAllTenantsURL) Must

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

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

func (*ListAllTenantsURL) SetBasePath

func (o *ListAllTenantsURL) SetBasePath(bp string)

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

func (*ListAllTenantsURL) String

func (o *ListAllTenantsURL) String() string

String returns the string representation of the path with query string

func (*ListAllTenantsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListAllTenantsURL) WithBasePath

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

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

type ListConfig

type ListConfig struct {
	Context *middleware.Context
	Handler ListConfigHandler
}

ListConfig swagger:route GET /configs AdminAPI listConfig

List Configurations

func NewListConfig

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

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

func (*ListConfig) ServeHTTP

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

type ListConfigDefault

type ListConfigDefault struct {

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

ListConfigDefault Generic error response.

swagger:response listConfigDefault

func NewListConfigDefault

func NewListConfigDefault(code int) *ListConfigDefault

NewListConfigDefault creates ListConfigDefault with default headers values

func (*ListConfigDefault) SetPayload

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

SetPayload sets the payload to the list config default response

func (*ListConfigDefault) SetStatusCode

func (o *ListConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list config default response

func (*ListConfigDefault) WithPayload

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

WithPayload adds the payload to the list config default response

func (*ListConfigDefault) WithStatusCode

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

WithStatusCode adds the status to the list config default response

func (*ListConfigDefault) WriteResponse

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

WriteResponse to the client

type ListConfigHandler

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

ListConfigHandler interface for that can handle valid list config params

type ListConfigHandlerFunc

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

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

func (ListConfigHandlerFunc) Handle

Handle executing the request and returning a response

type ListConfigOK

type ListConfigOK struct {

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

ListConfigOK A successful response.

swagger:response listConfigOK

func NewListConfigOK

func NewListConfigOK() *ListConfigOK

NewListConfigOK creates ListConfigOK with default headers values

func (*ListConfigOK) SetPayload

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

SetPayload sets the payload to the list config o k response

func (*ListConfigOK) WithPayload

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

WithPayload adds the payload to the list config o k response

func (*ListConfigOK) WriteResponse

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

WriteResponse to the client

type ListConfigParams

type ListConfigParams struct {

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

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

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

swagger:parameters ListConfig

func NewListConfigParams

func NewListConfigParams() ListConfigParams

NewListConfigParams creates a new ListConfigParams object no default values defined in spec.

func (*ListConfigParams) BindRequest

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

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

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

type ListConfigURL

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

ListConfigURL generates an URL for the list config operation

func (*ListConfigURL) Build

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

Build a url path and query string

func (*ListConfigURL) BuildFull

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

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

func (*ListConfigURL) Must

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

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

func (*ListConfigURL) SetBasePath

func (o *ListConfigURL) SetBasePath(bp string)

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

func (*ListConfigURL) String

func (o *ListConfigURL) String() string

String returns the string representation of the path with query string

func (*ListConfigURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListConfigURL) WithBasePath

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

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

type ListGroups

type ListGroups struct {
	Context *middleware.Context
	Handler ListGroupsHandler
}

ListGroups swagger:route GET /groups AdminAPI listGroups

List Groups

func NewListGroups

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

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

func (*ListGroups) ServeHTTP

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

type ListGroupsDefault

type ListGroupsDefault struct {

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

ListGroupsDefault Generic error response.

swagger:response listGroupsDefault

func NewListGroupsDefault

func NewListGroupsDefault(code int) *ListGroupsDefault

NewListGroupsDefault creates ListGroupsDefault with default headers values

func (*ListGroupsDefault) SetPayload

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

SetPayload sets the payload to the list groups default response

func (*ListGroupsDefault) SetStatusCode

func (o *ListGroupsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list groups default response

func (*ListGroupsDefault) WithPayload

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

WithPayload adds the payload to the list groups default response

func (*ListGroupsDefault) WithStatusCode

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

WithStatusCode adds the status to the list groups default response

func (*ListGroupsDefault) WriteResponse

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

WriteResponse to the client

type ListGroupsHandler

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

ListGroupsHandler interface for that can handle valid list groups params

type ListGroupsHandlerFunc

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

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

func (ListGroupsHandlerFunc) Handle

Handle executing the request and returning a response

type ListGroupsOK

type ListGroupsOK struct {

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

ListGroupsOK A successful response.

swagger:response listGroupsOK

func NewListGroupsOK

func NewListGroupsOK() *ListGroupsOK

NewListGroupsOK creates ListGroupsOK with default headers values

func (*ListGroupsOK) SetPayload

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

SetPayload sets the payload to the list groups o k response

func (*ListGroupsOK) WithPayload

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

WithPayload adds the payload to the list groups o k response

func (*ListGroupsOK) WriteResponse

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

WriteResponse to the client

type ListGroupsParams

type ListGroupsParams struct {

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

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

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

swagger:parameters ListGroups

func NewListGroupsParams

func NewListGroupsParams() ListGroupsParams

NewListGroupsParams creates a new ListGroupsParams object no default values defined in spec.

func (*ListGroupsParams) BindRequest

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

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

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

type ListGroupsURL

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

ListGroupsURL generates an URL for the list groups operation

func (*ListGroupsURL) Build

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

Build a url path and query string

func (*ListGroupsURL) BuildFull

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

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

func (*ListGroupsURL) Must

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

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

func (*ListGroupsURL) SetBasePath

func (o *ListGroupsURL) SetBasePath(bp string)

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

func (*ListGroupsURL) String

func (o *ListGroupsURL) String() string

String returns the string representation of the path with query string

func (*ListGroupsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListGroupsURL) WithBasePath

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

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

type ListPolicies

type ListPolicies struct {
	Context *middleware.Context
	Handler ListPoliciesHandler
}

ListPolicies swagger:route GET /policies AdminAPI listPolicies

List Policies

func NewListPolicies

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

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

func (*ListPolicies) ServeHTTP

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

type ListPoliciesDefault

type ListPoliciesDefault struct {

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

ListPoliciesDefault Generic error response.

swagger:response listPoliciesDefault

func NewListPoliciesDefault

func NewListPoliciesDefault(code int) *ListPoliciesDefault

NewListPoliciesDefault creates ListPoliciesDefault with default headers values

func (*ListPoliciesDefault) SetPayload

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

SetPayload sets the payload to the list policies default response

func (*ListPoliciesDefault) SetStatusCode

func (o *ListPoliciesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list policies default response

func (*ListPoliciesDefault) WithPayload

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

WithPayload adds the payload to the list policies default response

func (*ListPoliciesDefault) WithStatusCode

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

WithStatusCode adds the status to the list policies default response

func (*ListPoliciesDefault) WriteResponse

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

WriteResponse to the client

type ListPoliciesHandler

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

ListPoliciesHandler interface for that can handle valid list policies params

type ListPoliciesHandlerFunc

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

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

func (ListPoliciesHandlerFunc) Handle

Handle executing the request and returning a response

type ListPoliciesOK

type ListPoliciesOK struct {

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

ListPoliciesOK A successful response.

swagger:response listPoliciesOK

func NewListPoliciesOK

func NewListPoliciesOK() *ListPoliciesOK

NewListPoliciesOK creates ListPoliciesOK with default headers values

func (*ListPoliciesOK) SetPayload

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

SetPayload sets the payload to the list policies o k response

func (*ListPoliciesOK) WithPayload

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

WithPayload adds the payload to the list policies o k response

func (*ListPoliciesOK) WriteResponse

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

WriteResponse to the client

type ListPoliciesParams

type ListPoliciesParams struct {

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

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

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

swagger:parameters ListPolicies

func NewListPoliciesParams

func NewListPoliciesParams() ListPoliciesParams

NewListPoliciesParams creates a new ListPoliciesParams object no default values defined in spec.

func (*ListPoliciesParams) BindRequest

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

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

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

type ListPoliciesURL

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

ListPoliciesURL generates an URL for the list policies operation

func (*ListPoliciesURL) Build

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

Build a url path and query string

func (*ListPoliciesURL) BuildFull

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

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

func (*ListPoliciesURL) Must

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

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

func (*ListPoliciesURL) SetBasePath

func (o *ListPoliciesURL) SetBasePath(bp string)

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

func (*ListPoliciesURL) String

func (o *ListPoliciesURL) String() string

String returns the string representation of the path with query string

func (*ListPoliciesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListPoliciesURL) WithBasePath

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

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

type ListTenants

type ListTenants struct {
	Context *middleware.Context
	Handler ListTenantsHandler
}

ListTenants swagger:route GET /namespaces/{namespace}/tenants AdminAPI listTenants

List Tenants by Namespace

func NewListTenants

func NewListTenants(ctx *middleware.Context, handler ListTenantsHandler) *ListTenants

NewListTenants creates a new http.Handler for the list tenants operation

func (*ListTenants) ServeHTTP

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

type ListTenantsDefault

type ListTenantsDefault struct {

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

ListTenantsDefault Generic error response.

swagger:response listTenantsDefault

func NewListTenantsDefault

func NewListTenantsDefault(code int) *ListTenantsDefault

NewListTenantsDefault creates ListTenantsDefault with default headers values

func (*ListTenantsDefault) SetPayload

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

SetPayload sets the payload to the list tenants default response

func (*ListTenantsDefault) SetStatusCode

func (o *ListTenantsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list tenants default response

func (*ListTenantsDefault) WithPayload

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

WithPayload adds the payload to the list tenants default response

func (*ListTenantsDefault) WithStatusCode

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

WithStatusCode adds the status to the list tenants default response

func (*ListTenantsDefault) WriteResponse

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

WriteResponse to the client

type ListTenantsHandler

type ListTenantsHandler interface {
	Handle(ListTenantsParams, *models.Principal) middleware.Responder
}

ListTenantsHandler interface for that can handle valid list tenants params

type ListTenantsHandlerFunc

type ListTenantsHandlerFunc func(ListTenantsParams, *models.Principal) middleware.Responder

ListTenantsHandlerFunc turns a function with the right signature into a list tenants handler

func (ListTenantsHandlerFunc) Handle

Handle executing the request and returning a response

type ListTenantsOK

type ListTenantsOK struct {

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

ListTenantsOK A successful response.

swagger:response listTenantsOK

func NewListTenantsOK

func NewListTenantsOK() *ListTenantsOK

NewListTenantsOK creates ListTenantsOK with default headers values

func (*ListTenantsOK) SetPayload

func (o *ListTenantsOK) SetPayload(payload *models.ListTenantsResponse)

SetPayload sets the payload to the list tenants o k response

func (*ListTenantsOK) WithPayload

func (o *ListTenantsOK) WithPayload(payload *models.ListTenantsResponse) *ListTenantsOK

WithPayload adds the payload to the list tenants o k response

func (*ListTenantsOK) WriteResponse

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

WriteResponse to the client

type ListTenantsParams

type ListTenantsParams struct {

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

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

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

swagger:parameters ListTenants

func NewListTenantsParams

func NewListTenantsParams() ListTenantsParams

NewListTenantsParams creates a new ListTenantsParams object no default values defined in spec.

func (*ListTenantsParams) BindRequest

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

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

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

type ListTenantsURL

type ListTenantsURL struct {
	Namespace string

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

ListTenantsURL generates an URL for the list tenants operation

func (*ListTenantsURL) Build

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

Build a url path and query string

func (*ListTenantsURL) BuildFull

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

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

func (*ListTenantsURL) Must

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

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

func (*ListTenantsURL) SetBasePath

func (o *ListTenantsURL) SetBasePath(bp string)

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

func (*ListTenantsURL) String

func (o *ListTenantsURL) String() string

String returns the string representation of the path with query string

func (*ListTenantsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListTenantsURL) WithBasePath

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

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

type ListUsers

type ListUsers struct {
	Context *middleware.Context
	Handler ListUsersHandler
}

ListUsers swagger:route GET /users AdminAPI listUsers

List Users

func NewListUsers

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

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

func (*ListUsers) ServeHTTP

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

type ListUsersDefault

type ListUsersDefault struct {

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

ListUsersDefault Generic error response.

swagger:response listUsersDefault

func NewListUsersDefault

func NewListUsersDefault(code int) *ListUsersDefault

NewListUsersDefault creates ListUsersDefault with default headers values

func (*ListUsersDefault) SetPayload

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

SetPayload sets the payload to the list users default response

func (*ListUsersDefault) SetStatusCode

func (o *ListUsersDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list users default response

func (*ListUsersDefault) WithPayload

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

WithPayload adds the payload to the list users default response

func (*ListUsersDefault) WithStatusCode

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

WithStatusCode adds the status to the list users default response

func (*ListUsersDefault) WriteResponse

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

WriteResponse to the client

type ListUsersHandler

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

ListUsersHandler interface for that can handle valid list users params

type ListUsersHandlerFunc

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

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

func (ListUsersHandlerFunc) Handle

Handle executing the request and returning a response

type ListUsersOK

type ListUsersOK struct {

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

ListUsersOK A successful response.

swagger:response listUsersOK

func NewListUsersOK

func NewListUsersOK() *ListUsersOK

NewListUsersOK creates ListUsersOK with default headers values

func (*ListUsersOK) SetPayload

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

SetPayload sets the payload to the list users o k response

func (*ListUsersOK) WithPayload

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

WithPayload adds the payload to the list users o k response

func (*ListUsersOK) WriteResponse

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

WriteResponse to the client

type ListUsersParams

type ListUsersParams struct {

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

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

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

swagger:parameters ListUsers

func NewListUsersParams

func NewListUsersParams() ListUsersParams

NewListUsersParams creates a new ListUsersParams object no default values defined in spec.

func (*ListUsersParams) BindRequest

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

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

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

type ListUsersURL

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

ListUsersURL generates an URL for the list users operation

func (*ListUsersURL) Build

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

Build a url path and query string

func (*ListUsersURL) BuildFull

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

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

func (*ListUsersURL) Must

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

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

func (*ListUsersURL) SetBasePath

func (o *ListUsersURL) SetBasePath(bp string)

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

func (*ListUsersURL) String

func (o *ListUsersURL) String() string

String returns the string representation of the path with query string

func (*ListUsersURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListUsersURL) WithBasePath

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

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

type NotificationEndpointList

type NotificationEndpointList struct {
	Context *middleware.Context
	Handler NotificationEndpointListHandler
}

NotificationEndpointList swagger:route GET /admin/notification_endpoints AdminAPI notificationEndpointList

Returns a list of active notification endpoints

func NewNotificationEndpointList

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

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

func (*NotificationEndpointList) ServeHTTP

type NotificationEndpointListDefault

type NotificationEndpointListDefault struct {

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

NotificationEndpointListDefault Generic error response.

swagger:response notificationEndpointListDefault

func NewNotificationEndpointListDefault

func NewNotificationEndpointListDefault(code int) *NotificationEndpointListDefault

NewNotificationEndpointListDefault creates NotificationEndpointListDefault with default headers values

func (*NotificationEndpointListDefault) SetPayload

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

SetPayload sets the payload to the notification endpoint list default response

func (*NotificationEndpointListDefault) SetStatusCode

func (o *NotificationEndpointListDefault) SetStatusCode(code int)

SetStatusCode sets the status to the notification endpoint list default response

func (*NotificationEndpointListDefault) WithPayload

WithPayload adds the payload to the notification endpoint list default response

func (*NotificationEndpointListDefault) WithStatusCode

WithStatusCode adds the status to the notification endpoint list default response

func (*NotificationEndpointListDefault) WriteResponse

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

WriteResponse to the client

type NotificationEndpointListHandler

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

NotificationEndpointListHandler interface for that can handle valid notification endpoint list params

type NotificationEndpointListHandlerFunc

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

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

func (NotificationEndpointListHandlerFunc) Handle

Handle executing the request and returning a response

type NotificationEndpointListOK

type NotificationEndpointListOK struct {

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

NotificationEndpointListOK A successful response.

swagger:response notificationEndpointListOK

func NewNotificationEndpointListOK

func NewNotificationEndpointListOK() *NotificationEndpointListOK

NewNotificationEndpointListOK creates NotificationEndpointListOK with default headers values

func (*NotificationEndpointListOK) SetPayload

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

func (*NotificationEndpointListOK) WithPayload

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

func (*NotificationEndpointListOK) WriteResponse

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

WriteResponse to the client

type NotificationEndpointListParams

type NotificationEndpointListParams struct {

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

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

swagger:parameters NotificationEndpointList

func NewNotificationEndpointListParams

func NewNotificationEndpointListParams() NotificationEndpointListParams

NewNotificationEndpointListParams creates a new NotificationEndpointListParams object no default values defined in spec.

func (*NotificationEndpointListParams) BindRequest

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

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

type NotificationEndpointListURL

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

NotificationEndpointListURL generates an URL for the notification endpoint list operation

func (*NotificationEndpointListURL) Build

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

Build a url path and query string

func (*NotificationEndpointListURL) BuildFull

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

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

func (*NotificationEndpointListURL) Must

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

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

func (*NotificationEndpointListURL) SetBasePath

func (o *NotificationEndpointListURL) SetBasePath(bp string)

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

func (*NotificationEndpointListURL) String

func (o *NotificationEndpointListURL) String() string

String returns the string representation of the path with query string

func (*NotificationEndpointListURL) StringFull

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

StringFull returns the string representation of a complete url

func (*NotificationEndpointListURL) WithBasePath

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

type PolicyInfo

type PolicyInfo struct {
	Context *middleware.Context
	Handler PolicyInfoHandler
}

PolicyInfo swagger:route GET /policies/{name} 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: path
	*/
	Name string
}

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

swagger:parameters PolicyInfo

func NewPolicyInfoParams

func NewPolicyInfoParams() PolicyInfoParams

NewPolicyInfoParams creates a new PolicyInfoParams object no default values defined in spec.

func (*PolicyInfoParams) BindRequest

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

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

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

type PolicyInfoURL

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

PolicyInfoURL generates an URL for the policy info operation

func (*PolicyInfoURL) Build

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

Build a url path and query string

func (*PolicyInfoURL) BuildFull

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

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

func (*PolicyInfoURL) Must

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

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

func (*PolicyInfoURL) SetBasePath

func (o *PolicyInfoURL) SetBasePath(bp string)

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

func (*PolicyInfoURL) String

func (o *PolicyInfoURL) String() string

String returns the string representation of the path with query string

func (*PolicyInfoURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PolicyInfoURL) WithBasePath

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

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

type ProfilingStart

type ProfilingStart struct {
	Context *middleware.Context
	Handler ProfilingStartHandler
}

ProfilingStart swagger:route POST /profiling/start AdminAPI profilingStart

Start recording profile data

func NewProfilingStart

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

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

func (*ProfilingStart) ServeHTTP

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

type ProfilingStartCreated

type ProfilingStartCreated struct {

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

ProfilingStartCreated A successful response.

swagger:response profilingStartCreated

func NewProfilingStartCreated

func NewProfilingStartCreated() *ProfilingStartCreated

NewProfilingStartCreated creates ProfilingStartCreated with default headers values

func (*ProfilingStartCreated) SetPayload

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

SetPayload sets the payload to the profiling start created response

func (*ProfilingStartCreated) WithPayload

WithPayload adds the payload to the profiling start created response

func (*ProfilingStartCreated) WriteResponse

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

WriteResponse to the client

type ProfilingStartDefault

type ProfilingStartDefault struct {

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

ProfilingStartDefault Generic error response.

swagger:response profilingStartDefault

func NewProfilingStartDefault

func NewProfilingStartDefault(code int) *ProfilingStartDefault

NewProfilingStartDefault creates ProfilingStartDefault with default headers values

func (*ProfilingStartDefault) SetPayload

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

SetPayload sets the payload to the profiling start default response

func (*ProfilingStartDefault) SetStatusCode

func (o *ProfilingStartDefault) SetStatusCode(code int)

SetStatusCode sets the status to the profiling start default response

func (*ProfilingStartDefault) WithPayload

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

WithPayload adds the payload to the profiling start default response

func (*ProfilingStartDefault) WithStatusCode

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

WithStatusCode adds the status to the profiling start default response

func (*ProfilingStartDefault) WriteResponse

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

WriteResponse to the client

type ProfilingStartHandler

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

ProfilingStartHandler interface for that can handle valid profiling start params

type ProfilingStartHandlerFunc

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

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

func (ProfilingStartHandlerFunc) Handle

Handle executing the request and returning a response

type ProfilingStartParams

type ProfilingStartParams struct {

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

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

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

swagger:parameters ProfilingStart

func NewProfilingStartParams

func NewProfilingStartParams() ProfilingStartParams

NewProfilingStartParams creates a new ProfilingStartParams object no default values defined in spec.

func (*ProfilingStartParams) BindRequest

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

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

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

type ProfilingStartURL

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

ProfilingStartURL generates an URL for the profiling start operation

func (*ProfilingStartURL) Build

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

Build a url path and query string

func (*ProfilingStartURL) BuildFull

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

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

func (*ProfilingStartURL) Must

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

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

func (*ProfilingStartURL) SetBasePath

func (o *ProfilingStartURL) SetBasePath(bp string)

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

func (*ProfilingStartURL) String

func (o *ProfilingStartURL) String() string

String returns the string representation of the path with query string

func (*ProfilingStartURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ProfilingStartURL) WithBasePath

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

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

type ProfilingStop

type ProfilingStop struct {
	Context *middleware.Context
	Handler ProfilingStopHandler
}

ProfilingStop swagger:route POST /profiling/stop AdminAPI profilingStop

Stop and download profile data

func NewProfilingStop

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

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

func (*ProfilingStop) ServeHTTP

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

type ProfilingStopCreated

type ProfilingStopCreated struct {

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

ProfilingStopCreated A successful response.

swagger:response profilingStopCreated

func NewProfilingStopCreated

func NewProfilingStopCreated() *ProfilingStopCreated

NewProfilingStopCreated creates ProfilingStopCreated with default headers values

func (*ProfilingStopCreated) SetPayload

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

SetPayload sets the payload to the profiling stop created response

func (*ProfilingStopCreated) WithPayload

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

WithPayload adds the payload to the profiling stop created response

func (*ProfilingStopCreated) WriteResponse

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

WriteResponse to the client

type ProfilingStopDefault

type ProfilingStopDefault struct {

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

ProfilingStopDefault Generic error response.

swagger:response profilingStopDefault

func NewProfilingStopDefault

func NewProfilingStopDefault(code int) *ProfilingStopDefault

NewProfilingStopDefault creates ProfilingStopDefault with default headers values

func (*ProfilingStopDefault) SetPayload

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

SetPayload sets the payload to the profiling stop default response

func (*ProfilingStopDefault) SetStatusCode

func (o *ProfilingStopDefault) SetStatusCode(code int)

SetStatusCode sets the status to the profiling stop default response

func (*ProfilingStopDefault) WithPayload

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

WithPayload adds the payload to the profiling stop default response

func (*ProfilingStopDefault) WithStatusCode

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

WithStatusCode adds the status to the profiling stop default response

func (*ProfilingStopDefault) WriteResponse

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

WriteResponse to the client

type ProfilingStopHandler

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

ProfilingStopHandler interface for that can handle valid profiling stop params

type ProfilingStopHandlerFunc

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

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

func (ProfilingStopHandlerFunc) Handle

Handle executing the request and returning a response

type ProfilingStopParams

type ProfilingStopParams struct {

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

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

swagger:parameters ProfilingStop

func NewProfilingStopParams

func NewProfilingStopParams() ProfilingStopParams

NewProfilingStopParams creates a new ProfilingStopParams object no default values defined in spec.

func (*ProfilingStopParams) BindRequest

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

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

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

type ProfilingStopURL

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

ProfilingStopURL generates an URL for the profiling stop operation

func (*ProfilingStopURL) Build

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

Build a url path and query string

func (*ProfilingStopURL) BuildFull

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

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

func (*ProfilingStopURL) Must

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

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

func (*ProfilingStopURL) SetBasePath

func (o *ProfilingStopURL) SetBasePath(bp string)

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

func (*ProfilingStopURL) String

func (o *ProfilingStopURL) String() string

String returns the string representation of the path with query string

func (*ProfilingStopURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ProfilingStopURL) WithBasePath

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

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

type RemoveGroup

type RemoveGroup struct {
	Context *middleware.Context
	Handler RemoveGroupHandler
}

RemoveGroup swagger:route DELETE /groups/{name} AdminAPI removeGroup

Remove group

func NewRemoveGroup

func NewRemoveGroup(ctx *middleware.Context, handler RemoveGroupHandler) *RemoveGroup

NewRemoveGroup creates a new http.Handler for the remove group operation

func (*RemoveGroup) ServeHTTP

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

type RemoveGroupDefault

type RemoveGroupDefault struct {

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

RemoveGroupDefault Generic error response.

swagger:response removeGroupDefault

func NewRemoveGroupDefault

func NewRemoveGroupDefault(code int) *RemoveGroupDefault

NewRemoveGroupDefault creates RemoveGroupDefault with default headers values

func (*RemoveGroupDefault) SetPayload

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

SetPayload sets the payload to the remove group default response

func (*RemoveGroupDefault) SetStatusCode

func (o *RemoveGroupDefault) SetStatusCode(code int)

SetStatusCode sets the status to the remove group default response

func (*RemoveGroupDefault) WithPayload

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

WithPayload adds the payload to the remove group default response

func (*RemoveGroupDefault) WithStatusCode

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

WithStatusCode adds the status to the remove group default response

func (*RemoveGroupDefault) WriteResponse

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

WriteResponse to the client

type RemoveGroupHandler

type RemoveGroupHandler interface {
	Handle(RemoveGroupParams, *models.Principal) middleware.Responder
}

RemoveGroupHandler interface for that can handle valid remove group params

type RemoveGroupHandlerFunc

type RemoveGroupHandlerFunc func(RemoveGroupParams, *models.Principal) middleware.Responder

RemoveGroupHandlerFunc turns a function with the right signature into a remove group handler

func (RemoveGroupHandlerFunc) Handle

Handle executing the request and returning a response

type RemoveGroupNoContent

type RemoveGroupNoContent struct {
}

RemoveGroupNoContent A successful response.

swagger:response removeGroupNoContent

func NewRemoveGroupNoContent

func NewRemoveGroupNoContent() *RemoveGroupNoContent

NewRemoveGroupNoContent creates RemoveGroupNoContent with default headers values

func (*RemoveGroupNoContent) WriteResponse

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

WriteResponse to the client

type RemoveGroupParams

type RemoveGroupParams struct {

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

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

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

swagger:parameters RemoveGroup

func NewRemoveGroupParams

func NewRemoveGroupParams() RemoveGroupParams

NewRemoveGroupParams creates a new RemoveGroupParams object no default values defined in spec.

func (*RemoveGroupParams) BindRequest

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

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

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

type RemoveGroupURL

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

RemoveGroupURL generates an URL for the remove group operation

func (*RemoveGroupURL) Build

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

Build a url path and query string

func (*RemoveGroupURL) BuildFull

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

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

func (*RemoveGroupURL) Must

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

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

func (*RemoveGroupURL) SetBasePath

func (o *RemoveGroupURL) SetBasePath(bp string)

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

func (*RemoveGroupURL) String

func (o *RemoveGroupURL) String() string

String returns the string representation of the path with query string

func (*RemoveGroupURL) StringFull

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

StringFull returns the string representation of a complete url

func (*RemoveGroupURL) WithBasePath

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

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

type RemovePolicy

type RemovePolicy struct {
	Context *middleware.Context
	Handler RemovePolicyHandler
}

RemovePolicy swagger:route DELETE /policies/{name} 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: path
	*/
	Name string
}

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

swagger:parameters RemovePolicy

func NewRemovePolicyParams

func NewRemovePolicyParams() RemovePolicyParams

NewRemovePolicyParams creates a new RemovePolicyParams object no default values defined in spec.

func (*RemovePolicyParams) BindRequest

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

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

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

type RemovePolicyURL

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

RemovePolicyURL generates an URL for the remove policy operation

func (*RemovePolicyURL) Build

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

Build a url path and query string

func (*RemovePolicyURL) BuildFull

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

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

func (*RemovePolicyURL) Must

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

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

func (*RemovePolicyURL) SetBasePath

func (o *RemovePolicyURL) SetBasePath(bp string)

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

func (*RemovePolicyURL) String

func (o *RemovePolicyURL) String() string

String returns the string representation of the path with query string

func (*RemovePolicyURL) StringFull

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

StringFull returns the string representation of a complete url

func (*RemovePolicyURL) WithBasePath

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

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

type RemoveUser

type RemoveUser struct {
	Context *middleware.Context
	Handler RemoveUserHandler
}

RemoveUser swagger:route DELETE /users/{name} AdminAPI removeUser

Remove user

func NewRemoveUser

func NewRemoveUser(ctx *middleware.Context, handler RemoveUserHandler) *RemoveUser

NewRemoveUser creates a new http.Handler for the remove user operation

func (*RemoveUser) ServeHTTP

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

type RemoveUserDefault

type RemoveUserDefault struct {

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

RemoveUserDefault Generic error response.

swagger:response removeUserDefault

func NewRemoveUserDefault

func NewRemoveUserDefault(code int) *RemoveUserDefault

NewRemoveUserDefault creates RemoveUserDefault with default headers values

func (*RemoveUserDefault) SetPayload

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

SetPayload sets the payload to the remove user default response

func (*RemoveUserDefault) SetStatusCode

func (o *RemoveUserDefault) SetStatusCode(code int)

SetStatusCode sets the status to the remove user default response

func (*RemoveUserDefault) WithPayload

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

WithPayload adds the payload to the remove user default response

func (*RemoveUserDefault) WithStatusCode

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

WithStatusCode adds the status to the remove user default response

func (*RemoveUserDefault) WriteResponse

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

WriteResponse to the client

type RemoveUserHandler

type RemoveUserHandler interface {
	Handle(RemoveUserParams, *models.Principal) middleware.Responder
}

RemoveUserHandler interface for that can handle valid remove user params

type RemoveUserHandlerFunc

type RemoveUserHandlerFunc func(RemoveUserParams, *models.Principal) middleware.Responder

RemoveUserHandlerFunc turns a function with the right signature into a remove user handler

func (RemoveUserHandlerFunc) Handle

Handle executing the request and returning a response

type RemoveUserNoContent

type RemoveUserNoContent struct {
}

RemoveUserNoContent A successful response.

swagger:response removeUserNoContent

func NewRemoveUserNoContent

func NewRemoveUserNoContent() *RemoveUserNoContent

NewRemoveUserNoContent creates RemoveUserNoContent with default headers values

func (*RemoveUserNoContent) WriteResponse

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

WriteResponse to the client

type RemoveUserParams

type RemoveUserParams struct {

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

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

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

swagger:parameters RemoveUser

func NewRemoveUserParams

func NewRemoveUserParams() RemoveUserParams

NewRemoveUserParams creates a new RemoveUserParams object no default values defined in spec.

func (*RemoveUserParams) BindRequest

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

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

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

type RemoveUserURL

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

RemoveUserURL generates an URL for the remove user operation

func (*RemoveUserURL) Build

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

Build a url path and query string

func (*RemoveUserURL) BuildFull

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

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

func (*RemoveUserURL) Must

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

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

func (*RemoveUserURL) SetBasePath

func (o *RemoveUserURL) SetBasePath(bp string)

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

func (*RemoveUserURL) String

func (o *RemoveUserURL) String() string

String returns the string representation of the path with query string

func (*RemoveUserURL) StringFull

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

StringFull returns the string representation of a complete url

func (*RemoveUserURL) WithBasePath

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

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

type RestartService

type RestartService struct {
	Context *middleware.Context
	Handler RestartServiceHandler
}

RestartService swagger:route POST /service/restart AdminAPI restartService

Restart Service

func NewRestartService

func NewRestartService(ctx *middleware.Context, handler RestartServiceHandler) *RestartService

NewRestartService creates a new http.Handler for the restart service operation

func (*RestartService) ServeHTTP

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

type RestartServiceDefault

type RestartServiceDefault struct {

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

RestartServiceDefault Generic error response.

swagger:response restartServiceDefault

func NewRestartServiceDefault

func NewRestartServiceDefault(code int) *RestartServiceDefault

NewRestartServiceDefault creates RestartServiceDefault with default headers values

func (*RestartServiceDefault) SetPayload

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

SetPayload sets the payload to the restart service default response

func (*RestartServiceDefault) SetStatusCode

func (o *RestartServiceDefault) SetStatusCode(code int)

SetStatusCode sets the status to the restart service default response

func (*RestartServiceDefault) WithPayload

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

WithPayload adds the payload to the restart service default response

func (*RestartServiceDefault) WithStatusCode

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

WithStatusCode adds the status to the restart service default response

func (*RestartServiceDefault) WriteResponse

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

WriteResponse to the client

type RestartServiceHandler

type RestartServiceHandler interface {
	Handle(RestartServiceParams, *models.Principal) middleware.Responder
}

RestartServiceHandler interface for that can handle valid restart service params

type RestartServiceHandlerFunc

type RestartServiceHandlerFunc func(RestartServiceParams, *models.Principal) middleware.Responder

RestartServiceHandlerFunc turns a function with the right signature into a restart service handler

func (RestartServiceHandlerFunc) Handle

Handle executing the request and returning a response

type RestartServiceNoContent

type RestartServiceNoContent struct {
}

RestartServiceNoContent A successful response.

swagger:response restartServiceNoContent

func NewRestartServiceNoContent

func NewRestartServiceNoContent() *RestartServiceNoContent

NewRestartServiceNoContent creates RestartServiceNoContent with default headers values

func (*RestartServiceNoContent) WriteResponse

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

WriteResponse to the client

type RestartServiceParams

type RestartServiceParams struct {

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

RestartServiceParams contains all the bound params for the restart service operation typically these are obtained from a http.Request

swagger:parameters RestartService

func NewRestartServiceParams

func NewRestartServiceParams() RestartServiceParams

NewRestartServiceParams creates a new RestartServiceParams object no default values defined in spec.

func (*RestartServiceParams) BindRequest

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

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

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

type RestartServiceURL

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

RestartServiceURL generates an URL for the restart service operation

func (*RestartServiceURL) Build

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

Build a url path and query string

func (*RestartServiceURL) BuildFull

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

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

func (*RestartServiceURL) Must

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

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

func (*RestartServiceURL) SetBasePath

func (o *RestartServiceURL) SetBasePath(bp string)

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

func (*RestartServiceURL) String

func (o *RestartServiceURL) String() string

String returns the string representation of the path with query string

func (*RestartServiceURL) StringFull

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

StringFull returns the string representation of a complete url

func (*RestartServiceURL) WithBasePath

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

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

type SetConfig

type SetConfig struct {
	Context *middleware.Context
	Handler SetConfigHandler
}

SetConfig swagger:route PUT /configs/{name} AdminAPI setConfig

Set Configuration

func NewSetConfig

func NewSetConfig(ctx *middleware.Context, handler SetConfigHandler) *SetConfig

NewSetConfig creates a new http.Handler for the set config operation

func (*SetConfig) ServeHTTP

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

type SetConfigDefault

type SetConfigDefault struct {

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

SetConfigDefault Generic error response.

swagger:response setConfigDefault

func NewSetConfigDefault

func NewSetConfigDefault(code int) *SetConfigDefault

NewSetConfigDefault creates SetConfigDefault with default headers values

func (*SetConfigDefault) SetPayload

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

SetPayload sets the payload to the set config default response

func (*SetConfigDefault) SetStatusCode

func (o *SetConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set config default response

func (*SetConfigDefault) WithPayload

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

WithPayload adds the payload to the set config default response

func (*SetConfigDefault) WithStatusCode

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

WithStatusCode adds the status to the set config default response

func (*SetConfigDefault) WriteResponse

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

WriteResponse to the client

type SetConfigHandler

type SetConfigHandler interface {
	Handle(SetConfigParams, *models.Principal) middleware.Responder
}

SetConfigHandler interface for that can handle valid set config params

type SetConfigHandlerFunc

type SetConfigHandlerFunc func(SetConfigParams, *models.Principal) middleware.Responder

SetConfigHandlerFunc turns a function with the right signature into a set config handler

func (SetConfigHandlerFunc) Handle

Handle executing the request and returning a response

type SetConfigNoContent

type SetConfigNoContent struct {
}

SetConfigNoContent A successful response.

swagger:response setConfigNoContent

func NewSetConfigNoContent

func NewSetConfigNoContent() *SetConfigNoContent

NewSetConfigNoContent creates SetConfigNoContent with default headers values

func (*SetConfigNoContent) WriteResponse

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

WriteResponse to the client

type SetConfigParams

type SetConfigParams struct {

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

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

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

swagger:parameters SetConfig

func NewSetConfigParams

func NewSetConfigParams() SetConfigParams

NewSetConfigParams creates a new SetConfigParams object no default values defined in spec.

func (*SetConfigParams) BindRequest

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

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

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

type SetConfigURL

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

SetConfigURL generates an URL for the set config operation

func (*SetConfigURL) Build

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

Build a url path and query string

func (*SetConfigURL) BuildFull

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

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

func (*SetConfigURL) Must

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

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

func (*SetConfigURL) SetBasePath

func (o *SetConfigURL) SetBasePath(bp string)

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

func (*SetConfigURL) String

func (o *SetConfigURL) String() string

String returns the string representation of the path with query string

func (*SetConfigURL) StringFull

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

StringFull returns the string representation of a complete url

func (*SetConfigURL) WithBasePath

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

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

type SetPolicy

type SetPolicy struct {
	Context *middleware.Context
	Handler SetPolicyHandler
}

SetPolicy swagger:route PUT /set-policy/{name} AdminAPI setPolicy

Set policy

func NewSetPolicy

func NewSetPolicy(ctx *middleware.Context, handler SetPolicyHandler) *SetPolicy

NewSetPolicy creates a new http.Handler for the set policy operation

func (*SetPolicy) ServeHTTP

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

type SetPolicyDefault

type SetPolicyDefault struct {

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

SetPolicyDefault Generic error response.

swagger:response setPolicyDefault

func NewSetPolicyDefault

func NewSetPolicyDefault(code int) *SetPolicyDefault

NewSetPolicyDefault creates SetPolicyDefault with default headers values

func (*SetPolicyDefault) SetPayload

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

SetPayload sets the payload to the set policy default response

func (*SetPolicyDefault) SetStatusCode

func (o *SetPolicyDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set policy default response

func (*SetPolicyDefault) WithPayload

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

WithPayload adds the payload to the set policy default response

func (*SetPolicyDefault) WithStatusCode

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

WithStatusCode adds the status to the set policy default response

func (*SetPolicyDefault) WriteResponse

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

WriteResponse to the client

type SetPolicyHandler

type SetPolicyHandler interface {
	Handle(SetPolicyParams, *models.Principal) middleware.Responder
}

SetPolicyHandler interface for that can handle valid set policy params

type SetPolicyHandlerFunc

type SetPolicyHandlerFunc func(SetPolicyParams, *models.Principal) middleware.Responder

SetPolicyHandlerFunc turns a function with the right signature into a set policy handler

func (SetPolicyHandlerFunc) Handle

Handle executing the request and returning a response

type SetPolicyNoContent

type SetPolicyNoContent struct {
}

SetPolicyNoContent A successful response.

swagger:response setPolicyNoContent

func NewSetPolicyNoContent

func NewSetPolicyNoContent() *SetPolicyNoContent

NewSetPolicyNoContent creates SetPolicyNoContent with default headers values

func (*SetPolicyNoContent) WriteResponse

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

WriteResponse to the client

type SetPolicyParams

type SetPolicyParams struct {

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

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

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

swagger:parameters SetPolicy

func NewSetPolicyParams

func NewSetPolicyParams() SetPolicyParams

NewSetPolicyParams creates a new SetPolicyParams object no default values defined in spec.

func (*SetPolicyParams) BindRequest

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

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

To ensure default values, the struct must have been initialized with NewSetPolicyParams() beforehand.

type SetPolicyURL

type SetPolicyURL struct {
	Name string
	// contains filtered or unexported fields
}

SetPolicyURL generates an URL for the set policy operation

func (*SetPolicyURL) Build

func (o *SetPolicyURL) Build() (*url.URL, error)

Build a url path and query string

func (*SetPolicyURL) BuildFull

func (o *SetPolicyURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SetPolicyURL) Must

func (o *SetPolicyURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SetPolicyURL) SetBasePath

func (o *SetPolicyURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*SetPolicyURL) String

func (o *SetPolicyURL) String() string

String returns the string representation of the path with query string

func (*SetPolicyURL) StringFull

func (o *SetPolicyURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SetPolicyURL) WithBasePath

func (o *SetPolicyURL) WithBasePath(bp string) *SetPolicyURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TenantAddZone

type TenantAddZone struct {
	Context *middleware.Context
	Handler TenantAddZoneHandler
}

TenantAddZone swagger:route POST /namespaces/{namespace}/tenants/{tenant}/zones AdminAPI tenantAddZone

Tenant Add Zone

func NewTenantAddZone

func NewTenantAddZone(ctx *middleware.Context, handler TenantAddZoneHandler) *TenantAddZone

NewTenantAddZone creates a new http.Handler for the tenant add zone operation

func (*TenantAddZone) ServeHTTP

func (o *TenantAddZone) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantAddZoneCreated

type TenantAddZoneCreated struct {
}

TenantAddZoneCreated A successful response.

swagger:response tenantAddZoneCreated

func NewTenantAddZoneCreated

func NewTenantAddZoneCreated() *TenantAddZoneCreated

NewTenantAddZoneCreated creates TenantAddZoneCreated with default headers values

func (*TenantAddZoneCreated) WriteResponse

func (o *TenantAddZoneCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantAddZoneDefault

type TenantAddZoneDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

TenantAddZoneDefault Generic error response.

swagger:response tenantAddZoneDefault

func NewTenantAddZoneDefault

func NewTenantAddZoneDefault(code int) *TenantAddZoneDefault

NewTenantAddZoneDefault creates TenantAddZoneDefault with default headers values

func (*TenantAddZoneDefault) SetPayload

func (o *TenantAddZoneDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tenant add zone default response

func (*TenantAddZoneDefault) SetStatusCode

func (o *TenantAddZoneDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant add zone default response

func (*TenantAddZoneDefault) WithPayload

func (o *TenantAddZoneDefault) WithPayload(payload *models.Error) *TenantAddZoneDefault

WithPayload adds the payload to the tenant add zone default response

func (*TenantAddZoneDefault) WithStatusCode

func (o *TenantAddZoneDefault) WithStatusCode(code int) *TenantAddZoneDefault

WithStatusCode adds the status to the tenant add zone default response

func (*TenantAddZoneDefault) WriteResponse

func (o *TenantAddZoneDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantAddZoneHandler

type TenantAddZoneHandler interface {
	Handle(TenantAddZoneParams, *models.Principal) middleware.Responder
}

TenantAddZoneHandler interface for that can handle valid tenant add zone params

type TenantAddZoneHandlerFunc

type TenantAddZoneHandlerFunc func(TenantAddZoneParams, *models.Principal) middleware.Responder

TenantAddZoneHandlerFunc turns a function with the right signature into a tenant add zone handler

func (TenantAddZoneHandlerFunc) Handle

Handle executing the request and returning a response

type TenantAddZoneParams

type TenantAddZoneParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.Zone
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

TenantAddZoneParams contains all the bound params for the tenant add zone operation typically these are obtained from a http.Request

swagger:parameters TenantAddZone

func NewTenantAddZoneParams

func NewTenantAddZoneParams() TenantAddZoneParams

NewTenantAddZoneParams creates a new TenantAddZoneParams object no default values defined in spec.

func (*TenantAddZoneParams) BindRequest

func (o *TenantAddZoneParams) 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 NewTenantAddZoneParams() beforehand.

type TenantAddZoneURL

type TenantAddZoneURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

TenantAddZoneURL generates an URL for the tenant add zone operation

func (*TenantAddZoneURL) Build

func (o *TenantAddZoneURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantAddZoneURL) BuildFull

func (o *TenantAddZoneURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TenantAddZoneURL) Must

func (o *TenantAddZoneURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TenantAddZoneURL) SetBasePath

func (o *TenantAddZoneURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TenantAddZoneURL) String

func (o *TenantAddZoneURL) String() string

String returns the string representation of the path with query string

func (*TenantAddZoneURL) StringFull

func (o *TenantAddZoneURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantAddZoneURL) WithBasePath

func (o *TenantAddZoneURL) WithBasePath(bp string) *TenantAddZoneURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type TenantInfo

type TenantInfo struct {
	Context *middleware.Context
	Handler TenantInfoHandler
}

TenantInfo swagger:route GET /namespaces/{namespace}/tenants/{tenant} AdminAPI tenantInfo

Tenant Info

func NewTenantInfo

func NewTenantInfo(ctx *middleware.Context, handler TenantInfoHandler) *TenantInfo

NewTenantInfo creates a new http.Handler for the tenant info operation

func (*TenantInfo) ServeHTTP

func (o *TenantInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type TenantInfoDefault

type TenantInfoDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

TenantInfoDefault Generic error response.

swagger:response tenantInfoDefault

func NewTenantInfoDefault

func NewTenantInfoDefault(code int) *TenantInfoDefault

NewTenantInfoDefault creates TenantInfoDefault with default headers values

func (*TenantInfoDefault) SetPayload

func (o *TenantInfoDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the tenant info default response

func (*TenantInfoDefault) SetStatusCode

func (o *TenantInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the tenant info default response

func (*TenantInfoDefault) WithPayload

func (o *TenantInfoDefault) WithPayload(payload *models.Error) *TenantInfoDefault

WithPayload adds the payload to the tenant info default response

func (*TenantInfoDefault) WithStatusCode

func (o *TenantInfoDefault) WithStatusCode(code int) *TenantInfoDefault

WithStatusCode adds the status to the tenant info default response

func (*TenantInfoDefault) WriteResponse

func (o *TenantInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantInfoHandler

type TenantInfoHandler interface {
	Handle(TenantInfoParams, *models.Principal) middleware.Responder
}

TenantInfoHandler interface for that can handle valid tenant info params

type TenantInfoHandlerFunc

type TenantInfoHandlerFunc func(TenantInfoParams, *models.Principal) middleware.Responder

TenantInfoHandlerFunc turns a function with the right signature into a tenant info handler

func (TenantInfoHandlerFunc) Handle

Handle executing the request and returning a response

type TenantInfoOK

type TenantInfoOK struct {

	/*
	  In: Body
	*/
	Payload *models.Tenant `json:"body,omitempty"`
}

TenantInfoOK A successful response.

swagger:response tenantInfoOK

func NewTenantInfoOK

func NewTenantInfoOK() *TenantInfoOK

NewTenantInfoOK creates TenantInfoOK with default headers values

func (*TenantInfoOK) SetPayload

func (o *TenantInfoOK) SetPayload(payload *models.Tenant)

SetPayload sets the payload to the tenant info o k response

func (*TenantInfoOK) WithPayload

func (o *TenantInfoOK) WithPayload(payload *models.Tenant) *TenantInfoOK

WithPayload adds the payload to the tenant info o k response

func (*TenantInfoOK) WriteResponse

func (o *TenantInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type TenantInfoParams

type TenantInfoParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

TenantInfoParams contains all the bound params for the tenant info operation typically these are obtained from a http.Request

swagger:parameters TenantInfo

func NewTenantInfoParams

func NewTenantInfoParams() TenantInfoParams

NewTenantInfoParams creates a new TenantInfoParams object no default values defined in spec.

func (*TenantInfoParams) BindRequest

func (o *TenantInfoParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewTenantInfoParams() beforehand.

type TenantInfoURL

type TenantInfoURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

TenantInfoURL generates an URL for the tenant info operation

func (*TenantInfoURL) Build

func (o *TenantInfoURL) Build() (*url.URL, error)

Build a url path and query string

func (*TenantInfoURL) BuildFull

func (o *TenantInfoURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*TenantInfoURL) Must

func (o *TenantInfoURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*TenantInfoURL) SetBasePath

func (o *TenantInfoURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*TenantInfoURL) String

func (o *TenantInfoURL) String() string

String returns the string representation of the path with query string

func (*TenantInfoURL) StringFull

func (o *TenantInfoURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*TenantInfoURL) WithBasePath

func (o *TenantInfoURL) WithBasePath(bp string) *TenantInfoURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateGroup

type UpdateGroup struct {
	Context *middleware.Context
	Handler UpdateGroupHandler
}

UpdateGroup swagger:route PUT /groups/{name} AdminAPI updateGroup

Update Group Members or Status

func NewUpdateGroup

func NewUpdateGroup(ctx *middleware.Context, handler UpdateGroupHandler) *UpdateGroup

NewUpdateGroup creates a new http.Handler for the update group operation

func (*UpdateGroup) ServeHTTP

func (o *UpdateGroup) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateGroupDefault

type UpdateGroupDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UpdateGroupDefault Generic error response.

swagger:response updateGroupDefault

func NewUpdateGroupDefault

func NewUpdateGroupDefault(code int) *UpdateGroupDefault

NewUpdateGroupDefault creates UpdateGroupDefault with default headers values

func (*UpdateGroupDefault) SetPayload

func (o *UpdateGroupDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the update group default response

func (*UpdateGroupDefault) SetStatusCode

func (o *UpdateGroupDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update group default response

func (*UpdateGroupDefault) WithPayload

func (o *UpdateGroupDefault) WithPayload(payload *models.Error) *UpdateGroupDefault

WithPayload adds the payload to the update group default response

func (*UpdateGroupDefault) WithStatusCode

func (o *UpdateGroupDefault) WithStatusCode(code int) *UpdateGroupDefault

WithStatusCode adds the status to the update group default response

func (*UpdateGroupDefault) WriteResponse

func (o *UpdateGroupDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateGroupHandler

type UpdateGroupHandler interface {
	Handle(UpdateGroupParams, *models.Principal) middleware.Responder
}

UpdateGroupHandler interface for that can handle valid update group params

type UpdateGroupHandlerFunc

type UpdateGroupHandlerFunc func(UpdateGroupParams, *models.Principal) middleware.Responder

UpdateGroupHandlerFunc turns a function with the right signature into a update group handler

func (UpdateGroupHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateGroupOK

type UpdateGroupOK struct {

	/*
	  In: Body
	*/
	Payload *models.Group `json:"body,omitempty"`
}

UpdateGroupOK A successful response.

swagger:response updateGroupOK

func NewUpdateGroupOK

func NewUpdateGroupOK() *UpdateGroupOK

NewUpdateGroupOK creates UpdateGroupOK with default headers values

func (*UpdateGroupOK) SetPayload

func (o *UpdateGroupOK) SetPayload(payload *models.Group)

SetPayload sets the payload to the update group o k response

func (*UpdateGroupOK) WithPayload

func (o *UpdateGroupOK) WithPayload(payload *models.Group) *UpdateGroupOK

WithPayload adds the payload to the update group o k response

func (*UpdateGroupOK) WriteResponse

func (o *UpdateGroupOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateGroupParams

type UpdateGroupParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.UpdateGroupRequest
	/*
	  Required: true
	  In: path
	*/
	Name string
}

UpdateGroupParams contains all the bound params for the update group operation typically these are obtained from a http.Request

swagger:parameters UpdateGroup

func NewUpdateGroupParams

func NewUpdateGroupParams() UpdateGroupParams

NewUpdateGroupParams creates a new UpdateGroupParams object no default values defined in spec.

func (*UpdateGroupParams) BindRequest

func (o *UpdateGroupParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateGroupParams() beforehand.

type UpdateGroupURL

type UpdateGroupURL struct {
	Name string
	// contains filtered or unexported fields
}

UpdateGroupURL generates an URL for the update group operation

func (*UpdateGroupURL) Build

func (o *UpdateGroupURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateGroupURL) BuildFull

func (o *UpdateGroupURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateGroupURL) Must

func (o *UpdateGroupURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateGroupURL) SetBasePath

func (o *UpdateGroupURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateGroupURL) String

func (o *UpdateGroupURL) String() string

String returns the string representation of the path with query string

func (*UpdateGroupURL) StringFull

func (o *UpdateGroupURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateGroupURL) WithBasePath

func (o *UpdateGroupURL) WithBasePath(bp string) *UpdateGroupURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateTenant

type UpdateTenant struct {
	Context *middleware.Context
	Handler UpdateTenantHandler
}

UpdateTenant swagger:route PUT /namespaces/{namespace}/tenants/{tenant} AdminAPI updateTenant

Update Tenant

func NewUpdateTenant

func NewUpdateTenant(ctx *middleware.Context, handler UpdateTenantHandler) *UpdateTenant

NewUpdateTenant creates a new http.Handler for the update tenant operation

func (*UpdateTenant) ServeHTTP

func (o *UpdateTenant) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateTenantCreated

type UpdateTenantCreated struct {
}

UpdateTenantCreated A successful response.

swagger:response updateTenantCreated

func NewUpdateTenantCreated

func NewUpdateTenantCreated() *UpdateTenantCreated

NewUpdateTenantCreated creates UpdateTenantCreated with default headers values

func (*UpdateTenantCreated) WriteResponse

func (o *UpdateTenantCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateTenantDefault

type UpdateTenantDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UpdateTenantDefault Generic error response.

swagger:response updateTenantDefault

func NewUpdateTenantDefault

func NewUpdateTenantDefault(code int) *UpdateTenantDefault

NewUpdateTenantDefault creates UpdateTenantDefault with default headers values

func (*UpdateTenantDefault) SetPayload

func (o *UpdateTenantDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the update tenant default response

func (*UpdateTenantDefault) SetStatusCode

func (o *UpdateTenantDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update tenant default response

func (*UpdateTenantDefault) WithPayload

func (o *UpdateTenantDefault) WithPayload(payload *models.Error) *UpdateTenantDefault

WithPayload adds the payload to the update tenant default response

func (*UpdateTenantDefault) WithStatusCode

func (o *UpdateTenantDefault) WithStatusCode(code int) *UpdateTenantDefault

WithStatusCode adds the status to the update tenant default response

func (*UpdateTenantDefault) WriteResponse

func (o *UpdateTenantDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateTenantHandler

type UpdateTenantHandler interface {
	Handle(UpdateTenantParams, *models.Principal) middleware.Responder
}

UpdateTenantHandler interface for that can handle valid update tenant params

type UpdateTenantHandlerFunc

type UpdateTenantHandlerFunc func(UpdateTenantParams, *models.Principal) middleware.Responder

UpdateTenantHandlerFunc turns a function with the right signature into a update tenant handler

func (UpdateTenantHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateTenantParams

type UpdateTenantParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.UpdateTenantRequest
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	Tenant string
}

UpdateTenantParams contains all the bound params for the update tenant operation typically these are obtained from a http.Request

swagger:parameters UpdateTenant

func NewUpdateTenantParams

func NewUpdateTenantParams() UpdateTenantParams

NewUpdateTenantParams creates a new UpdateTenantParams object no default values defined in spec.

func (*UpdateTenantParams) BindRequest

func (o *UpdateTenantParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateTenantParams() beforehand.

type UpdateTenantURL

type UpdateTenantURL struct {
	Namespace string
	Tenant    string
	// contains filtered or unexported fields
}

UpdateTenantURL generates an URL for the update tenant operation

func (*UpdateTenantURL) Build

func (o *UpdateTenantURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateTenantURL) BuildFull

func (o *UpdateTenantURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateTenantURL) Must

func (o *UpdateTenantURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateTenantURL) SetBasePath

func (o *UpdateTenantURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateTenantURL) String

func (o *UpdateTenantURL) String() string

String returns the string representation of the path with query string

func (*UpdateTenantURL) StringFull

func (o *UpdateTenantURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateTenantURL) WithBasePath

func (o *UpdateTenantURL) WithBasePath(bp string) *UpdateTenantURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateUserGroups

type UpdateUserGroups struct {
	Context *middleware.Context
	Handler UpdateUserGroupsHandler
}

UpdateUserGroups swagger:route PUT /users/{name}/groups AdminAPI updateUserGroups

Update Groups for a user

func NewUpdateUserGroups

func NewUpdateUserGroups(ctx *middleware.Context, handler UpdateUserGroupsHandler) *UpdateUserGroups

NewUpdateUserGroups creates a new http.Handler for the update user groups operation

func (*UpdateUserGroups) ServeHTTP

func (o *UpdateUserGroups) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateUserGroupsDefault

type UpdateUserGroupsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UpdateUserGroupsDefault Generic error response.

swagger:response updateUserGroupsDefault

func NewUpdateUserGroupsDefault

func NewUpdateUserGroupsDefault(code int) *UpdateUserGroupsDefault

NewUpdateUserGroupsDefault creates UpdateUserGroupsDefault with default headers values

func (*UpdateUserGroupsDefault) SetPayload

func (o *UpdateUserGroupsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the update user groups default response

func (*UpdateUserGroupsDefault) SetStatusCode

func (o *UpdateUserGroupsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update user groups default response

func (*UpdateUserGroupsDefault) WithPayload

func (o *UpdateUserGroupsDefault) WithPayload(payload *models.Error) *UpdateUserGroupsDefault

WithPayload adds the payload to the update user groups default response

func (*UpdateUserGroupsDefault) WithStatusCode

func (o *UpdateUserGroupsDefault) WithStatusCode(code int) *UpdateUserGroupsDefault

WithStatusCode adds the status to the update user groups default response

func (*UpdateUserGroupsDefault) WriteResponse

func (o *UpdateUserGroupsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateUserGroupsHandler

type UpdateUserGroupsHandler interface {
	Handle(UpdateUserGroupsParams, *models.Principal) middleware.Responder
}

UpdateUserGroupsHandler interface for that can handle valid update user groups params

type UpdateUserGroupsHandlerFunc

type UpdateUserGroupsHandlerFunc func(UpdateUserGroupsParams, *models.Principal) middleware.Responder

UpdateUserGroupsHandlerFunc turns a function with the right signature into a update user groups handler

func (UpdateUserGroupsHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateUserGroupsOK

type UpdateUserGroupsOK struct {

	/*
	  In: Body
	*/
	Payload *models.User `json:"body,omitempty"`
}

UpdateUserGroupsOK A successful response.

swagger:response updateUserGroupsOK

func NewUpdateUserGroupsOK

func NewUpdateUserGroupsOK() *UpdateUserGroupsOK

NewUpdateUserGroupsOK creates UpdateUserGroupsOK with default headers values

func (*UpdateUserGroupsOK) SetPayload

func (o *UpdateUserGroupsOK) SetPayload(payload *models.User)

SetPayload sets the payload to the update user groups o k response

func (*UpdateUserGroupsOK) WithPayload

func (o *UpdateUserGroupsOK) WithPayload(payload *models.User) *UpdateUserGroupsOK

WithPayload adds the payload to the update user groups o k response

func (*UpdateUserGroupsOK) WriteResponse

func (o *UpdateUserGroupsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateUserGroupsParams

type UpdateUserGroupsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.UpdateUserGroups
	/*
	  Required: true
	  In: path
	*/
	Name string
}

UpdateUserGroupsParams contains all the bound params for the update user groups operation typically these are obtained from a http.Request

swagger:parameters UpdateUserGroups

func NewUpdateUserGroupsParams

func NewUpdateUserGroupsParams() UpdateUserGroupsParams

NewUpdateUserGroupsParams creates a new UpdateUserGroupsParams object no default values defined in spec.

func (*UpdateUserGroupsParams) BindRequest

func (o *UpdateUserGroupsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateUserGroupsParams() beforehand.

type UpdateUserGroupsURL

type UpdateUserGroupsURL struct {
	Name string
	// contains filtered or unexported fields
}

UpdateUserGroupsURL generates an URL for the update user groups operation

func (*UpdateUserGroupsURL) Build

func (o *UpdateUserGroupsURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateUserGroupsURL) BuildFull

func (o *UpdateUserGroupsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateUserGroupsURL) Must

func (o *UpdateUserGroupsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateUserGroupsURL) SetBasePath

func (o *UpdateUserGroupsURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateUserGroupsURL) String

func (o *UpdateUserGroupsURL) String() string

String returns the string representation of the path with query string

func (*UpdateUserGroupsURL) StringFull

func (o *UpdateUserGroupsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateUserGroupsURL) WithBasePath

func (o *UpdateUserGroupsURL) WithBasePath(bp string) *UpdateUserGroupsURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type UpdateUserInfo

type UpdateUserInfo struct {
	Context *middleware.Context
	Handler UpdateUserInfoHandler
}

UpdateUserInfo swagger:route PUT /users/{name} AdminAPI updateUserInfo

Update User Info

func NewUpdateUserInfo

func NewUpdateUserInfo(ctx *middleware.Context, handler UpdateUserInfoHandler) *UpdateUserInfo

NewUpdateUserInfo creates a new http.Handler for the update user info operation

func (*UpdateUserInfo) ServeHTTP

func (o *UpdateUserInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateUserInfoDefault

type UpdateUserInfoDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

UpdateUserInfoDefault Generic error response.

swagger:response updateUserInfoDefault

func NewUpdateUserInfoDefault

func NewUpdateUserInfoDefault(code int) *UpdateUserInfoDefault

NewUpdateUserInfoDefault creates UpdateUserInfoDefault with default headers values

func (*UpdateUserInfoDefault) SetPayload

func (o *UpdateUserInfoDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the update user info default response

func (*UpdateUserInfoDefault) SetStatusCode

func (o *UpdateUserInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update user info default response

func (*UpdateUserInfoDefault) WithPayload

func (o *UpdateUserInfoDefault) WithPayload(payload *models.Error) *UpdateUserInfoDefault

WithPayload adds the payload to the update user info default response

func (*UpdateUserInfoDefault) WithStatusCode

func (o *UpdateUserInfoDefault) WithStatusCode(code int) *UpdateUserInfoDefault

WithStatusCode adds the status to the update user info default response

func (*UpdateUserInfoDefault) WriteResponse

func (o *UpdateUserInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateUserInfoHandler

type UpdateUserInfoHandler interface {
	Handle(UpdateUserInfoParams, *models.Principal) middleware.Responder
}

UpdateUserInfoHandler interface for that can handle valid update user info params

type UpdateUserInfoHandlerFunc

type UpdateUserInfoHandlerFunc func(UpdateUserInfoParams, *models.Principal) middleware.Responder

UpdateUserInfoHandlerFunc turns a function with the right signature into a update user info handler

func (UpdateUserInfoHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateUserInfoOK

type UpdateUserInfoOK struct {

	/*
	  In: Body
	*/
	Payload *models.User `json:"body,omitempty"`
}

UpdateUserInfoOK A successful response.

swagger:response updateUserInfoOK

func NewUpdateUserInfoOK

func NewUpdateUserInfoOK() *UpdateUserInfoOK

NewUpdateUserInfoOK creates UpdateUserInfoOK with default headers values

func (*UpdateUserInfoOK) SetPayload

func (o *UpdateUserInfoOK) SetPayload(payload *models.User)

SetPayload sets the payload to the update user info o k response

func (*UpdateUserInfoOK) WithPayload

func (o *UpdateUserInfoOK) WithPayload(payload *models.User) *UpdateUserInfoOK

WithPayload adds the payload to the update user info o k response

func (*UpdateUserInfoOK) WriteResponse

func (o *UpdateUserInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateUserInfoParams

type UpdateUserInfoParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.UpdateUser
	/*
	  Required: true
	  In: path
	*/
	Name string
}

UpdateUserInfoParams contains all the bound params for the update user info operation typically these are obtained from a http.Request

swagger:parameters UpdateUserInfo

func NewUpdateUserInfoParams

func NewUpdateUserInfoParams() UpdateUserInfoParams

NewUpdateUserInfoParams creates a new UpdateUserInfoParams object no default values defined in spec.

func (*UpdateUserInfoParams) BindRequest

func (o *UpdateUserInfoParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewUpdateUserInfoParams() beforehand.

type UpdateUserInfoURL

type UpdateUserInfoURL struct {
	Name string
	// contains filtered or unexported fields
}

UpdateUserInfoURL generates an URL for the update user info operation

func (*UpdateUserInfoURL) Build

func (o *UpdateUserInfoURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateUserInfoURL) BuildFull

func (o *UpdateUserInfoURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateUserInfoURL) Must

func (o *UpdateUserInfoURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*UpdateUserInfoURL) SetBasePath

func (o *UpdateUserInfoURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*UpdateUserInfoURL) String

func (o *UpdateUserInfoURL) String() string

String returns the string representation of the path with query string

func (*UpdateUserInfoURL) StringFull

func (o *UpdateUserInfoURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateUserInfoURL) WithBasePath

func (o *UpdateUserInfoURL) WithBasePath(bp string) *UpdateUserInfoURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL