Documentation ¶
Index ¶
- Constants
- 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 BulkUpdateUsersGroups
- type BulkUpdateUsersGroupsDefault
- func (o *BulkUpdateUsersGroupsDefault) SetPayload(payload *models.Error)
- func (o *BulkUpdateUsersGroupsDefault) SetStatusCode(code int)
- func (o *BulkUpdateUsersGroupsDefault) WithPayload(payload *models.Error) *BulkUpdateUsersGroupsDefault
- func (o *BulkUpdateUsersGroupsDefault) WithStatusCode(code int) *BulkUpdateUsersGroupsDefault
- func (o *BulkUpdateUsersGroupsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type BulkUpdateUsersGroupsHandler
- type BulkUpdateUsersGroupsHandlerFunc
- type BulkUpdateUsersGroupsOK
- type BulkUpdateUsersGroupsParams
- type BulkUpdateUsersGroupsURL
- func (o *BulkUpdateUsersGroupsURL) Build() (*url.URL, error)
- func (o *BulkUpdateUsersGroupsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *BulkUpdateUsersGroupsURL) Must(u *url.URL, err error) *url.URL
- func (o *BulkUpdateUsersGroupsURL) SetBasePath(bp string)
- func (o *BulkUpdateUsersGroupsURL) String() string
- func (o *BulkUpdateUsersGroupsURL) StringFull(scheme, host string) string
- func (o *BulkUpdateUsersGroupsURL) WithBasePath(bp string) *BulkUpdateUsersGroupsURL
- type CheckUserServiceAccounts
- type CheckUserServiceAccountsDefault
- func (o *CheckUserServiceAccountsDefault) SetPayload(payload *models.Error)
- func (o *CheckUserServiceAccountsDefault) SetStatusCode(code int)
- func (o *CheckUserServiceAccountsDefault) WithPayload(payload *models.Error) *CheckUserServiceAccountsDefault
- func (o *CheckUserServiceAccountsDefault) WithStatusCode(code int) *CheckUserServiceAccountsDefault
- func (o *CheckUserServiceAccountsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CheckUserServiceAccountsHandler
- type CheckUserServiceAccountsHandlerFunc
- type CheckUserServiceAccountsOK
- func (o *CheckUserServiceAccountsOK) SetPayload(payload *models.UserServiceAccountSummary)
- func (o *CheckUserServiceAccountsOK) WithPayload(payload *models.UserServiceAccountSummary) *CheckUserServiceAccountsOK
- func (o *CheckUserServiceAccountsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CheckUserServiceAccountsParams
- type CheckUserServiceAccountsURL
- func (o *CheckUserServiceAccountsURL) Build() (*url.URL, error)
- func (o *CheckUserServiceAccountsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CheckUserServiceAccountsURL) Must(u *url.URL, err error) *url.URL
- func (o *CheckUserServiceAccountsURL) SetBasePath(bp string)
- func (o *CheckUserServiceAccountsURL) String() string
- func (o *CheckUserServiceAccountsURL) StringFull(scheme, host string) string
- func (o *CheckUserServiceAccountsURL) WithBasePath(bp string) *CheckUserServiceAccountsURL
- type CreateAUserServiceAccount
- type CreateAUserServiceAccountCreated
- func (o *CreateAUserServiceAccountCreated) SetPayload(payload *models.ServiceAccountCreds)
- func (o *CreateAUserServiceAccountCreated) WithPayload(payload *models.ServiceAccountCreds) *CreateAUserServiceAccountCreated
- func (o *CreateAUserServiceAccountCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAUserServiceAccountDefault
- func (o *CreateAUserServiceAccountDefault) SetPayload(payload *models.Error)
- func (o *CreateAUserServiceAccountDefault) SetStatusCode(code int)
- func (o *CreateAUserServiceAccountDefault) WithPayload(payload *models.Error) *CreateAUserServiceAccountDefault
- func (o *CreateAUserServiceAccountDefault) WithStatusCode(code int) *CreateAUserServiceAccountDefault
- func (o *CreateAUserServiceAccountDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAUserServiceAccountHandler
- type CreateAUserServiceAccountHandlerFunc
- type CreateAUserServiceAccountParams
- type CreateAUserServiceAccountURL
- func (o *CreateAUserServiceAccountURL) Build() (*url.URL, error)
- func (o *CreateAUserServiceAccountURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateAUserServiceAccountURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateAUserServiceAccountURL) SetBasePath(bp string)
- func (o *CreateAUserServiceAccountURL) String() string
- func (o *CreateAUserServiceAccountURL) StringFull(scheme, host string) string
- func (o *CreateAUserServiceAccountURL) WithBasePath(bp string) *CreateAUserServiceAccountURL
- type CreateServiceAccountCredentials
- type CreateServiceAccountCredentialsCreated
- func (o *CreateServiceAccountCredentialsCreated) SetPayload(payload *models.ServiceAccountCreds)
- func (o *CreateServiceAccountCredentialsCreated) WithPayload(payload *models.ServiceAccountCreds) *CreateServiceAccountCredentialsCreated
- func (o *CreateServiceAccountCredentialsCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServiceAccountCredentialsDefault
- func (o *CreateServiceAccountCredentialsDefault) SetPayload(payload *models.Error)
- func (o *CreateServiceAccountCredentialsDefault) SetStatusCode(code int)
- func (o *CreateServiceAccountCredentialsDefault) WithPayload(payload *models.Error) *CreateServiceAccountCredentialsDefault
- func (o *CreateServiceAccountCredentialsDefault) WithStatusCode(code int) *CreateServiceAccountCredentialsDefault
- func (o *CreateServiceAccountCredentialsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServiceAccountCredentialsHandler
- type CreateServiceAccountCredentialsHandlerFunc
- type CreateServiceAccountCredentialsParams
- type CreateServiceAccountCredentialsURL
- func (o *CreateServiceAccountCredentialsURL) Build() (*url.URL, error)
- func (o *CreateServiceAccountCredentialsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateServiceAccountCredentialsURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateServiceAccountCredentialsURL) SetBasePath(bp string)
- func (o *CreateServiceAccountCredentialsURL) String() string
- func (o *CreateServiceAccountCredentialsURL) StringFull(scheme, host string) string
- func (o *CreateServiceAccountCredentialsURL) WithBasePath(bp string) *CreateServiceAccountCredentialsURL
- type GetUserInfo
- type GetUserInfoDefault
- func (o *GetUserInfoDefault) SetPayload(payload *models.Error)
- func (o *GetUserInfoDefault) SetStatusCode(code int)
- func (o *GetUserInfoDefault) WithPayload(payload *models.Error) *GetUserInfoDefault
- func (o *GetUserInfoDefault) WithStatusCode(code int) *GetUserInfoDefault
- func (o *GetUserInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetUserInfoHandler
- type GetUserInfoHandlerFunc
- type GetUserInfoOK
- type GetUserInfoParams
- type GetUserInfoURL
- func (o *GetUserInfoURL) Build() (*url.URL, error)
- func (o *GetUserInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetUserInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *GetUserInfoURL) SetBasePath(bp string)
- func (o *GetUserInfoURL) String() string
- func (o *GetUserInfoURL) StringFull(scheme, host string) string
- func (o *GetUserInfoURL) WithBasePath(bp string) *GetUserInfoURL
- type ListAUserServiceAccounts
- type ListAUserServiceAccountsDefault
- func (o *ListAUserServiceAccountsDefault) SetPayload(payload *models.Error)
- func (o *ListAUserServiceAccountsDefault) SetStatusCode(code int)
- func (o *ListAUserServiceAccountsDefault) WithPayload(payload *models.Error) *ListAUserServiceAccountsDefault
- func (o *ListAUserServiceAccountsDefault) WithStatusCode(code int) *ListAUserServiceAccountsDefault
- func (o *ListAUserServiceAccountsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAUserServiceAccountsHandler
- type ListAUserServiceAccountsHandlerFunc
- type ListAUserServiceAccountsOK
- type ListAUserServiceAccountsParams
- type ListAUserServiceAccountsURL
- func (o *ListAUserServiceAccountsURL) Build() (*url.URL, error)
- func (o *ListAUserServiceAccountsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAUserServiceAccountsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAUserServiceAccountsURL) SetBasePath(bp string)
- func (o *ListAUserServiceAccountsURL) String() string
- func (o *ListAUserServiceAccountsURL) StringFull(scheme, host string) string
- func (o *ListAUserServiceAccountsURL) WithBasePath(bp string) *ListAUserServiceAccountsURL
- 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 RemoveUser
- type RemoveUserDefault
- func (o *RemoveUserDefault) SetPayload(payload *models.Error)
- func (o *RemoveUserDefault) SetStatusCode(code int)
- func (o *RemoveUserDefault) WithPayload(payload *models.Error) *RemoveUserDefault
- func (o *RemoveUserDefault) WithStatusCode(code int) *RemoveUserDefault
- func (o *RemoveUserDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RemoveUserHandler
- type RemoveUserHandlerFunc
- type RemoveUserNoContent
- type RemoveUserParams
- type RemoveUserURL
- func (o *RemoveUserURL) Build() (*url.URL, error)
- func (o *RemoveUserURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RemoveUserURL) Must(u *url.URL, err error) *url.URL
- func (o *RemoveUserURL) SetBasePath(bp string)
- func (o *RemoveUserURL) String() string
- func (o *RemoveUserURL) StringFull(scheme, host string) string
- func (o *RemoveUserURL) WithBasePath(bp string) *RemoveUserURL
- type UpdateUserGroups
- type UpdateUserGroupsDefault
- func (o *UpdateUserGroupsDefault) SetPayload(payload *models.Error)
- func (o *UpdateUserGroupsDefault) SetStatusCode(code int)
- func (o *UpdateUserGroupsDefault) WithPayload(payload *models.Error) *UpdateUserGroupsDefault
- func (o *UpdateUserGroupsDefault) WithStatusCode(code int) *UpdateUserGroupsDefault
- func (o *UpdateUserGroupsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateUserGroupsHandler
- type UpdateUserGroupsHandlerFunc
- type UpdateUserGroupsOK
- type UpdateUserGroupsParams
- type UpdateUserGroupsURL
- func (o *UpdateUserGroupsURL) Build() (*url.URL, error)
- func (o *UpdateUserGroupsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateUserGroupsURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateUserGroupsURL) SetBasePath(bp string)
- func (o *UpdateUserGroupsURL) String() string
- func (o *UpdateUserGroupsURL) StringFull(scheme, host string) string
- func (o *UpdateUserGroupsURL) WithBasePath(bp string) *UpdateUserGroupsURL
- type UpdateUserInfo
- type UpdateUserInfoDefault
- func (o *UpdateUserInfoDefault) SetPayload(payload *models.Error)
- func (o *UpdateUserInfoDefault) SetStatusCode(code int)
- func (o *UpdateUserInfoDefault) WithPayload(payload *models.Error) *UpdateUserInfoDefault
- func (o *UpdateUserInfoDefault) WithStatusCode(code int) *UpdateUserInfoDefault
- func (o *UpdateUserInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateUserInfoHandler
- type UpdateUserInfoHandlerFunc
- type UpdateUserInfoOK
- type UpdateUserInfoParams
- type UpdateUserInfoURL
- func (o *UpdateUserInfoURL) Build() (*url.URL, error)
- func (o *UpdateUserInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateUserInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateUserInfoURL) SetBasePath(bp string)
- func (o *UpdateUserInfoURL) String() string
- func (o *UpdateUserInfoURL) StringFull(scheme, host string) string
- func (o *UpdateUserInfoURL) WithBasePath(bp string) *UpdateUserInfoURL
Constants ¶
const AddUserCreatedCode int = 201
AddUserCreatedCode is the HTTP code returned for type AddUserCreated
const BulkUpdateUsersGroupsOKCode int = 200
BulkUpdateUsersGroupsOKCode is the HTTP code returned for type BulkUpdateUsersGroupsOK
const CheckUserServiceAccountsOKCode int = 200
CheckUserServiceAccountsOKCode is the HTTP code returned for type CheckUserServiceAccountsOK
const CreateAUserServiceAccountCreatedCode int = 201
CreateAUserServiceAccountCreatedCode is the HTTP code returned for type CreateAUserServiceAccountCreated
const CreateServiceAccountCredentialsCreatedCode int = 201
CreateServiceAccountCredentialsCreatedCode is the HTTP code returned for type CreateServiceAccountCredentialsCreated
const GetUserInfoOKCode int = 200
GetUserInfoOKCode is the HTTP code returned for type GetUserInfoOK
const ListAUserServiceAccountsOKCode int = 200
ListAUserServiceAccountsOKCode is the HTTP code returned for type ListAUserServiceAccountsOK
const ListUsersOKCode int = 200
ListUsersOKCode is the HTTP code returned for type ListUsersOK
const RemoveUserNoContentCode int = 204
RemoveUserNoContentCode is the HTTP code returned for type RemoveUserNoContent
const UpdateUserGroupsOKCode int = 200
UpdateUserGroupsOKCode is the HTTP code returned for type UpdateUserGroupsOK
const UpdateUserInfoOKCode int = 200
UpdateUserInfoOKCode is the HTTP code returned for type UpdateUserInfoOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddUser ¶
type AddUser struct { Context *middleware.Context Handler AddUserHandler }
AddUser swagger:route POST /users User 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, *models.Principal) middleware.Responder
}
AddUserHandler interface for that can handle valid add user params
type AddUserHandlerFunc ¶
type AddUserHandlerFunc func(AddUserParams, *models.Principal) middleware.Responder
AddUserHandlerFunc turns a function with the right signature into a add user handler
func (AddUserHandlerFunc) Handle ¶
func (fn AddUserHandlerFunc) Handle(params AddUserParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type AddUserParams ¶
type AddUserParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.AddUserRequest }
AddUserParams contains all the bound params for the add user operation typically these are obtained from a http.Request
swagger:parameters AddUser
func NewAddUserParams ¶
func NewAddUserParams() AddUserParams
NewAddUserParams creates a new AddUserParams object
There are no default values defined in the spec.
func (*AddUserParams) BindRequest ¶
func (o *AddUserParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewAddUserParams() beforehand.
type AddUserURL ¶
type AddUserURL struct {
// contains filtered or unexported fields
}
AddUserURL generates an URL for the add user operation
func (*AddUserURL) Build ¶
func (o *AddUserURL) Build() (*url.URL, error)
Build a url path and query string
func (*AddUserURL) BuildFull ¶
func (o *AddUserURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*AddUserURL) 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 BulkUpdateUsersGroups ¶
type BulkUpdateUsersGroups struct { Context *middleware.Context Handler BulkUpdateUsersGroupsHandler }
BulkUpdateUsersGroups swagger:route PUT /users-groups-bulk User bulkUpdateUsersGroups
Bulk functionality to Add Users to Groups
func NewBulkUpdateUsersGroups ¶
func NewBulkUpdateUsersGroups(ctx *middleware.Context, handler BulkUpdateUsersGroupsHandler) *BulkUpdateUsersGroups
NewBulkUpdateUsersGroups creates a new http.Handler for the bulk update users groups operation
func (*BulkUpdateUsersGroups) ServeHTTP ¶
func (o *BulkUpdateUsersGroups) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type BulkUpdateUsersGroupsDefault ¶
type BulkUpdateUsersGroupsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
BulkUpdateUsersGroupsDefault Generic error response.
swagger:response bulkUpdateUsersGroupsDefault
func NewBulkUpdateUsersGroupsDefault ¶
func NewBulkUpdateUsersGroupsDefault(code int) *BulkUpdateUsersGroupsDefault
NewBulkUpdateUsersGroupsDefault creates BulkUpdateUsersGroupsDefault with default headers values
func (*BulkUpdateUsersGroupsDefault) SetPayload ¶
func (o *BulkUpdateUsersGroupsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the bulk update users groups default response
func (*BulkUpdateUsersGroupsDefault) SetStatusCode ¶
func (o *BulkUpdateUsersGroupsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the bulk update users groups default response
func (*BulkUpdateUsersGroupsDefault) WithPayload ¶
func (o *BulkUpdateUsersGroupsDefault) WithPayload(payload *models.Error) *BulkUpdateUsersGroupsDefault
WithPayload adds the payload to the bulk update users groups default response
func (*BulkUpdateUsersGroupsDefault) WithStatusCode ¶
func (o *BulkUpdateUsersGroupsDefault) WithStatusCode(code int) *BulkUpdateUsersGroupsDefault
WithStatusCode adds the status to the bulk update users groups default response
func (*BulkUpdateUsersGroupsDefault) WriteResponse ¶
func (o *BulkUpdateUsersGroupsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BulkUpdateUsersGroupsHandler ¶
type BulkUpdateUsersGroupsHandler interface {
Handle(BulkUpdateUsersGroupsParams, *models.Principal) middleware.Responder
}
BulkUpdateUsersGroupsHandler interface for that can handle valid bulk update users groups params
type BulkUpdateUsersGroupsHandlerFunc ¶
type BulkUpdateUsersGroupsHandlerFunc func(BulkUpdateUsersGroupsParams, *models.Principal) middleware.Responder
BulkUpdateUsersGroupsHandlerFunc turns a function with the right signature into a bulk update users groups handler
func (BulkUpdateUsersGroupsHandlerFunc) Handle ¶
func (fn BulkUpdateUsersGroupsHandlerFunc) Handle(params BulkUpdateUsersGroupsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type BulkUpdateUsersGroupsOK ¶
type BulkUpdateUsersGroupsOK struct { }
BulkUpdateUsersGroupsOK A successful response.
swagger:response bulkUpdateUsersGroupsOK
func NewBulkUpdateUsersGroupsOK ¶
func NewBulkUpdateUsersGroupsOK() *BulkUpdateUsersGroupsOK
NewBulkUpdateUsersGroupsOK creates BulkUpdateUsersGroupsOK with default headers values
func (*BulkUpdateUsersGroupsOK) WriteResponse ¶
func (o *BulkUpdateUsersGroupsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type BulkUpdateUsersGroupsParams ¶
type BulkUpdateUsersGroupsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.BulkUserGroups }
BulkUpdateUsersGroupsParams contains all the bound params for the bulk update users groups operation typically these are obtained from a http.Request
swagger:parameters BulkUpdateUsersGroups
func NewBulkUpdateUsersGroupsParams ¶
func NewBulkUpdateUsersGroupsParams() BulkUpdateUsersGroupsParams
NewBulkUpdateUsersGroupsParams creates a new BulkUpdateUsersGroupsParams object
There are no default values defined in the spec.
func (*BulkUpdateUsersGroupsParams) BindRequest ¶
func (o *BulkUpdateUsersGroupsParams) 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 NewBulkUpdateUsersGroupsParams() beforehand.
type BulkUpdateUsersGroupsURL ¶
type BulkUpdateUsersGroupsURL struct {
// contains filtered or unexported fields
}
BulkUpdateUsersGroupsURL generates an URL for the bulk update users groups operation
func (*BulkUpdateUsersGroupsURL) Build ¶
func (o *BulkUpdateUsersGroupsURL) Build() (*url.URL, error)
Build a url path and query string
func (*BulkUpdateUsersGroupsURL) BuildFull ¶
func (o *BulkUpdateUsersGroupsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*BulkUpdateUsersGroupsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*BulkUpdateUsersGroupsURL) SetBasePath ¶
func (o *BulkUpdateUsersGroupsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*BulkUpdateUsersGroupsURL) String ¶
func (o *BulkUpdateUsersGroupsURL) String() string
String returns the string representation of the path with query string
func (*BulkUpdateUsersGroupsURL) StringFull ¶
func (o *BulkUpdateUsersGroupsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*BulkUpdateUsersGroupsURL) WithBasePath ¶
func (o *BulkUpdateUsersGroupsURL) WithBasePath(bp string) *BulkUpdateUsersGroupsURL
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 CheckUserServiceAccounts ¶
type CheckUserServiceAccounts struct { Context *middleware.Context Handler CheckUserServiceAccountsHandler }
CheckUserServiceAccounts swagger:route POST /users/service-accounts User checkUserServiceAccounts
Check number of service accounts for each user specified
func NewCheckUserServiceAccounts ¶
func NewCheckUserServiceAccounts(ctx *middleware.Context, handler CheckUserServiceAccountsHandler) *CheckUserServiceAccounts
NewCheckUserServiceAccounts creates a new http.Handler for the check user service accounts operation
func (*CheckUserServiceAccounts) ServeHTTP ¶
func (o *CheckUserServiceAccounts) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CheckUserServiceAccountsDefault ¶
type CheckUserServiceAccountsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
CheckUserServiceAccountsDefault Generic error response.
swagger:response checkUserServiceAccountsDefault
func NewCheckUserServiceAccountsDefault ¶
func NewCheckUserServiceAccountsDefault(code int) *CheckUserServiceAccountsDefault
NewCheckUserServiceAccountsDefault creates CheckUserServiceAccountsDefault with default headers values
func (*CheckUserServiceAccountsDefault) SetPayload ¶
func (o *CheckUserServiceAccountsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the check user service accounts default response
func (*CheckUserServiceAccountsDefault) SetStatusCode ¶
func (o *CheckUserServiceAccountsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the check user service accounts default response
func (*CheckUserServiceAccountsDefault) WithPayload ¶
func (o *CheckUserServiceAccountsDefault) WithPayload(payload *models.Error) *CheckUserServiceAccountsDefault
WithPayload adds the payload to the check user service accounts default response
func (*CheckUserServiceAccountsDefault) WithStatusCode ¶
func (o *CheckUserServiceAccountsDefault) WithStatusCode(code int) *CheckUserServiceAccountsDefault
WithStatusCode adds the status to the check user service accounts default response
func (*CheckUserServiceAccountsDefault) WriteResponse ¶
func (o *CheckUserServiceAccountsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CheckUserServiceAccountsHandler ¶
type CheckUserServiceAccountsHandler interface {
Handle(CheckUserServiceAccountsParams, *models.Principal) middleware.Responder
}
CheckUserServiceAccountsHandler interface for that can handle valid check user service accounts params
type CheckUserServiceAccountsHandlerFunc ¶
type CheckUserServiceAccountsHandlerFunc func(CheckUserServiceAccountsParams, *models.Principal) middleware.Responder
CheckUserServiceAccountsHandlerFunc turns a function with the right signature into a check user service accounts handler
func (CheckUserServiceAccountsHandlerFunc) Handle ¶
func (fn CheckUserServiceAccountsHandlerFunc) Handle(params CheckUserServiceAccountsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type CheckUserServiceAccountsOK ¶
type CheckUserServiceAccountsOK struct { /* In: Body */ Payload *models.UserServiceAccountSummary `json:"body,omitempty"` }
CheckUserServiceAccountsOK A successful response.
swagger:response checkUserServiceAccountsOK
func NewCheckUserServiceAccountsOK ¶
func NewCheckUserServiceAccountsOK() *CheckUserServiceAccountsOK
NewCheckUserServiceAccountsOK creates CheckUserServiceAccountsOK with default headers values
func (*CheckUserServiceAccountsOK) SetPayload ¶
func (o *CheckUserServiceAccountsOK) SetPayload(payload *models.UserServiceAccountSummary)
SetPayload sets the payload to the check user service accounts o k response
func (*CheckUserServiceAccountsOK) WithPayload ¶
func (o *CheckUserServiceAccountsOK) WithPayload(payload *models.UserServiceAccountSummary) *CheckUserServiceAccountsOK
WithPayload adds the payload to the check user service accounts o k response
func (*CheckUserServiceAccountsOK) WriteResponse ¶
func (o *CheckUserServiceAccountsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CheckUserServiceAccountsParams ¶
type CheckUserServiceAccountsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ SelectedUsers []string }
CheckUserServiceAccountsParams contains all the bound params for the check user service accounts operation typically these are obtained from a http.Request
swagger:parameters CheckUserServiceAccounts
func NewCheckUserServiceAccountsParams ¶
func NewCheckUserServiceAccountsParams() CheckUserServiceAccountsParams
NewCheckUserServiceAccountsParams creates a new CheckUserServiceAccountsParams object
There are no default values defined in the spec.
func (*CheckUserServiceAccountsParams) BindRequest ¶
func (o *CheckUserServiceAccountsParams) 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 NewCheckUserServiceAccountsParams() beforehand.
type CheckUserServiceAccountsURL ¶
type CheckUserServiceAccountsURL struct {
// contains filtered or unexported fields
}
CheckUserServiceAccountsURL generates an URL for the check user service accounts operation
func (*CheckUserServiceAccountsURL) Build ¶
func (o *CheckUserServiceAccountsURL) Build() (*url.URL, error)
Build a url path and query string
func (*CheckUserServiceAccountsURL) BuildFull ¶
func (o *CheckUserServiceAccountsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CheckUserServiceAccountsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CheckUserServiceAccountsURL) SetBasePath ¶
func (o *CheckUserServiceAccountsURL) 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 (*CheckUserServiceAccountsURL) String ¶
func (o *CheckUserServiceAccountsURL) String() string
String returns the string representation of the path with query string
func (*CheckUserServiceAccountsURL) StringFull ¶
func (o *CheckUserServiceAccountsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CheckUserServiceAccountsURL) WithBasePath ¶
func (o *CheckUserServiceAccountsURL) WithBasePath(bp string) *CheckUserServiceAccountsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateAUserServiceAccount ¶
type CreateAUserServiceAccount struct { Context *middleware.Context Handler CreateAUserServiceAccountHandler }
CreateAUserServiceAccount swagger:route POST /user/{name}/service-accounts User createAUserServiceAccount
Create Service Account for User
func NewCreateAUserServiceAccount ¶
func NewCreateAUserServiceAccount(ctx *middleware.Context, handler CreateAUserServiceAccountHandler) *CreateAUserServiceAccount
NewCreateAUserServiceAccount creates a new http.Handler for the create a user service account operation
func (*CreateAUserServiceAccount) ServeHTTP ¶
func (o *CreateAUserServiceAccount) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateAUserServiceAccountCreated ¶
type CreateAUserServiceAccountCreated struct { /* In: Body */ Payload *models.ServiceAccountCreds `json:"body,omitempty"` }
CreateAUserServiceAccountCreated A successful response.
swagger:response createAUserServiceAccountCreated
func NewCreateAUserServiceAccountCreated ¶
func NewCreateAUserServiceAccountCreated() *CreateAUserServiceAccountCreated
NewCreateAUserServiceAccountCreated creates CreateAUserServiceAccountCreated with default headers values
func (*CreateAUserServiceAccountCreated) SetPayload ¶
func (o *CreateAUserServiceAccountCreated) SetPayload(payload *models.ServiceAccountCreds)
SetPayload sets the payload to the create a user service account created response
func (*CreateAUserServiceAccountCreated) WithPayload ¶
func (o *CreateAUserServiceAccountCreated) WithPayload(payload *models.ServiceAccountCreds) *CreateAUserServiceAccountCreated
WithPayload adds the payload to the create a user service account created response
func (*CreateAUserServiceAccountCreated) WriteResponse ¶
func (o *CreateAUserServiceAccountCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAUserServiceAccountDefault ¶
type CreateAUserServiceAccountDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
CreateAUserServiceAccountDefault Generic error response.
swagger:response createAUserServiceAccountDefault
func NewCreateAUserServiceAccountDefault ¶
func NewCreateAUserServiceAccountDefault(code int) *CreateAUserServiceAccountDefault
NewCreateAUserServiceAccountDefault creates CreateAUserServiceAccountDefault with default headers values
func (*CreateAUserServiceAccountDefault) SetPayload ¶
func (o *CreateAUserServiceAccountDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the create a user service account default response
func (*CreateAUserServiceAccountDefault) SetStatusCode ¶
func (o *CreateAUserServiceAccountDefault) SetStatusCode(code int)
SetStatusCode sets the status to the create a user service account default response
func (*CreateAUserServiceAccountDefault) WithPayload ¶
func (o *CreateAUserServiceAccountDefault) WithPayload(payload *models.Error) *CreateAUserServiceAccountDefault
WithPayload adds the payload to the create a user service account default response
func (*CreateAUserServiceAccountDefault) WithStatusCode ¶
func (o *CreateAUserServiceAccountDefault) WithStatusCode(code int) *CreateAUserServiceAccountDefault
WithStatusCode adds the status to the create a user service account default response
func (*CreateAUserServiceAccountDefault) WriteResponse ¶
func (o *CreateAUserServiceAccountDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAUserServiceAccountHandler ¶
type CreateAUserServiceAccountHandler interface {
Handle(CreateAUserServiceAccountParams, *models.Principal) middleware.Responder
}
CreateAUserServiceAccountHandler interface for that can handle valid create a user service account params
type CreateAUserServiceAccountHandlerFunc ¶
type CreateAUserServiceAccountHandlerFunc func(CreateAUserServiceAccountParams, *models.Principal) middleware.Responder
CreateAUserServiceAccountHandlerFunc turns a function with the right signature into a create a user service account handler
func (CreateAUserServiceAccountHandlerFunc) Handle ¶
func (fn CreateAUserServiceAccountHandlerFunc) Handle(params CreateAUserServiceAccountParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type CreateAUserServiceAccountParams ¶
type CreateAUserServiceAccountParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ServiceAccountRequest /* Required: true In: path */ Name string }
CreateAUserServiceAccountParams contains all the bound params for the create a user service account operation typically these are obtained from a http.Request
swagger:parameters CreateAUserServiceAccount
func NewCreateAUserServiceAccountParams ¶
func NewCreateAUserServiceAccountParams() CreateAUserServiceAccountParams
NewCreateAUserServiceAccountParams creates a new CreateAUserServiceAccountParams object
There are no default values defined in the spec.
func (*CreateAUserServiceAccountParams) BindRequest ¶
func (o *CreateAUserServiceAccountParams) 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 NewCreateAUserServiceAccountParams() beforehand.
type CreateAUserServiceAccountURL ¶
type CreateAUserServiceAccountURL struct { Name string // contains filtered or unexported fields }
CreateAUserServiceAccountURL generates an URL for the create a user service account operation
func (*CreateAUserServiceAccountURL) Build ¶
func (o *CreateAUserServiceAccountURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateAUserServiceAccountURL) BuildFull ¶
func (o *CreateAUserServiceAccountURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateAUserServiceAccountURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateAUserServiceAccountURL) SetBasePath ¶
func (o *CreateAUserServiceAccountURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateAUserServiceAccountURL) String ¶
func (o *CreateAUserServiceAccountURL) String() string
String returns the string representation of the path with query string
func (*CreateAUserServiceAccountURL) StringFull ¶
func (o *CreateAUserServiceAccountURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateAUserServiceAccountURL) WithBasePath ¶
func (o *CreateAUserServiceAccountURL) WithBasePath(bp string) *CreateAUserServiceAccountURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateServiceAccountCredentials ¶
type CreateServiceAccountCredentials struct { Context *middleware.Context Handler CreateServiceAccountCredentialsHandler }
CreateServiceAccountCredentials swagger:route POST /user/{name}/service-account-credentials User createServiceAccountCredentials
Create Service Account for User With Credentials
func NewCreateServiceAccountCredentials ¶
func NewCreateServiceAccountCredentials(ctx *middleware.Context, handler CreateServiceAccountCredentialsHandler) *CreateServiceAccountCredentials
NewCreateServiceAccountCredentials creates a new http.Handler for the create service account credentials operation
func (*CreateServiceAccountCredentials) ServeHTTP ¶
func (o *CreateServiceAccountCredentials) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateServiceAccountCredentialsCreated ¶
type CreateServiceAccountCredentialsCreated struct { /* In: Body */ Payload *models.ServiceAccountCreds `json:"body,omitempty"` }
CreateServiceAccountCredentialsCreated A successful response.
swagger:response createServiceAccountCredentialsCreated
func NewCreateServiceAccountCredentialsCreated ¶
func NewCreateServiceAccountCredentialsCreated() *CreateServiceAccountCredentialsCreated
NewCreateServiceAccountCredentialsCreated creates CreateServiceAccountCredentialsCreated with default headers values
func (*CreateServiceAccountCredentialsCreated) SetPayload ¶
func (o *CreateServiceAccountCredentialsCreated) SetPayload(payload *models.ServiceAccountCreds)
SetPayload sets the payload to the create service account credentials created response
func (*CreateServiceAccountCredentialsCreated) WithPayload ¶
func (o *CreateServiceAccountCredentialsCreated) WithPayload(payload *models.ServiceAccountCreds) *CreateServiceAccountCredentialsCreated
WithPayload adds the payload to the create service account credentials created response
func (*CreateServiceAccountCredentialsCreated) WriteResponse ¶
func (o *CreateServiceAccountCredentialsCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceAccountCredentialsDefault ¶
type CreateServiceAccountCredentialsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
CreateServiceAccountCredentialsDefault Generic error response.
swagger:response createServiceAccountCredentialsDefault
func NewCreateServiceAccountCredentialsDefault ¶
func NewCreateServiceAccountCredentialsDefault(code int) *CreateServiceAccountCredentialsDefault
NewCreateServiceAccountCredentialsDefault creates CreateServiceAccountCredentialsDefault with default headers values
func (*CreateServiceAccountCredentialsDefault) SetPayload ¶
func (o *CreateServiceAccountCredentialsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the create service account credentials default response
func (*CreateServiceAccountCredentialsDefault) SetStatusCode ¶
func (o *CreateServiceAccountCredentialsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the create service account credentials default response
func (*CreateServiceAccountCredentialsDefault) WithPayload ¶
func (o *CreateServiceAccountCredentialsDefault) WithPayload(payload *models.Error) *CreateServiceAccountCredentialsDefault
WithPayload adds the payload to the create service account credentials default response
func (*CreateServiceAccountCredentialsDefault) WithStatusCode ¶
func (o *CreateServiceAccountCredentialsDefault) WithStatusCode(code int) *CreateServiceAccountCredentialsDefault
WithStatusCode adds the status to the create service account credentials default response
func (*CreateServiceAccountCredentialsDefault) WriteResponse ¶
func (o *CreateServiceAccountCredentialsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceAccountCredentialsHandler ¶
type CreateServiceAccountCredentialsHandler interface {
Handle(CreateServiceAccountCredentialsParams, *models.Principal) middleware.Responder
}
CreateServiceAccountCredentialsHandler interface for that can handle valid create service account credentials params
type CreateServiceAccountCredentialsHandlerFunc ¶
type CreateServiceAccountCredentialsHandlerFunc func(CreateServiceAccountCredentialsParams, *models.Principal) middleware.Responder
CreateServiceAccountCredentialsHandlerFunc turns a function with the right signature into a create service account credentials handler
func (CreateServiceAccountCredentialsHandlerFunc) Handle ¶
func (fn CreateServiceAccountCredentialsHandlerFunc) Handle(params CreateServiceAccountCredentialsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type CreateServiceAccountCredentialsParams ¶
type CreateServiceAccountCredentialsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ServiceAccountRequestCreds /* Required: true In: path */ Name string }
CreateServiceAccountCredentialsParams contains all the bound params for the create service account credentials operation typically these are obtained from a http.Request
swagger:parameters CreateServiceAccountCredentials
func NewCreateServiceAccountCredentialsParams ¶
func NewCreateServiceAccountCredentialsParams() CreateServiceAccountCredentialsParams
NewCreateServiceAccountCredentialsParams creates a new CreateServiceAccountCredentialsParams object
There are no default values defined in the spec.
func (*CreateServiceAccountCredentialsParams) BindRequest ¶
func (o *CreateServiceAccountCredentialsParams) 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 NewCreateServiceAccountCredentialsParams() beforehand.
type CreateServiceAccountCredentialsURL ¶
type CreateServiceAccountCredentialsURL struct { Name string // contains filtered or unexported fields }
CreateServiceAccountCredentialsURL generates an URL for the create service account credentials operation
func (*CreateServiceAccountCredentialsURL) Build ¶
func (o *CreateServiceAccountCredentialsURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateServiceAccountCredentialsURL) BuildFull ¶
func (o *CreateServiceAccountCredentialsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateServiceAccountCredentialsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateServiceAccountCredentialsURL) SetBasePath ¶
func (o *CreateServiceAccountCredentialsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateServiceAccountCredentialsURL) String ¶
func (o *CreateServiceAccountCredentialsURL) String() string
String returns the string representation of the path with query string
func (*CreateServiceAccountCredentialsURL) StringFull ¶
func (o *CreateServiceAccountCredentialsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateServiceAccountCredentialsURL) WithBasePath ¶
func (o *CreateServiceAccountCredentialsURL) WithBasePath(bp string) *CreateServiceAccountCredentialsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetUserInfo ¶
type GetUserInfo struct { Context *middleware.Context Handler GetUserInfoHandler }
GetUserInfo swagger:route GET /user/{name} User getUserInfo
Get User Info
func NewGetUserInfo ¶
func NewGetUserInfo(ctx *middleware.Context, handler GetUserInfoHandler) *GetUserInfo
NewGetUserInfo creates a new http.Handler for the get user info operation
func (*GetUserInfo) ServeHTTP ¶
func (o *GetUserInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetUserInfoDefault ¶
type GetUserInfoDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetUserInfoDefault Generic error response.
swagger:response getUserInfoDefault
func NewGetUserInfoDefault ¶
func NewGetUserInfoDefault(code int) *GetUserInfoDefault
NewGetUserInfoDefault creates GetUserInfoDefault with default headers values
func (*GetUserInfoDefault) SetPayload ¶
func (o *GetUserInfoDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get user info default response
func (*GetUserInfoDefault) SetStatusCode ¶
func (o *GetUserInfoDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get user info default response
func (*GetUserInfoDefault) WithPayload ¶
func (o *GetUserInfoDefault) WithPayload(payload *models.Error) *GetUserInfoDefault
WithPayload adds the payload to the get user info default response
func (*GetUserInfoDefault) WithStatusCode ¶
func (o *GetUserInfoDefault) WithStatusCode(code int) *GetUserInfoDefault
WithStatusCode adds the status to the get user info default response
func (*GetUserInfoDefault) WriteResponse ¶
func (o *GetUserInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUserInfoHandler ¶
type GetUserInfoHandler interface {
Handle(GetUserInfoParams, *models.Principal) middleware.Responder
}
GetUserInfoHandler interface for that can handle valid get user info params
type GetUserInfoHandlerFunc ¶
type GetUserInfoHandlerFunc func(GetUserInfoParams, *models.Principal) middleware.Responder
GetUserInfoHandlerFunc turns a function with the right signature into a get user info handler
func (GetUserInfoHandlerFunc) Handle ¶
func (fn GetUserInfoHandlerFunc) Handle(params GetUserInfoParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetUserInfoOK ¶
GetUserInfoOK A successful response.
swagger:response getUserInfoOK
func NewGetUserInfoOK ¶
func NewGetUserInfoOK() *GetUserInfoOK
NewGetUserInfoOK creates GetUserInfoOK with default headers values
func (*GetUserInfoOK) SetPayload ¶
func (o *GetUserInfoOK) SetPayload(payload *models.User)
SetPayload sets the payload to the get user info o k response
func (*GetUserInfoOK) WithPayload ¶
func (o *GetUserInfoOK) WithPayload(payload *models.User) *GetUserInfoOK
WithPayload adds the payload to the get user info o k response
func (*GetUserInfoOK) WriteResponse ¶
func (o *GetUserInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetUserInfoParams ¶
type GetUserInfoParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Name string }
GetUserInfoParams contains all the bound params for the get user info operation typically these are obtained from a http.Request
swagger:parameters GetUserInfo
func NewGetUserInfoParams ¶
func NewGetUserInfoParams() GetUserInfoParams
NewGetUserInfoParams creates a new GetUserInfoParams object
There are no default values defined in the spec.
func (*GetUserInfoParams) BindRequest ¶
func (o *GetUserInfoParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetUserInfoParams() beforehand.
type GetUserInfoURL ¶
type GetUserInfoURL struct { Name string // contains filtered or unexported fields }
GetUserInfoURL generates an URL for the get user info operation
func (*GetUserInfoURL) Build ¶
func (o *GetUserInfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetUserInfoURL) BuildFull ¶
func (o *GetUserInfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetUserInfoURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetUserInfoURL) SetBasePath ¶
func (o *GetUserInfoURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetUserInfoURL) String ¶
func (o *GetUserInfoURL) String() string
String returns the string representation of the path with query string
func (*GetUserInfoURL) StringFull ¶
func (o *GetUserInfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetUserInfoURL) WithBasePath ¶
func (o *GetUserInfoURL) WithBasePath(bp string) *GetUserInfoURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListAUserServiceAccounts ¶
type ListAUserServiceAccounts struct { Context *middleware.Context Handler ListAUserServiceAccountsHandler }
ListAUserServiceAccounts swagger:route GET /user/{name}/service-accounts User listAUserServiceAccounts
returns a list of service accounts for a user
func NewListAUserServiceAccounts ¶
func NewListAUserServiceAccounts(ctx *middleware.Context, handler ListAUserServiceAccountsHandler) *ListAUserServiceAccounts
NewListAUserServiceAccounts creates a new http.Handler for the list a user service accounts operation
func (*ListAUserServiceAccounts) ServeHTTP ¶
func (o *ListAUserServiceAccounts) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListAUserServiceAccountsDefault ¶
type ListAUserServiceAccountsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ListAUserServiceAccountsDefault Generic error response.
swagger:response listAUserServiceAccountsDefault
func NewListAUserServiceAccountsDefault ¶
func NewListAUserServiceAccountsDefault(code int) *ListAUserServiceAccountsDefault
NewListAUserServiceAccountsDefault creates ListAUserServiceAccountsDefault with default headers values
func (*ListAUserServiceAccountsDefault) SetPayload ¶
func (o *ListAUserServiceAccountsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the list a user service accounts default response
func (*ListAUserServiceAccountsDefault) SetStatusCode ¶
func (o *ListAUserServiceAccountsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list a user service accounts default response
func (*ListAUserServiceAccountsDefault) WithPayload ¶
func (o *ListAUserServiceAccountsDefault) WithPayload(payload *models.Error) *ListAUserServiceAccountsDefault
WithPayload adds the payload to the list a user service accounts default response
func (*ListAUserServiceAccountsDefault) WithStatusCode ¶
func (o *ListAUserServiceAccountsDefault) WithStatusCode(code int) *ListAUserServiceAccountsDefault
WithStatusCode adds the status to the list a user service accounts default response
func (*ListAUserServiceAccountsDefault) WriteResponse ¶
func (o *ListAUserServiceAccountsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAUserServiceAccountsHandler ¶
type ListAUserServiceAccountsHandler interface {
Handle(ListAUserServiceAccountsParams, *models.Principal) middleware.Responder
}
ListAUserServiceAccountsHandler interface for that can handle valid list a user service accounts params
type ListAUserServiceAccountsHandlerFunc ¶
type ListAUserServiceAccountsHandlerFunc func(ListAUserServiceAccountsParams, *models.Principal) middleware.Responder
ListAUserServiceAccountsHandlerFunc turns a function with the right signature into a list a user service accounts handler
func (ListAUserServiceAccountsHandlerFunc) Handle ¶
func (fn ListAUserServiceAccountsHandlerFunc) Handle(params ListAUserServiceAccountsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ListAUserServiceAccountsOK ¶
type ListAUserServiceAccountsOK struct { /* In: Body */ Payload models.ServiceAccounts `json:"body,omitempty"` }
ListAUserServiceAccountsOK A successful response.
swagger:response listAUserServiceAccountsOK
func NewListAUserServiceAccountsOK ¶
func NewListAUserServiceAccountsOK() *ListAUserServiceAccountsOK
NewListAUserServiceAccountsOK creates ListAUserServiceAccountsOK with default headers values
func (*ListAUserServiceAccountsOK) SetPayload ¶
func (o *ListAUserServiceAccountsOK) SetPayload(payload models.ServiceAccounts)
SetPayload sets the payload to the list a user service accounts o k response
func (*ListAUserServiceAccountsOK) WithPayload ¶
func (o *ListAUserServiceAccountsOK) WithPayload(payload models.ServiceAccounts) *ListAUserServiceAccountsOK
WithPayload adds the payload to the list a user service accounts o k response
func (*ListAUserServiceAccountsOK) WriteResponse ¶
func (o *ListAUserServiceAccountsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAUserServiceAccountsParams ¶
type ListAUserServiceAccountsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Name string }
ListAUserServiceAccountsParams contains all the bound params for the list a user service accounts operation typically these are obtained from a http.Request
swagger:parameters ListAUserServiceAccounts
func NewListAUserServiceAccountsParams ¶
func NewListAUserServiceAccountsParams() ListAUserServiceAccountsParams
NewListAUserServiceAccountsParams creates a new ListAUserServiceAccountsParams object
There are no default values defined in the spec.
func (*ListAUserServiceAccountsParams) BindRequest ¶
func (o *ListAUserServiceAccountsParams) 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 NewListAUserServiceAccountsParams() beforehand.
type ListAUserServiceAccountsURL ¶
type ListAUserServiceAccountsURL struct { Name string // contains filtered or unexported fields }
ListAUserServiceAccountsURL generates an URL for the list a user service accounts operation
func (*ListAUserServiceAccountsURL) Build ¶
func (o *ListAUserServiceAccountsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListAUserServiceAccountsURL) BuildFull ¶
func (o *ListAUserServiceAccountsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListAUserServiceAccountsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListAUserServiceAccountsURL) SetBasePath ¶
func (o *ListAUserServiceAccountsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListAUserServiceAccountsURL) String ¶
func (o *ListAUserServiceAccountsURL) String() string
String returns the string representation of the path with query string
func (*ListAUserServiceAccountsURL) StringFull ¶
func (o *ListAUserServiceAccountsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListAUserServiceAccountsURL) WithBasePath ¶
func (o *ListAUserServiceAccountsURL) WithBasePath(bp string) *ListAUserServiceAccountsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListUsers ¶
type ListUsers struct { Context *middleware.Context Handler ListUsersHandler }
ListUsers swagger:route GET /users User 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, *models.Principal) middleware.Responder
}
ListUsersHandler interface for that can handle valid list users params
type ListUsersHandlerFunc ¶
type ListUsersHandlerFunc func(ListUsersParams, *models.Principal) middleware.Responder
ListUsersHandlerFunc turns a function with the right signature into a list users handler
func (ListUsersHandlerFunc) Handle ¶
func (fn ListUsersHandlerFunc) Handle(params ListUsersParams, principal *models.Principal) 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
There are no default values defined in the spec.
func (*ListUsersParams) BindRequest ¶
func (o *ListUsersParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListUsersParams() beforehand.
type ListUsersURL ¶
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 RemoveUser ¶
type RemoveUser struct { Context *middleware.Context Handler RemoveUserHandler }
RemoveUser swagger:route DELETE /user/{name} User removeUser
Remove user
func NewRemoveUser ¶
func NewRemoveUser(ctx *middleware.Context, handler RemoveUserHandler) *RemoveUser
NewRemoveUser creates a new http.Handler for the remove user operation
func (*RemoveUser) ServeHTTP ¶
func (o *RemoveUser) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RemoveUserDefault ¶
type RemoveUserDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
RemoveUserDefault Generic error response.
swagger:response removeUserDefault
func NewRemoveUserDefault ¶
func NewRemoveUserDefault(code int) *RemoveUserDefault
NewRemoveUserDefault creates RemoveUserDefault with default headers values
func (*RemoveUserDefault) SetPayload ¶
func (o *RemoveUserDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the remove user default response
func (*RemoveUserDefault) SetStatusCode ¶
func (o *RemoveUserDefault) SetStatusCode(code int)
SetStatusCode sets the status to the remove user default response
func (*RemoveUserDefault) WithPayload ¶
func (o *RemoveUserDefault) WithPayload(payload *models.Error) *RemoveUserDefault
WithPayload adds the payload to the remove user default response
func (*RemoveUserDefault) WithStatusCode ¶
func (o *RemoveUserDefault) WithStatusCode(code int) *RemoveUserDefault
WithStatusCode adds the status to the remove user default response
func (*RemoveUserDefault) WriteResponse ¶
func (o *RemoveUserDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RemoveUserHandler ¶
type RemoveUserHandler interface {
Handle(RemoveUserParams, *models.Principal) middleware.Responder
}
RemoveUserHandler interface for that can handle valid remove user params
type RemoveUserHandlerFunc ¶
type RemoveUserHandlerFunc func(RemoveUserParams, *models.Principal) middleware.Responder
RemoveUserHandlerFunc turns a function with the right signature into a remove user handler
func (RemoveUserHandlerFunc) Handle ¶
func (fn RemoveUserHandlerFunc) Handle(params RemoveUserParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type RemoveUserNoContent ¶
type RemoveUserNoContent struct { }
RemoveUserNoContent A successful response.
swagger:response removeUserNoContent
func NewRemoveUserNoContent ¶
func NewRemoveUserNoContent() *RemoveUserNoContent
NewRemoveUserNoContent creates RemoveUserNoContent with default headers values
func (*RemoveUserNoContent) WriteResponse ¶
func (o *RemoveUserNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RemoveUserParams ¶
type RemoveUserParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Name string }
RemoveUserParams contains all the bound params for the remove user operation typically these are obtained from a http.Request
swagger:parameters RemoveUser
func NewRemoveUserParams ¶
func NewRemoveUserParams() RemoveUserParams
NewRemoveUserParams creates a new RemoveUserParams object
There are no default values defined in the spec.
func (*RemoveUserParams) BindRequest ¶
func (o *RemoveUserParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewRemoveUserParams() beforehand.
type RemoveUserURL ¶
type RemoveUserURL struct { Name string // contains filtered or unexported fields }
RemoveUserURL generates an URL for the remove user operation
func (*RemoveUserURL) Build ¶
func (o *RemoveUserURL) Build() (*url.URL, error)
Build a url path and query string
func (*RemoveUserURL) BuildFull ¶
func (o *RemoveUserURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RemoveUserURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RemoveUserURL) SetBasePath ¶
func (o *RemoveUserURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*RemoveUserURL) String ¶
func (o *RemoveUserURL) String() string
String returns the string representation of the path with query string
func (*RemoveUserURL) StringFull ¶
func (o *RemoveUserURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RemoveUserURL) WithBasePath ¶
func (o *RemoveUserURL) WithBasePath(bp string) *RemoveUserURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateUserGroups ¶
type UpdateUserGroups struct { Context *middleware.Context Handler UpdateUserGroupsHandler }
UpdateUserGroups swagger:route PUT /user/{name}/groups User updateUserGroups
Update Groups for a user
func NewUpdateUserGroups ¶
func NewUpdateUserGroups(ctx *middleware.Context, handler UpdateUserGroupsHandler) *UpdateUserGroups
NewUpdateUserGroups creates a new http.Handler for the update user groups operation
func (*UpdateUserGroups) ServeHTTP ¶
func (o *UpdateUserGroups) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateUserGroupsDefault ¶
type UpdateUserGroupsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UpdateUserGroupsDefault Generic error response.
swagger:response updateUserGroupsDefault
func NewUpdateUserGroupsDefault ¶
func NewUpdateUserGroupsDefault(code int) *UpdateUserGroupsDefault
NewUpdateUserGroupsDefault creates UpdateUserGroupsDefault with default headers values
func (*UpdateUserGroupsDefault) SetPayload ¶
func (o *UpdateUserGroupsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the update user groups default response
func (*UpdateUserGroupsDefault) SetStatusCode ¶
func (o *UpdateUserGroupsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the update user groups default response
func (*UpdateUserGroupsDefault) WithPayload ¶
func (o *UpdateUserGroupsDefault) WithPayload(payload *models.Error) *UpdateUserGroupsDefault
WithPayload adds the payload to the update user groups default response
func (*UpdateUserGroupsDefault) WithStatusCode ¶
func (o *UpdateUserGroupsDefault) WithStatusCode(code int) *UpdateUserGroupsDefault
WithStatusCode adds the status to the update user groups default response
func (*UpdateUserGroupsDefault) WriteResponse ¶
func (o *UpdateUserGroupsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateUserGroupsHandler ¶
type UpdateUserGroupsHandler interface {
Handle(UpdateUserGroupsParams, *models.Principal) middleware.Responder
}
UpdateUserGroupsHandler interface for that can handle valid update user groups params
type UpdateUserGroupsHandlerFunc ¶
type UpdateUserGroupsHandlerFunc func(UpdateUserGroupsParams, *models.Principal) middleware.Responder
UpdateUserGroupsHandlerFunc turns a function with the right signature into a update user groups handler
func (UpdateUserGroupsHandlerFunc) Handle ¶
func (fn UpdateUserGroupsHandlerFunc) Handle(params UpdateUserGroupsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type UpdateUserGroupsOK ¶
UpdateUserGroupsOK A successful response.
swagger:response updateUserGroupsOK
func NewUpdateUserGroupsOK ¶
func NewUpdateUserGroupsOK() *UpdateUserGroupsOK
NewUpdateUserGroupsOK creates UpdateUserGroupsOK with default headers values
func (*UpdateUserGroupsOK) SetPayload ¶
func (o *UpdateUserGroupsOK) SetPayload(payload *models.User)
SetPayload sets the payload to the update user groups o k response
func (*UpdateUserGroupsOK) WithPayload ¶
func (o *UpdateUserGroupsOK) WithPayload(payload *models.User) *UpdateUserGroupsOK
WithPayload adds the payload to the update user groups o k response
func (*UpdateUserGroupsOK) WriteResponse ¶
func (o *UpdateUserGroupsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateUserGroupsParams ¶
type UpdateUserGroupsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.UpdateUserGroups /* Required: true In: path */ Name string }
UpdateUserGroupsParams contains all the bound params for the update user groups operation typically these are obtained from a http.Request
swagger:parameters UpdateUserGroups
func NewUpdateUserGroupsParams ¶
func NewUpdateUserGroupsParams() UpdateUserGroupsParams
NewUpdateUserGroupsParams creates a new UpdateUserGroupsParams object
There are no default values defined in the spec.
func (*UpdateUserGroupsParams) BindRequest ¶
func (o *UpdateUserGroupsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateUserGroupsParams() beforehand.
type UpdateUserGroupsURL ¶
type UpdateUserGroupsURL struct { Name string // contains filtered or unexported fields }
UpdateUserGroupsURL generates an URL for the update user groups operation
func (*UpdateUserGroupsURL) Build ¶
func (o *UpdateUserGroupsURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateUserGroupsURL) BuildFull ¶
func (o *UpdateUserGroupsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateUserGroupsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateUserGroupsURL) SetBasePath ¶
func (o *UpdateUserGroupsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateUserGroupsURL) String ¶
func (o *UpdateUserGroupsURL) String() string
String returns the string representation of the path with query string
func (*UpdateUserGroupsURL) StringFull ¶
func (o *UpdateUserGroupsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateUserGroupsURL) WithBasePath ¶
func (o *UpdateUserGroupsURL) WithBasePath(bp string) *UpdateUserGroupsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateUserInfo ¶
type UpdateUserInfo struct { Context *middleware.Context Handler UpdateUserInfoHandler }
UpdateUserInfo swagger:route PUT /user/{name} User updateUserInfo
Update User Info
func NewUpdateUserInfo ¶
func NewUpdateUserInfo(ctx *middleware.Context, handler UpdateUserInfoHandler) *UpdateUserInfo
NewUpdateUserInfo creates a new http.Handler for the update user info operation
func (*UpdateUserInfo) ServeHTTP ¶
func (o *UpdateUserInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateUserInfoDefault ¶
type UpdateUserInfoDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
UpdateUserInfoDefault Generic error response.
swagger:response updateUserInfoDefault
func NewUpdateUserInfoDefault ¶
func NewUpdateUserInfoDefault(code int) *UpdateUserInfoDefault
NewUpdateUserInfoDefault creates UpdateUserInfoDefault with default headers values
func (*UpdateUserInfoDefault) SetPayload ¶
func (o *UpdateUserInfoDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the update user info default response
func (*UpdateUserInfoDefault) SetStatusCode ¶
func (o *UpdateUserInfoDefault) SetStatusCode(code int)
SetStatusCode sets the status to the update user info default response
func (*UpdateUserInfoDefault) WithPayload ¶
func (o *UpdateUserInfoDefault) WithPayload(payload *models.Error) *UpdateUserInfoDefault
WithPayload adds the payload to the update user info default response
func (*UpdateUserInfoDefault) WithStatusCode ¶
func (o *UpdateUserInfoDefault) WithStatusCode(code int) *UpdateUserInfoDefault
WithStatusCode adds the status to the update user info default response
func (*UpdateUserInfoDefault) WriteResponse ¶
func (o *UpdateUserInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateUserInfoHandler ¶
type UpdateUserInfoHandler interface {
Handle(UpdateUserInfoParams, *models.Principal) middleware.Responder
}
UpdateUserInfoHandler interface for that can handle valid update user info params
type UpdateUserInfoHandlerFunc ¶
type UpdateUserInfoHandlerFunc func(UpdateUserInfoParams, *models.Principal) middleware.Responder
UpdateUserInfoHandlerFunc turns a function with the right signature into a update user info handler
func (UpdateUserInfoHandlerFunc) Handle ¶
func (fn UpdateUserInfoHandlerFunc) Handle(params UpdateUserInfoParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type UpdateUserInfoOK ¶
UpdateUserInfoOK A successful response.
swagger:response updateUserInfoOK
func NewUpdateUserInfoOK ¶
func NewUpdateUserInfoOK() *UpdateUserInfoOK
NewUpdateUserInfoOK creates UpdateUserInfoOK with default headers values
func (*UpdateUserInfoOK) SetPayload ¶
func (o *UpdateUserInfoOK) SetPayload(payload *models.User)
SetPayload sets the payload to the update user info o k response
func (*UpdateUserInfoOK) WithPayload ¶
func (o *UpdateUserInfoOK) WithPayload(payload *models.User) *UpdateUserInfoOK
WithPayload adds the payload to the update user info o k response
func (*UpdateUserInfoOK) WriteResponse ¶
func (o *UpdateUserInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateUserInfoParams ¶
type UpdateUserInfoParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.UpdateUser /* Required: true In: path */ Name string }
UpdateUserInfoParams contains all the bound params for the update user info operation typically these are obtained from a http.Request
swagger:parameters UpdateUserInfo
func NewUpdateUserInfoParams ¶
func NewUpdateUserInfoParams() UpdateUserInfoParams
NewUpdateUserInfoParams creates a new UpdateUserInfoParams object
There are no default values defined in the spec.
func (*UpdateUserInfoParams) BindRequest ¶
func (o *UpdateUserInfoParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateUserInfoParams() beforehand.
type UpdateUserInfoURL ¶
type UpdateUserInfoURL struct { Name string // contains filtered or unexported fields }
UpdateUserInfoURL generates an URL for the update user info operation
func (*UpdateUserInfoURL) Build ¶
func (o *UpdateUserInfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateUserInfoURL) BuildFull ¶
func (o *UpdateUserInfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateUserInfoURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateUserInfoURL) SetBasePath ¶
func (o *UpdateUserInfoURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateUserInfoURL) String ¶
func (o *UpdateUserInfoURL) String() string
String returns the string representation of the path with query string
func (*UpdateUserInfoURL) StringFull ¶
func (o *UpdateUserInfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateUserInfoURL) WithBasePath ¶
func (o *UpdateUserInfoURL) WithBasePath(bp string) *UpdateUserInfoURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- add_user.go
- add_user_parameters.go
- add_user_responses.go
- add_user_urlbuilder.go
- bulk_update_users_groups.go
- bulk_update_users_groups_parameters.go
- bulk_update_users_groups_responses.go
- bulk_update_users_groups_urlbuilder.go
- check_user_service_accounts.go
- check_user_service_accounts_parameters.go
- check_user_service_accounts_responses.go
- check_user_service_accounts_urlbuilder.go
- create_a_user_service_account.go
- create_a_user_service_account_parameters.go
- create_a_user_service_account_responses.go
- create_a_user_service_account_urlbuilder.go
- create_service_account_credentials.go
- create_service_account_credentials_parameters.go
- create_service_account_credentials_responses.go
- create_service_account_credentials_urlbuilder.go
- get_user_info.go
- get_user_info_parameters.go
- get_user_info_responses.go
- get_user_info_urlbuilder.go
- list_a_user_service_accounts.go
- list_a_user_service_accounts_parameters.go
- list_a_user_service_accounts_responses.go
- list_a_user_service_accounts_urlbuilder.go
- list_users.go
- list_users_parameters.go
- list_users_responses.go
- list_users_urlbuilder.go
- remove_user.go
- remove_user_parameters.go
- remove_user_responses.go
- remove_user_urlbuilder.go
- update_user_groups.go
- update_user_groups_parameters.go
- update_user_groups_responses.go
- update_user_groups_urlbuilder.go
- update_user_info.go
- update_user_info_parameters.go
- update_user_info_responses.go
- update_user_info_urlbuilder.go