Documentation ¶
Index ¶
- type AddServiceAccountBadRequest
- type AddServiceAccountConflict
- type AddServiceAccountCreated
- type AddServiceAccountDefault
- type AddServiceAccountForbidden
- 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) SetXDispatchOrg(xDispatchOrg string)
- 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) WithXDispatchOrg(xDispatchOrg string) *AddServiceAccountParams
- func (o *AddServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddServiceAccountReader
- type AddServiceAccountUnauthorized
- 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 DeleteServiceAccountDefault
- type DeleteServiceAccountForbidden
- 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) SetXDispatchOrg(xDispatchOrg string)
- 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) WithXDispatchOrg(xDispatchOrg string) *DeleteServiceAccountParams
- func (o *DeleteServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteServiceAccountReader
- type DeleteServiceAccountUnauthorized
- type GetServiceAccountBadRequest
- type GetServiceAccountDefault
- type GetServiceAccountForbidden
- 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) SetXDispatchOrg(xDispatchOrg string)
- 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) WithXDispatchOrg(xDispatchOrg string) *GetServiceAccountParams
- func (o *GetServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceAccountReader
- type GetServiceAccountUnauthorized
- type GetServiceAccountsDefault
- type GetServiceAccountsForbidden
- 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) SetXDispatchOrg(xDispatchOrg string)
- 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) WithXDispatchOrg(xDispatchOrg string) *GetServiceAccountsParams
- func (o *GetServiceAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceAccountsReader
- type GetServiceAccountsUnauthorized
- type UpdateServiceAccountBadRequest
- type UpdateServiceAccountDefault
- type UpdateServiceAccountForbidden
- 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) SetXDispatchOrg(xDispatchOrg string)
- 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) WithXDispatchOrg(xDispatchOrg string) *UpdateServiceAccountParams
- func (o *UpdateServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateServiceAccountReader
- type UpdateServiceAccountUnauthorized
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 AddServiceAccountForbidden ¶ added in v0.1.18
AddServiceAccountForbidden handles this case with default header values.
access to this resource is forbidden
func NewAddServiceAccountForbidden ¶ added in v0.1.18
func NewAddServiceAccountForbidden() *AddServiceAccountForbidden
NewAddServiceAccountForbidden creates a AddServiceAccountForbidden with default headers values
func (*AddServiceAccountForbidden) Error ¶ added in v0.1.18
func (o *AddServiceAccountForbidden) Error() string
type AddServiceAccountParams ¶
type AddServiceAccountParams struct { /*XDispatchOrg*/ XDispatchOrg string /*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) SetXDispatchOrg ¶ added in v0.1.18
func (o *AddServiceAccountParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg 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) WithXDispatchOrg ¶ added in v0.1.18
func (o *AddServiceAccountParams) WithXDispatchOrg(xDispatchOrg string) *AddServiceAccountParams
WithXDispatchOrg adds the xDispatchOrg 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 AddServiceAccountUnauthorized ¶ added in v0.1.18
type AddServiceAccountUnauthorized struct {
}AddServiceAccountUnauthorized handles this case with default header values.
Unauthorized Request
func NewAddServiceAccountUnauthorized ¶ added in v0.1.18
func NewAddServiceAccountUnauthorized() *AddServiceAccountUnauthorized
NewAddServiceAccountUnauthorized creates a AddServiceAccountUnauthorized with default headers values
func (*AddServiceAccountUnauthorized) Error ¶ added in v0.1.18
func (o *AddServiceAccountUnauthorized) Error() string
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 DeleteServiceAccountDefault ¶ added in v0.1.18
type DeleteServiceAccountDefault struct { Payload *v1.Error // contains filtered or unexported fields }
DeleteServiceAccountDefault handles this case with default header values.
Unknown error
func NewDeleteServiceAccountDefault ¶ added in v0.1.18
func NewDeleteServiceAccountDefault(code int) *DeleteServiceAccountDefault
NewDeleteServiceAccountDefault creates a DeleteServiceAccountDefault with default headers values
func (*DeleteServiceAccountDefault) Code ¶ added in v0.1.18
func (o *DeleteServiceAccountDefault) Code() int
Code gets the status code for the delete service account default response
func (*DeleteServiceAccountDefault) Error ¶ added in v0.1.18
func (o *DeleteServiceAccountDefault) Error() string
type DeleteServiceAccountForbidden ¶ added in v0.1.18
DeleteServiceAccountForbidden handles this case with default header values.
access to this resource is forbidden
func NewDeleteServiceAccountForbidden ¶ added in v0.1.18
func NewDeleteServiceAccountForbidden() *DeleteServiceAccountForbidden
NewDeleteServiceAccountForbidden creates a DeleteServiceAccountForbidden with default headers values
func (*DeleteServiceAccountForbidden) Error ¶ added in v0.1.18
func (o *DeleteServiceAccountForbidden) 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 { /*XDispatchOrg*/ XDispatchOrg string /*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) SetXDispatchOrg ¶ added in v0.1.18
func (o *DeleteServiceAccountParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg 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) WithXDispatchOrg ¶ added in v0.1.18
func (o *DeleteServiceAccountParams) WithXDispatchOrg(xDispatchOrg string) *DeleteServiceAccountParams
WithXDispatchOrg adds the xDispatchOrg 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 DeleteServiceAccountUnauthorized ¶ added in v0.1.18
type DeleteServiceAccountUnauthorized struct {
}DeleteServiceAccountUnauthorized handles this case with default header values.
Unauthorized Request
func NewDeleteServiceAccountUnauthorized ¶ added in v0.1.18
func NewDeleteServiceAccountUnauthorized() *DeleteServiceAccountUnauthorized
NewDeleteServiceAccountUnauthorized creates a DeleteServiceAccountUnauthorized with default headers values
func (*DeleteServiceAccountUnauthorized) Error ¶ added in v0.1.18
func (o *DeleteServiceAccountUnauthorized) Error() string
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 GetServiceAccountDefault ¶ added in v0.1.18
type GetServiceAccountDefault struct { Payload *v1.Error // contains filtered or unexported fields }
GetServiceAccountDefault handles this case with default header values.
Unknown error
func NewGetServiceAccountDefault ¶ added in v0.1.18
func NewGetServiceAccountDefault(code int) *GetServiceAccountDefault
NewGetServiceAccountDefault creates a GetServiceAccountDefault with default headers values
func (*GetServiceAccountDefault) Code ¶ added in v0.1.18
func (o *GetServiceAccountDefault) Code() int
Code gets the status code for the get service account default response
func (*GetServiceAccountDefault) Error ¶ added in v0.1.18
func (o *GetServiceAccountDefault) Error() string
type GetServiceAccountForbidden ¶ added in v0.1.18
GetServiceAccountForbidden handles this case with default header values.
access to this resource is forbidden
func NewGetServiceAccountForbidden ¶ added in v0.1.18
func NewGetServiceAccountForbidden() *GetServiceAccountForbidden
NewGetServiceAccountForbidden creates a GetServiceAccountForbidden with default headers values
func (*GetServiceAccountForbidden) Error ¶ added in v0.1.18
func (o *GetServiceAccountForbidden) 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 { /*XDispatchOrg*/ XDispatchOrg string /*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) SetXDispatchOrg ¶ added in v0.1.18
func (o *GetServiceAccountParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg 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) WithXDispatchOrg ¶ added in v0.1.18
func (o *GetServiceAccountParams) WithXDispatchOrg(xDispatchOrg string) *GetServiceAccountParams
WithXDispatchOrg adds the xDispatchOrg 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 GetServiceAccountUnauthorized ¶ added in v0.1.18
type GetServiceAccountUnauthorized struct {
}GetServiceAccountUnauthorized handles this case with default header values.
Unauthorized Request
func NewGetServiceAccountUnauthorized ¶ added in v0.1.18
func NewGetServiceAccountUnauthorized() *GetServiceAccountUnauthorized
NewGetServiceAccountUnauthorized creates a GetServiceAccountUnauthorized with default headers values
func (*GetServiceAccountUnauthorized) Error ¶ added in v0.1.18
func (o *GetServiceAccountUnauthorized) Error() string
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 GetServiceAccountsForbidden ¶ added in v0.1.18
GetServiceAccountsForbidden handles this case with default header values.
access to this resource is forbidden
func NewGetServiceAccountsForbidden ¶ added in v0.1.18
func NewGetServiceAccountsForbidden() *GetServiceAccountsForbidden
NewGetServiceAccountsForbidden creates a GetServiceAccountsForbidden with default headers values
func (*GetServiceAccountsForbidden) Error ¶ added in v0.1.18
func (o *GetServiceAccountsForbidden) 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 { /*XDispatchOrg*/ XDispatchOrg string 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) SetXDispatchOrg ¶ added in v0.1.18
func (o *GetServiceAccountsParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg 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) WithXDispatchOrg ¶ added in v0.1.18
func (o *GetServiceAccountsParams) WithXDispatchOrg(xDispatchOrg string) *GetServiceAccountsParams
WithXDispatchOrg adds the xDispatchOrg 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 GetServiceAccountsUnauthorized ¶ added in v0.1.18
type GetServiceAccountsUnauthorized struct {
}GetServiceAccountsUnauthorized handles this case with default header values.
Unauthorized Request
func NewGetServiceAccountsUnauthorized ¶ added in v0.1.18
func NewGetServiceAccountsUnauthorized() *GetServiceAccountsUnauthorized
NewGetServiceAccountsUnauthorized creates a GetServiceAccountsUnauthorized with default headers values
func (*GetServiceAccountsUnauthorized) Error ¶ added in v0.1.18
func (o *GetServiceAccountsUnauthorized) Error() string
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 UpdateServiceAccountDefault ¶ added in v0.1.18
type UpdateServiceAccountDefault struct { Payload *v1.Error // contains filtered or unexported fields }
UpdateServiceAccountDefault handles this case with default header values.
Unknown error
func NewUpdateServiceAccountDefault ¶ added in v0.1.18
func NewUpdateServiceAccountDefault(code int) *UpdateServiceAccountDefault
NewUpdateServiceAccountDefault creates a UpdateServiceAccountDefault with default headers values
func (*UpdateServiceAccountDefault) Code ¶ added in v0.1.18
func (o *UpdateServiceAccountDefault) Code() int
Code gets the status code for the update service account default response
func (*UpdateServiceAccountDefault) Error ¶ added in v0.1.18
func (o *UpdateServiceAccountDefault) Error() string
type UpdateServiceAccountForbidden ¶ added in v0.1.18
UpdateServiceAccountForbidden handles this case with default header values.
access to this resource is forbidden
func NewUpdateServiceAccountForbidden ¶ added in v0.1.18
func NewUpdateServiceAccountForbidden() *UpdateServiceAccountForbidden
NewUpdateServiceAccountForbidden creates a UpdateServiceAccountForbidden with default headers values
func (*UpdateServiceAccountForbidden) Error ¶ added in v0.1.18
func (o *UpdateServiceAccountForbidden) 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 { /*XDispatchOrg*/ XDispatchOrg string /*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) SetXDispatchOrg ¶ added in v0.1.18
func (o *UpdateServiceAccountParams) SetXDispatchOrg(xDispatchOrg string)
SetXDispatchOrg adds the xDispatchOrg 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) WithXDispatchOrg ¶ added in v0.1.18
func (o *UpdateServiceAccountParams) WithXDispatchOrg(xDispatchOrg string) *UpdateServiceAccountParams
WithXDispatchOrg adds the xDispatchOrg 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.
type UpdateServiceAccountUnauthorized ¶ added in v0.1.18
type UpdateServiceAccountUnauthorized struct {
}UpdateServiceAccountUnauthorized handles this case with default header values.
Unauthorized Request
func NewUpdateServiceAccountUnauthorized ¶ added in v0.1.18
func NewUpdateServiceAccountUnauthorized() *UpdateServiceAccountUnauthorized
NewUpdateServiceAccountUnauthorized creates a UpdateServiceAccountUnauthorized with default headers values
func (*UpdateServiceAccountUnauthorized) Error ¶ added in v0.1.18
func (o *UpdateServiceAccountUnauthorized) Error() string
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