Documentation ¶
Index ¶
- Constants
- type CreateServiceAccount
- type CreateServiceAccountCreated
- func (o *CreateServiceAccountCreated) SetPayload(payload *models.ServiceAccountCreds)
- func (o *CreateServiceAccountCreated) WithPayload(payload *models.ServiceAccountCreds) *CreateServiceAccountCreated
- func (o *CreateServiceAccountCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServiceAccountCreds
- type CreateServiceAccountCredsCreated
- func (o *CreateServiceAccountCredsCreated) SetPayload(payload *models.ServiceAccountCreds)
- func (o *CreateServiceAccountCredsCreated) WithPayload(payload *models.ServiceAccountCreds) *CreateServiceAccountCredsCreated
- func (o *CreateServiceAccountCredsCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServiceAccountCredsDefault
- func (o *CreateServiceAccountCredsDefault) SetPayload(payload *models.APIError)
- func (o *CreateServiceAccountCredsDefault) SetStatusCode(code int)
- func (o *CreateServiceAccountCredsDefault) WithPayload(payload *models.APIError) *CreateServiceAccountCredsDefault
- func (o *CreateServiceAccountCredsDefault) WithStatusCode(code int) *CreateServiceAccountCredsDefault
- func (o *CreateServiceAccountCredsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServiceAccountCredsHandler
- type CreateServiceAccountCredsHandlerFunc
- type CreateServiceAccountCredsParams
- type CreateServiceAccountCredsURL
- func (o *CreateServiceAccountCredsURL) Build() (*url.URL, error)
- func (o *CreateServiceAccountCredsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateServiceAccountCredsURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateServiceAccountCredsURL) SetBasePath(bp string)
- func (o *CreateServiceAccountCredsURL) String() string
- func (o *CreateServiceAccountCredsURL) StringFull(scheme, host string) string
- func (o *CreateServiceAccountCredsURL) WithBasePath(bp string) *CreateServiceAccountCredsURL
- type CreateServiceAccountDefault
- func (o *CreateServiceAccountDefault) SetPayload(payload *models.APIError)
- func (o *CreateServiceAccountDefault) SetStatusCode(code int)
- func (o *CreateServiceAccountDefault) WithPayload(payload *models.APIError) *CreateServiceAccountDefault
- func (o *CreateServiceAccountDefault) WithStatusCode(code int) *CreateServiceAccountDefault
- func (o *CreateServiceAccountDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServiceAccountHandler
- type CreateServiceAccountHandlerFunc
- type CreateServiceAccountParams
- type CreateServiceAccountURL
- func (o *CreateServiceAccountURL) Build() (*url.URL, error)
- func (o *CreateServiceAccountURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateServiceAccountURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateServiceAccountURL) SetBasePath(bp string)
- func (o *CreateServiceAccountURL) String() string
- func (o *CreateServiceAccountURL) StringFull(scheme, host string) string
- func (o *CreateServiceAccountURL) WithBasePath(bp string) *CreateServiceAccountURL
- type DeleteMultipleServiceAccounts
- type DeleteMultipleServiceAccountsDefault
- func (o *DeleteMultipleServiceAccountsDefault) SetPayload(payload *models.APIError)
- func (o *DeleteMultipleServiceAccountsDefault) SetStatusCode(code int)
- func (o *DeleteMultipleServiceAccountsDefault) WithPayload(payload *models.APIError) *DeleteMultipleServiceAccountsDefault
- func (o *DeleteMultipleServiceAccountsDefault) WithStatusCode(code int) *DeleteMultipleServiceAccountsDefault
- func (o *DeleteMultipleServiceAccountsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteMultipleServiceAccountsHandler
- type DeleteMultipleServiceAccountsHandlerFunc
- type DeleteMultipleServiceAccountsNoContent
- type DeleteMultipleServiceAccountsParams
- type DeleteMultipleServiceAccountsURL
- func (o *DeleteMultipleServiceAccountsURL) Build() (*url.URL, error)
- func (o *DeleteMultipleServiceAccountsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteMultipleServiceAccountsURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteMultipleServiceAccountsURL) SetBasePath(bp string)
- func (o *DeleteMultipleServiceAccountsURL) String() string
- func (o *DeleteMultipleServiceAccountsURL) StringFull(scheme, host string) string
- func (o *DeleteMultipleServiceAccountsURL) WithBasePath(bp string) *DeleteMultipleServiceAccountsURL
- type DeleteServiceAccount
- type DeleteServiceAccountDefault
- func (o *DeleteServiceAccountDefault) SetPayload(payload *models.APIError)
- func (o *DeleteServiceAccountDefault) SetStatusCode(code int)
- func (o *DeleteServiceAccountDefault) WithPayload(payload *models.APIError) *DeleteServiceAccountDefault
- func (o *DeleteServiceAccountDefault) WithStatusCode(code int) *DeleteServiceAccountDefault
- func (o *DeleteServiceAccountDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteServiceAccountHandler
- type DeleteServiceAccountHandlerFunc
- type DeleteServiceAccountNoContent
- type DeleteServiceAccountParams
- type DeleteServiceAccountURL
- func (o *DeleteServiceAccountURL) Build() (*url.URL, error)
- func (o *DeleteServiceAccountURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteServiceAccountURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteServiceAccountURL) SetBasePath(bp string)
- func (o *DeleteServiceAccountURL) String() string
- func (o *DeleteServiceAccountURL) StringFull(scheme, host string) string
- func (o *DeleteServiceAccountURL) WithBasePath(bp string) *DeleteServiceAccountURL
- type GetServiceAccount
- type GetServiceAccountDefault
- func (o *GetServiceAccountDefault) SetPayload(payload *models.APIError)
- func (o *GetServiceAccountDefault) SetStatusCode(code int)
- func (o *GetServiceAccountDefault) WithPayload(payload *models.APIError) *GetServiceAccountDefault
- func (o *GetServiceAccountDefault) WithStatusCode(code int) *GetServiceAccountDefault
- func (o *GetServiceAccountDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServiceAccountHandler
- type GetServiceAccountHandlerFunc
- type GetServiceAccountOK
- type GetServiceAccountParams
- type GetServiceAccountURL
- func (o *GetServiceAccountURL) Build() (*url.URL, error)
- func (o *GetServiceAccountURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServiceAccountURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServiceAccountURL) SetBasePath(bp string)
- func (o *GetServiceAccountURL) String() string
- func (o *GetServiceAccountURL) StringFull(scheme, host string) string
- func (o *GetServiceAccountURL) WithBasePath(bp string) *GetServiceAccountURL
- type ListUserServiceAccounts
- type ListUserServiceAccountsDefault
- func (o *ListUserServiceAccountsDefault) SetPayload(payload *models.APIError)
- func (o *ListUserServiceAccountsDefault) SetStatusCode(code int)
- func (o *ListUserServiceAccountsDefault) WithPayload(payload *models.APIError) *ListUserServiceAccountsDefault
- func (o *ListUserServiceAccountsDefault) WithStatusCode(code int) *ListUserServiceAccountsDefault
- func (o *ListUserServiceAccountsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListUserServiceAccountsHandler
- type ListUserServiceAccountsHandlerFunc
- type ListUserServiceAccountsOK
- type ListUserServiceAccountsParams
- type ListUserServiceAccountsURL
- func (o *ListUserServiceAccountsURL) Build() (*url.URL, error)
- func (o *ListUserServiceAccountsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListUserServiceAccountsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListUserServiceAccountsURL) SetBasePath(bp string)
- func (o *ListUserServiceAccountsURL) String() string
- func (o *ListUserServiceAccountsURL) StringFull(scheme, host string) string
- func (o *ListUserServiceAccountsURL) WithBasePath(bp string) *ListUserServiceAccountsURL
- type UpdateServiceAccount
- type UpdateServiceAccountDefault
- func (o *UpdateServiceAccountDefault) SetPayload(payload *models.APIError)
- func (o *UpdateServiceAccountDefault) SetStatusCode(code int)
- func (o *UpdateServiceAccountDefault) WithPayload(payload *models.APIError) *UpdateServiceAccountDefault
- func (o *UpdateServiceAccountDefault) WithStatusCode(code int) *UpdateServiceAccountDefault
- func (o *UpdateServiceAccountDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceAccountHandler
- type UpdateServiceAccountHandlerFunc
- type UpdateServiceAccountOK
- type UpdateServiceAccountParams
- type UpdateServiceAccountURL
- func (o *UpdateServiceAccountURL) Build() (*url.URL, error)
- func (o *UpdateServiceAccountURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateServiceAccountURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateServiceAccountURL) SetBasePath(bp string)
- func (o *UpdateServiceAccountURL) String() string
- func (o *UpdateServiceAccountURL) StringFull(scheme, host string) string
- func (o *UpdateServiceAccountURL) WithBasePath(bp string) *UpdateServiceAccountURL
Constants ¶
const CreateServiceAccountCreatedCode int = 201
CreateServiceAccountCreatedCode is the HTTP code returned for type CreateServiceAccountCreated
const CreateServiceAccountCredsCreatedCode int = 201
CreateServiceAccountCredsCreatedCode is the HTTP code returned for type CreateServiceAccountCredsCreated
const DeleteMultipleServiceAccountsNoContentCode int = 204
DeleteMultipleServiceAccountsNoContentCode is the HTTP code returned for type DeleteMultipleServiceAccountsNoContent
const DeleteServiceAccountNoContentCode int = 204
DeleteServiceAccountNoContentCode is the HTTP code returned for type DeleteServiceAccountNoContent
const GetServiceAccountOKCode int = 200
GetServiceAccountOKCode is the HTTP code returned for type GetServiceAccountOK
const ListUserServiceAccountsOKCode int = 200
ListUserServiceAccountsOKCode is the HTTP code returned for type ListUserServiceAccountsOK
const UpdateServiceAccountOKCode int = 200
UpdateServiceAccountOKCode is the HTTP code returned for type UpdateServiceAccountOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateServiceAccount ¶
type CreateServiceAccount struct { Context *middleware.Context Handler CreateServiceAccountHandler }
CreateServiceAccount swagger:route POST /service-accounts ServiceAccount createServiceAccount
Create Service Account
func NewCreateServiceAccount ¶
func NewCreateServiceAccount(ctx *middleware.Context, handler CreateServiceAccountHandler) *CreateServiceAccount
NewCreateServiceAccount creates a new http.Handler for the create service account operation
func (*CreateServiceAccount) ServeHTTP ¶
func (o *CreateServiceAccount) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateServiceAccountCreated ¶
type CreateServiceAccountCreated struct { /* In: Body */ Payload *models.ServiceAccountCreds `json:"body,omitempty"` }
CreateServiceAccountCreated A successful response.
swagger:response createServiceAccountCreated
func NewCreateServiceAccountCreated ¶
func NewCreateServiceAccountCreated() *CreateServiceAccountCreated
NewCreateServiceAccountCreated creates CreateServiceAccountCreated with default headers values
func (*CreateServiceAccountCreated) SetPayload ¶
func (o *CreateServiceAccountCreated) SetPayload(payload *models.ServiceAccountCreds)
SetPayload sets the payload to the create service account created response
func (*CreateServiceAccountCreated) WithPayload ¶
func (o *CreateServiceAccountCreated) WithPayload(payload *models.ServiceAccountCreds) *CreateServiceAccountCreated
WithPayload adds the payload to the create service account created response
func (*CreateServiceAccountCreated) WriteResponse ¶
func (o *CreateServiceAccountCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceAccountCreds ¶
type CreateServiceAccountCreds struct { Context *middleware.Context Handler CreateServiceAccountCredsHandler }
CreateServiceAccountCreds swagger:route POST /service-account-credentials ServiceAccount createServiceAccountCreds
Create Service Account With Credentials
func NewCreateServiceAccountCreds ¶
func NewCreateServiceAccountCreds(ctx *middleware.Context, handler CreateServiceAccountCredsHandler) *CreateServiceAccountCreds
NewCreateServiceAccountCreds creates a new http.Handler for the create service account creds operation
func (*CreateServiceAccountCreds) ServeHTTP ¶
func (o *CreateServiceAccountCreds) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateServiceAccountCredsCreated ¶
type CreateServiceAccountCredsCreated struct { /* In: Body */ Payload *models.ServiceAccountCreds `json:"body,omitempty"` }
CreateServiceAccountCredsCreated A successful response.
swagger:response createServiceAccountCredsCreated
func NewCreateServiceAccountCredsCreated ¶
func NewCreateServiceAccountCredsCreated() *CreateServiceAccountCredsCreated
NewCreateServiceAccountCredsCreated creates CreateServiceAccountCredsCreated with default headers values
func (*CreateServiceAccountCredsCreated) SetPayload ¶
func (o *CreateServiceAccountCredsCreated) SetPayload(payload *models.ServiceAccountCreds)
SetPayload sets the payload to the create service account creds created response
func (*CreateServiceAccountCredsCreated) WithPayload ¶
func (o *CreateServiceAccountCredsCreated) WithPayload(payload *models.ServiceAccountCreds) *CreateServiceAccountCredsCreated
WithPayload adds the payload to the create service account creds created response
func (*CreateServiceAccountCredsCreated) WriteResponse ¶
func (o *CreateServiceAccountCredsCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceAccountCredsDefault ¶
type CreateServiceAccountCredsDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
CreateServiceAccountCredsDefault Generic error response.
swagger:response createServiceAccountCredsDefault
func NewCreateServiceAccountCredsDefault ¶
func NewCreateServiceAccountCredsDefault(code int) *CreateServiceAccountCredsDefault
NewCreateServiceAccountCredsDefault creates CreateServiceAccountCredsDefault with default headers values
func (*CreateServiceAccountCredsDefault) SetPayload ¶
func (o *CreateServiceAccountCredsDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the create service account creds default response
func (*CreateServiceAccountCredsDefault) SetStatusCode ¶
func (o *CreateServiceAccountCredsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the create service account creds default response
func (*CreateServiceAccountCredsDefault) WithPayload ¶
func (o *CreateServiceAccountCredsDefault) WithPayload(payload *models.APIError) *CreateServiceAccountCredsDefault
WithPayload adds the payload to the create service account creds default response
func (*CreateServiceAccountCredsDefault) WithStatusCode ¶
func (o *CreateServiceAccountCredsDefault) WithStatusCode(code int) *CreateServiceAccountCredsDefault
WithStatusCode adds the status to the create service account creds default response
func (*CreateServiceAccountCredsDefault) WriteResponse ¶
func (o *CreateServiceAccountCredsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceAccountCredsHandler ¶
type CreateServiceAccountCredsHandler interface {
Handle(CreateServiceAccountCredsParams, *models.Principal) middleware.Responder
}
CreateServiceAccountCredsHandler interface for that can handle valid create service account creds params
type CreateServiceAccountCredsHandlerFunc ¶
type CreateServiceAccountCredsHandlerFunc func(CreateServiceAccountCredsParams, *models.Principal) middleware.Responder
CreateServiceAccountCredsHandlerFunc turns a function with the right signature into a create service account creds handler
func (CreateServiceAccountCredsHandlerFunc) Handle ¶
func (fn CreateServiceAccountCredsHandlerFunc) Handle(params CreateServiceAccountCredsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type CreateServiceAccountCredsParams ¶
type CreateServiceAccountCredsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ServiceAccountRequestCreds }
CreateServiceAccountCredsParams contains all the bound params for the create service account creds operation typically these are obtained from a http.Request
swagger:parameters CreateServiceAccountCreds
func NewCreateServiceAccountCredsParams ¶
func NewCreateServiceAccountCredsParams() CreateServiceAccountCredsParams
NewCreateServiceAccountCredsParams creates a new CreateServiceAccountCredsParams object
There are no default values defined in the spec.
func (*CreateServiceAccountCredsParams) BindRequest ¶
func (o *CreateServiceAccountCredsParams) 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 NewCreateServiceAccountCredsParams() beforehand.
type CreateServiceAccountCredsURL ¶
type CreateServiceAccountCredsURL struct {
// contains filtered or unexported fields
}
CreateServiceAccountCredsURL generates an URL for the create service account creds operation
func (*CreateServiceAccountCredsURL) Build ¶
func (o *CreateServiceAccountCredsURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateServiceAccountCredsURL) BuildFull ¶
func (o *CreateServiceAccountCredsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateServiceAccountCredsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateServiceAccountCredsURL) SetBasePath ¶
func (o *CreateServiceAccountCredsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateServiceAccountCredsURL) String ¶
func (o *CreateServiceAccountCredsURL) String() string
String returns the string representation of the path with query string
func (*CreateServiceAccountCredsURL) StringFull ¶
func (o *CreateServiceAccountCredsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateServiceAccountCredsURL) WithBasePath ¶
func (o *CreateServiceAccountCredsURL) WithBasePath(bp string) *CreateServiceAccountCredsURL
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 CreateServiceAccountDefault ¶
type CreateServiceAccountDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
CreateServiceAccountDefault Generic error response.
swagger:response createServiceAccountDefault
func NewCreateServiceAccountDefault ¶
func NewCreateServiceAccountDefault(code int) *CreateServiceAccountDefault
NewCreateServiceAccountDefault creates CreateServiceAccountDefault with default headers values
func (*CreateServiceAccountDefault) SetPayload ¶
func (o *CreateServiceAccountDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the create service account default response
func (*CreateServiceAccountDefault) SetStatusCode ¶
func (o *CreateServiceAccountDefault) SetStatusCode(code int)
SetStatusCode sets the status to the create service account default response
func (*CreateServiceAccountDefault) WithPayload ¶
func (o *CreateServiceAccountDefault) WithPayload(payload *models.APIError) *CreateServiceAccountDefault
WithPayload adds the payload to the create service account default response
func (*CreateServiceAccountDefault) WithStatusCode ¶
func (o *CreateServiceAccountDefault) WithStatusCode(code int) *CreateServiceAccountDefault
WithStatusCode adds the status to the create service account default response
func (*CreateServiceAccountDefault) WriteResponse ¶
func (o *CreateServiceAccountDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceAccountHandler ¶
type CreateServiceAccountHandler interface {
Handle(CreateServiceAccountParams, *models.Principal) middleware.Responder
}
CreateServiceAccountHandler interface for that can handle valid create service account params
type CreateServiceAccountHandlerFunc ¶
type CreateServiceAccountHandlerFunc func(CreateServiceAccountParams, *models.Principal) middleware.Responder
CreateServiceAccountHandlerFunc turns a function with the right signature into a create service account handler
func (CreateServiceAccountHandlerFunc) Handle ¶
func (fn CreateServiceAccountHandlerFunc) Handle(params CreateServiceAccountParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type CreateServiceAccountParams ¶
type CreateServiceAccountParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ServiceAccountRequest }
CreateServiceAccountParams contains all the bound params for the create service account operation typically these are obtained from a http.Request
swagger:parameters CreateServiceAccount
func NewCreateServiceAccountParams ¶
func NewCreateServiceAccountParams() CreateServiceAccountParams
NewCreateServiceAccountParams creates a new CreateServiceAccountParams object
There are no default values defined in the spec.
func (*CreateServiceAccountParams) BindRequest ¶
func (o *CreateServiceAccountParams) 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 NewCreateServiceAccountParams() beforehand.
type CreateServiceAccountURL ¶
type CreateServiceAccountURL struct {
// contains filtered or unexported fields
}
CreateServiceAccountURL generates an URL for the create service account operation
func (*CreateServiceAccountURL) Build ¶
func (o *CreateServiceAccountURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateServiceAccountURL) BuildFull ¶
func (o *CreateServiceAccountURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateServiceAccountURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateServiceAccountURL) SetBasePath ¶
func (o *CreateServiceAccountURL) 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 (*CreateServiceAccountURL) String ¶
func (o *CreateServiceAccountURL) String() string
String returns the string representation of the path with query string
func (*CreateServiceAccountURL) StringFull ¶
func (o *CreateServiceAccountURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateServiceAccountURL) WithBasePath ¶
func (o *CreateServiceAccountURL) WithBasePath(bp string) *CreateServiceAccountURL
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 DeleteMultipleServiceAccounts ¶
type DeleteMultipleServiceAccounts struct { Context *middleware.Context Handler DeleteMultipleServiceAccountsHandler }
DeleteMultipleServiceAccounts swagger:route DELETE /service-accounts/delete-multi ServiceAccount deleteMultipleServiceAccounts
Delete Multiple Service Accounts
func NewDeleteMultipleServiceAccounts ¶
func NewDeleteMultipleServiceAccounts(ctx *middleware.Context, handler DeleteMultipleServiceAccountsHandler) *DeleteMultipleServiceAccounts
NewDeleteMultipleServiceAccounts creates a new http.Handler for the delete multiple service accounts operation
func (*DeleteMultipleServiceAccounts) ServeHTTP ¶
func (o *DeleteMultipleServiceAccounts) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteMultipleServiceAccountsDefault ¶
type DeleteMultipleServiceAccountsDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteMultipleServiceAccountsDefault Generic error response.
swagger:response deleteMultipleServiceAccountsDefault
func NewDeleteMultipleServiceAccountsDefault ¶
func NewDeleteMultipleServiceAccountsDefault(code int) *DeleteMultipleServiceAccountsDefault
NewDeleteMultipleServiceAccountsDefault creates DeleteMultipleServiceAccountsDefault with default headers values
func (*DeleteMultipleServiceAccountsDefault) SetPayload ¶
func (o *DeleteMultipleServiceAccountsDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the delete multiple service accounts default response
func (*DeleteMultipleServiceAccountsDefault) SetStatusCode ¶
func (o *DeleteMultipleServiceAccountsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete multiple service accounts default response
func (*DeleteMultipleServiceAccountsDefault) WithPayload ¶
func (o *DeleteMultipleServiceAccountsDefault) WithPayload(payload *models.APIError) *DeleteMultipleServiceAccountsDefault
WithPayload adds the payload to the delete multiple service accounts default response
func (*DeleteMultipleServiceAccountsDefault) WithStatusCode ¶
func (o *DeleteMultipleServiceAccountsDefault) WithStatusCode(code int) *DeleteMultipleServiceAccountsDefault
WithStatusCode adds the status to the delete multiple service accounts default response
func (*DeleteMultipleServiceAccountsDefault) WriteResponse ¶
func (o *DeleteMultipleServiceAccountsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMultipleServiceAccountsHandler ¶
type DeleteMultipleServiceAccountsHandler interface {
Handle(DeleteMultipleServiceAccountsParams, *models.Principal) middleware.Responder
}
DeleteMultipleServiceAccountsHandler interface for that can handle valid delete multiple service accounts params
type DeleteMultipleServiceAccountsHandlerFunc ¶
type DeleteMultipleServiceAccountsHandlerFunc func(DeleteMultipleServiceAccountsParams, *models.Principal) middleware.Responder
DeleteMultipleServiceAccountsHandlerFunc turns a function with the right signature into a delete multiple service accounts handler
func (DeleteMultipleServiceAccountsHandlerFunc) Handle ¶
func (fn DeleteMultipleServiceAccountsHandlerFunc) Handle(params DeleteMultipleServiceAccountsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteMultipleServiceAccountsNoContent ¶
type DeleteMultipleServiceAccountsNoContent struct { }
DeleteMultipleServiceAccountsNoContent A successful response.
swagger:response deleteMultipleServiceAccountsNoContent
func NewDeleteMultipleServiceAccountsNoContent ¶
func NewDeleteMultipleServiceAccountsNoContent() *DeleteMultipleServiceAccountsNoContent
NewDeleteMultipleServiceAccountsNoContent creates DeleteMultipleServiceAccountsNoContent with default headers values
func (*DeleteMultipleServiceAccountsNoContent) WriteResponse ¶
func (o *DeleteMultipleServiceAccountsNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteMultipleServiceAccountsParams ¶
type DeleteMultipleServiceAccountsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ SelectedSA []string }
DeleteMultipleServiceAccountsParams contains all the bound params for the delete multiple service accounts operation typically these are obtained from a http.Request
swagger:parameters DeleteMultipleServiceAccounts
func NewDeleteMultipleServiceAccountsParams ¶
func NewDeleteMultipleServiceAccountsParams() DeleteMultipleServiceAccountsParams
NewDeleteMultipleServiceAccountsParams creates a new DeleteMultipleServiceAccountsParams object
There are no default values defined in the spec.
func (*DeleteMultipleServiceAccountsParams) BindRequest ¶
func (o *DeleteMultipleServiceAccountsParams) 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 NewDeleteMultipleServiceAccountsParams() beforehand.
type DeleteMultipleServiceAccountsURL ¶
type DeleteMultipleServiceAccountsURL struct {
// contains filtered or unexported fields
}
DeleteMultipleServiceAccountsURL generates an URL for the delete multiple service accounts operation
func (*DeleteMultipleServiceAccountsURL) Build ¶
func (o *DeleteMultipleServiceAccountsURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteMultipleServiceAccountsURL) BuildFull ¶
func (o *DeleteMultipleServiceAccountsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteMultipleServiceAccountsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteMultipleServiceAccountsURL) SetBasePath ¶
func (o *DeleteMultipleServiceAccountsURL) 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 (*DeleteMultipleServiceAccountsURL) String ¶
func (o *DeleteMultipleServiceAccountsURL) String() string
String returns the string representation of the path with query string
func (*DeleteMultipleServiceAccountsURL) StringFull ¶
func (o *DeleteMultipleServiceAccountsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteMultipleServiceAccountsURL) WithBasePath ¶
func (o *DeleteMultipleServiceAccountsURL) WithBasePath(bp string) *DeleteMultipleServiceAccountsURL
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 DeleteServiceAccount ¶
type DeleteServiceAccount struct { Context *middleware.Context Handler DeleteServiceAccountHandler }
DeleteServiceAccount swagger:route DELETE /service-accounts/{access_key} ServiceAccount deleteServiceAccount
Delete Service Account
func NewDeleteServiceAccount ¶
func NewDeleteServiceAccount(ctx *middleware.Context, handler DeleteServiceAccountHandler) *DeleteServiceAccount
NewDeleteServiceAccount creates a new http.Handler for the delete service account operation
func (*DeleteServiceAccount) ServeHTTP ¶
func (o *DeleteServiceAccount) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteServiceAccountDefault ¶
type DeleteServiceAccountDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteServiceAccountDefault Generic error response.
swagger:response deleteServiceAccountDefault
func NewDeleteServiceAccountDefault ¶
func NewDeleteServiceAccountDefault(code int) *DeleteServiceAccountDefault
NewDeleteServiceAccountDefault creates DeleteServiceAccountDefault with default headers values
func (*DeleteServiceAccountDefault) SetPayload ¶
func (o *DeleteServiceAccountDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the delete service account default response
func (*DeleteServiceAccountDefault) SetStatusCode ¶
func (o *DeleteServiceAccountDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete service account default response
func (*DeleteServiceAccountDefault) WithPayload ¶
func (o *DeleteServiceAccountDefault) WithPayload(payload *models.APIError) *DeleteServiceAccountDefault
WithPayload adds the payload to the delete service account default response
func (*DeleteServiceAccountDefault) WithStatusCode ¶
func (o *DeleteServiceAccountDefault) WithStatusCode(code int) *DeleteServiceAccountDefault
WithStatusCode adds the status to the delete service account default response
func (*DeleteServiceAccountDefault) WriteResponse ¶
func (o *DeleteServiceAccountDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceAccountHandler ¶
type DeleteServiceAccountHandler interface {
Handle(DeleteServiceAccountParams, *models.Principal) middleware.Responder
}
DeleteServiceAccountHandler interface for that can handle valid delete service account params
type DeleteServiceAccountHandlerFunc ¶
type DeleteServiceAccountHandlerFunc func(DeleteServiceAccountParams, *models.Principal) middleware.Responder
DeleteServiceAccountHandlerFunc turns a function with the right signature into a delete service account handler
func (DeleteServiceAccountHandlerFunc) Handle ¶
func (fn DeleteServiceAccountHandlerFunc) Handle(params DeleteServiceAccountParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type DeleteServiceAccountNoContent ¶
type DeleteServiceAccountNoContent struct { }
DeleteServiceAccountNoContent A successful response.
swagger:response deleteServiceAccountNoContent
func NewDeleteServiceAccountNoContent ¶
func NewDeleteServiceAccountNoContent() *DeleteServiceAccountNoContent
NewDeleteServiceAccountNoContent creates DeleteServiceAccountNoContent with default headers values
func (*DeleteServiceAccountNoContent) WriteResponse ¶
func (o *DeleteServiceAccountNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceAccountParams ¶
type DeleteServiceAccountParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ AccessKey string }
DeleteServiceAccountParams contains all the bound params for the delete service account operation typically these are obtained from a http.Request
swagger:parameters DeleteServiceAccount
func NewDeleteServiceAccountParams ¶
func NewDeleteServiceAccountParams() DeleteServiceAccountParams
NewDeleteServiceAccountParams creates a new DeleteServiceAccountParams object
There are no default values defined in the spec.
func (*DeleteServiceAccountParams) BindRequest ¶
func (o *DeleteServiceAccountParams) 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 NewDeleteServiceAccountParams() beforehand.
type DeleteServiceAccountURL ¶
type DeleteServiceAccountURL struct { AccessKey string // contains filtered or unexported fields }
DeleteServiceAccountURL generates an URL for the delete service account operation
func (*DeleteServiceAccountURL) Build ¶
func (o *DeleteServiceAccountURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteServiceAccountURL) BuildFull ¶
func (o *DeleteServiceAccountURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteServiceAccountURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteServiceAccountURL) SetBasePath ¶
func (o *DeleteServiceAccountURL) 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 (*DeleteServiceAccountURL) String ¶
func (o *DeleteServiceAccountURL) String() string
String returns the string representation of the path with query string
func (*DeleteServiceAccountURL) StringFull ¶
func (o *DeleteServiceAccountURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteServiceAccountURL) WithBasePath ¶
func (o *DeleteServiceAccountURL) WithBasePath(bp string) *DeleteServiceAccountURL
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 GetServiceAccount ¶ added in v0.42.0
type GetServiceAccount struct { Context *middleware.Context Handler GetServiceAccountHandler }
GetServiceAccount swagger:route GET /service-accounts/{access_key} ServiceAccount getServiceAccount
Get Service Account
func NewGetServiceAccount ¶ added in v0.42.0
func NewGetServiceAccount(ctx *middleware.Context, handler GetServiceAccountHandler) *GetServiceAccount
NewGetServiceAccount creates a new http.Handler for the get service account operation
func (*GetServiceAccount) ServeHTTP ¶ added in v0.42.0
func (o *GetServiceAccount) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServiceAccountDefault ¶ added in v0.42.0
type GetServiceAccountDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
GetServiceAccountDefault Generic error response.
swagger:response getServiceAccountDefault
func NewGetServiceAccountDefault ¶ added in v0.42.0
func NewGetServiceAccountDefault(code int) *GetServiceAccountDefault
NewGetServiceAccountDefault creates GetServiceAccountDefault with default headers values
func (*GetServiceAccountDefault) SetPayload ¶ added in v0.42.0
func (o *GetServiceAccountDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the get service account default response
func (*GetServiceAccountDefault) SetStatusCode ¶ added in v0.42.0
func (o *GetServiceAccountDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get service account default response
func (*GetServiceAccountDefault) WithPayload ¶ added in v0.42.0
func (o *GetServiceAccountDefault) WithPayload(payload *models.APIError) *GetServiceAccountDefault
WithPayload adds the payload to the get service account default response
func (*GetServiceAccountDefault) WithStatusCode ¶ added in v0.42.0
func (o *GetServiceAccountDefault) WithStatusCode(code int) *GetServiceAccountDefault
WithStatusCode adds the status to the get service account default response
func (*GetServiceAccountDefault) WriteResponse ¶ added in v0.42.0
func (o *GetServiceAccountDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceAccountHandler ¶ added in v0.42.0
type GetServiceAccountHandler interface {
Handle(GetServiceAccountParams, *models.Principal) middleware.Responder
}
GetServiceAccountHandler interface for that can handle valid get service account params
type GetServiceAccountHandlerFunc ¶ added in v0.42.0
type GetServiceAccountHandlerFunc func(GetServiceAccountParams, *models.Principal) middleware.Responder
GetServiceAccountHandlerFunc turns a function with the right signature into a get service account handler
func (GetServiceAccountHandlerFunc) Handle ¶ added in v0.42.0
func (fn GetServiceAccountHandlerFunc) Handle(params GetServiceAccountParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetServiceAccountOK ¶ added in v0.42.0
type GetServiceAccountOK struct { /* In: Body */ Payload *models.ServiceAccount `json:"body,omitempty"` }
GetServiceAccountOK A successful response.
swagger:response getServiceAccountOK
func NewGetServiceAccountOK ¶ added in v0.42.0
func NewGetServiceAccountOK() *GetServiceAccountOK
NewGetServiceAccountOK creates GetServiceAccountOK with default headers values
func (*GetServiceAccountOK) SetPayload ¶ added in v0.42.0
func (o *GetServiceAccountOK) SetPayload(payload *models.ServiceAccount)
SetPayload sets the payload to the get service account o k response
func (*GetServiceAccountOK) WithPayload ¶ added in v0.42.0
func (o *GetServiceAccountOK) WithPayload(payload *models.ServiceAccount) *GetServiceAccountOK
WithPayload adds the payload to the get service account o k response
func (*GetServiceAccountOK) WriteResponse ¶ added in v0.42.0
func (o *GetServiceAccountOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceAccountParams ¶ added in v0.42.0
type GetServiceAccountParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ AccessKey string }
GetServiceAccountParams contains all the bound params for the get service account operation typically these are obtained from a http.Request
swagger:parameters GetServiceAccount
func NewGetServiceAccountParams ¶ added in v0.42.0
func NewGetServiceAccountParams() GetServiceAccountParams
NewGetServiceAccountParams creates a new GetServiceAccountParams object
There are no default values defined in the spec.
func (*GetServiceAccountParams) BindRequest ¶ added in v0.42.0
func (o *GetServiceAccountParams) 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 NewGetServiceAccountParams() beforehand.
type GetServiceAccountURL ¶ added in v0.42.0
type GetServiceAccountURL struct { AccessKey string // contains filtered or unexported fields }
GetServiceAccountURL generates an URL for the get service account operation
func (*GetServiceAccountURL) Build ¶ added in v0.42.0
func (o *GetServiceAccountURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetServiceAccountURL) BuildFull ¶ added in v0.42.0
func (o *GetServiceAccountURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetServiceAccountURL) Must ¶ added in v0.42.0
Must is a helper function to panic when the url builder returns an error
func (*GetServiceAccountURL) SetBasePath ¶ added in v0.42.0
func (o *GetServiceAccountURL) 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 (*GetServiceAccountURL) String ¶ added in v0.42.0
func (o *GetServiceAccountURL) String() string
String returns the string representation of the path with query string
func (*GetServiceAccountURL) StringFull ¶ added in v0.42.0
func (o *GetServiceAccountURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetServiceAccountURL) WithBasePath ¶ added in v0.42.0
func (o *GetServiceAccountURL) WithBasePath(bp string) *GetServiceAccountURL
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 ListUserServiceAccounts ¶
type ListUserServiceAccounts struct { Context *middleware.Context Handler ListUserServiceAccountsHandler }
ListUserServiceAccounts swagger:route GET /service-accounts ServiceAccount listUserServiceAccounts
List User's Service Accounts
func NewListUserServiceAccounts ¶
func NewListUserServiceAccounts(ctx *middleware.Context, handler ListUserServiceAccountsHandler) *ListUserServiceAccounts
NewListUserServiceAccounts creates a new http.Handler for the list user service accounts operation
func (*ListUserServiceAccounts) ServeHTTP ¶
func (o *ListUserServiceAccounts) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListUserServiceAccountsDefault ¶
type ListUserServiceAccountsDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
ListUserServiceAccountsDefault Generic error response.
swagger:response listUserServiceAccountsDefault
func NewListUserServiceAccountsDefault ¶
func NewListUserServiceAccountsDefault(code int) *ListUserServiceAccountsDefault
NewListUserServiceAccountsDefault creates ListUserServiceAccountsDefault with default headers values
func (*ListUserServiceAccountsDefault) SetPayload ¶
func (o *ListUserServiceAccountsDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the list user service accounts default response
func (*ListUserServiceAccountsDefault) SetStatusCode ¶
func (o *ListUserServiceAccountsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list user service accounts default response
func (*ListUserServiceAccountsDefault) WithPayload ¶
func (o *ListUserServiceAccountsDefault) WithPayload(payload *models.APIError) *ListUserServiceAccountsDefault
WithPayload adds the payload to the list user service accounts default response
func (*ListUserServiceAccountsDefault) WithStatusCode ¶
func (o *ListUserServiceAccountsDefault) WithStatusCode(code int) *ListUserServiceAccountsDefault
WithStatusCode adds the status to the list user service accounts default response
func (*ListUserServiceAccountsDefault) WriteResponse ¶
func (o *ListUserServiceAccountsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListUserServiceAccountsHandler ¶
type ListUserServiceAccountsHandler interface {
Handle(ListUserServiceAccountsParams, *models.Principal) middleware.Responder
}
ListUserServiceAccountsHandler interface for that can handle valid list user service accounts params
type ListUserServiceAccountsHandlerFunc ¶
type ListUserServiceAccountsHandlerFunc func(ListUserServiceAccountsParams, *models.Principal) middleware.Responder
ListUserServiceAccountsHandlerFunc turns a function with the right signature into a list user service accounts handler
func (ListUserServiceAccountsHandlerFunc) Handle ¶
func (fn ListUserServiceAccountsHandlerFunc) Handle(params ListUserServiceAccountsParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ListUserServiceAccountsOK ¶
type ListUserServiceAccountsOK struct { /* In: Body */ Payload models.ServiceAccounts `json:"body,omitempty"` }
ListUserServiceAccountsOK A successful response.
swagger:response listUserServiceAccountsOK
func NewListUserServiceAccountsOK ¶
func NewListUserServiceAccountsOK() *ListUserServiceAccountsOK
NewListUserServiceAccountsOK creates ListUserServiceAccountsOK with default headers values
func (*ListUserServiceAccountsOK) SetPayload ¶
func (o *ListUserServiceAccountsOK) SetPayload(payload models.ServiceAccounts)
SetPayload sets the payload to the list user service accounts o k response
func (*ListUserServiceAccountsOK) WithPayload ¶
func (o *ListUserServiceAccountsOK) WithPayload(payload models.ServiceAccounts) *ListUserServiceAccountsOK
WithPayload adds the payload to the list user service accounts o k response
func (*ListUserServiceAccountsOK) WriteResponse ¶
func (o *ListUserServiceAccountsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListUserServiceAccountsParams ¶
type ListUserServiceAccountsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query Default: 20 */ Limit *int32 /* In: query Default: 0 */ Offset *int32 }
ListUserServiceAccountsParams contains all the bound params for the list user service accounts operation typically these are obtained from a http.Request
swagger:parameters ListUserServiceAccounts
func NewListUserServiceAccountsParams ¶
func NewListUserServiceAccountsParams() ListUserServiceAccountsParams
NewListUserServiceAccountsParams creates a new ListUserServiceAccountsParams object with the default values initialized.
func (*ListUserServiceAccountsParams) BindRequest ¶
func (o *ListUserServiceAccountsParams) 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 NewListUserServiceAccountsParams() beforehand.
type ListUserServiceAccountsURL ¶
type ListUserServiceAccountsURL struct { Limit *int32 Offset *int32 // contains filtered or unexported fields }
ListUserServiceAccountsURL generates an URL for the list user service accounts operation
func (*ListUserServiceAccountsURL) Build ¶
func (o *ListUserServiceAccountsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListUserServiceAccountsURL) BuildFull ¶
func (o *ListUserServiceAccountsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListUserServiceAccountsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListUserServiceAccountsURL) SetBasePath ¶
func (o *ListUserServiceAccountsURL) 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 (*ListUserServiceAccountsURL) String ¶
func (o *ListUserServiceAccountsURL) String() string
String returns the string representation of the path with query string
func (*ListUserServiceAccountsURL) StringFull ¶
func (o *ListUserServiceAccountsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListUserServiceAccountsURL) WithBasePath ¶
func (o *ListUserServiceAccountsURL) WithBasePath(bp string) *ListUserServiceAccountsURL
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 UpdateServiceAccount ¶ added in v0.42.0
type UpdateServiceAccount struct { Context *middleware.Context Handler UpdateServiceAccountHandler }
UpdateServiceAccount swagger:route PUT /service-accounts/{access_key} ServiceAccount updateServiceAccount
Set Service Account Policy
func NewUpdateServiceAccount ¶ added in v0.42.0
func NewUpdateServiceAccount(ctx *middleware.Context, handler UpdateServiceAccountHandler) *UpdateServiceAccount
NewUpdateServiceAccount creates a new http.Handler for the update service account operation
func (*UpdateServiceAccount) ServeHTTP ¶ added in v0.42.0
func (o *UpdateServiceAccount) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateServiceAccountDefault ¶ added in v0.42.0
type UpdateServiceAccountDefault struct { /* In: Body */ Payload *models.APIError `json:"body,omitempty"` // contains filtered or unexported fields }
UpdateServiceAccountDefault Generic error response.
swagger:response updateServiceAccountDefault
func NewUpdateServiceAccountDefault ¶ added in v0.42.0
func NewUpdateServiceAccountDefault(code int) *UpdateServiceAccountDefault
NewUpdateServiceAccountDefault creates UpdateServiceAccountDefault with default headers values
func (*UpdateServiceAccountDefault) SetPayload ¶ added in v0.42.0
func (o *UpdateServiceAccountDefault) SetPayload(payload *models.APIError)
SetPayload sets the payload to the update service account default response
func (*UpdateServiceAccountDefault) SetStatusCode ¶ added in v0.42.0
func (o *UpdateServiceAccountDefault) SetStatusCode(code int)
SetStatusCode sets the status to the update service account default response
func (*UpdateServiceAccountDefault) WithPayload ¶ added in v0.42.0
func (o *UpdateServiceAccountDefault) WithPayload(payload *models.APIError) *UpdateServiceAccountDefault
WithPayload adds the payload to the update service account default response
func (*UpdateServiceAccountDefault) WithStatusCode ¶ added in v0.42.0
func (o *UpdateServiceAccountDefault) WithStatusCode(code int) *UpdateServiceAccountDefault
WithStatusCode adds the status to the update service account default response
func (*UpdateServiceAccountDefault) WriteResponse ¶ added in v0.42.0
func (o *UpdateServiceAccountDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceAccountHandler ¶ added in v0.42.0
type UpdateServiceAccountHandler interface {
Handle(UpdateServiceAccountParams, *models.Principal) middleware.Responder
}
UpdateServiceAccountHandler interface for that can handle valid update service account params
type UpdateServiceAccountHandlerFunc ¶ added in v0.42.0
type UpdateServiceAccountHandlerFunc func(UpdateServiceAccountParams, *models.Principal) middleware.Responder
UpdateServiceAccountHandlerFunc turns a function with the right signature into a update service account handler
func (UpdateServiceAccountHandlerFunc) Handle ¶ added in v0.42.0
func (fn UpdateServiceAccountHandlerFunc) Handle(params UpdateServiceAccountParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type UpdateServiceAccountOK ¶ added in v0.42.0
type UpdateServiceAccountOK struct { }
UpdateServiceAccountOK A successful response.
swagger:response updateServiceAccountOK
func NewUpdateServiceAccountOK ¶ added in v0.42.0
func NewUpdateServiceAccountOK() *UpdateServiceAccountOK
NewUpdateServiceAccountOK creates UpdateServiceAccountOK with default headers values
func (*UpdateServiceAccountOK) WriteResponse ¶ added in v0.42.0
func (o *UpdateServiceAccountOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceAccountParams ¶ added in v0.42.0
type UpdateServiceAccountParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ AccessKey string /* Required: true In: body */ Body *models.UpdateServiceAccountRequest }
UpdateServiceAccountParams contains all the bound params for the update service account operation typically these are obtained from a http.Request
swagger:parameters UpdateServiceAccount
func NewUpdateServiceAccountParams ¶ added in v0.42.0
func NewUpdateServiceAccountParams() UpdateServiceAccountParams
NewUpdateServiceAccountParams creates a new UpdateServiceAccountParams object
There are no default values defined in the spec.
func (*UpdateServiceAccountParams) BindRequest ¶ added in v0.42.0
func (o *UpdateServiceAccountParams) 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 NewUpdateServiceAccountParams() beforehand.
type UpdateServiceAccountURL ¶ added in v0.42.0
type UpdateServiceAccountURL struct { AccessKey string // contains filtered or unexported fields }
UpdateServiceAccountURL generates an URL for the update service account operation
func (*UpdateServiceAccountURL) Build ¶ added in v0.42.0
func (o *UpdateServiceAccountURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateServiceAccountURL) BuildFull ¶ added in v0.42.0
func (o *UpdateServiceAccountURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateServiceAccountURL) Must ¶ added in v0.42.0
Must is a helper function to panic when the url builder returns an error
func (*UpdateServiceAccountURL) SetBasePath ¶ added in v0.42.0
func (o *UpdateServiceAccountURL) 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 (*UpdateServiceAccountURL) String ¶ added in v0.42.0
func (o *UpdateServiceAccountURL) String() string
String returns the string representation of the path with query string
func (*UpdateServiceAccountURL) StringFull ¶ added in v0.42.0
func (o *UpdateServiceAccountURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateServiceAccountURL) WithBasePath ¶ added in v0.42.0
func (o *UpdateServiceAccountURL) WithBasePath(bp string) *UpdateServiceAccountURL
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 ¶
- create_service_account.go
- create_service_account_creds.go
- create_service_account_creds_parameters.go
- create_service_account_creds_responses.go
- create_service_account_creds_urlbuilder.go
- create_service_account_parameters.go
- create_service_account_responses.go
- create_service_account_urlbuilder.go
- delete_multiple_service_accounts.go
- delete_multiple_service_accounts_parameters.go
- delete_multiple_service_accounts_responses.go
- delete_multiple_service_accounts_urlbuilder.go
- delete_service_account.go
- delete_service_account_parameters.go
- delete_service_account_responses.go
- delete_service_account_urlbuilder.go
- get_service_account.go
- get_service_account_parameters.go
- get_service_account_responses.go
- get_service_account_urlbuilder.go
- list_user_service_accounts.go
- list_user_service_accounts_parameters.go
- list_user_service_accounts_responses.go
- list_user_service_accounts_urlbuilder.go
- update_service_account.go
- update_service_account_parameters.go
- update_service_account_responses.go
- update_service_account_urlbuilder.go