Documentation ¶
Index ¶
- Constants
- type AddGroup
- type AddGroupCreated
- type AddGroupDefault
- func (o *AddGroupDefault) SetPayload(payload *models.Error)
- func (o *AddGroupDefault) SetStatusCode(code int)
- func (o *AddGroupDefault) WithPayload(payload *models.Error) *AddGroupDefault
- func (o *AddGroupDefault) WithStatusCode(code int) *AddGroupDefault
- func (o *AddGroupDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddGroupHandler
- type AddGroupHandlerFunc
- type AddGroupParams
- type AddGroupURL
- func (o *AddGroupURL) Build() (*url.URL, error)
- func (o *AddGroupURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddGroupURL) Must(u *url.URL, err error) *url.URL
- func (o *AddGroupURL) SetBasePath(bp string)
- func (o *AddGroupURL) String() string
- func (o *AddGroupURL) StringFull(scheme, host string) string
- func (o *AddGroupURL) WithBasePath(bp string) *AddGroupURL
- type AddPolicy
- type AddPolicyCreated
- type AddPolicyDefault
- func (o *AddPolicyDefault) SetPayload(payload *models.Error)
- func (o *AddPolicyDefault) SetStatusCode(code int)
- func (o *AddPolicyDefault) WithPayload(payload *models.Error) *AddPolicyDefault
- func (o *AddPolicyDefault) WithStatusCode(code int) *AddPolicyDefault
- func (o *AddPolicyDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddPolicyHandler
- type AddPolicyHandlerFunc
- type AddPolicyParams
- type AddPolicyURL
- func (o *AddPolicyURL) Build() (*url.URL, error)
- func (o *AddPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *AddPolicyURL) SetBasePath(bp string)
- func (o *AddPolicyURL) String() string
- func (o *AddPolicyURL) StringFull(scheme, host string) string
- func (o *AddPolicyURL) WithBasePath(bp string) *AddPolicyURL
- type AddUser
- type AddUserCreated
- type AddUserDefault
- func (o *AddUserDefault) SetPayload(payload *models.Error)
- func (o *AddUserDefault) SetStatusCode(code int)
- func (o *AddUserDefault) WithPayload(payload *models.Error) *AddUserDefault
- func (o *AddUserDefault) WithStatusCode(code int) *AddUserDefault
- func (o *AddUserDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddUserHandler
- type AddUserHandlerFunc
- type AddUserParams
- type AddUserURL
- func (o *AddUserURL) Build() (*url.URL, error)
- func (o *AddUserURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddUserURL) Must(u *url.URL, err error) *url.URL
- func (o *AddUserURL) SetBasePath(bp string)
- func (o *AddUserURL) String() string
- func (o *AddUserURL) StringFull(scheme, host string) string
- func (o *AddUserURL) WithBasePath(bp string) *AddUserURL
- type ConfigInfo
- type ConfigInfoDefault
- func (o *ConfigInfoDefault) SetPayload(payload *models.Error)
- func (o *ConfigInfoDefault) SetStatusCode(code int)
- func (o *ConfigInfoDefault) WithPayload(payload *models.Error) *ConfigInfoDefault
- func (o *ConfigInfoDefault) WithStatusCode(code int) *ConfigInfoDefault
- func (o *ConfigInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ConfigInfoHandler
- type ConfigInfoHandlerFunc
- type ConfigInfoOK
- type ConfigInfoParams
- type ConfigInfoURL
- func (o *ConfigInfoURL) Build() (*url.URL, error)
- func (o *ConfigInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ConfigInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *ConfigInfoURL) SetBasePath(bp string)
- func (o *ConfigInfoURL) String() string
- func (o *ConfigInfoURL) StringFull(scheme, host string) string
- func (o *ConfigInfoURL) WithBasePath(bp string) *ConfigInfoURL
- type GroupInfo
- type GroupInfoDefault
- func (o *GroupInfoDefault) SetPayload(payload *models.Error)
- func (o *GroupInfoDefault) SetStatusCode(code int)
- func (o *GroupInfoDefault) WithPayload(payload *models.Error) *GroupInfoDefault
- func (o *GroupInfoDefault) WithStatusCode(code int) *GroupInfoDefault
- func (o *GroupInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GroupInfoHandler
- type GroupInfoHandlerFunc
- type GroupInfoOK
- type GroupInfoParams
- type GroupInfoURL
- func (o *GroupInfoURL) Build() (*url.URL, error)
- func (o *GroupInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GroupInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *GroupInfoURL) SetBasePath(bp string)
- func (o *GroupInfoURL) String() string
- func (o *GroupInfoURL) StringFull(scheme, host string) string
- func (o *GroupInfoURL) WithBasePath(bp string) *GroupInfoURL
- type ListConfig
- type ListConfigDefault
- func (o *ListConfigDefault) SetPayload(payload *models.Error)
- func (o *ListConfigDefault) SetStatusCode(code int)
- func (o *ListConfigDefault) WithPayload(payload *models.Error) *ListConfigDefault
- func (o *ListConfigDefault) WithStatusCode(code int) *ListConfigDefault
- func (o *ListConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListConfigHandler
- type ListConfigHandlerFunc
- type ListConfigOK
- type ListConfigParams
- type ListConfigURL
- func (o *ListConfigURL) Build() (*url.URL, error)
- func (o *ListConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *ListConfigURL) SetBasePath(bp string)
- func (o *ListConfigURL) String() string
- func (o *ListConfigURL) StringFull(scheme, host string) string
- func (o *ListConfigURL) WithBasePath(bp string) *ListConfigURL
- type ListGroups
- type ListGroupsDefault
- func (o *ListGroupsDefault) SetPayload(payload *models.Error)
- func (o *ListGroupsDefault) SetStatusCode(code int)
- func (o *ListGroupsDefault) WithPayload(payload *models.Error) *ListGroupsDefault
- func (o *ListGroupsDefault) WithStatusCode(code int) *ListGroupsDefault
- func (o *ListGroupsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListGroupsHandler
- type ListGroupsHandlerFunc
- type ListGroupsOK
- type ListGroupsParams
- type ListGroupsURL
- func (o *ListGroupsURL) Build() (*url.URL, error)
- func (o *ListGroupsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListGroupsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListGroupsURL) SetBasePath(bp string)
- func (o *ListGroupsURL) String() string
- func (o *ListGroupsURL) StringFull(scheme, host string) string
- func (o *ListGroupsURL) WithBasePath(bp string) *ListGroupsURL
- type ListPolicies
- type ListPoliciesDefault
- func (o *ListPoliciesDefault) SetPayload(payload *models.Error)
- func (o *ListPoliciesDefault) SetStatusCode(code int)
- func (o *ListPoliciesDefault) WithPayload(payload *models.Error) *ListPoliciesDefault
- func (o *ListPoliciesDefault) WithStatusCode(code int) *ListPoliciesDefault
- func (o *ListPoliciesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListPoliciesHandler
- type ListPoliciesHandlerFunc
- type ListPoliciesOK
- type ListPoliciesParams
- type ListPoliciesURL
- func (o *ListPoliciesURL) Build() (*url.URL, error)
- func (o *ListPoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListPoliciesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListPoliciesURL) SetBasePath(bp string)
- func (o *ListPoliciesURL) String() string
- func (o *ListPoliciesURL) StringFull(scheme, host string) string
- func (o *ListPoliciesURL) WithBasePath(bp string) *ListPoliciesURL
- type ListUsers
- type ListUsersDefault
- func (o *ListUsersDefault) SetPayload(payload *models.Error)
- func (o *ListUsersDefault) SetStatusCode(code int)
- func (o *ListUsersDefault) WithPayload(payload *models.Error) *ListUsersDefault
- func (o *ListUsersDefault) WithStatusCode(code int) *ListUsersDefault
- func (o *ListUsersDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListUsersHandler
- type ListUsersHandlerFunc
- type ListUsersOK
- type ListUsersParams
- type ListUsersURL
- func (o *ListUsersURL) Build() (*url.URL, error)
- func (o *ListUsersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListUsersURL) Must(u *url.URL, err error) *url.URL
- func (o *ListUsersURL) SetBasePath(bp string)
- func (o *ListUsersURL) String() string
- func (o *ListUsersURL) StringFull(scheme, host string) string
- func (o *ListUsersURL) WithBasePath(bp string) *ListUsersURL
- type PolicyInfo
- type PolicyInfoDefault
- func (o *PolicyInfoDefault) SetPayload(payload *models.Error)
- func (o *PolicyInfoDefault) SetStatusCode(code int)
- func (o *PolicyInfoDefault) WithPayload(payload *models.Error) *PolicyInfoDefault
- func (o *PolicyInfoDefault) WithStatusCode(code int) *PolicyInfoDefault
- func (o *PolicyInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PolicyInfoHandler
- type PolicyInfoHandlerFunc
- type PolicyInfoOK
- type PolicyInfoParams
- type PolicyInfoURL
- func (o *PolicyInfoURL) Build() (*url.URL, error)
- func (o *PolicyInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PolicyInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *PolicyInfoURL) SetBasePath(bp string)
- func (o *PolicyInfoURL) String() string
- func (o *PolicyInfoURL) StringFull(scheme, host string) string
- func (o *PolicyInfoURL) WithBasePath(bp string) *PolicyInfoURL
- type ProfilingStart
- type ProfilingStartCreated
- type ProfilingStartDefault
- func (o *ProfilingStartDefault) SetPayload(payload *models.Error)
- func (o *ProfilingStartDefault) SetStatusCode(code int)
- func (o *ProfilingStartDefault) WithPayload(payload *models.Error) *ProfilingStartDefault
- func (o *ProfilingStartDefault) WithStatusCode(code int) *ProfilingStartDefault
- func (o *ProfilingStartDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProfilingStartHandler
- type ProfilingStartHandlerFunc
- type ProfilingStartParams
- type ProfilingStartURL
- func (o *ProfilingStartURL) Build() (*url.URL, error)
- func (o *ProfilingStartURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ProfilingStartURL) Must(u *url.URL, err error) *url.URL
- func (o *ProfilingStartURL) SetBasePath(bp string)
- func (o *ProfilingStartURL) String() string
- func (o *ProfilingStartURL) StringFull(scheme, host string) string
- func (o *ProfilingStartURL) WithBasePath(bp string) *ProfilingStartURL
- type ProfilingStop
- type ProfilingStopCreated
- type ProfilingStopDefault
- func (o *ProfilingStopDefault) SetPayload(payload *models.Error)
- func (o *ProfilingStopDefault) SetStatusCode(code int)
- func (o *ProfilingStopDefault) WithPayload(payload *models.Error) *ProfilingStopDefault
- func (o *ProfilingStopDefault) WithStatusCode(code int) *ProfilingStopDefault
- func (o *ProfilingStopDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ProfilingStopHandler
- type ProfilingStopHandlerFunc
- type ProfilingStopParams
- type ProfilingStopURL
- func (o *ProfilingStopURL) Build() (*url.URL, error)
- func (o *ProfilingStopURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ProfilingStopURL) Must(u *url.URL, err error) *url.URL
- func (o *ProfilingStopURL) SetBasePath(bp string)
- func (o *ProfilingStopURL) String() string
- func (o *ProfilingStopURL) StringFull(scheme, host string) string
- func (o *ProfilingStopURL) WithBasePath(bp string) *ProfilingStopURL
- type RemoveGroup
- type RemoveGroupDefault
- func (o *RemoveGroupDefault) SetPayload(payload *models.Error)
- func (o *RemoveGroupDefault) SetStatusCode(code int)
- func (o *RemoveGroupDefault) WithPayload(payload *models.Error) *RemoveGroupDefault
- func (o *RemoveGroupDefault) WithStatusCode(code int) *RemoveGroupDefault
- func (o *RemoveGroupDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RemoveGroupHandler
- type RemoveGroupHandlerFunc
- type RemoveGroupNoContent
- type RemoveGroupParams
- type RemoveGroupURL
- func (o *RemoveGroupURL) Build() (*url.URL, error)
- func (o *RemoveGroupURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RemoveGroupURL) Must(u *url.URL, err error) *url.URL
- func (o *RemoveGroupURL) SetBasePath(bp string)
- func (o *RemoveGroupURL) String() string
- func (o *RemoveGroupURL) StringFull(scheme, host string) string
- func (o *RemoveGroupURL) WithBasePath(bp string) *RemoveGroupURL
- type RemovePolicy
- type RemovePolicyDefault
- func (o *RemovePolicyDefault) SetPayload(payload *models.Error)
- func (o *RemovePolicyDefault) SetStatusCode(code int)
- func (o *RemovePolicyDefault) WithPayload(payload *models.Error) *RemovePolicyDefault
- func (o *RemovePolicyDefault) WithStatusCode(code int) *RemovePolicyDefault
- func (o *RemovePolicyDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RemovePolicyHandler
- type RemovePolicyHandlerFunc
- type RemovePolicyNoContent
- type RemovePolicyParams
- type RemovePolicyURL
- func (o *RemovePolicyURL) Build() (*url.URL, error)
- func (o *RemovePolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RemovePolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *RemovePolicyURL) SetBasePath(bp string)
- func (o *RemovePolicyURL) String() string
- func (o *RemovePolicyURL) StringFull(scheme, host string) string
- func (o *RemovePolicyURL) WithBasePath(bp string) *RemovePolicyURL
- type RestartService
- type RestartServiceDefault
- func (o *RestartServiceDefault) SetPayload(payload *models.Error)
- func (o *RestartServiceDefault) SetStatusCode(code int)
- func (o *RestartServiceDefault) WithPayload(payload *models.Error) *RestartServiceDefault
- func (o *RestartServiceDefault) WithStatusCode(code int) *RestartServiceDefault
- func (o *RestartServiceDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RestartServiceHandler
- type RestartServiceHandlerFunc
- type RestartServiceNoContent
- type RestartServiceParams
- type RestartServiceURL
- func (o *RestartServiceURL) Build() (*url.URL, error)
- func (o *RestartServiceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RestartServiceURL) Must(u *url.URL, err error) *url.URL
- func (o *RestartServiceURL) SetBasePath(bp string)
- func (o *RestartServiceURL) String() string
- func (o *RestartServiceURL) StringFull(scheme, host string) string
- func (o *RestartServiceURL) WithBasePath(bp string) *RestartServiceURL
- type SetConfig
- type SetConfigDefault
- func (o *SetConfigDefault) SetPayload(payload *models.Error)
- func (o *SetConfigDefault) SetStatusCode(code int)
- func (o *SetConfigDefault) WithPayload(payload *models.Error) *SetConfigDefault
- func (o *SetConfigDefault) WithStatusCode(code int) *SetConfigDefault
- func (o *SetConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SetConfigHandler
- type SetConfigHandlerFunc
- type SetConfigNoContent
- type SetConfigParams
- type SetConfigURL
- func (o *SetConfigURL) Build() (*url.URL, error)
- func (o *SetConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SetConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *SetConfigURL) SetBasePath(bp string)
- func (o *SetConfigURL) String() string
- func (o *SetConfigURL) StringFull(scheme, host string) string
- func (o *SetConfigURL) WithBasePath(bp string) *SetConfigURL
- type SetPolicy
- type SetPolicyDefault
- func (o *SetPolicyDefault) SetPayload(payload *models.Error)
- func (o *SetPolicyDefault) SetStatusCode(code int)
- func (o *SetPolicyDefault) WithPayload(payload *models.Error) *SetPolicyDefault
- func (o *SetPolicyDefault) WithStatusCode(code int) *SetPolicyDefault
- func (o *SetPolicyDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SetPolicyHandler
- type SetPolicyHandlerFunc
- type SetPolicyNoContent
- type SetPolicyParams
- type SetPolicyURL
- func (o *SetPolicyURL) Build() (*url.URL, error)
- func (o *SetPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SetPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *SetPolicyURL) SetBasePath(bp string)
- func (o *SetPolicyURL) String() string
- func (o *SetPolicyURL) StringFull(scheme, host string) string
- func (o *SetPolicyURL) WithBasePath(bp string) *SetPolicyURL
- type UpdateGroup
- type UpdateGroupDefault
- func (o *UpdateGroupDefault) SetPayload(payload *models.Error)
- func (o *UpdateGroupDefault) SetStatusCode(code int)
- func (o *UpdateGroupDefault) WithPayload(payload *models.Error) *UpdateGroupDefault
- func (o *UpdateGroupDefault) WithStatusCode(code int) *UpdateGroupDefault
- func (o *UpdateGroupDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateGroupHandler
- type UpdateGroupHandlerFunc
- type UpdateGroupOK
- type UpdateGroupParams
- type UpdateGroupURL
- func (o *UpdateGroupURL) Build() (*url.URL, error)
- func (o *UpdateGroupURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateGroupURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateGroupURL) SetBasePath(bp string)
- func (o *UpdateGroupURL) String() string
- func (o *UpdateGroupURL) StringFull(scheme, host string) string
- func (o *UpdateGroupURL) WithBasePath(bp string) *UpdateGroupURL
Constants ¶
const AddGroupCreatedCode int = 201
AddGroupCreatedCode is the HTTP code returned for type AddGroupCreated
const AddPolicyCreatedCode int = 201
AddPolicyCreatedCode is the HTTP code returned for type AddPolicyCreated
const AddUserCreatedCode int = 201
AddUserCreatedCode is the HTTP code returned for type AddUserCreated
const ConfigInfoOKCode int = 200
ConfigInfoOKCode is the HTTP code returned for type ConfigInfoOK
const GroupInfoOKCode int = 200
GroupInfoOKCode is the HTTP code returned for type GroupInfoOK
const ListConfigOKCode int = 200
ListConfigOKCode is the HTTP code returned for type ListConfigOK
const ListGroupsOKCode int = 200
ListGroupsOKCode is the HTTP code returned for type ListGroupsOK
const ListPoliciesOKCode int = 200
ListPoliciesOKCode is the HTTP code returned for type ListPoliciesOK
const ListUsersOKCode int = 200
ListUsersOKCode is the HTTP code returned for type ListUsersOK
const PolicyInfoOKCode int = 200
PolicyInfoOKCode is the HTTP code returned for type PolicyInfoOK
const ProfilingStartCreatedCode int = 201
ProfilingStartCreatedCode is the HTTP code returned for type ProfilingStartCreated
const ProfilingStopCreatedCode int = 201
ProfilingStopCreatedCode is the HTTP code returned for type ProfilingStopCreated
const RemoveGroupNoContentCode int = 204
RemoveGroupNoContentCode is the HTTP code returned for type RemoveGroupNoContent
const RemovePolicyNoContentCode int = 204
RemovePolicyNoContentCode is the HTTP code returned for type RemovePolicyNoContent
const RestartServiceNoContentCode int = 204
RestartServiceNoContentCode is the HTTP code returned for type RestartServiceNoContent
const SetConfigNoContentCode int = 204
SetConfigNoContentCode is the HTTP code returned for type SetConfigNoContent
const SetPolicyNoContentCode int = 204
SetPolicyNoContentCode is the HTTP code returned for type SetPolicyNoContent
const UpdateGroupOKCode int = 200
UpdateGroupOKCode is the HTTP code returned for type UpdateGroupOK
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 /api/v1/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
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, interface{}) middleware.Responder
}
AddGroupHandler interface for that can handle valid add group params
type AddGroupHandlerFunc ¶
type AddGroupHandlerFunc func(AddGroupParams, interface{}) middleware.Responder
AddGroupHandlerFunc turns a function with the right signature into a add group handler
func (AddGroupHandlerFunc) Handle ¶
func (fn AddGroupHandlerFunc) Handle(params AddGroupParams, principal interface{}) middleware.Responder
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) 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 AddPolicy ¶
type AddPolicy struct { Context *middleware.Context Handler AddPolicyHandler }
AddPolicy swagger:route POST /api/v1/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
type AddPolicyCreated ¶
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, interface{}) middleware.Responder
}
AddPolicyHandler interface for that can handle valid add policy params
type AddPolicyHandlerFunc ¶
type AddPolicyHandlerFunc func(AddPolicyParams, interface{}) middleware.Responder
AddPolicyHandlerFunc turns a function with the right signature into a add policy handler
func (AddPolicyHandlerFunc) Handle ¶
func (fn AddPolicyHandlerFunc) Handle(params AddPolicyParams, principal interface{}) middleware.Responder
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 ¶
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 /api/v1/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
type AddUserCreated ¶
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, interface{}) middleware.Responder
}
AddUserHandler interface for that can handle valid add user params
type AddUserHandlerFunc ¶
type AddUserHandlerFunc func(AddUserParams, interface{}) 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 interface{}) 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) 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 ConfigInfo ¶
type ConfigInfo struct { Context *middleware.Context Handler ConfigInfoHandler }
ConfigInfo swagger:route GET /api/v1/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, interface{}) middleware.Responder
}
ConfigInfoHandler interface for that can handle valid config info params
type ConfigInfoHandlerFunc ¶
type ConfigInfoHandlerFunc func(ConfigInfoParams, interface{}) middleware.Responder
ConfigInfoHandlerFunc turns a function with the right signature into a config info handler
func (ConfigInfoHandlerFunc) Handle ¶
func (fn ConfigInfoHandlerFunc) Handle(params ConfigInfoParams, principal interface{}) middleware.Responder
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 ¶
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 GroupInfo ¶
type GroupInfo struct { Context *middleware.Context Handler GroupInfoHandler }
GroupInfo swagger:route GET /api/v1/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
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, interface{}) middleware.Responder
}
GroupInfoHandler interface for that can handle valid group info params
type GroupInfoHandlerFunc ¶
type GroupInfoHandlerFunc func(GroupInfoParams, interface{}) middleware.Responder
GroupInfoHandlerFunc turns a function with the right signature into a group info handler
func (GroupInfoHandlerFunc) Handle ¶
func (fn GroupInfoHandlerFunc) Handle(params GroupInfoParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GroupInfoOK ¶
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 ¶
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 ListConfig ¶
type ListConfig struct { Context *middleware.Context Handler ListConfigHandler }
ListConfig swagger:route GET /api/v1/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, interface{}) middleware.Responder
}
ListConfigHandler interface for that can handle valid list config params
type ListConfigHandlerFunc ¶
type ListConfigHandlerFunc func(ListConfigParams, interface{}) middleware.Responder
ListConfigHandlerFunc turns a function with the right signature into a list config handler
func (ListConfigHandlerFunc) Handle ¶
func (fn ListConfigHandlerFunc) Handle(params ListConfigParams, principal interface{}) middleware.Responder
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 ¶
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 ¶
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 /api/v1/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, interface{}) middleware.Responder
}
ListGroupsHandler interface for that can handle valid list groups params
type ListGroupsHandlerFunc ¶
type ListGroupsHandlerFunc func(ListGroupsParams, interface{}) middleware.Responder
ListGroupsHandlerFunc turns a function with the right signature into a list groups handler
func (ListGroupsHandlerFunc) Handle ¶
func (fn ListGroupsHandlerFunc) Handle(params ListGroupsParams, principal interface{}) middleware.Responder
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 ¶
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 ¶
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 /api/v1/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, interface{}) middleware.Responder
}
ListPoliciesHandler interface for that can handle valid list policies params
type ListPoliciesHandlerFunc ¶
type ListPoliciesHandlerFunc func(ListPoliciesParams, interface{}) middleware.Responder
ListPoliciesHandlerFunc turns a function with the right signature into a list policies handler
func (ListPoliciesHandlerFunc) Handle ¶
func (fn ListPoliciesHandlerFunc) Handle(params ListPoliciesParams, principal interface{}) middleware.Responder
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 ¶
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 ListUsers ¶
type ListUsers struct { Context *middleware.Context Handler ListUsersHandler }
ListUsers swagger:route GET /api/v1/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
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, interface{}) middleware.Responder
}
ListUsersHandler interface for that can handle valid list users params
type ListUsersHandlerFunc ¶
type ListUsersHandlerFunc func(ListUsersParams, interface{}) middleware.Responder
ListUsersHandlerFunc turns a function with the right signature into a list users handler
func (ListUsersHandlerFunc) Handle ¶
func (fn ListUsersHandlerFunc) Handle(params ListUsersParams, principal interface{}) middleware.Responder
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 ¶
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 ¶
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 PolicyInfo ¶
type PolicyInfo struct { Context *middleware.Context Handler PolicyInfoHandler }
PolicyInfo swagger:route GET /api/v1/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, interface{}) middleware.Responder
}
PolicyInfoHandler interface for that can handle valid policy info params
type PolicyInfoHandlerFunc ¶
type PolicyInfoHandlerFunc func(PolicyInfoParams, interface{}) middleware.Responder
PolicyInfoHandlerFunc turns a function with the right signature into a policy info handler
func (PolicyInfoHandlerFunc) Handle ¶
func (fn PolicyInfoHandlerFunc) Handle(params PolicyInfoParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PolicyInfoOK ¶
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 ¶
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 /api/v1/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 ¶
func (o *ProfilingStartCreated) WithPayload(payload *models.StartProfilingList) *ProfilingStartCreated
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, interface{}) middleware.Responder
}
ProfilingStartHandler interface for that can handle valid profiling start params
type ProfilingStartHandlerFunc ¶
type ProfilingStartHandlerFunc func(ProfilingStartParams, interface{}) middleware.Responder
ProfilingStartHandlerFunc turns a function with the right signature into a profiling start handler
func (ProfilingStartHandlerFunc) Handle ¶
func (fn ProfilingStartHandlerFunc) Handle(params ProfilingStartParams, principal interface{}) middleware.Responder
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 ¶
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 /api/v1/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, interface{}) middleware.Responder
}
ProfilingStopHandler interface for that can handle valid profiling stop params
type ProfilingStopHandlerFunc ¶
type ProfilingStopHandlerFunc func(ProfilingStopParams, interface{}) middleware.Responder
ProfilingStopHandlerFunc turns a function with the right signature into a profiling stop handler
func (ProfilingStopHandlerFunc) Handle ¶
func (fn ProfilingStopHandlerFunc) Handle(params ProfilingStopParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ProfilingStopParams ¶
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 ¶
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 /api/v1/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, interface{}) middleware.Responder
}
RemoveGroupHandler interface for that can handle valid remove group params
type RemoveGroupHandlerFunc ¶
type RemoveGroupHandlerFunc func(RemoveGroupParams, interface{}) middleware.Responder
RemoveGroupHandlerFunc turns a function with the right signature into a remove group handler
func (RemoveGroupHandlerFunc) Handle ¶
func (fn RemoveGroupHandlerFunc) Handle(params RemoveGroupParams, principal interface{}) middleware.Responder
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 ¶
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 /api/v1/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, interface{}) middleware.Responder
}
RemovePolicyHandler interface for that can handle valid remove policy params
type RemovePolicyHandlerFunc ¶
type RemovePolicyHandlerFunc func(RemovePolicyParams, interface{}) middleware.Responder
RemovePolicyHandlerFunc turns a function with the right signature into a remove policy handler
func (RemovePolicyHandlerFunc) Handle ¶
func (fn RemovePolicyHandlerFunc) Handle(params RemovePolicyParams, principal interface{}) middleware.Responder
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 ¶
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 RestartService ¶
type RestartService struct { Context *middleware.Context Handler RestartServiceHandler }
RestartService swagger:route POST /api/v1/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, interface{}) middleware.Responder
}
RestartServiceHandler interface for that can handle valid restart service params
type RestartServiceHandlerFunc ¶
type RestartServiceHandlerFunc func(RestartServiceParams, interface{}) middleware.Responder
RestartServiceHandlerFunc turns a function with the right signature into a restart service handler
func (RestartServiceHandlerFunc) Handle ¶
func (fn RestartServiceHandlerFunc) Handle(params RestartServiceParams, principal interface{}) middleware.Responder
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 ¶
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 ¶
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 /api/v1/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
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, interface{}) middleware.Responder
}
SetConfigHandler interface for that can handle valid set config params
type SetConfigHandlerFunc ¶
type SetConfigHandlerFunc func(SetConfigParams, interface{}) middleware.Responder
SetConfigHandlerFunc turns a function with the right signature into a set config handler
func (SetConfigHandlerFunc) Handle ¶
func (fn SetConfigHandlerFunc) Handle(params SetConfigParams, principal interface{}) middleware.Responder
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 ¶
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 /api/v1/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
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, interface{}) middleware.Responder
}
SetPolicyHandler interface for that can handle valid set policy params
type SetPolicyHandlerFunc ¶
type SetPolicyHandlerFunc func(SetPolicyParams, interface{}) middleware.Responder
SetPolicyHandlerFunc turns a function with the right signature into a set policy handler
func (SetPolicyHandlerFunc) Handle ¶
func (fn SetPolicyHandlerFunc) Handle(params SetPolicyParams, principal interface{}) middleware.Responder
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 ¶
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 UpdateGroup ¶
type UpdateGroup struct { Context *middleware.Context Handler UpdateGroupHandler }
UpdateGroup swagger:route PUT /api/v1/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, interface{}) middleware.Responder
}
UpdateGroupHandler interface for that can handle valid update group params
type UpdateGroupHandlerFunc ¶
type UpdateGroupHandlerFunc func(UpdateGroupParams, interface{}) middleware.Responder
UpdateGroupHandlerFunc turns a function with the right signature into a update group handler
func (UpdateGroupHandlerFunc) Handle ¶
func (fn UpdateGroupHandlerFunc) Handle(params UpdateGroupParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateGroupOK ¶
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 ¶
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
Source Files ¶
- add_group.go
- add_group_parameters.go
- add_group_responses.go
- add_group_urlbuilder.go
- add_policy.go
- add_policy_parameters.go
- add_policy_responses.go
- add_policy_urlbuilder.go
- add_user.go
- add_user_parameters.go
- add_user_responses.go
- add_user_urlbuilder.go
- config_info.go
- config_info_parameters.go
- config_info_responses.go
- config_info_urlbuilder.go
- group_info.go
- group_info_parameters.go
- group_info_responses.go
- group_info_urlbuilder.go
- list_config.go
- list_config_parameters.go
- list_config_responses.go
- list_config_urlbuilder.go
- list_groups.go
- list_groups_parameters.go
- list_groups_responses.go
- list_groups_urlbuilder.go
- list_policies.go
- list_policies_parameters.go
- list_policies_responses.go
- list_policies_urlbuilder.go
- list_users.go
- list_users_parameters.go
- list_users_responses.go
- list_users_urlbuilder.go
- policy_info.go
- policy_info_parameters.go
- policy_info_responses.go
- policy_info_urlbuilder.go
- profiling_start.go
- profiling_start_parameters.go
- profiling_start_responses.go
- profiling_start_urlbuilder.go
- profiling_stop.go
- profiling_stop_parameters.go
- profiling_stop_responses.go
- profiling_stop_urlbuilder.go
- remove_group.go
- remove_group_parameters.go
- remove_group_responses.go
- remove_group_urlbuilder.go
- remove_policy.go
- remove_policy_parameters.go
- remove_policy_responses.go
- remove_policy_urlbuilder.go
- restart_service.go
- restart_service_parameters.go
- restart_service_responses.go
- restart_service_urlbuilder.go
- set_config.go
- set_config_parameters.go
- set_config_responses.go
- set_config_urlbuilder.go
- set_policy.go
- set_policy_parameters.go
- set_policy_responses.go
- set_policy_urlbuilder.go
- update_group.go
- update_group_parameters.go
- update_group_responses.go
- update_group_urlbuilder.go