serviceaccount

package
v0.1.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddServiceAccountBadRequest

type AddServiceAccountBadRequest struct {
	Payload *v1.Error
}

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

type AddServiceAccountConflict

type AddServiceAccountConflict struct {
	Payload *v1.Error
}

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

type AddServiceAccountInternalServerError struct {
	Payload *v1.Error
}

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

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

WithBody adds the body to the add service account params

func (*AddServiceAccountParams) WithContext

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

WithTimeout adds the timeout to the add service account params

func (*AddServiceAccountParams) WriteToRequest

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

type DeleteServiceAccountBadRequest struct {
	Payload *v1.Error
}

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

type DeleteServiceAccountInternalServerError

type DeleteServiceAccountInternalServerError struct {
	Payload *v1.Error
}

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

type DeleteServiceAccountNotFound

type DeleteServiceAccountNotFound struct {
	Payload *v1.Error
}

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

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

WithContext adds the context to the delete service account params

func (*DeleteServiceAccountParams) WithHTTPClient

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

WithTimeout adds the timeout to the delete service account params

func (*DeleteServiceAccountParams) WriteToRequest

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

type GetServiceAccountBadRequest struct {
	Payload *v1.Error
}

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

type GetServiceAccountInternalServerError

type GetServiceAccountInternalServerError struct {
	Payload *v1.Error
}

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

type GetServiceAccountNotFound

type GetServiceAccountNotFound struct {
	Payload *v1.Error
}

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

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

WithTimeout adds the timeout to the get service account params

func (*GetServiceAccountParams) WriteToRequest

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

type GetServiceAccountsInternalServerError struct {
	Payload *v1.Error
}

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

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

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

WithTimeout adds the timeout to the get service accounts params

func (*GetServiceAccountsParams) WriteToRequest

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

type UpdateServiceAccountBadRequest struct {
	Payload *v1.Error
}

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

type UpdateServiceAccountInternalServerError

type UpdateServiceAccountInternalServerError struct {
	Payload *v1.Error
}

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

type UpdateServiceAccountNotFound

type UpdateServiceAccountNotFound struct {
	Payload *v1.Error
}

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

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

WithBody adds the body to the update service account params

func (*UpdateServiceAccountParams) WithContext

WithContext adds the context to the update service account params

func (*UpdateServiceAccountParams) WithHTTPClient

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

WithTimeout adds the timeout to the update service account params

func (*UpdateServiceAccountParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL