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.Error)
- func (o *CreateServiceAccountCredsDefault) SetStatusCode(code int)
- func (o *CreateServiceAccountCredsDefault) WithPayload(payload *models.Error) *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.Error)
- func (o *CreateServiceAccountDefault) SetStatusCode(code int)
- func (o *CreateServiceAccountDefault) WithPayload(payload *models.Error) *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.Error)
- func (o *DeleteMultipleServiceAccountsDefault) SetStatusCode(code int)
- func (o *DeleteMultipleServiceAccountsDefault) WithPayload(payload *models.Error) *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.Error)
- func (o *DeleteServiceAccountDefault) SetStatusCode(code int)
- func (o *DeleteServiceAccountDefault) WithPayload(payload *models.Error) *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 GetServiceAccountPolicy
- type GetServiceAccountPolicyDefault
- func (o *GetServiceAccountPolicyDefault) SetPayload(payload *models.Error)
- func (o *GetServiceAccountPolicyDefault) SetStatusCode(code int)
- func (o *GetServiceAccountPolicyDefault) WithPayload(payload *models.Error) *GetServiceAccountPolicyDefault
- func (o *GetServiceAccountPolicyDefault) WithStatusCode(code int) *GetServiceAccountPolicyDefault
- func (o *GetServiceAccountPolicyDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServiceAccountPolicyHandler
- type GetServiceAccountPolicyHandlerFunc
- type GetServiceAccountPolicyOK
- type GetServiceAccountPolicyParams
- type GetServiceAccountPolicyURL
- func (o *GetServiceAccountPolicyURL) Build() (*url.URL, error)
- func (o *GetServiceAccountPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServiceAccountPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServiceAccountPolicyURL) SetBasePath(bp string)
- func (o *GetServiceAccountPolicyURL) String() string
- func (o *GetServiceAccountPolicyURL) StringFull(scheme, host string) string
- func (o *GetServiceAccountPolicyURL) WithBasePath(bp string) *GetServiceAccountPolicyURL
- type ListUserServiceAccounts
- type ListUserServiceAccountsDefault
- func (o *ListUserServiceAccountsDefault) SetPayload(payload *models.Error)
- func (o *ListUserServiceAccountsDefault) SetStatusCode(code int)
- func (o *ListUserServiceAccountsDefault) WithPayload(payload *models.Error) *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 SetServiceAccountPolicy
- type SetServiceAccountPolicyDefault
- func (o *SetServiceAccountPolicyDefault) SetPayload(payload *models.Error)
- func (o *SetServiceAccountPolicyDefault) SetStatusCode(code int)
- func (o *SetServiceAccountPolicyDefault) WithPayload(payload *models.Error) *SetServiceAccountPolicyDefault
- func (o *SetServiceAccountPolicyDefault) WithStatusCode(code int) *SetServiceAccountPolicyDefault
- func (o *SetServiceAccountPolicyDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SetServiceAccountPolicyHandler
- type SetServiceAccountPolicyHandlerFunc
- type SetServiceAccountPolicyOK
- type SetServiceAccountPolicyParams
- type SetServiceAccountPolicyURL
- func (o *SetServiceAccountPolicyURL) Build() (*url.URL, error)
- func (o *SetServiceAccountPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SetServiceAccountPolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *SetServiceAccountPolicyURL) SetBasePath(bp string)
- func (o *SetServiceAccountPolicyURL) String() string
- func (o *SetServiceAccountPolicyURL) StringFull(scheme, host string) string
- func (o *SetServiceAccountPolicyURL) WithBasePath(bp string) *SetServiceAccountPolicyURL
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 GetServiceAccountPolicyOKCode int = 200
GetServiceAccountPolicyOKCode is the HTTP code returned for type GetServiceAccountPolicyOK
const ListUserServiceAccountsOKCode int = 200
ListUserServiceAccountsOKCode is the HTTP code returned for type ListUserServiceAccountsOK
const SetServiceAccountPolicyOKCode int = 200
SetServiceAccountPolicyOKCode is the HTTP code returned for type SetServiceAccountPolicyOK
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.Error `json:"body,omitempty"` // contains filtered or unexported fields }
CreateServiceAccountCredsDefault Generic error response.
swagger:response createServiceAccountCredsDefault
func NewCreateServiceAccountCredsDefault ¶
func NewCreateServiceAccountCredsDefault(code int) *CreateServiceAccountCredsDefault
NewCreateServiceAccountCredsDefault creates CreateServiceAccountCredsDefault with default headers values
func (*CreateServiceAccountCredsDefault) SetPayload ¶
func (o *CreateServiceAccountCredsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the create service account creds default response
func (*CreateServiceAccountCredsDefault) SetStatusCode ¶
func (o *CreateServiceAccountCredsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the create service account creds default response
func (*CreateServiceAccountCredsDefault) WithPayload ¶
func (o *CreateServiceAccountCredsDefault) WithPayload(payload *models.Error) *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.Error `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.Error)
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.Error) *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.Error `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.Error)
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.Error) *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.Error `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.Error)
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.Error) *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 GetServiceAccountPolicy ¶
type GetServiceAccountPolicy struct { Context *middleware.Context Handler GetServiceAccountPolicyHandler }
GetServiceAccountPolicy swagger:route GET /service-accounts/{access_key}/policy ServiceAccount getServiceAccountPolicy
Get Service Account Policy
func NewGetServiceAccountPolicy ¶
func NewGetServiceAccountPolicy(ctx *middleware.Context, handler GetServiceAccountPolicyHandler) *GetServiceAccountPolicy
NewGetServiceAccountPolicy creates a new http.Handler for the get service account policy operation
func (*GetServiceAccountPolicy) ServeHTTP ¶
func (o *GetServiceAccountPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServiceAccountPolicyDefault ¶
type GetServiceAccountPolicyDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetServiceAccountPolicyDefault Generic error response.
swagger:response getServiceAccountPolicyDefault
func NewGetServiceAccountPolicyDefault ¶
func NewGetServiceAccountPolicyDefault(code int) *GetServiceAccountPolicyDefault
NewGetServiceAccountPolicyDefault creates GetServiceAccountPolicyDefault with default headers values
func (*GetServiceAccountPolicyDefault) SetPayload ¶
func (o *GetServiceAccountPolicyDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service account policy default response
func (*GetServiceAccountPolicyDefault) SetStatusCode ¶
func (o *GetServiceAccountPolicyDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get service account policy default response
func (*GetServiceAccountPolicyDefault) WithPayload ¶
func (o *GetServiceAccountPolicyDefault) WithPayload(payload *models.Error) *GetServiceAccountPolicyDefault
WithPayload adds the payload to the get service account policy default response
func (*GetServiceAccountPolicyDefault) WithStatusCode ¶
func (o *GetServiceAccountPolicyDefault) WithStatusCode(code int) *GetServiceAccountPolicyDefault
WithStatusCode adds the status to the get service account policy default response
func (*GetServiceAccountPolicyDefault) WriteResponse ¶
func (o *GetServiceAccountPolicyDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceAccountPolicyHandler ¶
type GetServiceAccountPolicyHandler interface {
Handle(GetServiceAccountPolicyParams, *models.Principal) middleware.Responder
}
GetServiceAccountPolicyHandler interface for that can handle valid get service account policy params
type GetServiceAccountPolicyHandlerFunc ¶
type GetServiceAccountPolicyHandlerFunc func(GetServiceAccountPolicyParams, *models.Principal) middleware.Responder
GetServiceAccountPolicyHandlerFunc turns a function with the right signature into a get service account policy handler
func (GetServiceAccountPolicyHandlerFunc) Handle ¶
func (fn GetServiceAccountPolicyHandlerFunc) Handle(params GetServiceAccountPolicyParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type GetServiceAccountPolicyOK ¶
type GetServiceAccountPolicyOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GetServiceAccountPolicyOK A successful response.
swagger:response getServiceAccountPolicyOK
func NewGetServiceAccountPolicyOK ¶
func NewGetServiceAccountPolicyOK() *GetServiceAccountPolicyOK
NewGetServiceAccountPolicyOK creates GetServiceAccountPolicyOK with default headers values
func (*GetServiceAccountPolicyOK) SetPayload ¶
func (o *GetServiceAccountPolicyOK) SetPayload(payload string)
SetPayload sets the payload to the get service account policy o k response
func (*GetServiceAccountPolicyOK) WithPayload ¶
func (o *GetServiceAccountPolicyOK) WithPayload(payload string) *GetServiceAccountPolicyOK
WithPayload adds the payload to the get service account policy o k response
func (*GetServiceAccountPolicyOK) WriteResponse ¶
func (o *GetServiceAccountPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceAccountPolicyParams ¶
type GetServiceAccountPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ AccessKey string }
GetServiceAccountPolicyParams contains all the bound params for the get service account policy operation typically these are obtained from a http.Request
swagger:parameters GetServiceAccountPolicy
func NewGetServiceAccountPolicyParams ¶
func NewGetServiceAccountPolicyParams() GetServiceAccountPolicyParams
NewGetServiceAccountPolicyParams creates a new GetServiceAccountPolicyParams object
There are no default values defined in the spec.
func (*GetServiceAccountPolicyParams) BindRequest ¶
func (o *GetServiceAccountPolicyParams) 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 NewGetServiceAccountPolicyParams() beforehand.
type GetServiceAccountPolicyURL ¶
type GetServiceAccountPolicyURL struct { AccessKey string // contains filtered or unexported fields }
GetServiceAccountPolicyURL generates an URL for the get service account policy operation
func (*GetServiceAccountPolicyURL) Build ¶
func (o *GetServiceAccountPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetServiceAccountPolicyURL) BuildFull ¶
func (o *GetServiceAccountPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetServiceAccountPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetServiceAccountPolicyURL) SetBasePath ¶
func (o *GetServiceAccountPolicyURL) 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 (*GetServiceAccountPolicyURL) String ¶
func (o *GetServiceAccountPolicyURL) String() string
String returns the string representation of the path with query string
func (*GetServiceAccountPolicyURL) StringFull ¶
func (o *GetServiceAccountPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetServiceAccountPolicyURL) WithBasePath ¶
func (o *GetServiceAccountPolicyURL) WithBasePath(bp string) *GetServiceAccountPolicyURL
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.Error `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.Error)
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.Error) *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 */ Limit *int32 /* In: query */ 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
There are no default values defined in the spec.
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 SetServiceAccountPolicy ¶
type SetServiceAccountPolicy struct { Context *middleware.Context Handler SetServiceAccountPolicyHandler }
SetServiceAccountPolicy swagger:route PUT /service-accounts/{access_key}/policy ServiceAccount setServiceAccountPolicy
Set Service Account Policy
func NewSetServiceAccountPolicy ¶
func NewSetServiceAccountPolicy(ctx *middleware.Context, handler SetServiceAccountPolicyHandler) *SetServiceAccountPolicy
NewSetServiceAccountPolicy creates a new http.Handler for the set service account policy operation
func (*SetServiceAccountPolicy) ServeHTTP ¶
func (o *SetServiceAccountPolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SetServiceAccountPolicyDefault ¶
type SetServiceAccountPolicyDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
SetServiceAccountPolicyDefault Generic error response.
swagger:response setServiceAccountPolicyDefault
func NewSetServiceAccountPolicyDefault ¶
func NewSetServiceAccountPolicyDefault(code int) *SetServiceAccountPolicyDefault
NewSetServiceAccountPolicyDefault creates SetServiceAccountPolicyDefault with default headers values
func (*SetServiceAccountPolicyDefault) SetPayload ¶
func (o *SetServiceAccountPolicyDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the set service account policy default response
func (*SetServiceAccountPolicyDefault) SetStatusCode ¶
func (o *SetServiceAccountPolicyDefault) SetStatusCode(code int)
SetStatusCode sets the status to the set service account policy default response
func (*SetServiceAccountPolicyDefault) WithPayload ¶
func (o *SetServiceAccountPolicyDefault) WithPayload(payload *models.Error) *SetServiceAccountPolicyDefault
WithPayload adds the payload to the set service account policy default response
func (*SetServiceAccountPolicyDefault) WithStatusCode ¶
func (o *SetServiceAccountPolicyDefault) WithStatusCode(code int) *SetServiceAccountPolicyDefault
WithStatusCode adds the status to the set service account policy default response
func (*SetServiceAccountPolicyDefault) WriteResponse ¶
func (o *SetServiceAccountPolicyDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetServiceAccountPolicyHandler ¶
type SetServiceAccountPolicyHandler interface {
Handle(SetServiceAccountPolicyParams, *models.Principal) middleware.Responder
}
SetServiceAccountPolicyHandler interface for that can handle valid set service account policy params
type SetServiceAccountPolicyHandlerFunc ¶
type SetServiceAccountPolicyHandlerFunc func(SetServiceAccountPolicyParams, *models.Principal) middleware.Responder
SetServiceAccountPolicyHandlerFunc turns a function with the right signature into a set service account policy handler
func (SetServiceAccountPolicyHandlerFunc) Handle ¶
func (fn SetServiceAccountPolicyHandlerFunc) Handle(params SetServiceAccountPolicyParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SetServiceAccountPolicyOK ¶
type SetServiceAccountPolicyOK struct { }
SetServiceAccountPolicyOK A successful response.
swagger:response setServiceAccountPolicyOK
func NewSetServiceAccountPolicyOK ¶
func NewSetServiceAccountPolicyOK() *SetServiceAccountPolicyOK
NewSetServiceAccountPolicyOK creates SetServiceAccountPolicyOK with default headers values
func (*SetServiceAccountPolicyOK) WriteResponse ¶
func (o *SetServiceAccountPolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetServiceAccountPolicyParams ¶
type SetServiceAccountPolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ AccessKey string /* Required: true In: body */ Policy *models.AddServiceAccountPolicyRequest }
SetServiceAccountPolicyParams contains all the bound params for the set service account policy operation typically these are obtained from a http.Request
swagger:parameters SetServiceAccountPolicy
func NewSetServiceAccountPolicyParams ¶
func NewSetServiceAccountPolicyParams() SetServiceAccountPolicyParams
NewSetServiceAccountPolicyParams creates a new SetServiceAccountPolicyParams object
There are no default values defined in the spec.
func (*SetServiceAccountPolicyParams) BindRequest ¶
func (o *SetServiceAccountPolicyParams) 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 NewSetServiceAccountPolicyParams() beforehand.
type SetServiceAccountPolicyURL ¶
type SetServiceAccountPolicyURL struct { AccessKey string // contains filtered or unexported fields }
SetServiceAccountPolicyURL generates an URL for the set service account policy operation
func (*SetServiceAccountPolicyURL) Build ¶
func (o *SetServiceAccountPolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*SetServiceAccountPolicyURL) BuildFull ¶
func (o *SetServiceAccountPolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SetServiceAccountPolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SetServiceAccountPolicyURL) SetBasePath ¶
func (o *SetServiceAccountPolicyURL) 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 (*SetServiceAccountPolicyURL) String ¶
func (o *SetServiceAccountPolicyURL) String() string
String returns the string representation of the path with query string
func (*SetServiceAccountPolicyURL) StringFull ¶
func (o *SetServiceAccountPolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SetServiceAccountPolicyURL) WithBasePath ¶
func (o *SetServiceAccountPolicyURL) WithBasePath(bp string) *SetServiceAccountPolicyURL
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_policy.go
- get_service_account_policy_parameters.go
- get_service_account_policy_responses.go
- get_service_account_policy_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
- set_service_account_policy.go
- set_service_account_policy_parameters.go
- set_service_account_policy_responses.go
- set_service_account_policy_urlbuilder.go