serviceaccount

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 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 AddServiceAccountForbidden added in v0.1.18

type AddServiceAccountForbidden struct {
	Payload *v1.Error
}

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

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

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) 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

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 {
	Payload *v1.Error
}

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

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 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

type DeleteServiceAccountForbidden added in v0.1.18

type DeleteServiceAccountForbidden struct {
	Payload *v1.Error
}

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

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 {

	/*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

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) 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

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 {
	Payload *v1.Error
}

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

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 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

type GetServiceAccountForbidden struct {
	Payload *v1.Error
}

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

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 {

	/*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

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) 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

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 {
	Payload *v1.Error
}

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

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

type GetServiceAccountsForbidden struct {
	Payload *v1.Error
}

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

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

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) 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

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 {
	Payload *v1.Error
}

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

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 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

type UpdateServiceAccountForbidden added in v0.1.18

type UpdateServiceAccountForbidden struct {
	Payload *v1.Error
}

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

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 {

	/*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

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) 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

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 {
	Payload *v1.Error
}

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

Jump to

Keyboard shortcuts

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