Documentation ¶
Index ¶
- type AddServiceAccountBadRequest
- type AddServiceAccountConflict
- type AddServiceAccountCreated
- type AddServiceAccountDefault
- type AddServiceAccountInternalServerError
- type AddServiceAccountParams
- func NewAddServiceAccountParams() *AddServiceAccountParams
- func NewAddServiceAccountParamsWithContext(ctx context.Context) *AddServiceAccountParams
- func NewAddServiceAccountParamsWithHTTPClient(client *http.Client) *AddServiceAccountParams
- func NewAddServiceAccountParamsWithTimeout(timeout time.Duration) *AddServiceAccountParams
- func (o *AddServiceAccountParams) SetBody(body *v1.ServiceAccount)
- func (o *AddServiceAccountParams) SetContext(ctx context.Context)
- func (o *AddServiceAccountParams) SetHTTPClient(client *http.Client)
- func (o *AddServiceAccountParams) SetTimeout(timeout time.Duration)
- func (o *AddServiceAccountParams) WithBody(body *v1.ServiceAccount) *AddServiceAccountParams
- func (o *AddServiceAccountParams) WithContext(ctx context.Context) *AddServiceAccountParams
- func (o *AddServiceAccountParams) WithHTTPClient(client *http.Client) *AddServiceAccountParams
- func (o *AddServiceAccountParams) WithTimeout(timeout time.Duration) *AddServiceAccountParams
- func (o *AddServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddServiceAccountReader
- type Client
- func (a *Client) AddServiceAccount(params *AddServiceAccountParams, authInfo runtime.ClientAuthInfoWriter) (*AddServiceAccountCreated, error)
- func (a *Client) DeleteServiceAccount(params *DeleteServiceAccountParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServiceAccountOK, error)
- func (a *Client) GetServiceAccount(params *GetServiceAccountParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceAccountOK, error)
- func (a *Client) GetServiceAccounts(params *GetServiceAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceAccountsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateServiceAccount(params *UpdateServiceAccountParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateServiceAccountOK, error)
- type DeleteServiceAccountBadRequest
- type DeleteServiceAccountInternalServerError
- type DeleteServiceAccountNotFound
- type DeleteServiceAccountOK
- type DeleteServiceAccountParams
- func NewDeleteServiceAccountParams() *DeleteServiceAccountParams
- func NewDeleteServiceAccountParamsWithContext(ctx context.Context) *DeleteServiceAccountParams
- func NewDeleteServiceAccountParamsWithHTTPClient(client *http.Client) *DeleteServiceAccountParams
- func NewDeleteServiceAccountParamsWithTimeout(timeout time.Duration) *DeleteServiceAccountParams
- func (o *DeleteServiceAccountParams) SetContext(ctx context.Context)
- func (o *DeleteServiceAccountParams) SetHTTPClient(client *http.Client)
- func (o *DeleteServiceAccountParams) SetServiceAccountName(serviceAccountName string)
- func (o *DeleteServiceAccountParams) SetTimeout(timeout time.Duration)
- func (o *DeleteServiceAccountParams) WithContext(ctx context.Context) *DeleteServiceAccountParams
- func (o *DeleteServiceAccountParams) WithHTTPClient(client *http.Client) *DeleteServiceAccountParams
- func (o *DeleteServiceAccountParams) WithServiceAccountName(serviceAccountName string) *DeleteServiceAccountParams
- func (o *DeleteServiceAccountParams) WithTimeout(timeout time.Duration) *DeleteServiceAccountParams
- func (o *DeleteServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteServiceAccountReader
- type GetServiceAccountBadRequest
- type GetServiceAccountInternalServerError
- type GetServiceAccountNotFound
- type GetServiceAccountOK
- type GetServiceAccountParams
- func NewGetServiceAccountParams() *GetServiceAccountParams
- func NewGetServiceAccountParamsWithContext(ctx context.Context) *GetServiceAccountParams
- func NewGetServiceAccountParamsWithHTTPClient(client *http.Client) *GetServiceAccountParams
- func NewGetServiceAccountParamsWithTimeout(timeout time.Duration) *GetServiceAccountParams
- func (o *GetServiceAccountParams) SetContext(ctx context.Context)
- func (o *GetServiceAccountParams) SetHTTPClient(client *http.Client)
- func (o *GetServiceAccountParams) SetServiceAccountName(serviceAccountName string)
- func (o *GetServiceAccountParams) SetTimeout(timeout time.Duration)
- func (o *GetServiceAccountParams) WithContext(ctx context.Context) *GetServiceAccountParams
- func (o *GetServiceAccountParams) WithHTTPClient(client *http.Client) *GetServiceAccountParams
- func (o *GetServiceAccountParams) WithServiceAccountName(serviceAccountName string) *GetServiceAccountParams
- func (o *GetServiceAccountParams) WithTimeout(timeout time.Duration) *GetServiceAccountParams
- func (o *GetServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceAccountReader
- type GetServiceAccountsDefault
- type GetServiceAccountsInternalServerError
- type GetServiceAccountsOK
- type GetServiceAccountsParams
- func NewGetServiceAccountsParams() *GetServiceAccountsParams
- func NewGetServiceAccountsParamsWithContext(ctx context.Context) *GetServiceAccountsParams
- func NewGetServiceAccountsParamsWithHTTPClient(client *http.Client) *GetServiceAccountsParams
- func NewGetServiceAccountsParamsWithTimeout(timeout time.Duration) *GetServiceAccountsParams
- func (o *GetServiceAccountsParams) SetContext(ctx context.Context)
- func (o *GetServiceAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetServiceAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetServiceAccountsParams) WithContext(ctx context.Context) *GetServiceAccountsParams
- func (o *GetServiceAccountsParams) WithHTTPClient(client *http.Client) *GetServiceAccountsParams
- func (o *GetServiceAccountsParams) WithTimeout(timeout time.Duration) *GetServiceAccountsParams
- func (o *GetServiceAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceAccountsReader
- type UpdateServiceAccountBadRequest
- type UpdateServiceAccountInternalServerError
- type UpdateServiceAccountNotFound
- type UpdateServiceAccountOK
- type UpdateServiceAccountParams
- func NewUpdateServiceAccountParams() *UpdateServiceAccountParams
- func NewUpdateServiceAccountParamsWithContext(ctx context.Context) *UpdateServiceAccountParams
- func NewUpdateServiceAccountParamsWithHTTPClient(client *http.Client) *UpdateServiceAccountParams
- func NewUpdateServiceAccountParamsWithTimeout(timeout time.Duration) *UpdateServiceAccountParams
- func (o *UpdateServiceAccountParams) SetBody(body *v1.ServiceAccount)
- func (o *UpdateServiceAccountParams) SetContext(ctx context.Context)
- func (o *UpdateServiceAccountParams) SetHTTPClient(client *http.Client)
- func (o *UpdateServiceAccountParams) SetServiceAccountName(serviceAccountName string)
- func (o *UpdateServiceAccountParams) SetTimeout(timeout time.Duration)
- func (o *UpdateServiceAccountParams) WithBody(body *v1.ServiceAccount) *UpdateServiceAccountParams
- func (o *UpdateServiceAccountParams) WithContext(ctx context.Context) *UpdateServiceAccountParams
- func (o *UpdateServiceAccountParams) WithHTTPClient(client *http.Client) *UpdateServiceAccountParams
- func (o *UpdateServiceAccountParams) WithServiceAccountName(serviceAccountName string) *UpdateServiceAccountParams
- func (o *UpdateServiceAccountParams) WithTimeout(timeout time.Duration) *UpdateServiceAccountParams
- func (o *UpdateServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateServiceAccountReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddServiceAccountBadRequest ¶
AddServiceAccountBadRequest handles this case with default header values.
Invalid input
func NewAddServiceAccountBadRequest ¶
func NewAddServiceAccountBadRequest() *AddServiceAccountBadRequest
NewAddServiceAccountBadRequest creates a AddServiceAccountBadRequest with default headers values
func (*AddServiceAccountBadRequest) Error ¶
func (o *AddServiceAccountBadRequest) Error() string
type AddServiceAccountConflict ¶
AddServiceAccountConflict handles this case with default header values.
Already Exists
func NewAddServiceAccountConflict ¶
func NewAddServiceAccountConflict() *AddServiceAccountConflict
NewAddServiceAccountConflict creates a AddServiceAccountConflict with default headers values
func (*AddServiceAccountConflict) Error ¶
func (o *AddServiceAccountConflict) Error() string
type AddServiceAccountCreated ¶
type AddServiceAccountCreated struct {
Payload *v1.ServiceAccount
}
AddServiceAccountCreated handles this case with default header values.
created
func NewAddServiceAccountCreated ¶
func NewAddServiceAccountCreated() *AddServiceAccountCreated
NewAddServiceAccountCreated creates a AddServiceAccountCreated with default headers values
func (*AddServiceAccountCreated) Error ¶
func (o *AddServiceAccountCreated) Error() string
type AddServiceAccountDefault ¶
type AddServiceAccountDefault struct { Payload *v1.Error // contains filtered or unexported fields }
AddServiceAccountDefault handles this case with default header values.
Generic error response
func NewAddServiceAccountDefault ¶
func NewAddServiceAccountDefault(code int) *AddServiceAccountDefault
NewAddServiceAccountDefault creates a AddServiceAccountDefault with default headers values
func (*AddServiceAccountDefault) Code ¶
func (o *AddServiceAccountDefault) Code() int
Code gets the status code for the add service account default response
func (*AddServiceAccountDefault) Error ¶
func (o *AddServiceAccountDefault) Error() string
type AddServiceAccountInternalServerError ¶
AddServiceAccountInternalServerError handles this case with default header values.
Internal Error
func NewAddServiceAccountInternalServerError ¶
func NewAddServiceAccountInternalServerError() *AddServiceAccountInternalServerError
NewAddServiceAccountInternalServerError creates a AddServiceAccountInternalServerError with default headers values
func (*AddServiceAccountInternalServerError) Error ¶
func (o *AddServiceAccountInternalServerError) Error() string
type AddServiceAccountParams ¶
type AddServiceAccountParams struct { /*Body Service Account Object */ Body *v1.ServiceAccount Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddServiceAccountParams contains all the parameters to send to the API endpoint for the add service account operation typically these are written to a http.Request
func NewAddServiceAccountParams ¶
func NewAddServiceAccountParams() *AddServiceAccountParams
NewAddServiceAccountParams creates a new AddServiceAccountParams object with the default values initialized.
func NewAddServiceAccountParamsWithContext ¶
func NewAddServiceAccountParamsWithContext(ctx context.Context) *AddServiceAccountParams
NewAddServiceAccountParamsWithContext creates a new AddServiceAccountParams object with the default values initialized, and the ability to set a context for a request
func NewAddServiceAccountParamsWithHTTPClient ¶
func NewAddServiceAccountParamsWithHTTPClient(client *http.Client) *AddServiceAccountParams
NewAddServiceAccountParamsWithHTTPClient creates a new AddServiceAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddServiceAccountParamsWithTimeout ¶
func NewAddServiceAccountParamsWithTimeout(timeout time.Duration) *AddServiceAccountParams
NewAddServiceAccountParamsWithTimeout creates a new AddServiceAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddServiceAccountParams) SetBody ¶
func (o *AddServiceAccountParams) SetBody(body *v1.ServiceAccount)
SetBody adds the body to the add service account params
func (*AddServiceAccountParams) SetContext ¶
func (o *AddServiceAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the add service account params
func (*AddServiceAccountParams) SetHTTPClient ¶
func (o *AddServiceAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add service account params
func (*AddServiceAccountParams) SetTimeout ¶
func (o *AddServiceAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add service account params
func (*AddServiceAccountParams) WithBody ¶
func (o *AddServiceAccountParams) WithBody(body *v1.ServiceAccount) *AddServiceAccountParams
WithBody adds the body to the add service account params
func (*AddServiceAccountParams) WithContext ¶
func (o *AddServiceAccountParams) WithContext(ctx context.Context) *AddServiceAccountParams
WithContext adds the context to the add service account params
func (*AddServiceAccountParams) WithHTTPClient ¶
func (o *AddServiceAccountParams) WithHTTPClient(client *http.Client) *AddServiceAccountParams
WithHTTPClient adds the HTTPClient to the add service account params
func (*AddServiceAccountParams) WithTimeout ¶
func (o *AddServiceAccountParams) WithTimeout(timeout time.Duration) *AddServiceAccountParams
WithTimeout adds the timeout to the add service account params
func (*AddServiceAccountParams) WriteToRequest ¶
func (o *AddServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddServiceAccountReader ¶
type AddServiceAccountReader struct {
// contains filtered or unexported fields
}
AddServiceAccountReader is a Reader for the AddServiceAccount structure.
func (*AddServiceAccountReader) ReadResponse ¶
func (o *AddServiceAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for serviceaccount API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new serviceaccount API client.
func (*Client) AddServiceAccount ¶
func (a *Client) AddServiceAccount(params *AddServiceAccountParams, authInfo runtime.ClientAuthInfoWriter) (*AddServiceAccountCreated, error)
AddServiceAccount adds a new service account
func (*Client) DeleteServiceAccount ¶
func (a *Client) DeleteServiceAccount(params *DeleteServiceAccountParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServiceAccountOK, error)
DeleteServiceAccount deletes an service account
func (*Client) GetServiceAccount ¶
func (a *Client) GetServiceAccount(params *GetServiceAccountParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceAccountOK, error)
GetServiceAccount finds service account by name
get a Service Account by name
func (*Client) GetServiceAccounts ¶
func (a *Client) GetServiceAccounts(params *GetServiceAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*GetServiceAccountsOK, error)
GetServiceAccounts lists all existing service accounts
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateServiceAccount ¶
func (a *Client) UpdateServiceAccount(params *UpdateServiceAccountParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateServiceAccountOK, error)
UpdateServiceAccount updates a service account
type DeleteServiceAccountBadRequest ¶
DeleteServiceAccountBadRequest handles this case with default header values.
Invalid Name supplied
func NewDeleteServiceAccountBadRequest ¶
func NewDeleteServiceAccountBadRequest() *DeleteServiceAccountBadRequest
NewDeleteServiceAccountBadRequest creates a DeleteServiceAccountBadRequest with default headers values
func (*DeleteServiceAccountBadRequest) Error ¶
func (o *DeleteServiceAccountBadRequest) Error() string
type DeleteServiceAccountInternalServerError ¶
DeleteServiceAccountInternalServerError handles this case with default header values.
Internal error
func NewDeleteServiceAccountInternalServerError ¶
func NewDeleteServiceAccountInternalServerError() *DeleteServiceAccountInternalServerError
NewDeleteServiceAccountInternalServerError creates a DeleteServiceAccountInternalServerError with default headers values
func (*DeleteServiceAccountInternalServerError) Error ¶
func (o *DeleteServiceAccountInternalServerError) Error() string
type DeleteServiceAccountNotFound ¶
DeleteServiceAccountNotFound handles this case with default header values.
Service Account not found
func NewDeleteServiceAccountNotFound ¶
func NewDeleteServiceAccountNotFound() *DeleteServiceAccountNotFound
NewDeleteServiceAccountNotFound creates a DeleteServiceAccountNotFound with default headers values
func (*DeleteServiceAccountNotFound) Error ¶
func (o *DeleteServiceAccountNotFound) Error() string
type DeleteServiceAccountOK ¶
type DeleteServiceAccountOK struct {
Payload *v1.ServiceAccount
}
DeleteServiceAccountOK handles this case with default header values.
Successful operation
func NewDeleteServiceAccountOK ¶
func NewDeleteServiceAccountOK() *DeleteServiceAccountOK
NewDeleteServiceAccountOK creates a DeleteServiceAccountOK with default headers values
func (*DeleteServiceAccountOK) Error ¶
func (o *DeleteServiceAccountOK) Error() string
type DeleteServiceAccountParams ¶
type DeleteServiceAccountParams struct { /*ServiceAccountName Name of ServiceAccount to work on */ ServiceAccountName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteServiceAccountParams contains all the parameters to send to the API endpoint for the delete service account operation typically these are written to a http.Request
func NewDeleteServiceAccountParams ¶
func NewDeleteServiceAccountParams() *DeleteServiceAccountParams
NewDeleteServiceAccountParams creates a new DeleteServiceAccountParams object with the default values initialized.
func NewDeleteServiceAccountParamsWithContext ¶
func NewDeleteServiceAccountParamsWithContext(ctx context.Context) *DeleteServiceAccountParams
NewDeleteServiceAccountParamsWithContext creates a new DeleteServiceAccountParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteServiceAccountParamsWithHTTPClient ¶
func NewDeleteServiceAccountParamsWithHTTPClient(client *http.Client) *DeleteServiceAccountParams
NewDeleteServiceAccountParamsWithHTTPClient creates a new DeleteServiceAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteServiceAccountParamsWithTimeout ¶
func NewDeleteServiceAccountParamsWithTimeout(timeout time.Duration) *DeleteServiceAccountParams
NewDeleteServiceAccountParamsWithTimeout creates a new DeleteServiceAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteServiceAccountParams) SetContext ¶
func (o *DeleteServiceAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the delete service account params
func (*DeleteServiceAccountParams) SetHTTPClient ¶
func (o *DeleteServiceAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete service account params
func (*DeleteServiceAccountParams) SetServiceAccountName ¶
func (o *DeleteServiceAccountParams) SetServiceAccountName(serviceAccountName string)
SetServiceAccountName adds the serviceAccountName to the delete service account params
func (*DeleteServiceAccountParams) SetTimeout ¶
func (o *DeleteServiceAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete service account params
func (*DeleteServiceAccountParams) WithContext ¶
func (o *DeleteServiceAccountParams) WithContext(ctx context.Context) *DeleteServiceAccountParams
WithContext adds the context to the delete service account params
func (*DeleteServiceAccountParams) WithHTTPClient ¶
func (o *DeleteServiceAccountParams) WithHTTPClient(client *http.Client) *DeleteServiceAccountParams
WithHTTPClient adds the HTTPClient to the delete service account params
func (*DeleteServiceAccountParams) WithServiceAccountName ¶
func (o *DeleteServiceAccountParams) WithServiceAccountName(serviceAccountName string) *DeleteServiceAccountParams
WithServiceAccountName adds the serviceAccountName to the delete service account params
func (*DeleteServiceAccountParams) WithTimeout ¶
func (o *DeleteServiceAccountParams) WithTimeout(timeout time.Duration) *DeleteServiceAccountParams
WithTimeout adds the timeout to the delete service account params
func (*DeleteServiceAccountParams) WriteToRequest ¶
func (o *DeleteServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteServiceAccountReader ¶
type DeleteServiceAccountReader struct {
// contains filtered or unexported fields
}
DeleteServiceAccountReader is a Reader for the DeleteServiceAccount structure.
func (*DeleteServiceAccountReader) ReadResponse ¶
func (o *DeleteServiceAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServiceAccountBadRequest ¶
GetServiceAccountBadRequest handles this case with default header values.
Invalid Name supplied
func NewGetServiceAccountBadRequest ¶
func NewGetServiceAccountBadRequest() *GetServiceAccountBadRequest
NewGetServiceAccountBadRequest creates a GetServiceAccountBadRequest with default headers values
func (*GetServiceAccountBadRequest) Error ¶
func (o *GetServiceAccountBadRequest) Error() string
type GetServiceAccountInternalServerError ¶
GetServiceAccountInternalServerError handles this case with default header values.
Internal error
func NewGetServiceAccountInternalServerError ¶
func NewGetServiceAccountInternalServerError() *GetServiceAccountInternalServerError
NewGetServiceAccountInternalServerError creates a GetServiceAccountInternalServerError with default headers values
func (*GetServiceAccountInternalServerError) Error ¶
func (o *GetServiceAccountInternalServerError) Error() string
type GetServiceAccountNotFound ¶
GetServiceAccountNotFound handles this case with default header values.
Service Account not found
func NewGetServiceAccountNotFound ¶
func NewGetServiceAccountNotFound() *GetServiceAccountNotFound
NewGetServiceAccountNotFound creates a GetServiceAccountNotFound with default headers values
func (*GetServiceAccountNotFound) Error ¶
func (o *GetServiceAccountNotFound) Error() string
type GetServiceAccountOK ¶
type GetServiceAccountOK struct {
Payload *v1.ServiceAccount
}
GetServiceAccountOK handles this case with default header values.
Successful operation
func NewGetServiceAccountOK ¶
func NewGetServiceAccountOK() *GetServiceAccountOK
NewGetServiceAccountOK creates a GetServiceAccountOK with default headers values
func (*GetServiceAccountOK) Error ¶
func (o *GetServiceAccountOK) Error() string
type GetServiceAccountParams ¶
type GetServiceAccountParams struct { /*ServiceAccountName Name of ServiceAccount to work on */ ServiceAccountName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServiceAccountParams contains all the parameters to send to the API endpoint for the get service account operation typically these are written to a http.Request
func NewGetServiceAccountParams ¶
func NewGetServiceAccountParams() *GetServiceAccountParams
NewGetServiceAccountParams creates a new GetServiceAccountParams object with the default values initialized.
func NewGetServiceAccountParamsWithContext ¶
func NewGetServiceAccountParamsWithContext(ctx context.Context) *GetServiceAccountParams
NewGetServiceAccountParamsWithContext creates a new GetServiceAccountParams object with the default values initialized, and the ability to set a context for a request
func NewGetServiceAccountParamsWithHTTPClient ¶
func NewGetServiceAccountParamsWithHTTPClient(client *http.Client) *GetServiceAccountParams
NewGetServiceAccountParamsWithHTTPClient creates a new GetServiceAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetServiceAccountParamsWithTimeout ¶
func NewGetServiceAccountParamsWithTimeout(timeout time.Duration) *GetServiceAccountParams
NewGetServiceAccountParamsWithTimeout creates a new GetServiceAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetServiceAccountParams) SetContext ¶
func (o *GetServiceAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the get service account params
func (*GetServiceAccountParams) SetHTTPClient ¶
func (o *GetServiceAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get service account params
func (*GetServiceAccountParams) SetServiceAccountName ¶
func (o *GetServiceAccountParams) SetServiceAccountName(serviceAccountName string)
SetServiceAccountName adds the serviceAccountName to the get service account params
func (*GetServiceAccountParams) SetTimeout ¶
func (o *GetServiceAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get service account params
func (*GetServiceAccountParams) WithContext ¶
func (o *GetServiceAccountParams) WithContext(ctx context.Context) *GetServiceAccountParams
WithContext adds the context to the get service account params
func (*GetServiceAccountParams) WithHTTPClient ¶
func (o *GetServiceAccountParams) WithHTTPClient(client *http.Client) *GetServiceAccountParams
WithHTTPClient adds the HTTPClient to the get service account params
func (*GetServiceAccountParams) WithServiceAccountName ¶
func (o *GetServiceAccountParams) WithServiceAccountName(serviceAccountName string) *GetServiceAccountParams
WithServiceAccountName adds the serviceAccountName to the get service account params
func (*GetServiceAccountParams) WithTimeout ¶
func (o *GetServiceAccountParams) WithTimeout(timeout time.Duration) *GetServiceAccountParams
WithTimeout adds the timeout to the get service account params
func (*GetServiceAccountParams) WriteToRequest ¶
func (o *GetServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServiceAccountReader ¶
type GetServiceAccountReader struct {
// contains filtered or unexported fields
}
GetServiceAccountReader is a Reader for the GetServiceAccount structure.
func (*GetServiceAccountReader) ReadResponse ¶
func (o *GetServiceAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServiceAccountsDefault ¶
type GetServiceAccountsDefault struct { Payload *v1.Error // contains filtered or unexported fields }
GetServiceAccountsDefault handles this case with default header values.
Unexpected Error
func NewGetServiceAccountsDefault ¶
func NewGetServiceAccountsDefault(code int) *GetServiceAccountsDefault
NewGetServiceAccountsDefault creates a GetServiceAccountsDefault with default headers values
func (*GetServiceAccountsDefault) Code ¶
func (o *GetServiceAccountsDefault) Code() int
Code gets the status code for the get service accounts default response
func (*GetServiceAccountsDefault) Error ¶
func (o *GetServiceAccountsDefault) Error() string
type GetServiceAccountsInternalServerError ¶
GetServiceAccountsInternalServerError handles this case with default header values.
Internal Error
func NewGetServiceAccountsInternalServerError ¶
func NewGetServiceAccountsInternalServerError() *GetServiceAccountsInternalServerError
NewGetServiceAccountsInternalServerError creates a GetServiceAccountsInternalServerError with default headers values
func (*GetServiceAccountsInternalServerError) Error ¶
func (o *GetServiceAccountsInternalServerError) Error() string
type GetServiceAccountsOK ¶
type GetServiceAccountsOK struct {
Payload []*v1.ServiceAccount
}
GetServiceAccountsOK handles this case with default header values.
Successful operation
func NewGetServiceAccountsOK ¶
func NewGetServiceAccountsOK() *GetServiceAccountsOK
NewGetServiceAccountsOK creates a GetServiceAccountsOK with default headers values
func (*GetServiceAccountsOK) Error ¶
func (o *GetServiceAccountsOK) Error() string
type GetServiceAccountsParams ¶
type GetServiceAccountsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServiceAccountsParams contains all the parameters to send to the API endpoint for the get service accounts operation typically these are written to a http.Request
func NewGetServiceAccountsParams ¶
func NewGetServiceAccountsParams() *GetServiceAccountsParams
NewGetServiceAccountsParams creates a new GetServiceAccountsParams object with the default values initialized.
func NewGetServiceAccountsParamsWithContext ¶
func NewGetServiceAccountsParamsWithContext(ctx context.Context) *GetServiceAccountsParams
NewGetServiceAccountsParamsWithContext creates a new GetServiceAccountsParams object with the default values initialized, and the ability to set a context for a request
func NewGetServiceAccountsParamsWithHTTPClient ¶
func NewGetServiceAccountsParamsWithHTTPClient(client *http.Client) *GetServiceAccountsParams
NewGetServiceAccountsParamsWithHTTPClient creates a new GetServiceAccountsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetServiceAccountsParamsWithTimeout ¶
func NewGetServiceAccountsParamsWithTimeout(timeout time.Duration) *GetServiceAccountsParams
NewGetServiceAccountsParamsWithTimeout creates a new GetServiceAccountsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetServiceAccountsParams) SetContext ¶
func (o *GetServiceAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the get service accounts params
func (*GetServiceAccountsParams) SetHTTPClient ¶
func (o *GetServiceAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get service accounts params
func (*GetServiceAccountsParams) SetTimeout ¶
func (o *GetServiceAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get service accounts params
func (*GetServiceAccountsParams) WithContext ¶
func (o *GetServiceAccountsParams) WithContext(ctx context.Context) *GetServiceAccountsParams
WithContext adds the context to the get service accounts params
func (*GetServiceAccountsParams) WithHTTPClient ¶
func (o *GetServiceAccountsParams) WithHTTPClient(client *http.Client) *GetServiceAccountsParams
WithHTTPClient adds the HTTPClient to the get service accounts params
func (*GetServiceAccountsParams) WithTimeout ¶
func (o *GetServiceAccountsParams) WithTimeout(timeout time.Duration) *GetServiceAccountsParams
WithTimeout adds the timeout to the get service accounts params
func (*GetServiceAccountsParams) WriteToRequest ¶
func (o *GetServiceAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServiceAccountsReader ¶
type GetServiceAccountsReader struct {
// contains filtered or unexported fields
}
GetServiceAccountsReader is a Reader for the GetServiceAccounts structure.
func (*GetServiceAccountsReader) ReadResponse ¶
func (o *GetServiceAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateServiceAccountBadRequest ¶
UpdateServiceAccountBadRequest handles this case with default header values.
Invalid input
func NewUpdateServiceAccountBadRequest ¶
func NewUpdateServiceAccountBadRequest() *UpdateServiceAccountBadRequest
NewUpdateServiceAccountBadRequest creates a UpdateServiceAccountBadRequest with default headers values
func (*UpdateServiceAccountBadRequest) Error ¶
func (o *UpdateServiceAccountBadRequest) Error() string
type UpdateServiceAccountInternalServerError ¶
UpdateServiceAccountInternalServerError handles this case with default header values.
Internal error
func NewUpdateServiceAccountInternalServerError ¶
func NewUpdateServiceAccountInternalServerError() *UpdateServiceAccountInternalServerError
NewUpdateServiceAccountInternalServerError creates a UpdateServiceAccountInternalServerError with default headers values
func (*UpdateServiceAccountInternalServerError) Error ¶
func (o *UpdateServiceAccountInternalServerError) Error() string
type UpdateServiceAccountNotFound ¶
UpdateServiceAccountNotFound handles this case with default header values.
Service Account not found
func NewUpdateServiceAccountNotFound ¶
func NewUpdateServiceAccountNotFound() *UpdateServiceAccountNotFound
NewUpdateServiceAccountNotFound creates a UpdateServiceAccountNotFound with default headers values
func (*UpdateServiceAccountNotFound) Error ¶
func (o *UpdateServiceAccountNotFound) Error() string
type UpdateServiceAccountOK ¶
type UpdateServiceAccountOK struct {
Payload *v1.ServiceAccount
}
UpdateServiceAccountOK handles this case with default header values.
Successful update
func NewUpdateServiceAccountOK ¶
func NewUpdateServiceAccountOK() *UpdateServiceAccountOK
NewUpdateServiceAccountOK creates a UpdateServiceAccountOK with default headers values
func (*UpdateServiceAccountOK) Error ¶
func (o *UpdateServiceAccountOK) Error() string
type UpdateServiceAccountParams ¶
type UpdateServiceAccountParams struct { /*Body Service Account object */ Body *v1.ServiceAccount /*ServiceAccountName Name of ServiceAccount to work on */ ServiceAccountName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateServiceAccountParams contains all the parameters to send to the API endpoint for the update service account operation typically these are written to a http.Request
func NewUpdateServiceAccountParams ¶
func NewUpdateServiceAccountParams() *UpdateServiceAccountParams
NewUpdateServiceAccountParams creates a new UpdateServiceAccountParams object with the default values initialized.
func NewUpdateServiceAccountParamsWithContext ¶
func NewUpdateServiceAccountParamsWithContext(ctx context.Context) *UpdateServiceAccountParams
NewUpdateServiceAccountParamsWithContext creates a new UpdateServiceAccountParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateServiceAccountParamsWithHTTPClient ¶
func NewUpdateServiceAccountParamsWithHTTPClient(client *http.Client) *UpdateServiceAccountParams
NewUpdateServiceAccountParamsWithHTTPClient creates a new UpdateServiceAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateServiceAccountParamsWithTimeout ¶
func NewUpdateServiceAccountParamsWithTimeout(timeout time.Duration) *UpdateServiceAccountParams
NewUpdateServiceAccountParamsWithTimeout creates a new UpdateServiceAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateServiceAccountParams) SetBody ¶
func (o *UpdateServiceAccountParams) SetBody(body *v1.ServiceAccount)
SetBody adds the body to the update service account params
func (*UpdateServiceAccountParams) SetContext ¶
func (o *UpdateServiceAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the update service account params
func (*UpdateServiceAccountParams) SetHTTPClient ¶
func (o *UpdateServiceAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update service account params
func (*UpdateServiceAccountParams) SetServiceAccountName ¶
func (o *UpdateServiceAccountParams) SetServiceAccountName(serviceAccountName string)
SetServiceAccountName adds the serviceAccountName to the update service account params
func (*UpdateServiceAccountParams) SetTimeout ¶
func (o *UpdateServiceAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update service account params
func (*UpdateServiceAccountParams) WithBody ¶
func (o *UpdateServiceAccountParams) WithBody(body *v1.ServiceAccount) *UpdateServiceAccountParams
WithBody adds the body to the update service account params
func (*UpdateServiceAccountParams) WithContext ¶
func (o *UpdateServiceAccountParams) WithContext(ctx context.Context) *UpdateServiceAccountParams
WithContext adds the context to the update service account params
func (*UpdateServiceAccountParams) WithHTTPClient ¶
func (o *UpdateServiceAccountParams) WithHTTPClient(client *http.Client) *UpdateServiceAccountParams
WithHTTPClient adds the HTTPClient to the update service account params
func (*UpdateServiceAccountParams) WithServiceAccountName ¶
func (o *UpdateServiceAccountParams) WithServiceAccountName(serviceAccountName string) *UpdateServiceAccountParams
WithServiceAccountName adds the serviceAccountName to the update service account params
func (*UpdateServiceAccountParams) WithTimeout ¶
func (o *UpdateServiceAccountParams) WithTimeout(timeout time.Duration) *UpdateServiceAccountParams
WithTimeout adds the timeout to the update service account params
func (*UpdateServiceAccountParams) WriteToRequest ¶
func (o *UpdateServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateServiceAccountReader ¶
type UpdateServiceAccountReader struct {
// contains filtered or unexported fields
}
UpdateServiceAccountReader is a Reader for the UpdateServiceAccount structure.
func (*UpdateServiceAccountReader) ReadResponse ¶
func (o *UpdateServiceAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_service_account_parameters.go
- add_service_account_responses.go
- delete_service_account_parameters.go
- delete_service_account_responses.go
- get_service_account_parameters.go
- get_service_account_responses.go
- get_service_accounts_parameters.go
- get_service_accounts_responses.go
- serviceaccount_client.go
- update_service_account_parameters.go
- update_service_account_responses.go