Documentation ¶
Index ¶
- Constants
- type AddServiceAccount
- type AddServiceAccountBadRequest
- type AddServiceAccountConflict
- type AddServiceAccountCreated
- type AddServiceAccountDefault
- func (o *AddServiceAccountDefault) SetPayload(payload *models.Error)
- func (o *AddServiceAccountDefault) SetStatusCode(code int)
- func (o *AddServiceAccountDefault) WithPayload(payload *models.Error) *AddServiceAccountDefault
- func (o *AddServiceAccountDefault) WithStatusCode(code int) *AddServiceAccountDefault
- func (o *AddServiceAccountDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddServiceAccountHandler
- type AddServiceAccountHandlerFunc
- type AddServiceAccountInternalServerError
- func (o *AddServiceAccountInternalServerError) SetPayload(payload *models.Error)
- func (o *AddServiceAccountInternalServerError) WithPayload(payload *models.Error) *AddServiceAccountInternalServerError
- func (o *AddServiceAccountInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddServiceAccountParams
- type AddServiceAccountURL
- func (o *AddServiceAccountURL) Build() (*url.URL, error)
- func (o *AddServiceAccountURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddServiceAccountURL) Must(u *url.URL, err error) *url.URL
- func (o *AddServiceAccountURL) SetBasePath(bp string)
- func (o *AddServiceAccountURL) String() string
- func (o *AddServiceAccountURL) StringFull(scheme, host string) string
- func (o *AddServiceAccountURL) WithBasePath(bp string) *AddServiceAccountURL
- type DeleteServiceAccount
- type DeleteServiceAccountBadRequest
- type DeleteServiceAccountHandler
- type DeleteServiceAccountHandlerFunc
- type DeleteServiceAccountInternalServerError
- func (o *DeleteServiceAccountInternalServerError) SetPayload(payload *models.Error)
- func (o *DeleteServiceAccountInternalServerError) WithPayload(payload *models.Error) *DeleteServiceAccountInternalServerError
- func (o *DeleteServiceAccountInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteServiceAccountNotFound
- type DeleteServiceAccountOK
- 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 GetServiceAccountBadRequest
- type GetServiceAccountHandler
- type GetServiceAccountHandlerFunc
- type GetServiceAccountInternalServerError
- func (o *GetServiceAccountInternalServerError) SetPayload(payload *models.Error)
- func (o *GetServiceAccountInternalServerError) WithPayload(payload *models.Error) *GetServiceAccountInternalServerError
- func (o *GetServiceAccountInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServiceAccountNotFound
- 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 GetServiceAccounts
- type GetServiceAccountsDefault
- func (o *GetServiceAccountsDefault) SetPayload(payload *models.Error)
- func (o *GetServiceAccountsDefault) SetStatusCode(code int)
- func (o *GetServiceAccountsDefault) WithPayload(payload *models.Error) *GetServiceAccountsDefault
- func (o *GetServiceAccountsDefault) WithStatusCode(code int) *GetServiceAccountsDefault
- func (o *GetServiceAccountsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServiceAccountsHandler
- type GetServiceAccountsHandlerFunc
- type GetServiceAccountsInternalServerError
- func (o *GetServiceAccountsInternalServerError) SetPayload(payload *models.Error)
- func (o *GetServiceAccountsInternalServerError) WithPayload(payload *models.Error) *GetServiceAccountsInternalServerError
- func (o *GetServiceAccountsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServiceAccountsOK
- type GetServiceAccountsParams
- type GetServiceAccountsURL
- func (o *GetServiceAccountsURL) Build() (*url.URL, error)
- func (o *GetServiceAccountsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServiceAccountsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServiceAccountsURL) SetBasePath(bp string)
- func (o *GetServiceAccountsURL) String() string
- func (o *GetServiceAccountsURL) StringFull(scheme, host string) string
- func (o *GetServiceAccountsURL) WithBasePath(bp string) *GetServiceAccountsURL
- type UpdateServiceAccount
- type UpdateServiceAccountBadRequest
- type UpdateServiceAccountHandler
- type UpdateServiceAccountHandlerFunc
- type UpdateServiceAccountInternalServerError
- func (o *UpdateServiceAccountInternalServerError) SetPayload(payload *models.Error)
- func (o *UpdateServiceAccountInternalServerError) WithPayload(payload *models.Error) *UpdateServiceAccountInternalServerError
- func (o *UpdateServiceAccountInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceAccountNotFound
- 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 AddServiceAccountBadRequestCode int = 400
AddServiceAccountBadRequestCode is the HTTP code returned for type AddServiceAccountBadRequest
const AddServiceAccountConflictCode int = 409
AddServiceAccountConflictCode is the HTTP code returned for type AddServiceAccountConflict
const AddServiceAccountCreatedCode int = 201
AddServiceAccountCreatedCode is the HTTP code returned for type AddServiceAccountCreated
const AddServiceAccountInternalServerErrorCode int = 500
AddServiceAccountInternalServerErrorCode is the HTTP code returned for type AddServiceAccountInternalServerError
const DeleteServiceAccountBadRequestCode int = 400
DeleteServiceAccountBadRequestCode is the HTTP code returned for type DeleteServiceAccountBadRequest
const DeleteServiceAccountInternalServerErrorCode int = 500
DeleteServiceAccountInternalServerErrorCode is the HTTP code returned for type DeleteServiceAccountInternalServerError
const DeleteServiceAccountNotFoundCode int = 404
DeleteServiceAccountNotFoundCode is the HTTP code returned for type DeleteServiceAccountNotFound
const DeleteServiceAccountOKCode int = 200
DeleteServiceAccountOKCode is the HTTP code returned for type DeleteServiceAccountOK
const GetServiceAccountBadRequestCode int = 400
GetServiceAccountBadRequestCode is the HTTP code returned for type GetServiceAccountBadRequest
const GetServiceAccountInternalServerErrorCode int = 500
GetServiceAccountInternalServerErrorCode is the HTTP code returned for type GetServiceAccountInternalServerError
const GetServiceAccountNotFoundCode int = 404
GetServiceAccountNotFoundCode is the HTTP code returned for type GetServiceAccountNotFound
const GetServiceAccountOKCode int = 200
GetServiceAccountOKCode is the HTTP code returned for type GetServiceAccountOK
const GetServiceAccountsInternalServerErrorCode int = 500
GetServiceAccountsInternalServerErrorCode is the HTTP code returned for type GetServiceAccountsInternalServerError
const GetServiceAccountsOKCode int = 200
GetServiceAccountsOKCode is the HTTP code returned for type GetServiceAccountsOK
const UpdateServiceAccountBadRequestCode int = 400
UpdateServiceAccountBadRequestCode is the HTTP code returned for type UpdateServiceAccountBadRequest
const UpdateServiceAccountInternalServerErrorCode int = 500
UpdateServiceAccountInternalServerErrorCode is the HTTP code returned for type UpdateServiceAccountInternalServerError
const UpdateServiceAccountNotFoundCode int = 404
UpdateServiceAccountNotFoundCode is the HTTP code returned for type UpdateServiceAccountNotFound
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 AddServiceAccount ¶
type AddServiceAccount struct { Context *middleware.Context Handler AddServiceAccountHandler }
AddServiceAccount swagger:route POST /v1/iam/serviceaccount serviceaccount addServiceAccount
Add a new service account
func NewAddServiceAccount ¶
func NewAddServiceAccount(ctx *middleware.Context, handler AddServiceAccountHandler) *AddServiceAccount
NewAddServiceAccount creates a new http.Handler for the add service account operation
func (*AddServiceAccount) ServeHTTP ¶
func (o *AddServiceAccount) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type AddServiceAccountBadRequest ¶
type AddServiceAccountBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
AddServiceAccountBadRequest Invalid input
swagger:response addServiceAccountBadRequest
func NewAddServiceAccountBadRequest ¶
func NewAddServiceAccountBadRequest() *AddServiceAccountBadRequest
NewAddServiceAccountBadRequest creates AddServiceAccountBadRequest with default headers values
func (*AddServiceAccountBadRequest) SetPayload ¶
func (o *AddServiceAccountBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the add service account bad request response
func (*AddServiceAccountBadRequest) WithPayload ¶
func (o *AddServiceAccountBadRequest) WithPayload(payload *models.Error) *AddServiceAccountBadRequest
WithPayload adds the payload to the add service account bad request response
func (*AddServiceAccountBadRequest) WriteResponse ¶
func (o *AddServiceAccountBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddServiceAccountConflict ¶
type AddServiceAccountConflict struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
AddServiceAccountConflict Already Exists
swagger:response addServiceAccountConflict
func NewAddServiceAccountConflict ¶
func NewAddServiceAccountConflict() *AddServiceAccountConflict
NewAddServiceAccountConflict creates AddServiceAccountConflict with default headers values
func (*AddServiceAccountConflict) SetPayload ¶
func (o *AddServiceAccountConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the add service account conflict response
func (*AddServiceAccountConflict) WithPayload ¶
func (o *AddServiceAccountConflict) WithPayload(payload *models.Error) *AddServiceAccountConflict
WithPayload adds the payload to the add service account conflict response
func (*AddServiceAccountConflict) WriteResponse ¶
func (o *AddServiceAccountConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddServiceAccountCreated ¶
type AddServiceAccountCreated struct { /* In: Body */ Payload *models.ServiceAccount `json:"body,omitempty"` }
AddServiceAccountCreated created
swagger:response addServiceAccountCreated
func NewAddServiceAccountCreated ¶
func NewAddServiceAccountCreated() *AddServiceAccountCreated
NewAddServiceAccountCreated creates AddServiceAccountCreated with default headers values
func (*AddServiceAccountCreated) SetPayload ¶
func (o *AddServiceAccountCreated) SetPayload(payload *models.ServiceAccount)
SetPayload sets the payload to the add service account created response
func (*AddServiceAccountCreated) WithPayload ¶
func (o *AddServiceAccountCreated) WithPayload(payload *models.ServiceAccount) *AddServiceAccountCreated
WithPayload adds the payload to the add service account created response
func (*AddServiceAccountCreated) WriteResponse ¶
func (o *AddServiceAccountCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddServiceAccountDefault ¶
type AddServiceAccountDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
AddServiceAccountDefault Generic error response
swagger:response addServiceAccountDefault
func NewAddServiceAccountDefault ¶
func NewAddServiceAccountDefault(code int) *AddServiceAccountDefault
NewAddServiceAccountDefault creates AddServiceAccountDefault with default headers values
func (*AddServiceAccountDefault) SetPayload ¶
func (o *AddServiceAccountDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the add service account default response
func (*AddServiceAccountDefault) SetStatusCode ¶
func (o *AddServiceAccountDefault) SetStatusCode(code int)
SetStatusCode sets the status to the add service account default response
func (*AddServiceAccountDefault) WithPayload ¶
func (o *AddServiceAccountDefault) WithPayload(payload *models.Error) *AddServiceAccountDefault
WithPayload adds the payload to the add service account default response
func (*AddServiceAccountDefault) WithStatusCode ¶
func (o *AddServiceAccountDefault) WithStatusCode(code int) *AddServiceAccountDefault
WithStatusCode adds the status to the add service account default response
func (*AddServiceAccountDefault) WriteResponse ¶
func (o *AddServiceAccountDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddServiceAccountHandler ¶
type AddServiceAccountHandler interface {
Handle(AddServiceAccountParams, interface{}) middleware.Responder
}
AddServiceAccountHandler interface for that can handle valid add service account params
type AddServiceAccountHandlerFunc ¶
type AddServiceAccountHandlerFunc func(AddServiceAccountParams, interface{}) middleware.Responder
AddServiceAccountHandlerFunc turns a function with the right signature into a add service account handler
func (AddServiceAccountHandlerFunc) Handle ¶
func (fn AddServiceAccountHandlerFunc) Handle(params AddServiceAccountParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type AddServiceAccountInternalServerError ¶
type AddServiceAccountInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
AddServiceAccountInternalServerError Internal Error
swagger:response addServiceAccountInternalServerError
func NewAddServiceAccountInternalServerError ¶
func NewAddServiceAccountInternalServerError() *AddServiceAccountInternalServerError
NewAddServiceAccountInternalServerError creates AddServiceAccountInternalServerError with default headers values
func (*AddServiceAccountInternalServerError) SetPayload ¶
func (o *AddServiceAccountInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the add service account internal server error response
func (*AddServiceAccountInternalServerError) WithPayload ¶
func (o *AddServiceAccountInternalServerError) WithPayload(payload *models.Error) *AddServiceAccountInternalServerError
WithPayload adds the payload to the add service account internal server error response
func (*AddServiceAccountInternalServerError) WriteResponse ¶
func (o *AddServiceAccountInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddServiceAccountParams ¶
type AddServiceAccountParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Service Account Object Required: true In: body */ Body *models.ServiceAccount }
AddServiceAccountParams contains all the bound params for the add service account operation typically these are obtained from a http.Request
swagger:parameters addServiceAccount
func NewAddServiceAccountParams ¶
func NewAddServiceAccountParams() AddServiceAccountParams
NewAddServiceAccountParams creates a new AddServiceAccountParams object no default values defined in spec.
func (*AddServiceAccountParams) BindRequest ¶
func (o *AddServiceAccountParams) 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 NewAddServiceAccountParams() beforehand.
type AddServiceAccountURL ¶
type AddServiceAccountURL struct {
// contains filtered or unexported fields
}
AddServiceAccountURL generates an URL for the add service account operation
func (*AddServiceAccountURL) Build ¶
func (o *AddServiceAccountURL) Build() (*url.URL, error)
Build a url path and query string
func (*AddServiceAccountURL) BuildFull ¶
func (o *AddServiceAccountURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*AddServiceAccountURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*AddServiceAccountURL) SetBasePath ¶
func (o *AddServiceAccountURL) 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 (*AddServiceAccountURL) String ¶
func (o *AddServiceAccountURL) String() string
String returns the string representation of the path with query string
func (*AddServiceAccountURL) StringFull ¶
func (o *AddServiceAccountURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*AddServiceAccountURL) WithBasePath ¶
func (o *AddServiceAccountURL) WithBasePath(bp string) *AddServiceAccountURL
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 /v1/iam/serviceaccount/{serviceAccountName} serviceaccount deleteServiceAccount
Deletes an 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 DeleteServiceAccountBadRequest ¶
type DeleteServiceAccountBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DeleteServiceAccountBadRequest Invalid Name supplied
swagger:response deleteServiceAccountBadRequest
func NewDeleteServiceAccountBadRequest ¶
func NewDeleteServiceAccountBadRequest() *DeleteServiceAccountBadRequest
NewDeleteServiceAccountBadRequest creates DeleteServiceAccountBadRequest with default headers values
func (*DeleteServiceAccountBadRequest) SetPayload ¶
func (o *DeleteServiceAccountBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete service account bad request response
func (*DeleteServiceAccountBadRequest) WithPayload ¶
func (o *DeleteServiceAccountBadRequest) WithPayload(payload *models.Error) *DeleteServiceAccountBadRequest
WithPayload adds the payload to the delete service account bad request response
func (*DeleteServiceAccountBadRequest) WriteResponse ¶
func (o *DeleteServiceAccountBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceAccountHandler ¶
type DeleteServiceAccountHandler interface {
Handle(DeleteServiceAccountParams, interface{}) middleware.Responder
}
DeleteServiceAccountHandler interface for that can handle valid delete service account params
type DeleteServiceAccountHandlerFunc ¶
type DeleteServiceAccountHandlerFunc func(DeleteServiceAccountParams, interface{}) 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 interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteServiceAccountInternalServerError ¶
type DeleteServiceAccountInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DeleteServiceAccountInternalServerError Internal error
swagger:response deleteServiceAccountInternalServerError
func NewDeleteServiceAccountInternalServerError ¶
func NewDeleteServiceAccountInternalServerError() *DeleteServiceAccountInternalServerError
NewDeleteServiceAccountInternalServerError creates DeleteServiceAccountInternalServerError with default headers values
func (*DeleteServiceAccountInternalServerError) SetPayload ¶
func (o *DeleteServiceAccountInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete service account internal server error response
func (*DeleteServiceAccountInternalServerError) WithPayload ¶
func (o *DeleteServiceAccountInternalServerError) WithPayload(payload *models.Error) *DeleteServiceAccountInternalServerError
WithPayload adds the payload to the delete service account internal server error response
func (*DeleteServiceAccountInternalServerError) WriteResponse ¶
func (o *DeleteServiceAccountInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceAccountNotFound ¶
type DeleteServiceAccountNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DeleteServiceAccountNotFound Service Account not found
swagger:response deleteServiceAccountNotFound
func NewDeleteServiceAccountNotFound ¶
func NewDeleteServiceAccountNotFound() *DeleteServiceAccountNotFound
NewDeleteServiceAccountNotFound creates DeleteServiceAccountNotFound with default headers values
func (*DeleteServiceAccountNotFound) SetPayload ¶
func (o *DeleteServiceAccountNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete service account not found response
func (*DeleteServiceAccountNotFound) WithPayload ¶
func (o *DeleteServiceAccountNotFound) WithPayload(payload *models.Error) *DeleteServiceAccountNotFound
WithPayload adds the payload to the delete service account not found response
func (*DeleteServiceAccountNotFound) WriteResponse ¶
func (o *DeleteServiceAccountNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceAccountOK ¶
type DeleteServiceAccountOK struct { /* In: Body */ Payload *models.ServiceAccount `json:"body,omitempty"` }
DeleteServiceAccountOK Successful operation
swagger:response deleteServiceAccountOK
func NewDeleteServiceAccountOK ¶
func NewDeleteServiceAccountOK() *DeleteServiceAccountOK
NewDeleteServiceAccountOK creates DeleteServiceAccountOK with default headers values
func (*DeleteServiceAccountOK) SetPayload ¶
func (o *DeleteServiceAccountOK) SetPayload(payload *models.ServiceAccount)
SetPayload sets the payload to the delete service account o k response
func (*DeleteServiceAccountOK) WithPayload ¶
func (o *DeleteServiceAccountOK) WithPayload(payload *models.ServiceAccount) *DeleteServiceAccountOK
WithPayload adds the payload to the delete service account o k response
func (*DeleteServiceAccountOK) WriteResponse ¶
func (o *DeleteServiceAccountOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceAccountParams ¶
type DeleteServiceAccountParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Name of ServiceAccount to work on Required: true Pattern: ^[\w\d\-]+$ In: path */ ServiceAccountName 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 no default values defined in 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 { ServiceAccountName 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 ¶
type GetServiceAccount struct { Context *middleware.Context Handler GetServiceAccountHandler }
GetServiceAccount swagger:route GET /v1/iam/serviceaccount/{serviceAccountName} serviceaccount getServiceAccount
Find Service Account by name ¶
get a Service Account by name
func NewGetServiceAccount ¶
func NewGetServiceAccount(ctx *middleware.Context, handler GetServiceAccountHandler) *GetServiceAccount
NewGetServiceAccount creates a new http.Handler for the get service account operation
func (*GetServiceAccount) ServeHTTP ¶
func (o *GetServiceAccount) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServiceAccountBadRequest ¶
type GetServiceAccountBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetServiceAccountBadRequest Invalid Name supplied
swagger:response getServiceAccountBadRequest
func NewGetServiceAccountBadRequest ¶
func NewGetServiceAccountBadRequest() *GetServiceAccountBadRequest
NewGetServiceAccountBadRequest creates GetServiceAccountBadRequest with default headers values
func (*GetServiceAccountBadRequest) SetPayload ¶
func (o *GetServiceAccountBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service account bad request response
func (*GetServiceAccountBadRequest) WithPayload ¶
func (o *GetServiceAccountBadRequest) WithPayload(payload *models.Error) *GetServiceAccountBadRequest
WithPayload adds the payload to the get service account bad request response
func (*GetServiceAccountBadRequest) WriteResponse ¶
func (o *GetServiceAccountBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceAccountHandler ¶
type GetServiceAccountHandler interface {
Handle(GetServiceAccountParams, interface{}) middleware.Responder
}
GetServiceAccountHandler interface for that can handle valid get service account params
type GetServiceAccountHandlerFunc ¶
type GetServiceAccountHandlerFunc func(GetServiceAccountParams, interface{}) middleware.Responder
GetServiceAccountHandlerFunc turns a function with the right signature into a get service account handler
func (GetServiceAccountHandlerFunc) Handle ¶
func (fn GetServiceAccountHandlerFunc) Handle(params GetServiceAccountParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetServiceAccountInternalServerError ¶
type GetServiceAccountInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetServiceAccountInternalServerError Internal error
swagger:response getServiceAccountInternalServerError
func NewGetServiceAccountInternalServerError ¶
func NewGetServiceAccountInternalServerError() *GetServiceAccountInternalServerError
NewGetServiceAccountInternalServerError creates GetServiceAccountInternalServerError with default headers values
func (*GetServiceAccountInternalServerError) SetPayload ¶
func (o *GetServiceAccountInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service account internal server error response
func (*GetServiceAccountInternalServerError) WithPayload ¶
func (o *GetServiceAccountInternalServerError) WithPayload(payload *models.Error) *GetServiceAccountInternalServerError
WithPayload adds the payload to the get service account internal server error response
func (*GetServiceAccountInternalServerError) WriteResponse ¶
func (o *GetServiceAccountInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceAccountNotFound ¶
type GetServiceAccountNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetServiceAccountNotFound Service Account not found
swagger:response getServiceAccountNotFound
func NewGetServiceAccountNotFound ¶
func NewGetServiceAccountNotFound() *GetServiceAccountNotFound
NewGetServiceAccountNotFound creates GetServiceAccountNotFound with default headers values
func (*GetServiceAccountNotFound) SetPayload ¶
func (o *GetServiceAccountNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service account not found response
func (*GetServiceAccountNotFound) WithPayload ¶
func (o *GetServiceAccountNotFound) WithPayload(payload *models.Error) *GetServiceAccountNotFound
WithPayload adds the payload to the get service account not found response
func (*GetServiceAccountNotFound) WriteResponse ¶
func (o *GetServiceAccountNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceAccountOK ¶
type GetServiceAccountOK struct { /* In: Body */ Payload *models.ServiceAccount `json:"body,omitempty"` }
GetServiceAccountOK Successful operation
swagger:response getServiceAccountOK
func NewGetServiceAccountOK ¶
func NewGetServiceAccountOK() *GetServiceAccountOK
NewGetServiceAccountOK creates GetServiceAccountOK with default headers values
func (*GetServiceAccountOK) SetPayload ¶
func (o *GetServiceAccountOK) SetPayload(payload *models.ServiceAccount)
SetPayload sets the payload to the get service account o k response
func (*GetServiceAccountOK) WithPayload ¶
func (o *GetServiceAccountOK) WithPayload(payload *models.ServiceAccount) *GetServiceAccountOK
WithPayload adds the payload to the get service account o k response
func (*GetServiceAccountOK) WriteResponse ¶
func (o *GetServiceAccountOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceAccountParams ¶
type GetServiceAccountParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Name of ServiceAccount to work on Required: true Pattern: ^[\w\d\-]+$ In: path */ ServiceAccountName 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 ¶
func NewGetServiceAccountParams() GetServiceAccountParams
NewGetServiceAccountParams creates a new GetServiceAccountParams object no default values defined in spec.
func (*GetServiceAccountParams) BindRequest ¶
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 ¶
type GetServiceAccountURL struct { ServiceAccountName string // contains filtered or unexported fields }
GetServiceAccountURL generates an URL for the get service account operation
func (*GetServiceAccountURL) Build ¶
func (o *GetServiceAccountURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetServiceAccountURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*GetServiceAccountURL) SetBasePath ¶
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 ¶
func (o *GetServiceAccountURL) String() string
String returns the string representation of the path with query string
func (*GetServiceAccountURL) StringFull ¶
func (o *GetServiceAccountURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetServiceAccountURL) WithBasePath ¶
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 GetServiceAccounts ¶
type GetServiceAccounts struct { Context *middleware.Context Handler GetServiceAccountsHandler }
GetServiceAccounts swagger:route GET /v1/iam/serviceaccount serviceaccount getServiceAccounts
List all existing service accounts
func NewGetServiceAccounts ¶
func NewGetServiceAccounts(ctx *middleware.Context, handler GetServiceAccountsHandler) *GetServiceAccounts
NewGetServiceAccounts creates a new http.Handler for the get service accounts operation
func (*GetServiceAccounts) ServeHTTP ¶
func (o *GetServiceAccounts) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServiceAccountsDefault ¶
type GetServiceAccountsDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetServiceAccountsDefault Unexpected Error
swagger:response getServiceAccountsDefault
func NewGetServiceAccountsDefault ¶
func NewGetServiceAccountsDefault(code int) *GetServiceAccountsDefault
NewGetServiceAccountsDefault creates GetServiceAccountsDefault with default headers values
func (*GetServiceAccountsDefault) SetPayload ¶
func (o *GetServiceAccountsDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service accounts default response
func (*GetServiceAccountsDefault) SetStatusCode ¶
func (o *GetServiceAccountsDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get service accounts default response
func (*GetServiceAccountsDefault) WithPayload ¶
func (o *GetServiceAccountsDefault) WithPayload(payload *models.Error) *GetServiceAccountsDefault
WithPayload adds the payload to the get service accounts default response
func (*GetServiceAccountsDefault) WithStatusCode ¶
func (o *GetServiceAccountsDefault) WithStatusCode(code int) *GetServiceAccountsDefault
WithStatusCode adds the status to the get service accounts default response
func (*GetServiceAccountsDefault) WriteResponse ¶
func (o *GetServiceAccountsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceAccountsHandler ¶
type GetServiceAccountsHandler interface {
Handle(GetServiceAccountsParams, interface{}) middleware.Responder
}
GetServiceAccountsHandler interface for that can handle valid get service accounts params
type GetServiceAccountsHandlerFunc ¶
type GetServiceAccountsHandlerFunc func(GetServiceAccountsParams, interface{}) middleware.Responder
GetServiceAccountsHandlerFunc turns a function with the right signature into a get service accounts handler
func (GetServiceAccountsHandlerFunc) Handle ¶
func (fn GetServiceAccountsHandlerFunc) Handle(params GetServiceAccountsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetServiceAccountsInternalServerError ¶
type GetServiceAccountsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetServiceAccountsInternalServerError Internal Error
swagger:response getServiceAccountsInternalServerError
func NewGetServiceAccountsInternalServerError ¶
func NewGetServiceAccountsInternalServerError() *GetServiceAccountsInternalServerError
NewGetServiceAccountsInternalServerError creates GetServiceAccountsInternalServerError with default headers values
func (*GetServiceAccountsInternalServerError) SetPayload ¶
func (o *GetServiceAccountsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service accounts internal server error response
func (*GetServiceAccountsInternalServerError) WithPayload ¶
func (o *GetServiceAccountsInternalServerError) WithPayload(payload *models.Error) *GetServiceAccountsInternalServerError
WithPayload adds the payload to the get service accounts internal server error response
func (*GetServiceAccountsInternalServerError) WriteResponse ¶
func (o *GetServiceAccountsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceAccountsOK ¶
type GetServiceAccountsOK struct { /* In: Body */ Payload []*models.ServiceAccount `json:"body,omitempty"` }
GetServiceAccountsOK Successful operation
swagger:response getServiceAccountsOK
func NewGetServiceAccountsOK ¶
func NewGetServiceAccountsOK() *GetServiceAccountsOK
NewGetServiceAccountsOK creates GetServiceAccountsOK with default headers values
func (*GetServiceAccountsOK) SetPayload ¶
func (o *GetServiceAccountsOK) SetPayload(payload []*models.ServiceAccount)
SetPayload sets the payload to the get service accounts o k response
func (*GetServiceAccountsOK) WithPayload ¶
func (o *GetServiceAccountsOK) WithPayload(payload []*models.ServiceAccount) *GetServiceAccountsOK
WithPayload adds the payload to the get service accounts o k response
func (*GetServiceAccountsOK) WriteResponse ¶
func (o *GetServiceAccountsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceAccountsParams ¶
type GetServiceAccountsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetServiceAccountsParams contains all the bound params for the get service accounts operation typically these are obtained from a http.Request
swagger:parameters getServiceAccounts
func NewGetServiceAccountsParams ¶
func NewGetServiceAccountsParams() GetServiceAccountsParams
NewGetServiceAccountsParams creates a new GetServiceAccountsParams object no default values defined in spec.
func (*GetServiceAccountsParams) BindRequest ¶
func (o *GetServiceAccountsParams) 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 NewGetServiceAccountsParams() beforehand.
type GetServiceAccountsURL ¶
type GetServiceAccountsURL struct {
// contains filtered or unexported fields
}
GetServiceAccountsURL generates an URL for the get service accounts operation
func (*GetServiceAccountsURL) Build ¶
func (o *GetServiceAccountsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetServiceAccountsURL) BuildFull ¶
func (o *GetServiceAccountsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetServiceAccountsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetServiceAccountsURL) SetBasePath ¶
func (o *GetServiceAccountsURL) 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 (*GetServiceAccountsURL) String ¶
func (o *GetServiceAccountsURL) String() string
String returns the string representation of the path with query string
func (*GetServiceAccountsURL) StringFull ¶
func (o *GetServiceAccountsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetServiceAccountsURL) WithBasePath ¶
func (o *GetServiceAccountsURL) WithBasePath(bp string) *GetServiceAccountsURL
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 ¶
type UpdateServiceAccount struct { Context *middleware.Context Handler UpdateServiceAccountHandler }
UpdateServiceAccount swagger:route PUT /v1/iam/serviceaccount/{serviceAccountName} serviceaccount updateServiceAccount
Update a Service Account
func NewUpdateServiceAccount ¶
func NewUpdateServiceAccount(ctx *middleware.Context, handler UpdateServiceAccountHandler) *UpdateServiceAccount
NewUpdateServiceAccount creates a new http.Handler for the update service account operation
func (*UpdateServiceAccount) ServeHTTP ¶
func (o *UpdateServiceAccount) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateServiceAccountBadRequest ¶
type UpdateServiceAccountBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateServiceAccountBadRequest Invalid input
swagger:response updateServiceAccountBadRequest
func NewUpdateServiceAccountBadRequest ¶
func NewUpdateServiceAccountBadRequest() *UpdateServiceAccountBadRequest
NewUpdateServiceAccountBadRequest creates UpdateServiceAccountBadRequest with default headers values
func (*UpdateServiceAccountBadRequest) SetPayload ¶
func (o *UpdateServiceAccountBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the update service account bad request response
func (*UpdateServiceAccountBadRequest) WithPayload ¶
func (o *UpdateServiceAccountBadRequest) WithPayload(payload *models.Error) *UpdateServiceAccountBadRequest
WithPayload adds the payload to the update service account bad request response
func (*UpdateServiceAccountBadRequest) WriteResponse ¶
func (o *UpdateServiceAccountBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceAccountHandler ¶
type UpdateServiceAccountHandler interface {
Handle(UpdateServiceAccountParams, interface{}) middleware.Responder
}
UpdateServiceAccountHandler interface for that can handle valid update service account params
type UpdateServiceAccountHandlerFunc ¶
type UpdateServiceAccountHandlerFunc func(UpdateServiceAccountParams, interface{}) middleware.Responder
UpdateServiceAccountHandlerFunc turns a function with the right signature into a update service account handler
func (UpdateServiceAccountHandlerFunc) Handle ¶
func (fn UpdateServiceAccountHandlerFunc) Handle(params UpdateServiceAccountParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateServiceAccountInternalServerError ¶
type UpdateServiceAccountInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateServiceAccountInternalServerError Internal error
swagger:response updateServiceAccountInternalServerError
func NewUpdateServiceAccountInternalServerError ¶
func NewUpdateServiceAccountInternalServerError() *UpdateServiceAccountInternalServerError
NewUpdateServiceAccountInternalServerError creates UpdateServiceAccountInternalServerError with default headers values
func (*UpdateServiceAccountInternalServerError) SetPayload ¶
func (o *UpdateServiceAccountInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the update service account internal server error response
func (*UpdateServiceAccountInternalServerError) WithPayload ¶
func (o *UpdateServiceAccountInternalServerError) WithPayload(payload *models.Error) *UpdateServiceAccountInternalServerError
WithPayload adds the payload to the update service account internal server error response
func (*UpdateServiceAccountInternalServerError) WriteResponse ¶
func (o *UpdateServiceAccountInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceAccountNotFound ¶
type UpdateServiceAccountNotFound struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateServiceAccountNotFound Service Account not found
swagger:response updateServiceAccountNotFound
func NewUpdateServiceAccountNotFound ¶
func NewUpdateServiceAccountNotFound() *UpdateServiceAccountNotFound
NewUpdateServiceAccountNotFound creates UpdateServiceAccountNotFound with default headers values
func (*UpdateServiceAccountNotFound) SetPayload ¶
func (o *UpdateServiceAccountNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the update service account not found response
func (*UpdateServiceAccountNotFound) WithPayload ¶
func (o *UpdateServiceAccountNotFound) WithPayload(payload *models.Error) *UpdateServiceAccountNotFound
WithPayload adds the payload to the update service account not found response
func (*UpdateServiceAccountNotFound) WriteResponse ¶
func (o *UpdateServiceAccountNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceAccountOK ¶
type UpdateServiceAccountOK struct { /* In: Body */ Payload *models.ServiceAccount `json:"body,omitempty"` }
UpdateServiceAccountOK Successful update
swagger:response updateServiceAccountOK
func NewUpdateServiceAccountOK ¶
func NewUpdateServiceAccountOK() *UpdateServiceAccountOK
NewUpdateServiceAccountOK creates UpdateServiceAccountOK with default headers values
func (*UpdateServiceAccountOK) SetPayload ¶
func (o *UpdateServiceAccountOK) SetPayload(payload *models.ServiceAccount)
SetPayload sets the payload to the update service account o k response
func (*UpdateServiceAccountOK) WithPayload ¶
func (o *UpdateServiceAccountOK) WithPayload(payload *models.ServiceAccount) *UpdateServiceAccountOK
WithPayload adds the payload to the update service account o k response
func (*UpdateServiceAccountOK) WriteResponse ¶
func (o *UpdateServiceAccountOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceAccountParams ¶
type UpdateServiceAccountParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Service Account object Required: true In: body */ Body *models.ServiceAccount /*Name of ServiceAccount to work on Required: true Pattern: ^[\w\d\-]+$ In: path */ ServiceAccountName string }
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 ¶
func NewUpdateServiceAccountParams() UpdateServiceAccountParams
NewUpdateServiceAccountParams creates a new UpdateServiceAccountParams object no default values defined in spec.
func (*UpdateServiceAccountParams) BindRequest ¶
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 ¶
type UpdateServiceAccountURL struct { ServiceAccountName string // contains filtered or unexported fields }
UpdateServiceAccountURL generates an URL for the update service account operation
func (*UpdateServiceAccountURL) Build ¶
func (o *UpdateServiceAccountURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateServiceAccountURL) BuildFull ¶
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 ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateServiceAccountURL) SetBasePath ¶
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 ¶
func (o *UpdateServiceAccountURL) String() string
String returns the string representation of the path with query string
func (*UpdateServiceAccountURL) StringFull ¶
func (o *UpdateServiceAccountURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateServiceAccountURL) WithBasePath ¶
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 ¶
- add_service_account.go
- add_service_account_parameters.go
- add_service_account_responses.go
- add_service_account_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
- get_service_accounts.go
- get_service_accounts_parameters.go
- get_service_accounts_responses.go
- get_service_accounts_urlbuilder.go
- update_service_account.go
- update_service_account_parameters.go
- update_service_account_responses.go
- update_service_account_urlbuilder.go