service_accounts_v1

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for service accounts v1 API

func (*Client) CreateServiceAccount

CreateServiceAccount creates service account

func (*Client) CreateServiceAccountToken

CreateServiceAccountToken creates service account token

func (*Client) DeleteServiceAccount

DeleteServiceAccount deletes service account

func (*Client) DeleteServiceAccountToken

DeleteServiceAccountToken deletes service account token

func (*Client) GetServiceAccount

GetServiceAccount gets service account

func (*Client) GetServiceAccountToken

GetServiceAccountToken gets service account token

func (*Client) ListServiceAccountNames

ListServiceAccountNames lists service accounts names

func (*Client) ListServiceAccountTokens

ListServiceAccountTokens lists service account tokens

func (*Client) ListServiceAccounts

ListServiceAccounts lists service accounts

func (*Client) PatchServiceAccount

PatchServiceAccount patches service account

func (*Client) PatchServiceAccountToken

PatchServiceAccountToken patches service account token

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateServiceAccount

UpdateServiceAccount updates service account

func (*Client) UpdateServiceAccountToken

UpdateServiceAccountToken updates service account token

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateServiceAccount(params *CreateServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServiceAccountOK, *CreateServiceAccountNoContent, error)

	CreateServiceAccountToken(params *CreateServiceAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServiceAccountTokenOK, *CreateServiceAccountTokenNoContent, error)

	DeleteServiceAccount(params *DeleteServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceAccountOK, *DeleteServiceAccountNoContent, error)

	DeleteServiceAccountToken(params *DeleteServiceAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceAccountTokenOK, *DeleteServiceAccountTokenNoContent, error)

	GetServiceAccount(params *GetServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceAccountOK, *GetServiceAccountNoContent, error)

	GetServiceAccountToken(params *GetServiceAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceAccountTokenOK, *GetServiceAccountTokenNoContent, error)

	ListServiceAccountNames(params *ListServiceAccountNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceAccountNamesOK, *ListServiceAccountNamesNoContent, error)

	ListServiceAccountTokens(params *ListServiceAccountTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceAccountTokensOK, *ListServiceAccountTokensNoContent, error)

	ListServiceAccounts(params *ListServiceAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceAccountsOK, *ListServiceAccountsNoContent, error)

	PatchServiceAccount(params *PatchServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchServiceAccountOK, *PatchServiceAccountNoContent, error)

	PatchServiceAccountToken(params *PatchServiceAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchServiceAccountTokenOK, *PatchServiceAccountTokenNoContent, error)

	UpdateServiceAccount(params *UpdateServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceAccountOK, *UpdateServiceAccountNoContent, error)

	UpdateServiceAccountToken(params *UpdateServiceAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceAccountTokenOK, *UpdateServiceAccountTokenNoContent, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new service accounts v1 API client.

type CreateServiceAccountDefault

type CreateServiceAccountDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
CreateServiceAccountDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreateServiceAccountDefault

func NewCreateServiceAccountDefault(code int) *CreateServiceAccountDefault

NewCreateServiceAccountDefault creates a CreateServiceAccountDefault with default headers values

func (*CreateServiceAccountDefault) Code

func (o *CreateServiceAccountDefault) Code() int

Code gets the status code for the create service account default response

func (*CreateServiceAccountDefault) Error

func (*CreateServiceAccountDefault) GetPayload

func (*CreateServiceAccountDefault) IsClientError added in v1.21.0

func (o *CreateServiceAccountDefault) IsClientError() bool

IsClientError returns true when this create service account default response has a 4xx status code

func (*CreateServiceAccountDefault) IsCode added in v1.21.0

func (o *CreateServiceAccountDefault) IsCode(code int) bool

IsCode returns true when this create service account default response a status code equal to that given

func (*CreateServiceAccountDefault) IsRedirect added in v1.21.0

func (o *CreateServiceAccountDefault) IsRedirect() bool

IsRedirect returns true when this create service account default response has a 3xx status code

func (*CreateServiceAccountDefault) IsServerError added in v1.21.0

func (o *CreateServiceAccountDefault) IsServerError() bool

IsServerError returns true when this create service account default response has a 5xx status code

func (*CreateServiceAccountDefault) IsSuccess added in v1.21.0

func (o *CreateServiceAccountDefault) IsSuccess() bool

IsSuccess returns true when this create service account default response has a 2xx status code

func (*CreateServiceAccountDefault) String added in v1.21.0

func (o *CreateServiceAccountDefault) String() string

type CreateServiceAccountForbidden

type CreateServiceAccountForbidden struct {
	Payload interface{}
}
CreateServiceAccountForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewCreateServiceAccountForbidden

func NewCreateServiceAccountForbidden() *CreateServiceAccountForbidden

NewCreateServiceAccountForbidden creates a CreateServiceAccountForbidden with default headers values

func (*CreateServiceAccountForbidden) Code added in v1.22.0

Code gets the status code for the create service account forbidden response

func (*CreateServiceAccountForbidden) Error

func (*CreateServiceAccountForbidden) GetPayload

func (o *CreateServiceAccountForbidden) GetPayload() interface{}

func (*CreateServiceAccountForbidden) IsClientError added in v1.21.0

func (o *CreateServiceAccountForbidden) IsClientError() bool

IsClientError returns true when this create service account forbidden response has a 4xx status code

func (*CreateServiceAccountForbidden) IsCode added in v1.21.0

func (o *CreateServiceAccountForbidden) IsCode(code int) bool

IsCode returns true when this create service account forbidden response a status code equal to that given

func (*CreateServiceAccountForbidden) IsRedirect added in v1.21.0

func (o *CreateServiceAccountForbidden) IsRedirect() bool

IsRedirect returns true when this create service account forbidden response has a 3xx status code

func (*CreateServiceAccountForbidden) IsServerError added in v1.21.0

func (o *CreateServiceAccountForbidden) IsServerError() bool

IsServerError returns true when this create service account forbidden response has a 5xx status code

func (*CreateServiceAccountForbidden) IsSuccess added in v1.21.0

func (o *CreateServiceAccountForbidden) IsSuccess() bool

IsSuccess returns true when this create service account forbidden response has a 2xx status code

func (*CreateServiceAccountForbidden) String added in v1.21.0

type CreateServiceAccountNoContent

type CreateServiceAccountNoContent struct {
	Payload interface{}
}
CreateServiceAccountNoContent describes a response with status code 204, with default header values.

No content.

func NewCreateServiceAccountNoContent

func NewCreateServiceAccountNoContent() *CreateServiceAccountNoContent

NewCreateServiceAccountNoContent creates a CreateServiceAccountNoContent with default headers values

func (*CreateServiceAccountNoContent) Code added in v1.22.0

Code gets the status code for the create service account no content response

func (*CreateServiceAccountNoContent) Error

func (*CreateServiceAccountNoContent) GetPayload

func (o *CreateServiceAccountNoContent) GetPayload() interface{}

func (*CreateServiceAccountNoContent) IsClientError added in v1.21.0

func (o *CreateServiceAccountNoContent) IsClientError() bool

IsClientError returns true when this create service account no content response has a 4xx status code

func (*CreateServiceAccountNoContent) IsCode added in v1.21.0

func (o *CreateServiceAccountNoContent) IsCode(code int) bool

IsCode returns true when this create service account no content response a status code equal to that given

func (*CreateServiceAccountNoContent) IsRedirect added in v1.21.0

func (o *CreateServiceAccountNoContent) IsRedirect() bool

IsRedirect returns true when this create service account no content response has a 3xx status code

func (*CreateServiceAccountNoContent) IsServerError added in v1.21.0

func (o *CreateServiceAccountNoContent) IsServerError() bool

IsServerError returns true when this create service account no content response has a 5xx status code

func (*CreateServiceAccountNoContent) IsSuccess added in v1.21.0

func (o *CreateServiceAccountNoContent) IsSuccess() bool

IsSuccess returns true when this create service account no content response has a 2xx status code

func (*CreateServiceAccountNoContent) String added in v1.21.0

type CreateServiceAccountNotFound

type CreateServiceAccountNotFound struct {
	Payload interface{}
}
CreateServiceAccountNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewCreateServiceAccountNotFound

func NewCreateServiceAccountNotFound() *CreateServiceAccountNotFound

NewCreateServiceAccountNotFound creates a CreateServiceAccountNotFound with default headers values

func (*CreateServiceAccountNotFound) Code added in v1.22.0

Code gets the status code for the create service account not found response

func (*CreateServiceAccountNotFound) Error

func (*CreateServiceAccountNotFound) GetPayload

func (o *CreateServiceAccountNotFound) GetPayload() interface{}

func (*CreateServiceAccountNotFound) IsClientError added in v1.21.0

func (o *CreateServiceAccountNotFound) IsClientError() bool

IsClientError returns true when this create service account not found response has a 4xx status code

func (*CreateServiceAccountNotFound) IsCode added in v1.21.0

func (o *CreateServiceAccountNotFound) IsCode(code int) bool

IsCode returns true when this create service account not found response a status code equal to that given

func (*CreateServiceAccountNotFound) IsRedirect added in v1.21.0

func (o *CreateServiceAccountNotFound) IsRedirect() bool

IsRedirect returns true when this create service account not found response has a 3xx status code

func (*CreateServiceAccountNotFound) IsServerError added in v1.21.0

func (o *CreateServiceAccountNotFound) IsServerError() bool

IsServerError returns true when this create service account not found response has a 5xx status code

func (*CreateServiceAccountNotFound) IsSuccess added in v1.21.0

func (o *CreateServiceAccountNotFound) IsSuccess() bool

IsSuccess returns true when this create service account not found response has a 2xx status code

func (*CreateServiceAccountNotFound) String added in v1.21.0

type CreateServiceAccountOK

type CreateServiceAccountOK struct {
	Payload *service_model.V1ServiceAccount
}
CreateServiceAccountOK describes a response with status code 200, with default header values.

A successful response.

func NewCreateServiceAccountOK

func NewCreateServiceAccountOK() *CreateServiceAccountOK

NewCreateServiceAccountOK creates a CreateServiceAccountOK with default headers values

func (*CreateServiceAccountOK) Code added in v1.22.0

func (o *CreateServiceAccountOK) Code() int

Code gets the status code for the create service account o k response

func (*CreateServiceAccountOK) Error

func (o *CreateServiceAccountOK) Error() string

func (*CreateServiceAccountOK) GetPayload

func (*CreateServiceAccountOK) IsClientError added in v1.21.0

func (o *CreateServiceAccountOK) IsClientError() bool

IsClientError returns true when this create service account o k response has a 4xx status code

func (*CreateServiceAccountOK) IsCode added in v1.21.0

func (o *CreateServiceAccountOK) IsCode(code int) bool

IsCode returns true when this create service account o k response a status code equal to that given

func (*CreateServiceAccountOK) IsRedirect added in v1.21.0

func (o *CreateServiceAccountOK) IsRedirect() bool

IsRedirect returns true when this create service account o k response has a 3xx status code

func (*CreateServiceAccountOK) IsServerError added in v1.21.0

func (o *CreateServiceAccountOK) IsServerError() bool

IsServerError returns true when this create service account o k response has a 5xx status code

func (*CreateServiceAccountOK) IsSuccess added in v1.21.0

func (o *CreateServiceAccountOK) IsSuccess() bool

IsSuccess returns true when this create service account o k response has a 2xx status code

func (*CreateServiceAccountOK) String added in v1.21.0

func (o *CreateServiceAccountOK) String() string

type CreateServiceAccountParams

type CreateServiceAccountParams struct {

	/* Body.

	   ServiceAccount body
	*/
	Body *service_model.V1ServiceAccount

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateServiceAccountParams contains all the parameters to send to the API endpoint

for the create service account operation.

Typically these are written to a http.Request.

func NewCreateServiceAccountParams

func NewCreateServiceAccountParams() *CreateServiceAccountParams

NewCreateServiceAccountParams creates a new CreateServiceAccountParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateServiceAccountParamsWithContext

func NewCreateServiceAccountParamsWithContext(ctx context.Context) *CreateServiceAccountParams

NewCreateServiceAccountParamsWithContext creates a new CreateServiceAccountParams object with the ability to set a context for a request.

func NewCreateServiceAccountParamsWithHTTPClient

func NewCreateServiceAccountParamsWithHTTPClient(client *http.Client) *CreateServiceAccountParams

NewCreateServiceAccountParamsWithHTTPClient creates a new CreateServiceAccountParams object with the ability to set a custom HTTPClient for a request.

func NewCreateServiceAccountParamsWithTimeout

func NewCreateServiceAccountParamsWithTimeout(timeout time.Duration) *CreateServiceAccountParams

NewCreateServiceAccountParamsWithTimeout creates a new CreateServiceAccountParams object with the ability to set a timeout on a request.

func (*CreateServiceAccountParams) SetBody

SetBody adds the body to the create service account params

func (*CreateServiceAccountParams) SetContext

func (o *CreateServiceAccountParams) SetContext(ctx context.Context)

SetContext adds the context to the create service account params

func (*CreateServiceAccountParams) SetDefaults

func (o *CreateServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the create service account params (not the query body).

All values with no default are reset to their zero value.

func (*CreateServiceAccountParams) SetHTTPClient

func (o *CreateServiceAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create service account params

func (*CreateServiceAccountParams) SetOwner

func (o *CreateServiceAccountParams) SetOwner(owner string)

SetOwner adds the owner to the create service account params

func (*CreateServiceAccountParams) SetTimeout

func (o *CreateServiceAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create service account params

func (*CreateServiceAccountParams) WithBody

WithBody adds the body to the create service account params

func (*CreateServiceAccountParams) WithContext

WithContext adds the context to the create service account params

func (*CreateServiceAccountParams) WithDefaults

WithDefaults hydrates default values in the create service account params (not the query body).

All values with no default are reset to their zero value.

func (*CreateServiceAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create service account params

func (*CreateServiceAccountParams) WithOwner

WithOwner adds the owner to the create service account params

func (*CreateServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the create service account params

func (*CreateServiceAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateServiceAccountReader

type CreateServiceAccountReader struct {
	// contains filtered or unexported fields
}

CreateServiceAccountReader is a Reader for the CreateServiceAccount structure.

func (*CreateServiceAccountReader) ReadResponse

func (o *CreateServiceAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateServiceAccountTokenDefault

type CreateServiceAccountTokenDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
CreateServiceAccountTokenDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreateServiceAccountTokenDefault

func NewCreateServiceAccountTokenDefault(code int) *CreateServiceAccountTokenDefault

NewCreateServiceAccountTokenDefault creates a CreateServiceAccountTokenDefault with default headers values

func (*CreateServiceAccountTokenDefault) Code

Code gets the status code for the create service account token default response

func (*CreateServiceAccountTokenDefault) Error

func (*CreateServiceAccountTokenDefault) GetPayload

func (*CreateServiceAccountTokenDefault) IsClientError added in v1.21.0

func (o *CreateServiceAccountTokenDefault) IsClientError() bool

IsClientError returns true when this create service account token default response has a 4xx status code

func (*CreateServiceAccountTokenDefault) IsCode added in v1.21.0

func (o *CreateServiceAccountTokenDefault) IsCode(code int) bool

IsCode returns true when this create service account token default response a status code equal to that given

func (*CreateServiceAccountTokenDefault) IsRedirect added in v1.21.0

func (o *CreateServiceAccountTokenDefault) IsRedirect() bool

IsRedirect returns true when this create service account token default response has a 3xx status code

func (*CreateServiceAccountTokenDefault) IsServerError added in v1.21.0

func (o *CreateServiceAccountTokenDefault) IsServerError() bool

IsServerError returns true when this create service account token default response has a 5xx status code

func (*CreateServiceAccountTokenDefault) IsSuccess added in v1.21.0

func (o *CreateServiceAccountTokenDefault) IsSuccess() bool

IsSuccess returns true when this create service account token default response has a 2xx status code

func (*CreateServiceAccountTokenDefault) String added in v1.21.0

type CreateServiceAccountTokenForbidden

type CreateServiceAccountTokenForbidden struct {
	Payload interface{}
}
CreateServiceAccountTokenForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewCreateServiceAccountTokenForbidden

func NewCreateServiceAccountTokenForbidden() *CreateServiceAccountTokenForbidden

NewCreateServiceAccountTokenForbidden creates a CreateServiceAccountTokenForbidden with default headers values

func (*CreateServiceAccountTokenForbidden) Code added in v1.22.0

Code gets the status code for the create service account token forbidden response

func (*CreateServiceAccountTokenForbidden) Error

func (*CreateServiceAccountTokenForbidden) GetPayload

func (o *CreateServiceAccountTokenForbidden) GetPayload() interface{}

func (*CreateServiceAccountTokenForbidden) IsClientError added in v1.21.0

func (o *CreateServiceAccountTokenForbidden) IsClientError() bool

IsClientError returns true when this create service account token forbidden response has a 4xx status code

func (*CreateServiceAccountTokenForbidden) IsCode added in v1.21.0

IsCode returns true when this create service account token forbidden response a status code equal to that given

func (*CreateServiceAccountTokenForbidden) IsRedirect added in v1.21.0

func (o *CreateServiceAccountTokenForbidden) IsRedirect() bool

IsRedirect returns true when this create service account token forbidden response has a 3xx status code

func (*CreateServiceAccountTokenForbidden) IsServerError added in v1.21.0

func (o *CreateServiceAccountTokenForbidden) IsServerError() bool

IsServerError returns true when this create service account token forbidden response has a 5xx status code

func (*CreateServiceAccountTokenForbidden) IsSuccess added in v1.21.0

IsSuccess returns true when this create service account token forbidden response has a 2xx status code

func (*CreateServiceAccountTokenForbidden) String added in v1.21.0

type CreateServiceAccountTokenNoContent

type CreateServiceAccountTokenNoContent struct {
	Payload interface{}
}
CreateServiceAccountTokenNoContent describes a response with status code 204, with default header values.

No content.

func NewCreateServiceAccountTokenNoContent

func NewCreateServiceAccountTokenNoContent() *CreateServiceAccountTokenNoContent

NewCreateServiceAccountTokenNoContent creates a CreateServiceAccountTokenNoContent with default headers values

func (*CreateServiceAccountTokenNoContent) Code added in v1.22.0

Code gets the status code for the create service account token no content response

func (*CreateServiceAccountTokenNoContent) Error

func (*CreateServiceAccountTokenNoContent) GetPayload

func (o *CreateServiceAccountTokenNoContent) GetPayload() interface{}

func (*CreateServiceAccountTokenNoContent) IsClientError added in v1.21.0

func (o *CreateServiceAccountTokenNoContent) IsClientError() bool

IsClientError returns true when this create service account token no content response has a 4xx status code

func (*CreateServiceAccountTokenNoContent) IsCode added in v1.21.0

IsCode returns true when this create service account token no content response a status code equal to that given

func (*CreateServiceAccountTokenNoContent) IsRedirect added in v1.21.0

func (o *CreateServiceAccountTokenNoContent) IsRedirect() bool

IsRedirect returns true when this create service account token no content response has a 3xx status code

func (*CreateServiceAccountTokenNoContent) IsServerError added in v1.21.0

func (o *CreateServiceAccountTokenNoContent) IsServerError() bool

IsServerError returns true when this create service account token no content response has a 5xx status code

func (*CreateServiceAccountTokenNoContent) IsSuccess added in v1.21.0

IsSuccess returns true when this create service account token no content response has a 2xx status code

func (*CreateServiceAccountTokenNoContent) String added in v1.21.0

type CreateServiceAccountTokenNotFound

type CreateServiceAccountTokenNotFound struct {
	Payload interface{}
}
CreateServiceAccountTokenNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewCreateServiceAccountTokenNotFound

func NewCreateServiceAccountTokenNotFound() *CreateServiceAccountTokenNotFound

NewCreateServiceAccountTokenNotFound creates a CreateServiceAccountTokenNotFound with default headers values

func (*CreateServiceAccountTokenNotFound) Code added in v1.22.0

Code gets the status code for the create service account token not found response

func (*CreateServiceAccountTokenNotFound) Error

func (*CreateServiceAccountTokenNotFound) GetPayload

func (o *CreateServiceAccountTokenNotFound) GetPayload() interface{}

func (*CreateServiceAccountTokenNotFound) IsClientError added in v1.21.0

func (o *CreateServiceAccountTokenNotFound) IsClientError() bool

IsClientError returns true when this create service account token not found response has a 4xx status code

func (*CreateServiceAccountTokenNotFound) IsCode added in v1.21.0

func (o *CreateServiceAccountTokenNotFound) IsCode(code int) bool

IsCode returns true when this create service account token not found response a status code equal to that given

func (*CreateServiceAccountTokenNotFound) IsRedirect added in v1.21.0

func (o *CreateServiceAccountTokenNotFound) IsRedirect() bool

IsRedirect returns true when this create service account token not found response has a 3xx status code

func (*CreateServiceAccountTokenNotFound) IsServerError added in v1.21.0

func (o *CreateServiceAccountTokenNotFound) IsServerError() bool

IsServerError returns true when this create service account token not found response has a 5xx status code

func (*CreateServiceAccountTokenNotFound) IsSuccess added in v1.21.0

func (o *CreateServiceAccountTokenNotFound) IsSuccess() bool

IsSuccess returns true when this create service account token not found response has a 2xx status code

func (*CreateServiceAccountTokenNotFound) String added in v1.21.0

type CreateServiceAccountTokenOK

type CreateServiceAccountTokenOK struct {
	Payload *service_model.V1Token
}
CreateServiceAccountTokenOK describes a response with status code 200, with default header values.

A successful response.

func NewCreateServiceAccountTokenOK

func NewCreateServiceAccountTokenOK() *CreateServiceAccountTokenOK

NewCreateServiceAccountTokenOK creates a CreateServiceAccountTokenOK with default headers values

func (*CreateServiceAccountTokenOK) Code added in v1.22.0

func (o *CreateServiceAccountTokenOK) Code() int

Code gets the status code for the create service account token o k response

func (*CreateServiceAccountTokenOK) Error

func (*CreateServiceAccountTokenOK) GetPayload

func (*CreateServiceAccountTokenOK) IsClientError added in v1.21.0

func (o *CreateServiceAccountTokenOK) IsClientError() bool

IsClientError returns true when this create service account token o k response has a 4xx status code

func (*CreateServiceAccountTokenOK) IsCode added in v1.21.0

func (o *CreateServiceAccountTokenOK) IsCode(code int) bool

IsCode returns true when this create service account token o k response a status code equal to that given

func (*CreateServiceAccountTokenOK) IsRedirect added in v1.21.0

func (o *CreateServiceAccountTokenOK) IsRedirect() bool

IsRedirect returns true when this create service account token o k response has a 3xx status code

func (*CreateServiceAccountTokenOK) IsServerError added in v1.21.0

func (o *CreateServiceAccountTokenOK) IsServerError() bool

IsServerError returns true when this create service account token o k response has a 5xx status code

func (*CreateServiceAccountTokenOK) IsSuccess added in v1.21.0

func (o *CreateServiceAccountTokenOK) IsSuccess() bool

IsSuccess returns true when this create service account token o k response has a 2xx status code

func (*CreateServiceAccountTokenOK) String added in v1.21.0

func (o *CreateServiceAccountTokenOK) String() string

type CreateServiceAccountTokenParams

type CreateServiceAccountTokenParams struct {

	/* Body.

	   Token body
	*/
	Body *service_model.V1Token

	/* Entity.

	   Rntity
	*/
	Entity string

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateServiceAccountTokenParams contains all the parameters to send to the API endpoint

for the create service account token operation.

Typically these are written to a http.Request.

func NewCreateServiceAccountTokenParams

func NewCreateServiceAccountTokenParams() *CreateServiceAccountTokenParams

NewCreateServiceAccountTokenParams creates a new CreateServiceAccountTokenParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateServiceAccountTokenParamsWithContext

func NewCreateServiceAccountTokenParamsWithContext(ctx context.Context) *CreateServiceAccountTokenParams

NewCreateServiceAccountTokenParamsWithContext creates a new CreateServiceAccountTokenParams object with the ability to set a context for a request.

func NewCreateServiceAccountTokenParamsWithHTTPClient

func NewCreateServiceAccountTokenParamsWithHTTPClient(client *http.Client) *CreateServiceAccountTokenParams

NewCreateServiceAccountTokenParamsWithHTTPClient creates a new CreateServiceAccountTokenParams object with the ability to set a custom HTTPClient for a request.

func NewCreateServiceAccountTokenParamsWithTimeout

func NewCreateServiceAccountTokenParamsWithTimeout(timeout time.Duration) *CreateServiceAccountTokenParams

NewCreateServiceAccountTokenParamsWithTimeout creates a new CreateServiceAccountTokenParams object with the ability to set a timeout on a request.

func (*CreateServiceAccountTokenParams) SetBody

SetBody adds the body to the create service account token params

func (*CreateServiceAccountTokenParams) SetContext

func (o *CreateServiceAccountTokenParams) SetContext(ctx context.Context)

SetContext adds the context to the create service account token params

func (*CreateServiceAccountTokenParams) SetDefaults

func (o *CreateServiceAccountTokenParams) SetDefaults()

SetDefaults hydrates default values in the create service account token params (not the query body).

All values with no default are reset to their zero value.

func (*CreateServiceAccountTokenParams) SetEntity

func (o *CreateServiceAccountTokenParams) SetEntity(entity string)

SetEntity adds the entity to the create service account token params

func (*CreateServiceAccountTokenParams) SetHTTPClient

func (o *CreateServiceAccountTokenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create service account token params

func (*CreateServiceAccountTokenParams) SetOwner

func (o *CreateServiceAccountTokenParams) SetOwner(owner string)

SetOwner adds the owner to the create service account token params

func (*CreateServiceAccountTokenParams) SetTimeout

func (o *CreateServiceAccountTokenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create service account token params

func (*CreateServiceAccountTokenParams) WithBody

WithBody adds the body to the create service account token params

func (*CreateServiceAccountTokenParams) WithContext

WithContext adds the context to the create service account token params

func (*CreateServiceAccountTokenParams) WithDefaults

WithDefaults hydrates default values in the create service account token params (not the query body).

All values with no default are reset to their zero value.

func (*CreateServiceAccountTokenParams) WithEntity

WithEntity adds the entity to the create service account token params

func (*CreateServiceAccountTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create service account token params

func (*CreateServiceAccountTokenParams) WithOwner

WithOwner adds the owner to the create service account token params

func (*CreateServiceAccountTokenParams) WithTimeout

WithTimeout adds the timeout to the create service account token params

func (*CreateServiceAccountTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateServiceAccountTokenReader

type CreateServiceAccountTokenReader struct {
	// contains filtered or unexported fields
}

CreateServiceAccountTokenReader is a Reader for the CreateServiceAccountToken structure.

func (*CreateServiceAccountTokenReader) ReadResponse

func (o *CreateServiceAccountTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteServiceAccountDefault

type DeleteServiceAccountDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
DeleteServiceAccountDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewDeleteServiceAccountDefault

func NewDeleteServiceAccountDefault(code int) *DeleteServiceAccountDefault

NewDeleteServiceAccountDefault creates a DeleteServiceAccountDefault with default headers values

func (*DeleteServiceAccountDefault) Code

func (o *DeleteServiceAccountDefault) Code() int

Code gets the status code for the delete service account default response

func (*DeleteServiceAccountDefault) Error

func (*DeleteServiceAccountDefault) GetPayload

func (*DeleteServiceAccountDefault) IsClientError added in v1.21.0

func (o *DeleteServiceAccountDefault) IsClientError() bool

IsClientError returns true when this delete service account default response has a 4xx status code

func (*DeleteServiceAccountDefault) IsCode added in v1.21.0

func (o *DeleteServiceAccountDefault) IsCode(code int) bool

IsCode returns true when this delete service account default response a status code equal to that given

func (*DeleteServiceAccountDefault) IsRedirect added in v1.21.0

func (o *DeleteServiceAccountDefault) IsRedirect() bool

IsRedirect returns true when this delete service account default response has a 3xx status code

func (*DeleteServiceAccountDefault) IsServerError added in v1.21.0

func (o *DeleteServiceAccountDefault) IsServerError() bool

IsServerError returns true when this delete service account default response has a 5xx status code

func (*DeleteServiceAccountDefault) IsSuccess added in v1.21.0

func (o *DeleteServiceAccountDefault) IsSuccess() bool

IsSuccess returns true when this delete service account default response has a 2xx status code

func (*DeleteServiceAccountDefault) String added in v1.21.0

func (o *DeleteServiceAccountDefault) String() string

type DeleteServiceAccountForbidden

type DeleteServiceAccountForbidden struct {
	Payload interface{}
}
DeleteServiceAccountForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewDeleteServiceAccountForbidden

func NewDeleteServiceAccountForbidden() *DeleteServiceAccountForbidden

NewDeleteServiceAccountForbidden creates a DeleteServiceAccountForbidden with default headers values

func (*DeleteServiceAccountForbidden) Code added in v1.22.0

Code gets the status code for the delete service account forbidden response

func (*DeleteServiceAccountForbidden) Error

func (*DeleteServiceAccountForbidden) GetPayload

func (o *DeleteServiceAccountForbidden) GetPayload() interface{}

func (*DeleteServiceAccountForbidden) IsClientError added in v1.21.0

func (o *DeleteServiceAccountForbidden) IsClientError() bool

IsClientError returns true when this delete service account forbidden response has a 4xx status code

func (*DeleteServiceAccountForbidden) IsCode added in v1.21.0

func (o *DeleteServiceAccountForbidden) IsCode(code int) bool

IsCode returns true when this delete service account forbidden response a status code equal to that given

func (*DeleteServiceAccountForbidden) IsRedirect added in v1.21.0

func (o *DeleteServiceAccountForbidden) IsRedirect() bool

IsRedirect returns true when this delete service account forbidden response has a 3xx status code

func (*DeleteServiceAccountForbidden) IsServerError added in v1.21.0

func (o *DeleteServiceAccountForbidden) IsServerError() bool

IsServerError returns true when this delete service account forbidden response has a 5xx status code

func (*DeleteServiceAccountForbidden) IsSuccess added in v1.21.0

func (o *DeleteServiceAccountForbidden) IsSuccess() bool

IsSuccess returns true when this delete service account forbidden response has a 2xx status code

func (*DeleteServiceAccountForbidden) String added in v1.21.0

type DeleteServiceAccountNoContent

type DeleteServiceAccountNoContent struct {
	Payload interface{}
}
DeleteServiceAccountNoContent describes a response with status code 204, with default header values.

No content.

func NewDeleteServiceAccountNoContent

func NewDeleteServiceAccountNoContent() *DeleteServiceAccountNoContent

NewDeleteServiceAccountNoContent creates a DeleteServiceAccountNoContent with default headers values

func (*DeleteServiceAccountNoContent) Code added in v1.22.0

Code gets the status code for the delete service account no content response

func (*DeleteServiceAccountNoContent) Error

func (*DeleteServiceAccountNoContent) GetPayload

func (o *DeleteServiceAccountNoContent) GetPayload() interface{}

func (*DeleteServiceAccountNoContent) IsClientError added in v1.21.0

func (o *DeleteServiceAccountNoContent) IsClientError() bool

IsClientError returns true when this delete service account no content response has a 4xx status code

func (*DeleteServiceAccountNoContent) IsCode added in v1.21.0

func (o *DeleteServiceAccountNoContent) IsCode(code int) bool

IsCode returns true when this delete service account no content response a status code equal to that given

func (*DeleteServiceAccountNoContent) IsRedirect added in v1.21.0

func (o *DeleteServiceAccountNoContent) IsRedirect() bool

IsRedirect returns true when this delete service account no content response has a 3xx status code

func (*DeleteServiceAccountNoContent) IsServerError added in v1.21.0

func (o *DeleteServiceAccountNoContent) IsServerError() bool

IsServerError returns true when this delete service account no content response has a 5xx status code

func (*DeleteServiceAccountNoContent) IsSuccess added in v1.21.0

func (o *DeleteServiceAccountNoContent) IsSuccess() bool

IsSuccess returns true when this delete service account no content response has a 2xx status code

func (*DeleteServiceAccountNoContent) String added in v1.21.0

type DeleteServiceAccountNotFound

type DeleteServiceAccountNotFound struct {
	Payload interface{}
}
DeleteServiceAccountNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewDeleteServiceAccountNotFound

func NewDeleteServiceAccountNotFound() *DeleteServiceAccountNotFound

NewDeleteServiceAccountNotFound creates a DeleteServiceAccountNotFound with default headers values

func (*DeleteServiceAccountNotFound) Code added in v1.22.0

Code gets the status code for the delete service account not found response

func (*DeleteServiceAccountNotFound) Error

func (*DeleteServiceAccountNotFound) GetPayload

func (o *DeleteServiceAccountNotFound) GetPayload() interface{}

func (*DeleteServiceAccountNotFound) IsClientError added in v1.21.0

func (o *DeleteServiceAccountNotFound) IsClientError() bool

IsClientError returns true when this delete service account not found response has a 4xx status code

func (*DeleteServiceAccountNotFound) IsCode added in v1.21.0

func (o *DeleteServiceAccountNotFound) IsCode(code int) bool

IsCode returns true when this delete service account not found response a status code equal to that given

func (*DeleteServiceAccountNotFound) IsRedirect added in v1.21.0

func (o *DeleteServiceAccountNotFound) IsRedirect() bool

IsRedirect returns true when this delete service account not found response has a 3xx status code

func (*DeleteServiceAccountNotFound) IsServerError added in v1.21.0

func (o *DeleteServiceAccountNotFound) IsServerError() bool

IsServerError returns true when this delete service account not found response has a 5xx status code

func (*DeleteServiceAccountNotFound) IsSuccess added in v1.21.0

func (o *DeleteServiceAccountNotFound) IsSuccess() bool

IsSuccess returns true when this delete service account not found response has a 2xx status code

func (*DeleteServiceAccountNotFound) String added in v1.21.0

type DeleteServiceAccountOK

type DeleteServiceAccountOK struct {
}
DeleteServiceAccountOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteServiceAccountOK

func NewDeleteServiceAccountOK() *DeleteServiceAccountOK

NewDeleteServiceAccountOK creates a DeleteServiceAccountOK with default headers values

func (*DeleteServiceAccountOK) Code added in v1.22.0

func (o *DeleteServiceAccountOK) Code() int

Code gets the status code for the delete service account o k response

func (*DeleteServiceAccountOK) Error

func (o *DeleteServiceAccountOK) Error() string

func (*DeleteServiceAccountOK) IsClientError added in v1.21.0

func (o *DeleteServiceAccountOK) IsClientError() bool

IsClientError returns true when this delete service account o k response has a 4xx status code

func (*DeleteServiceAccountOK) IsCode added in v1.21.0

func (o *DeleteServiceAccountOK) IsCode(code int) bool

IsCode returns true when this delete service account o k response a status code equal to that given

func (*DeleteServiceAccountOK) IsRedirect added in v1.21.0

func (o *DeleteServiceAccountOK) IsRedirect() bool

IsRedirect returns true when this delete service account o k response has a 3xx status code

func (*DeleteServiceAccountOK) IsServerError added in v1.21.0

func (o *DeleteServiceAccountOK) IsServerError() bool

IsServerError returns true when this delete service account o k response has a 5xx status code

func (*DeleteServiceAccountOK) IsSuccess added in v1.21.0

func (o *DeleteServiceAccountOK) IsSuccess() bool

IsSuccess returns true when this delete service account o k response has a 2xx status code

func (*DeleteServiceAccountOK) String added in v1.21.0

func (o *DeleteServiceAccountOK) String() string

type DeleteServiceAccountParams

type DeleteServiceAccountParams struct {

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* UUID.

	   Uuid identifier of the entity
	*/
	UUID 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteServiceAccountParamsWithContext

func NewDeleteServiceAccountParamsWithContext(ctx context.Context) *DeleteServiceAccountParams

NewDeleteServiceAccountParamsWithContext creates a new DeleteServiceAccountParams object with 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 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 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) SetDefaults

func (o *DeleteServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the delete service account params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteServiceAccountParams) SetHTTPClient

func (o *DeleteServiceAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete service account params

func (*DeleteServiceAccountParams) SetOwner

func (o *DeleteServiceAccountParams) SetOwner(owner string)

SetOwner adds the owner 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) SetUUID

func (o *DeleteServiceAccountParams) SetUUID(uuid string)

SetUUID adds the uuid to the delete service account params

func (*DeleteServiceAccountParams) WithContext

WithContext adds the context to the delete service account params

func (*DeleteServiceAccountParams) WithDefaults

WithDefaults hydrates default values in the delete service account params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteServiceAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete service account params

func (*DeleteServiceAccountParams) WithOwner

WithOwner adds the owner to the delete service account params

func (*DeleteServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the delete service account params

func (*DeleteServiceAccountParams) WithUUID

WithUUID adds the uuid 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 DeleteServiceAccountTokenDefault

type DeleteServiceAccountTokenDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
DeleteServiceAccountTokenDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewDeleteServiceAccountTokenDefault

func NewDeleteServiceAccountTokenDefault(code int) *DeleteServiceAccountTokenDefault

NewDeleteServiceAccountTokenDefault creates a DeleteServiceAccountTokenDefault with default headers values

func (*DeleteServiceAccountTokenDefault) Code

Code gets the status code for the delete service account token default response

func (*DeleteServiceAccountTokenDefault) Error

func (*DeleteServiceAccountTokenDefault) GetPayload

func (*DeleteServiceAccountTokenDefault) IsClientError added in v1.21.0

func (o *DeleteServiceAccountTokenDefault) IsClientError() bool

IsClientError returns true when this delete service account token default response has a 4xx status code

func (*DeleteServiceAccountTokenDefault) IsCode added in v1.21.0

func (o *DeleteServiceAccountTokenDefault) IsCode(code int) bool

IsCode returns true when this delete service account token default response a status code equal to that given

func (*DeleteServiceAccountTokenDefault) IsRedirect added in v1.21.0

func (o *DeleteServiceAccountTokenDefault) IsRedirect() bool

IsRedirect returns true when this delete service account token default response has a 3xx status code

func (*DeleteServiceAccountTokenDefault) IsServerError added in v1.21.0

func (o *DeleteServiceAccountTokenDefault) IsServerError() bool

IsServerError returns true when this delete service account token default response has a 5xx status code

func (*DeleteServiceAccountTokenDefault) IsSuccess added in v1.21.0

func (o *DeleteServiceAccountTokenDefault) IsSuccess() bool

IsSuccess returns true when this delete service account token default response has a 2xx status code

func (*DeleteServiceAccountTokenDefault) String added in v1.21.0

type DeleteServiceAccountTokenForbidden

type DeleteServiceAccountTokenForbidden struct {
	Payload interface{}
}
DeleteServiceAccountTokenForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewDeleteServiceAccountTokenForbidden

func NewDeleteServiceAccountTokenForbidden() *DeleteServiceAccountTokenForbidden

NewDeleteServiceAccountTokenForbidden creates a DeleteServiceAccountTokenForbidden with default headers values

func (*DeleteServiceAccountTokenForbidden) Code added in v1.22.0

Code gets the status code for the delete service account token forbidden response

func (*DeleteServiceAccountTokenForbidden) Error

func (*DeleteServiceAccountTokenForbidden) GetPayload

func (o *DeleteServiceAccountTokenForbidden) GetPayload() interface{}

func (*DeleteServiceAccountTokenForbidden) IsClientError added in v1.21.0

func (o *DeleteServiceAccountTokenForbidden) IsClientError() bool

IsClientError returns true when this delete service account token forbidden response has a 4xx status code

func (*DeleteServiceAccountTokenForbidden) IsCode added in v1.21.0

IsCode returns true when this delete service account token forbidden response a status code equal to that given

func (*DeleteServiceAccountTokenForbidden) IsRedirect added in v1.21.0

func (o *DeleteServiceAccountTokenForbidden) IsRedirect() bool

IsRedirect returns true when this delete service account token forbidden response has a 3xx status code

func (*DeleteServiceAccountTokenForbidden) IsServerError added in v1.21.0

func (o *DeleteServiceAccountTokenForbidden) IsServerError() bool

IsServerError returns true when this delete service account token forbidden response has a 5xx status code

func (*DeleteServiceAccountTokenForbidden) IsSuccess added in v1.21.0

IsSuccess returns true when this delete service account token forbidden response has a 2xx status code

func (*DeleteServiceAccountTokenForbidden) String added in v1.21.0

type DeleteServiceAccountTokenNoContent

type DeleteServiceAccountTokenNoContent struct {
	Payload interface{}
}
DeleteServiceAccountTokenNoContent describes a response with status code 204, with default header values.

No content.

func NewDeleteServiceAccountTokenNoContent

func NewDeleteServiceAccountTokenNoContent() *DeleteServiceAccountTokenNoContent

NewDeleteServiceAccountTokenNoContent creates a DeleteServiceAccountTokenNoContent with default headers values

func (*DeleteServiceAccountTokenNoContent) Code added in v1.22.0

Code gets the status code for the delete service account token no content response

func (*DeleteServiceAccountTokenNoContent) Error

func (*DeleteServiceAccountTokenNoContent) GetPayload

func (o *DeleteServiceAccountTokenNoContent) GetPayload() interface{}

func (*DeleteServiceAccountTokenNoContent) IsClientError added in v1.21.0

func (o *DeleteServiceAccountTokenNoContent) IsClientError() bool

IsClientError returns true when this delete service account token no content response has a 4xx status code

func (*DeleteServiceAccountTokenNoContent) IsCode added in v1.21.0

IsCode returns true when this delete service account token no content response a status code equal to that given

func (*DeleteServiceAccountTokenNoContent) IsRedirect added in v1.21.0

func (o *DeleteServiceAccountTokenNoContent) IsRedirect() bool

IsRedirect returns true when this delete service account token no content response has a 3xx status code

func (*DeleteServiceAccountTokenNoContent) IsServerError added in v1.21.0

func (o *DeleteServiceAccountTokenNoContent) IsServerError() bool

IsServerError returns true when this delete service account token no content response has a 5xx status code

func (*DeleteServiceAccountTokenNoContent) IsSuccess added in v1.21.0

IsSuccess returns true when this delete service account token no content response has a 2xx status code

func (*DeleteServiceAccountTokenNoContent) String added in v1.21.0

type DeleteServiceAccountTokenNotFound

type DeleteServiceAccountTokenNotFound struct {
	Payload interface{}
}
DeleteServiceAccountTokenNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewDeleteServiceAccountTokenNotFound

func NewDeleteServiceAccountTokenNotFound() *DeleteServiceAccountTokenNotFound

NewDeleteServiceAccountTokenNotFound creates a DeleteServiceAccountTokenNotFound with default headers values

func (*DeleteServiceAccountTokenNotFound) Code added in v1.22.0

Code gets the status code for the delete service account token not found response

func (*DeleteServiceAccountTokenNotFound) Error

func (*DeleteServiceAccountTokenNotFound) GetPayload

func (o *DeleteServiceAccountTokenNotFound) GetPayload() interface{}

func (*DeleteServiceAccountTokenNotFound) IsClientError added in v1.21.0

func (o *DeleteServiceAccountTokenNotFound) IsClientError() bool

IsClientError returns true when this delete service account token not found response has a 4xx status code

func (*DeleteServiceAccountTokenNotFound) IsCode added in v1.21.0

func (o *DeleteServiceAccountTokenNotFound) IsCode(code int) bool

IsCode returns true when this delete service account token not found response a status code equal to that given

func (*DeleteServiceAccountTokenNotFound) IsRedirect added in v1.21.0

func (o *DeleteServiceAccountTokenNotFound) IsRedirect() bool

IsRedirect returns true when this delete service account token not found response has a 3xx status code

func (*DeleteServiceAccountTokenNotFound) IsServerError added in v1.21.0

func (o *DeleteServiceAccountTokenNotFound) IsServerError() bool

IsServerError returns true when this delete service account token not found response has a 5xx status code

func (*DeleteServiceAccountTokenNotFound) IsSuccess added in v1.21.0

func (o *DeleteServiceAccountTokenNotFound) IsSuccess() bool

IsSuccess returns true when this delete service account token not found response has a 2xx status code

func (*DeleteServiceAccountTokenNotFound) String added in v1.21.0

type DeleteServiceAccountTokenOK

type DeleteServiceAccountTokenOK struct {
}
DeleteServiceAccountTokenOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteServiceAccountTokenOK

func NewDeleteServiceAccountTokenOK() *DeleteServiceAccountTokenOK

NewDeleteServiceAccountTokenOK creates a DeleteServiceAccountTokenOK with default headers values

func (*DeleteServiceAccountTokenOK) Code added in v1.22.0

func (o *DeleteServiceAccountTokenOK) Code() int

Code gets the status code for the delete service account token o k response

func (*DeleteServiceAccountTokenOK) Error

func (*DeleteServiceAccountTokenOK) IsClientError added in v1.21.0

func (o *DeleteServiceAccountTokenOK) IsClientError() bool

IsClientError returns true when this delete service account token o k response has a 4xx status code

func (*DeleteServiceAccountTokenOK) IsCode added in v1.21.0

func (o *DeleteServiceAccountTokenOK) IsCode(code int) bool

IsCode returns true when this delete service account token o k response a status code equal to that given

func (*DeleteServiceAccountTokenOK) IsRedirect added in v1.21.0

func (o *DeleteServiceAccountTokenOK) IsRedirect() bool

IsRedirect returns true when this delete service account token o k response has a 3xx status code

func (*DeleteServiceAccountTokenOK) IsServerError added in v1.21.0

func (o *DeleteServiceAccountTokenOK) IsServerError() bool

IsServerError returns true when this delete service account token o k response has a 5xx status code

func (*DeleteServiceAccountTokenOK) IsSuccess added in v1.21.0

func (o *DeleteServiceAccountTokenOK) IsSuccess() bool

IsSuccess returns true when this delete service account token o k response has a 2xx status code

func (*DeleteServiceAccountTokenOK) String added in v1.21.0

func (o *DeleteServiceAccountTokenOK) String() string

type DeleteServiceAccountTokenParams

type DeleteServiceAccountTokenParams struct {

	/* Entity.

	   Entity: project name, hub name, registry name, ...
	*/
	Entity string

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* UUID.

	   Uuid identifier of the sub-entity
	*/
	UUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteServiceAccountTokenParams contains all the parameters to send to the API endpoint

for the delete service account token operation.

Typically these are written to a http.Request.

func NewDeleteServiceAccountTokenParams

func NewDeleteServiceAccountTokenParams() *DeleteServiceAccountTokenParams

NewDeleteServiceAccountTokenParams creates a new DeleteServiceAccountTokenParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteServiceAccountTokenParamsWithContext

func NewDeleteServiceAccountTokenParamsWithContext(ctx context.Context) *DeleteServiceAccountTokenParams

NewDeleteServiceAccountTokenParamsWithContext creates a new DeleteServiceAccountTokenParams object with the ability to set a context for a request.

func NewDeleteServiceAccountTokenParamsWithHTTPClient

func NewDeleteServiceAccountTokenParamsWithHTTPClient(client *http.Client) *DeleteServiceAccountTokenParams

NewDeleteServiceAccountTokenParamsWithHTTPClient creates a new DeleteServiceAccountTokenParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteServiceAccountTokenParamsWithTimeout

func NewDeleteServiceAccountTokenParamsWithTimeout(timeout time.Duration) *DeleteServiceAccountTokenParams

NewDeleteServiceAccountTokenParamsWithTimeout creates a new DeleteServiceAccountTokenParams object with the ability to set a timeout on a request.

func (*DeleteServiceAccountTokenParams) SetContext

func (o *DeleteServiceAccountTokenParams) SetContext(ctx context.Context)

SetContext adds the context to the delete service account token params

func (*DeleteServiceAccountTokenParams) SetDefaults

func (o *DeleteServiceAccountTokenParams) SetDefaults()

SetDefaults hydrates default values in the delete service account token params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteServiceAccountTokenParams) SetEntity

func (o *DeleteServiceAccountTokenParams) SetEntity(entity string)

SetEntity adds the entity to the delete service account token params

func (*DeleteServiceAccountTokenParams) SetHTTPClient

func (o *DeleteServiceAccountTokenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete service account token params

func (*DeleteServiceAccountTokenParams) SetOwner

func (o *DeleteServiceAccountTokenParams) SetOwner(owner string)

SetOwner adds the owner to the delete service account token params

func (*DeleteServiceAccountTokenParams) SetTimeout

func (o *DeleteServiceAccountTokenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete service account token params

func (*DeleteServiceAccountTokenParams) SetUUID

func (o *DeleteServiceAccountTokenParams) SetUUID(uuid string)

SetUUID adds the uuid to the delete service account token params

func (*DeleteServiceAccountTokenParams) WithContext

WithContext adds the context to the delete service account token params

func (*DeleteServiceAccountTokenParams) WithDefaults

WithDefaults hydrates default values in the delete service account token params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteServiceAccountTokenParams) WithEntity

WithEntity adds the entity to the delete service account token params

func (*DeleteServiceAccountTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete service account token params

func (*DeleteServiceAccountTokenParams) WithOwner

WithOwner adds the owner to the delete service account token params

func (*DeleteServiceAccountTokenParams) WithTimeout

WithTimeout adds the timeout to the delete service account token params

func (*DeleteServiceAccountTokenParams) WithUUID

WithUUID adds the uuid to the delete service account token params

func (*DeleteServiceAccountTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteServiceAccountTokenReader

type DeleteServiceAccountTokenReader struct {
	// contains filtered or unexported fields
}

DeleteServiceAccountTokenReader is a Reader for the DeleteServiceAccountToken structure.

func (*DeleteServiceAccountTokenReader) ReadResponse

func (o *DeleteServiceAccountTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetServiceAccountDefault

type GetServiceAccountDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
GetServiceAccountDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetServiceAccountDefault

func NewGetServiceAccountDefault(code int) *GetServiceAccountDefault

NewGetServiceAccountDefault creates a GetServiceAccountDefault with default headers values

func (*GetServiceAccountDefault) Code

func (o *GetServiceAccountDefault) Code() int

Code gets the status code for the get service account default response

func (*GetServiceAccountDefault) Error

func (o *GetServiceAccountDefault) Error() string

func (*GetServiceAccountDefault) GetPayload

func (*GetServiceAccountDefault) IsClientError added in v1.21.0

func (o *GetServiceAccountDefault) IsClientError() bool

IsClientError returns true when this get service account default response has a 4xx status code

func (*GetServiceAccountDefault) IsCode added in v1.21.0

func (o *GetServiceAccountDefault) IsCode(code int) bool

IsCode returns true when this get service account default response a status code equal to that given

func (*GetServiceAccountDefault) IsRedirect added in v1.21.0

func (o *GetServiceAccountDefault) IsRedirect() bool

IsRedirect returns true when this get service account default response has a 3xx status code

func (*GetServiceAccountDefault) IsServerError added in v1.21.0

func (o *GetServiceAccountDefault) IsServerError() bool

IsServerError returns true when this get service account default response has a 5xx status code

func (*GetServiceAccountDefault) IsSuccess added in v1.21.0

func (o *GetServiceAccountDefault) IsSuccess() bool

IsSuccess returns true when this get service account default response has a 2xx status code

func (*GetServiceAccountDefault) String added in v1.21.0

func (o *GetServiceAccountDefault) String() string

type GetServiceAccountForbidden

type GetServiceAccountForbidden struct {
	Payload interface{}
}
GetServiceAccountForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewGetServiceAccountForbidden

func NewGetServiceAccountForbidden() *GetServiceAccountForbidden

NewGetServiceAccountForbidden creates a GetServiceAccountForbidden with default headers values

func (*GetServiceAccountForbidden) Code added in v1.22.0

func (o *GetServiceAccountForbidden) Code() int

Code gets the status code for the get service account forbidden response

func (*GetServiceAccountForbidden) Error

func (*GetServiceAccountForbidden) GetPayload

func (o *GetServiceAccountForbidden) GetPayload() interface{}

func (*GetServiceAccountForbidden) IsClientError added in v1.21.0

func (o *GetServiceAccountForbidden) IsClientError() bool

IsClientError returns true when this get service account forbidden response has a 4xx status code

func (*GetServiceAccountForbidden) IsCode added in v1.21.0

func (o *GetServiceAccountForbidden) IsCode(code int) bool

IsCode returns true when this get service account forbidden response a status code equal to that given

func (*GetServiceAccountForbidden) IsRedirect added in v1.21.0

func (o *GetServiceAccountForbidden) IsRedirect() bool

IsRedirect returns true when this get service account forbidden response has a 3xx status code

func (*GetServiceAccountForbidden) IsServerError added in v1.21.0

func (o *GetServiceAccountForbidden) IsServerError() bool

IsServerError returns true when this get service account forbidden response has a 5xx status code

func (*GetServiceAccountForbidden) IsSuccess added in v1.21.0

func (o *GetServiceAccountForbidden) IsSuccess() bool

IsSuccess returns true when this get service account forbidden response has a 2xx status code

func (*GetServiceAccountForbidden) String added in v1.21.0

func (o *GetServiceAccountForbidden) String() string

type GetServiceAccountNoContent

type GetServiceAccountNoContent struct {
	Payload interface{}
}
GetServiceAccountNoContent describes a response with status code 204, with default header values.

No content.

func NewGetServiceAccountNoContent

func NewGetServiceAccountNoContent() *GetServiceAccountNoContent

NewGetServiceAccountNoContent creates a GetServiceAccountNoContent with default headers values

func (*GetServiceAccountNoContent) Code added in v1.22.0

func (o *GetServiceAccountNoContent) Code() int

Code gets the status code for the get service account no content response

func (*GetServiceAccountNoContent) Error

func (*GetServiceAccountNoContent) GetPayload

func (o *GetServiceAccountNoContent) GetPayload() interface{}

func (*GetServiceAccountNoContent) IsClientError added in v1.21.0

func (o *GetServiceAccountNoContent) IsClientError() bool

IsClientError returns true when this get service account no content response has a 4xx status code

func (*GetServiceAccountNoContent) IsCode added in v1.21.0

func (o *GetServiceAccountNoContent) IsCode(code int) bool

IsCode returns true when this get service account no content response a status code equal to that given

func (*GetServiceAccountNoContent) IsRedirect added in v1.21.0

func (o *GetServiceAccountNoContent) IsRedirect() bool

IsRedirect returns true when this get service account no content response has a 3xx status code

func (*GetServiceAccountNoContent) IsServerError added in v1.21.0

func (o *GetServiceAccountNoContent) IsServerError() bool

IsServerError returns true when this get service account no content response has a 5xx status code

func (*GetServiceAccountNoContent) IsSuccess added in v1.21.0

func (o *GetServiceAccountNoContent) IsSuccess() bool

IsSuccess returns true when this get service account no content response has a 2xx status code

func (*GetServiceAccountNoContent) String added in v1.21.0

func (o *GetServiceAccountNoContent) String() string

type GetServiceAccountNotFound

type GetServiceAccountNotFound struct {
	Payload interface{}
}
GetServiceAccountNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewGetServiceAccountNotFound

func NewGetServiceAccountNotFound() *GetServiceAccountNotFound

NewGetServiceAccountNotFound creates a GetServiceAccountNotFound with default headers values

func (*GetServiceAccountNotFound) Code added in v1.22.0

func (o *GetServiceAccountNotFound) Code() int

Code gets the status code for the get service account not found response

func (*GetServiceAccountNotFound) Error

func (o *GetServiceAccountNotFound) Error() string

func (*GetServiceAccountNotFound) GetPayload

func (o *GetServiceAccountNotFound) GetPayload() interface{}

func (*GetServiceAccountNotFound) IsClientError added in v1.21.0

func (o *GetServiceAccountNotFound) IsClientError() bool

IsClientError returns true when this get service account not found response has a 4xx status code

func (*GetServiceAccountNotFound) IsCode added in v1.21.0

func (o *GetServiceAccountNotFound) IsCode(code int) bool

IsCode returns true when this get service account not found response a status code equal to that given

func (*GetServiceAccountNotFound) IsRedirect added in v1.21.0

func (o *GetServiceAccountNotFound) IsRedirect() bool

IsRedirect returns true when this get service account not found response has a 3xx status code

func (*GetServiceAccountNotFound) IsServerError added in v1.21.0

func (o *GetServiceAccountNotFound) IsServerError() bool

IsServerError returns true when this get service account not found response has a 5xx status code

func (*GetServiceAccountNotFound) IsSuccess added in v1.21.0

func (o *GetServiceAccountNotFound) IsSuccess() bool

IsSuccess returns true when this get service account not found response has a 2xx status code

func (*GetServiceAccountNotFound) String added in v1.21.0

func (o *GetServiceAccountNotFound) String() string

type GetServiceAccountOK

type GetServiceAccountOK struct {
	Payload *service_model.V1ServiceAccount
}
GetServiceAccountOK describes a response with status code 200, with default header values.

A successful response.

func NewGetServiceAccountOK

func NewGetServiceAccountOK() *GetServiceAccountOK

NewGetServiceAccountOK creates a GetServiceAccountOK with default headers values

func (*GetServiceAccountOK) Code added in v1.22.0

func (o *GetServiceAccountOK) Code() int

Code gets the status code for the get service account o k response

func (*GetServiceAccountOK) Error

func (o *GetServiceAccountOK) Error() string

func (*GetServiceAccountOK) GetPayload

func (*GetServiceAccountOK) IsClientError added in v1.21.0

func (o *GetServiceAccountOK) IsClientError() bool

IsClientError returns true when this get service account o k response has a 4xx status code

func (*GetServiceAccountOK) IsCode added in v1.21.0

func (o *GetServiceAccountOK) IsCode(code int) bool

IsCode returns true when this get service account o k response a status code equal to that given

func (*GetServiceAccountOK) IsRedirect added in v1.21.0

func (o *GetServiceAccountOK) IsRedirect() bool

IsRedirect returns true when this get service account o k response has a 3xx status code

func (*GetServiceAccountOK) IsServerError added in v1.21.0

func (o *GetServiceAccountOK) IsServerError() bool

IsServerError returns true when this get service account o k response has a 5xx status code

func (*GetServiceAccountOK) IsSuccess added in v1.21.0

func (o *GetServiceAccountOK) IsSuccess() bool

IsSuccess returns true when this get service account o k response has a 2xx status code

func (*GetServiceAccountOK) String added in v1.21.0

func (o *GetServiceAccountOK) String() string

type GetServiceAccountParams

type GetServiceAccountParams struct {

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* UUID.

	   Uuid identifier of the entity
	*/
	UUID 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetServiceAccountParamsWithContext

func NewGetServiceAccountParamsWithContext(ctx context.Context) *GetServiceAccountParams

NewGetServiceAccountParamsWithContext creates a new GetServiceAccountParams object with 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 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 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) SetDefaults

func (o *GetServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the get service account params (not the query body).

All values with no default are reset to their zero value.

func (*GetServiceAccountParams) SetHTTPClient

func (o *GetServiceAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get service account params

func (*GetServiceAccountParams) SetOwner

func (o *GetServiceAccountParams) SetOwner(owner string)

SetOwner adds the owner 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) SetUUID

func (o *GetServiceAccountParams) SetUUID(uuid string)

SetUUID adds the uuid to the get service account params

func (*GetServiceAccountParams) WithContext

WithContext adds the context to the get service account params

func (*GetServiceAccountParams) WithDefaults

WithDefaults hydrates default values in the get service account params (not the query body).

All values with no default are reset to their zero value.

func (*GetServiceAccountParams) WithHTTPClient

func (o *GetServiceAccountParams) WithHTTPClient(client *http.Client) *GetServiceAccountParams

WithHTTPClient adds the HTTPClient to the get service account params

func (*GetServiceAccountParams) WithOwner

WithOwner adds the owner to the get service account params

func (*GetServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the get service account params

func (*GetServiceAccountParams) WithUUID

WithUUID adds the uuid 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 GetServiceAccountTokenDefault

type GetServiceAccountTokenDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
GetServiceAccountTokenDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetServiceAccountTokenDefault

func NewGetServiceAccountTokenDefault(code int) *GetServiceAccountTokenDefault

NewGetServiceAccountTokenDefault creates a GetServiceAccountTokenDefault with default headers values

func (*GetServiceAccountTokenDefault) Code

Code gets the status code for the get service account token default response

func (*GetServiceAccountTokenDefault) Error

func (*GetServiceAccountTokenDefault) GetPayload

func (*GetServiceAccountTokenDefault) IsClientError added in v1.21.0

func (o *GetServiceAccountTokenDefault) IsClientError() bool

IsClientError returns true when this get service account token default response has a 4xx status code

func (*GetServiceAccountTokenDefault) IsCode added in v1.21.0

func (o *GetServiceAccountTokenDefault) IsCode(code int) bool

IsCode returns true when this get service account token default response a status code equal to that given

func (*GetServiceAccountTokenDefault) IsRedirect added in v1.21.0

func (o *GetServiceAccountTokenDefault) IsRedirect() bool

IsRedirect returns true when this get service account token default response has a 3xx status code

func (*GetServiceAccountTokenDefault) IsServerError added in v1.21.0

func (o *GetServiceAccountTokenDefault) IsServerError() bool

IsServerError returns true when this get service account token default response has a 5xx status code

func (*GetServiceAccountTokenDefault) IsSuccess added in v1.21.0

func (o *GetServiceAccountTokenDefault) IsSuccess() bool

IsSuccess returns true when this get service account token default response has a 2xx status code

func (*GetServiceAccountTokenDefault) String added in v1.21.0

type GetServiceAccountTokenForbidden

type GetServiceAccountTokenForbidden struct {
	Payload interface{}
}
GetServiceAccountTokenForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewGetServiceAccountTokenForbidden

func NewGetServiceAccountTokenForbidden() *GetServiceAccountTokenForbidden

NewGetServiceAccountTokenForbidden creates a GetServiceAccountTokenForbidden with default headers values

func (*GetServiceAccountTokenForbidden) Code added in v1.22.0

Code gets the status code for the get service account token forbidden response

func (*GetServiceAccountTokenForbidden) Error

func (*GetServiceAccountTokenForbidden) GetPayload

func (o *GetServiceAccountTokenForbidden) GetPayload() interface{}

func (*GetServiceAccountTokenForbidden) IsClientError added in v1.21.0

func (o *GetServiceAccountTokenForbidden) IsClientError() bool

IsClientError returns true when this get service account token forbidden response has a 4xx status code

func (*GetServiceAccountTokenForbidden) IsCode added in v1.21.0

func (o *GetServiceAccountTokenForbidden) IsCode(code int) bool

IsCode returns true when this get service account token forbidden response a status code equal to that given

func (*GetServiceAccountTokenForbidden) IsRedirect added in v1.21.0

func (o *GetServiceAccountTokenForbidden) IsRedirect() bool

IsRedirect returns true when this get service account token forbidden response has a 3xx status code

func (*GetServiceAccountTokenForbidden) IsServerError added in v1.21.0

func (o *GetServiceAccountTokenForbidden) IsServerError() bool

IsServerError returns true when this get service account token forbidden response has a 5xx status code

func (*GetServiceAccountTokenForbidden) IsSuccess added in v1.21.0

func (o *GetServiceAccountTokenForbidden) IsSuccess() bool

IsSuccess returns true when this get service account token forbidden response has a 2xx status code

func (*GetServiceAccountTokenForbidden) String added in v1.21.0

type GetServiceAccountTokenNoContent

type GetServiceAccountTokenNoContent struct {
	Payload interface{}
}
GetServiceAccountTokenNoContent describes a response with status code 204, with default header values.

No content.

func NewGetServiceAccountTokenNoContent

func NewGetServiceAccountTokenNoContent() *GetServiceAccountTokenNoContent

NewGetServiceAccountTokenNoContent creates a GetServiceAccountTokenNoContent with default headers values

func (*GetServiceAccountTokenNoContent) Code added in v1.22.0

Code gets the status code for the get service account token no content response

func (*GetServiceAccountTokenNoContent) Error

func (*GetServiceAccountTokenNoContent) GetPayload

func (o *GetServiceAccountTokenNoContent) GetPayload() interface{}

func (*GetServiceAccountTokenNoContent) IsClientError added in v1.21.0

func (o *GetServiceAccountTokenNoContent) IsClientError() bool

IsClientError returns true when this get service account token no content response has a 4xx status code

func (*GetServiceAccountTokenNoContent) IsCode added in v1.21.0

func (o *GetServiceAccountTokenNoContent) IsCode(code int) bool

IsCode returns true when this get service account token no content response a status code equal to that given

func (*GetServiceAccountTokenNoContent) IsRedirect added in v1.21.0

func (o *GetServiceAccountTokenNoContent) IsRedirect() bool

IsRedirect returns true when this get service account token no content response has a 3xx status code

func (*GetServiceAccountTokenNoContent) IsServerError added in v1.21.0

func (o *GetServiceAccountTokenNoContent) IsServerError() bool

IsServerError returns true when this get service account token no content response has a 5xx status code

func (*GetServiceAccountTokenNoContent) IsSuccess added in v1.21.0

func (o *GetServiceAccountTokenNoContent) IsSuccess() bool

IsSuccess returns true when this get service account token no content response has a 2xx status code

func (*GetServiceAccountTokenNoContent) String added in v1.21.0

type GetServiceAccountTokenNotFound

type GetServiceAccountTokenNotFound struct {
	Payload interface{}
}
GetServiceAccountTokenNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewGetServiceAccountTokenNotFound

func NewGetServiceAccountTokenNotFound() *GetServiceAccountTokenNotFound

NewGetServiceAccountTokenNotFound creates a GetServiceAccountTokenNotFound with default headers values

func (*GetServiceAccountTokenNotFound) Code added in v1.22.0

Code gets the status code for the get service account token not found response

func (*GetServiceAccountTokenNotFound) Error

func (*GetServiceAccountTokenNotFound) GetPayload

func (o *GetServiceAccountTokenNotFound) GetPayload() interface{}

func (*GetServiceAccountTokenNotFound) IsClientError added in v1.21.0

func (o *GetServiceAccountTokenNotFound) IsClientError() bool

IsClientError returns true when this get service account token not found response has a 4xx status code

func (*GetServiceAccountTokenNotFound) IsCode added in v1.21.0

func (o *GetServiceAccountTokenNotFound) IsCode(code int) bool

IsCode returns true when this get service account token not found response a status code equal to that given

func (*GetServiceAccountTokenNotFound) IsRedirect added in v1.21.0

func (o *GetServiceAccountTokenNotFound) IsRedirect() bool

IsRedirect returns true when this get service account token not found response has a 3xx status code

func (*GetServiceAccountTokenNotFound) IsServerError added in v1.21.0

func (o *GetServiceAccountTokenNotFound) IsServerError() bool

IsServerError returns true when this get service account token not found response has a 5xx status code

func (*GetServiceAccountTokenNotFound) IsSuccess added in v1.21.0

func (o *GetServiceAccountTokenNotFound) IsSuccess() bool

IsSuccess returns true when this get service account token not found response has a 2xx status code

func (*GetServiceAccountTokenNotFound) String added in v1.21.0

type GetServiceAccountTokenOK

type GetServiceAccountTokenOK struct {
	Payload *service_model.V1Token
}
GetServiceAccountTokenOK describes a response with status code 200, with default header values.

A successful response.

func NewGetServiceAccountTokenOK

func NewGetServiceAccountTokenOK() *GetServiceAccountTokenOK

NewGetServiceAccountTokenOK creates a GetServiceAccountTokenOK with default headers values

func (*GetServiceAccountTokenOK) Code added in v1.22.0

func (o *GetServiceAccountTokenOK) Code() int

Code gets the status code for the get service account token o k response

func (*GetServiceAccountTokenOK) Error

func (o *GetServiceAccountTokenOK) Error() string

func (*GetServiceAccountTokenOK) GetPayload

func (*GetServiceAccountTokenOK) IsClientError added in v1.21.0

func (o *GetServiceAccountTokenOK) IsClientError() bool

IsClientError returns true when this get service account token o k response has a 4xx status code

func (*GetServiceAccountTokenOK) IsCode added in v1.21.0

func (o *GetServiceAccountTokenOK) IsCode(code int) bool

IsCode returns true when this get service account token o k response a status code equal to that given

func (*GetServiceAccountTokenOK) IsRedirect added in v1.21.0

func (o *GetServiceAccountTokenOK) IsRedirect() bool

IsRedirect returns true when this get service account token o k response has a 3xx status code

func (*GetServiceAccountTokenOK) IsServerError added in v1.21.0

func (o *GetServiceAccountTokenOK) IsServerError() bool

IsServerError returns true when this get service account token o k response has a 5xx status code

func (*GetServiceAccountTokenOK) IsSuccess added in v1.21.0

func (o *GetServiceAccountTokenOK) IsSuccess() bool

IsSuccess returns true when this get service account token o k response has a 2xx status code

func (*GetServiceAccountTokenOK) String added in v1.21.0

func (o *GetServiceAccountTokenOK) String() string

type GetServiceAccountTokenParams

type GetServiceAccountTokenParams struct {

	/* Entity.

	   Entity: project name, hub name, registry name, ...
	*/
	Entity string

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* UUID.

	   Uuid identifier of the sub-entity
	*/
	UUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetServiceAccountTokenParams contains all the parameters to send to the API endpoint

for the get service account token operation.

Typically these are written to a http.Request.

func NewGetServiceAccountTokenParams

func NewGetServiceAccountTokenParams() *GetServiceAccountTokenParams

NewGetServiceAccountTokenParams creates a new GetServiceAccountTokenParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetServiceAccountTokenParamsWithContext

func NewGetServiceAccountTokenParamsWithContext(ctx context.Context) *GetServiceAccountTokenParams

NewGetServiceAccountTokenParamsWithContext creates a new GetServiceAccountTokenParams object with the ability to set a context for a request.

func NewGetServiceAccountTokenParamsWithHTTPClient

func NewGetServiceAccountTokenParamsWithHTTPClient(client *http.Client) *GetServiceAccountTokenParams

NewGetServiceAccountTokenParamsWithHTTPClient creates a new GetServiceAccountTokenParams object with the ability to set a custom HTTPClient for a request.

func NewGetServiceAccountTokenParamsWithTimeout

func NewGetServiceAccountTokenParamsWithTimeout(timeout time.Duration) *GetServiceAccountTokenParams

NewGetServiceAccountTokenParamsWithTimeout creates a new GetServiceAccountTokenParams object with the ability to set a timeout on a request.

func (*GetServiceAccountTokenParams) SetContext

func (o *GetServiceAccountTokenParams) SetContext(ctx context.Context)

SetContext adds the context to the get service account token params

func (*GetServiceAccountTokenParams) SetDefaults

func (o *GetServiceAccountTokenParams) SetDefaults()

SetDefaults hydrates default values in the get service account token params (not the query body).

All values with no default are reset to their zero value.

func (*GetServiceAccountTokenParams) SetEntity

func (o *GetServiceAccountTokenParams) SetEntity(entity string)

SetEntity adds the entity to the get service account token params

func (*GetServiceAccountTokenParams) SetHTTPClient

func (o *GetServiceAccountTokenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get service account token params

func (*GetServiceAccountTokenParams) SetOwner

func (o *GetServiceAccountTokenParams) SetOwner(owner string)

SetOwner adds the owner to the get service account token params

func (*GetServiceAccountTokenParams) SetTimeout

func (o *GetServiceAccountTokenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get service account token params

func (*GetServiceAccountTokenParams) SetUUID

func (o *GetServiceAccountTokenParams) SetUUID(uuid string)

SetUUID adds the uuid to the get service account token params

func (*GetServiceAccountTokenParams) WithContext

WithContext adds the context to the get service account token params

func (*GetServiceAccountTokenParams) WithDefaults

WithDefaults hydrates default values in the get service account token params (not the query body).

All values with no default are reset to their zero value.

func (*GetServiceAccountTokenParams) WithEntity

WithEntity adds the entity to the get service account token params

func (*GetServiceAccountTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get service account token params

func (*GetServiceAccountTokenParams) WithOwner

WithOwner adds the owner to the get service account token params

func (*GetServiceAccountTokenParams) WithTimeout

WithTimeout adds the timeout to the get service account token params

func (*GetServiceAccountTokenParams) WithUUID

WithUUID adds the uuid to the get service account token params

func (*GetServiceAccountTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetServiceAccountTokenReader

type GetServiceAccountTokenReader struct {
	// contains filtered or unexported fields
}

GetServiceAccountTokenReader is a Reader for the GetServiceAccountToken structure.

func (*GetServiceAccountTokenReader) ReadResponse

func (o *GetServiceAccountTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListServiceAccountNamesDefault

type ListServiceAccountNamesDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
ListServiceAccountNamesDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListServiceAccountNamesDefault

func NewListServiceAccountNamesDefault(code int) *ListServiceAccountNamesDefault

NewListServiceAccountNamesDefault creates a ListServiceAccountNamesDefault with default headers values

func (*ListServiceAccountNamesDefault) Code

Code gets the status code for the list service account names default response

func (*ListServiceAccountNamesDefault) Error

func (*ListServiceAccountNamesDefault) GetPayload

func (*ListServiceAccountNamesDefault) IsClientError added in v1.21.0

func (o *ListServiceAccountNamesDefault) IsClientError() bool

IsClientError returns true when this list service account names default response has a 4xx status code

func (*ListServiceAccountNamesDefault) IsCode added in v1.21.0

func (o *ListServiceAccountNamesDefault) IsCode(code int) bool

IsCode returns true when this list service account names default response a status code equal to that given

func (*ListServiceAccountNamesDefault) IsRedirect added in v1.21.0

func (o *ListServiceAccountNamesDefault) IsRedirect() bool

IsRedirect returns true when this list service account names default response has a 3xx status code

func (*ListServiceAccountNamesDefault) IsServerError added in v1.21.0

func (o *ListServiceAccountNamesDefault) IsServerError() bool

IsServerError returns true when this list service account names default response has a 5xx status code

func (*ListServiceAccountNamesDefault) IsSuccess added in v1.21.0

func (o *ListServiceAccountNamesDefault) IsSuccess() bool

IsSuccess returns true when this list service account names default response has a 2xx status code

func (*ListServiceAccountNamesDefault) String added in v1.21.0

type ListServiceAccountNamesForbidden

type ListServiceAccountNamesForbidden struct {
	Payload interface{}
}
ListServiceAccountNamesForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewListServiceAccountNamesForbidden

func NewListServiceAccountNamesForbidden() *ListServiceAccountNamesForbidden

NewListServiceAccountNamesForbidden creates a ListServiceAccountNamesForbidden with default headers values

func (*ListServiceAccountNamesForbidden) Code added in v1.22.0

Code gets the status code for the list service account names forbidden response

func (*ListServiceAccountNamesForbidden) Error

func (*ListServiceAccountNamesForbidden) GetPayload

func (o *ListServiceAccountNamesForbidden) GetPayload() interface{}

func (*ListServiceAccountNamesForbidden) IsClientError added in v1.21.0

func (o *ListServiceAccountNamesForbidden) IsClientError() bool

IsClientError returns true when this list service account names forbidden response has a 4xx status code

func (*ListServiceAccountNamesForbidden) IsCode added in v1.21.0

func (o *ListServiceAccountNamesForbidden) IsCode(code int) bool

IsCode returns true when this list service account names forbidden response a status code equal to that given

func (*ListServiceAccountNamesForbidden) IsRedirect added in v1.21.0

func (o *ListServiceAccountNamesForbidden) IsRedirect() bool

IsRedirect returns true when this list service account names forbidden response has a 3xx status code

func (*ListServiceAccountNamesForbidden) IsServerError added in v1.21.0

func (o *ListServiceAccountNamesForbidden) IsServerError() bool

IsServerError returns true when this list service account names forbidden response has a 5xx status code

func (*ListServiceAccountNamesForbidden) IsSuccess added in v1.21.0

func (o *ListServiceAccountNamesForbidden) IsSuccess() bool

IsSuccess returns true when this list service account names forbidden response has a 2xx status code

func (*ListServiceAccountNamesForbidden) String added in v1.21.0

type ListServiceAccountNamesNoContent

type ListServiceAccountNamesNoContent struct {
	Payload interface{}
}
ListServiceAccountNamesNoContent describes a response with status code 204, with default header values.

No content.

func NewListServiceAccountNamesNoContent

func NewListServiceAccountNamesNoContent() *ListServiceAccountNamesNoContent

NewListServiceAccountNamesNoContent creates a ListServiceAccountNamesNoContent with default headers values

func (*ListServiceAccountNamesNoContent) Code added in v1.22.0

Code gets the status code for the list service account names no content response

func (*ListServiceAccountNamesNoContent) Error

func (*ListServiceAccountNamesNoContent) GetPayload

func (o *ListServiceAccountNamesNoContent) GetPayload() interface{}

func (*ListServiceAccountNamesNoContent) IsClientError added in v1.21.0

func (o *ListServiceAccountNamesNoContent) IsClientError() bool

IsClientError returns true when this list service account names no content response has a 4xx status code

func (*ListServiceAccountNamesNoContent) IsCode added in v1.21.0

func (o *ListServiceAccountNamesNoContent) IsCode(code int) bool

IsCode returns true when this list service account names no content response a status code equal to that given

func (*ListServiceAccountNamesNoContent) IsRedirect added in v1.21.0

func (o *ListServiceAccountNamesNoContent) IsRedirect() bool

IsRedirect returns true when this list service account names no content response has a 3xx status code

func (*ListServiceAccountNamesNoContent) IsServerError added in v1.21.0

func (o *ListServiceAccountNamesNoContent) IsServerError() bool

IsServerError returns true when this list service account names no content response has a 5xx status code

func (*ListServiceAccountNamesNoContent) IsSuccess added in v1.21.0

func (o *ListServiceAccountNamesNoContent) IsSuccess() bool

IsSuccess returns true when this list service account names no content response has a 2xx status code

func (*ListServiceAccountNamesNoContent) String added in v1.21.0

type ListServiceAccountNamesNotFound

type ListServiceAccountNamesNotFound struct {
	Payload interface{}
}
ListServiceAccountNamesNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewListServiceAccountNamesNotFound

func NewListServiceAccountNamesNotFound() *ListServiceAccountNamesNotFound

NewListServiceAccountNamesNotFound creates a ListServiceAccountNamesNotFound with default headers values

func (*ListServiceAccountNamesNotFound) Code added in v1.22.0

Code gets the status code for the list service account names not found response

func (*ListServiceAccountNamesNotFound) Error

func (*ListServiceAccountNamesNotFound) GetPayload

func (o *ListServiceAccountNamesNotFound) GetPayload() interface{}

func (*ListServiceAccountNamesNotFound) IsClientError added in v1.21.0

func (o *ListServiceAccountNamesNotFound) IsClientError() bool

IsClientError returns true when this list service account names not found response has a 4xx status code

func (*ListServiceAccountNamesNotFound) IsCode added in v1.21.0

func (o *ListServiceAccountNamesNotFound) IsCode(code int) bool

IsCode returns true when this list service account names not found response a status code equal to that given

func (*ListServiceAccountNamesNotFound) IsRedirect added in v1.21.0

func (o *ListServiceAccountNamesNotFound) IsRedirect() bool

IsRedirect returns true when this list service account names not found response has a 3xx status code

func (*ListServiceAccountNamesNotFound) IsServerError added in v1.21.0

func (o *ListServiceAccountNamesNotFound) IsServerError() bool

IsServerError returns true when this list service account names not found response has a 5xx status code

func (*ListServiceAccountNamesNotFound) IsSuccess added in v1.21.0

func (o *ListServiceAccountNamesNotFound) IsSuccess() bool

IsSuccess returns true when this list service account names not found response has a 2xx status code

func (*ListServiceAccountNamesNotFound) String added in v1.21.0

type ListServiceAccountNamesOK

type ListServiceAccountNamesOK struct {
	Payload *service_model.V1ListServiceAccountsResponse
}
ListServiceAccountNamesOK describes a response with status code 200, with default header values.

A successful response.

func NewListServiceAccountNamesOK

func NewListServiceAccountNamesOK() *ListServiceAccountNamesOK

NewListServiceAccountNamesOK creates a ListServiceAccountNamesOK with default headers values

func (*ListServiceAccountNamesOK) Code added in v1.22.0

func (o *ListServiceAccountNamesOK) Code() int

Code gets the status code for the list service account names o k response

func (*ListServiceAccountNamesOK) Error

func (o *ListServiceAccountNamesOK) Error() string

func (*ListServiceAccountNamesOK) GetPayload

func (*ListServiceAccountNamesOK) IsClientError added in v1.21.0

func (o *ListServiceAccountNamesOK) IsClientError() bool

IsClientError returns true when this list service account names o k response has a 4xx status code

func (*ListServiceAccountNamesOK) IsCode added in v1.21.0

func (o *ListServiceAccountNamesOK) IsCode(code int) bool

IsCode returns true when this list service account names o k response a status code equal to that given

func (*ListServiceAccountNamesOK) IsRedirect added in v1.21.0

func (o *ListServiceAccountNamesOK) IsRedirect() bool

IsRedirect returns true when this list service account names o k response has a 3xx status code

func (*ListServiceAccountNamesOK) IsServerError added in v1.21.0

func (o *ListServiceAccountNamesOK) IsServerError() bool

IsServerError returns true when this list service account names o k response has a 5xx status code

func (*ListServiceAccountNamesOK) IsSuccess added in v1.21.0

func (o *ListServiceAccountNamesOK) IsSuccess() bool

IsSuccess returns true when this list service account names o k response has a 2xx status code

func (*ListServiceAccountNamesOK) String added in v1.21.0

func (o *ListServiceAccountNamesOK) String() string

type ListServiceAccountNamesParams

type ListServiceAccountNamesParams struct {

	/* Bookmarks.

	   Filter by bookmarks.
	*/
	Bookmarks *bool

	/* Limit.

	   Limit size.

	   Format: int32
	*/
	Limit *int32

	/* Mode.

	   Mode of the search.
	*/
	Mode *string

	/* NoPage.

	   No pagination.
	*/
	NoPage *bool

	/* Offset.

	   Pagination offset.

	   Format: int32
	*/
	Offset *int32

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Query.

	   Query filter the search.
	*/
	Query *string

	/* Sort.

	   Sort to order the search.
	*/
	Sort *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListServiceAccountNamesParams contains all the parameters to send to the API endpoint

for the list service account names operation.

Typically these are written to a http.Request.

func NewListServiceAccountNamesParams

func NewListServiceAccountNamesParams() *ListServiceAccountNamesParams

NewListServiceAccountNamesParams creates a new ListServiceAccountNamesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListServiceAccountNamesParamsWithContext

func NewListServiceAccountNamesParamsWithContext(ctx context.Context) *ListServiceAccountNamesParams

NewListServiceAccountNamesParamsWithContext creates a new ListServiceAccountNamesParams object with the ability to set a context for a request.

func NewListServiceAccountNamesParamsWithHTTPClient

func NewListServiceAccountNamesParamsWithHTTPClient(client *http.Client) *ListServiceAccountNamesParams

NewListServiceAccountNamesParamsWithHTTPClient creates a new ListServiceAccountNamesParams object with the ability to set a custom HTTPClient for a request.

func NewListServiceAccountNamesParamsWithTimeout

func NewListServiceAccountNamesParamsWithTimeout(timeout time.Duration) *ListServiceAccountNamesParams

NewListServiceAccountNamesParamsWithTimeout creates a new ListServiceAccountNamesParams object with the ability to set a timeout on a request.

func (*ListServiceAccountNamesParams) SetBookmarks

func (o *ListServiceAccountNamesParams) SetBookmarks(bookmarks *bool)

SetBookmarks adds the bookmarks to the list service account names params

func (*ListServiceAccountNamesParams) SetContext

func (o *ListServiceAccountNamesParams) SetContext(ctx context.Context)

SetContext adds the context to the list service account names params

func (*ListServiceAccountNamesParams) SetDefaults

func (o *ListServiceAccountNamesParams) SetDefaults()

SetDefaults hydrates default values in the list service account names params (not the query body).

All values with no default are reset to their zero value.

func (*ListServiceAccountNamesParams) SetHTTPClient

func (o *ListServiceAccountNamesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list service account names params

func (*ListServiceAccountNamesParams) SetLimit

func (o *ListServiceAccountNamesParams) SetLimit(limit *int32)

SetLimit adds the limit to the list service account names params

func (*ListServiceAccountNamesParams) SetMode

func (o *ListServiceAccountNamesParams) SetMode(mode *string)

SetMode adds the mode to the list service account names params

func (*ListServiceAccountNamesParams) SetNoPage

func (o *ListServiceAccountNamesParams) SetNoPage(noPage *bool)

SetNoPage adds the noPage to the list service account names params

func (*ListServiceAccountNamesParams) SetOffset

func (o *ListServiceAccountNamesParams) SetOffset(offset *int32)

SetOffset adds the offset to the list service account names params

func (*ListServiceAccountNamesParams) SetOwner

func (o *ListServiceAccountNamesParams) SetOwner(owner string)

SetOwner adds the owner to the list service account names params

func (*ListServiceAccountNamesParams) SetQuery

func (o *ListServiceAccountNamesParams) SetQuery(query *string)

SetQuery adds the query to the list service account names params

func (*ListServiceAccountNamesParams) SetSort

func (o *ListServiceAccountNamesParams) SetSort(sort *string)

SetSort adds the sort to the list service account names params

func (*ListServiceAccountNamesParams) SetTimeout

func (o *ListServiceAccountNamesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list service account names params

func (*ListServiceAccountNamesParams) WithBookmarks

WithBookmarks adds the bookmarks to the list service account names params

func (*ListServiceAccountNamesParams) WithContext

WithContext adds the context to the list service account names params

func (*ListServiceAccountNamesParams) WithDefaults

WithDefaults hydrates default values in the list service account names params (not the query body).

All values with no default are reset to their zero value.

func (*ListServiceAccountNamesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list service account names params

func (*ListServiceAccountNamesParams) WithLimit

WithLimit adds the limit to the list service account names params

func (*ListServiceAccountNamesParams) WithMode

WithMode adds the mode to the list service account names params

func (*ListServiceAccountNamesParams) WithNoPage

WithNoPage adds the noPage to the list service account names params

func (*ListServiceAccountNamesParams) WithOffset

WithOffset adds the offset to the list service account names params

func (*ListServiceAccountNamesParams) WithOwner

WithOwner adds the owner to the list service account names params

func (*ListServiceAccountNamesParams) WithQuery

WithQuery adds the query to the list service account names params

func (*ListServiceAccountNamesParams) WithSort

WithSort adds the sort to the list service account names params

func (*ListServiceAccountNamesParams) WithTimeout

WithTimeout adds the timeout to the list service account names params

func (*ListServiceAccountNamesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListServiceAccountNamesReader

type ListServiceAccountNamesReader struct {
	// contains filtered or unexported fields
}

ListServiceAccountNamesReader is a Reader for the ListServiceAccountNames structure.

func (*ListServiceAccountNamesReader) ReadResponse

func (o *ListServiceAccountNamesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListServiceAccountTokensDefault

type ListServiceAccountTokensDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
ListServiceAccountTokensDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListServiceAccountTokensDefault

func NewListServiceAccountTokensDefault(code int) *ListServiceAccountTokensDefault

NewListServiceAccountTokensDefault creates a ListServiceAccountTokensDefault with default headers values

func (*ListServiceAccountTokensDefault) Code

Code gets the status code for the list service account tokens default response

func (*ListServiceAccountTokensDefault) Error

func (*ListServiceAccountTokensDefault) GetPayload

func (*ListServiceAccountTokensDefault) IsClientError added in v1.21.0

func (o *ListServiceAccountTokensDefault) IsClientError() bool

IsClientError returns true when this list service account tokens default response has a 4xx status code

func (*ListServiceAccountTokensDefault) IsCode added in v1.21.0

func (o *ListServiceAccountTokensDefault) IsCode(code int) bool

IsCode returns true when this list service account tokens default response a status code equal to that given

func (*ListServiceAccountTokensDefault) IsRedirect added in v1.21.0

func (o *ListServiceAccountTokensDefault) IsRedirect() bool

IsRedirect returns true when this list service account tokens default response has a 3xx status code

func (*ListServiceAccountTokensDefault) IsServerError added in v1.21.0

func (o *ListServiceAccountTokensDefault) IsServerError() bool

IsServerError returns true when this list service account tokens default response has a 5xx status code

func (*ListServiceAccountTokensDefault) IsSuccess added in v1.21.0

func (o *ListServiceAccountTokensDefault) IsSuccess() bool

IsSuccess returns true when this list service account tokens default response has a 2xx status code

func (*ListServiceAccountTokensDefault) String added in v1.21.0

type ListServiceAccountTokensForbidden

type ListServiceAccountTokensForbidden struct {
	Payload interface{}
}
ListServiceAccountTokensForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewListServiceAccountTokensForbidden

func NewListServiceAccountTokensForbidden() *ListServiceAccountTokensForbidden

NewListServiceAccountTokensForbidden creates a ListServiceAccountTokensForbidden with default headers values

func (*ListServiceAccountTokensForbidden) Code added in v1.22.0

Code gets the status code for the list service account tokens forbidden response

func (*ListServiceAccountTokensForbidden) Error

func (*ListServiceAccountTokensForbidden) GetPayload

func (o *ListServiceAccountTokensForbidden) GetPayload() interface{}

func (*ListServiceAccountTokensForbidden) IsClientError added in v1.21.0

func (o *ListServiceAccountTokensForbidden) IsClientError() bool

IsClientError returns true when this list service account tokens forbidden response has a 4xx status code

func (*ListServiceAccountTokensForbidden) IsCode added in v1.21.0

func (o *ListServiceAccountTokensForbidden) IsCode(code int) bool

IsCode returns true when this list service account tokens forbidden response a status code equal to that given

func (*ListServiceAccountTokensForbidden) IsRedirect added in v1.21.0

func (o *ListServiceAccountTokensForbidden) IsRedirect() bool

IsRedirect returns true when this list service account tokens forbidden response has a 3xx status code

func (*ListServiceAccountTokensForbidden) IsServerError added in v1.21.0

func (o *ListServiceAccountTokensForbidden) IsServerError() bool

IsServerError returns true when this list service account tokens forbidden response has a 5xx status code

func (*ListServiceAccountTokensForbidden) IsSuccess added in v1.21.0

func (o *ListServiceAccountTokensForbidden) IsSuccess() bool

IsSuccess returns true when this list service account tokens forbidden response has a 2xx status code

func (*ListServiceAccountTokensForbidden) String added in v1.21.0

type ListServiceAccountTokensNoContent

type ListServiceAccountTokensNoContent struct {
	Payload interface{}
}
ListServiceAccountTokensNoContent describes a response with status code 204, with default header values.

No content.

func NewListServiceAccountTokensNoContent

func NewListServiceAccountTokensNoContent() *ListServiceAccountTokensNoContent

NewListServiceAccountTokensNoContent creates a ListServiceAccountTokensNoContent with default headers values

func (*ListServiceAccountTokensNoContent) Code added in v1.22.0

Code gets the status code for the list service account tokens no content response

func (*ListServiceAccountTokensNoContent) Error

func (*ListServiceAccountTokensNoContent) GetPayload

func (o *ListServiceAccountTokensNoContent) GetPayload() interface{}

func (*ListServiceAccountTokensNoContent) IsClientError added in v1.21.0

func (o *ListServiceAccountTokensNoContent) IsClientError() bool

IsClientError returns true when this list service account tokens no content response has a 4xx status code

func (*ListServiceAccountTokensNoContent) IsCode added in v1.21.0

func (o *ListServiceAccountTokensNoContent) IsCode(code int) bool

IsCode returns true when this list service account tokens no content response a status code equal to that given

func (*ListServiceAccountTokensNoContent) IsRedirect added in v1.21.0

func (o *ListServiceAccountTokensNoContent) IsRedirect() bool

IsRedirect returns true when this list service account tokens no content response has a 3xx status code

func (*ListServiceAccountTokensNoContent) IsServerError added in v1.21.0

func (o *ListServiceAccountTokensNoContent) IsServerError() bool

IsServerError returns true when this list service account tokens no content response has a 5xx status code

func (*ListServiceAccountTokensNoContent) IsSuccess added in v1.21.0

func (o *ListServiceAccountTokensNoContent) IsSuccess() bool

IsSuccess returns true when this list service account tokens no content response has a 2xx status code

func (*ListServiceAccountTokensNoContent) String added in v1.21.0

type ListServiceAccountTokensNotFound

type ListServiceAccountTokensNotFound struct {
	Payload interface{}
}
ListServiceAccountTokensNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewListServiceAccountTokensNotFound

func NewListServiceAccountTokensNotFound() *ListServiceAccountTokensNotFound

NewListServiceAccountTokensNotFound creates a ListServiceAccountTokensNotFound with default headers values

func (*ListServiceAccountTokensNotFound) Code added in v1.22.0

Code gets the status code for the list service account tokens not found response

func (*ListServiceAccountTokensNotFound) Error

func (*ListServiceAccountTokensNotFound) GetPayload

func (o *ListServiceAccountTokensNotFound) GetPayload() interface{}

func (*ListServiceAccountTokensNotFound) IsClientError added in v1.21.0

func (o *ListServiceAccountTokensNotFound) IsClientError() bool

IsClientError returns true when this list service account tokens not found response has a 4xx status code

func (*ListServiceAccountTokensNotFound) IsCode added in v1.21.0

func (o *ListServiceAccountTokensNotFound) IsCode(code int) bool

IsCode returns true when this list service account tokens not found response a status code equal to that given

func (*ListServiceAccountTokensNotFound) IsRedirect added in v1.21.0

func (o *ListServiceAccountTokensNotFound) IsRedirect() bool

IsRedirect returns true when this list service account tokens not found response has a 3xx status code

func (*ListServiceAccountTokensNotFound) IsServerError added in v1.21.0

func (o *ListServiceAccountTokensNotFound) IsServerError() bool

IsServerError returns true when this list service account tokens not found response has a 5xx status code

func (*ListServiceAccountTokensNotFound) IsSuccess added in v1.21.0

func (o *ListServiceAccountTokensNotFound) IsSuccess() bool

IsSuccess returns true when this list service account tokens not found response has a 2xx status code

func (*ListServiceAccountTokensNotFound) String added in v1.21.0

type ListServiceAccountTokensOK

type ListServiceAccountTokensOK struct {
	Payload *service_model.V1ListTokenResponse
}
ListServiceAccountTokensOK describes a response with status code 200, with default header values.

A successful response.

func NewListServiceAccountTokensOK

func NewListServiceAccountTokensOK() *ListServiceAccountTokensOK

NewListServiceAccountTokensOK creates a ListServiceAccountTokensOK with default headers values

func (*ListServiceAccountTokensOK) Code added in v1.22.0

func (o *ListServiceAccountTokensOK) Code() int

Code gets the status code for the list service account tokens o k response

func (*ListServiceAccountTokensOK) Error

func (*ListServiceAccountTokensOK) GetPayload

func (*ListServiceAccountTokensOK) IsClientError added in v1.21.0

func (o *ListServiceAccountTokensOK) IsClientError() bool

IsClientError returns true when this list service account tokens o k response has a 4xx status code

func (*ListServiceAccountTokensOK) IsCode added in v1.21.0

func (o *ListServiceAccountTokensOK) IsCode(code int) bool

IsCode returns true when this list service account tokens o k response a status code equal to that given

func (*ListServiceAccountTokensOK) IsRedirect added in v1.21.0

func (o *ListServiceAccountTokensOK) IsRedirect() bool

IsRedirect returns true when this list service account tokens o k response has a 3xx status code

func (*ListServiceAccountTokensOK) IsServerError added in v1.21.0

func (o *ListServiceAccountTokensOK) IsServerError() bool

IsServerError returns true when this list service account tokens o k response has a 5xx status code

func (*ListServiceAccountTokensOK) IsSuccess added in v1.21.0

func (o *ListServiceAccountTokensOK) IsSuccess() bool

IsSuccess returns true when this list service account tokens o k response has a 2xx status code

func (*ListServiceAccountTokensOK) String added in v1.21.0

func (o *ListServiceAccountTokensOK) String() string

type ListServiceAccountTokensParams

type ListServiceAccountTokensParams struct {

	/* Entity.

	   Entity name under namesapce.
	*/
	Entity *string

	/* Limit.

	   Limit size.

	   Format: int32
	*/
	Limit *int32

	/* NoPage.

	   No pagination.
	*/
	NoPage *bool

	/* Offset.

	   Pagination offset.

	   Format: int32
	*/
	Offset *int32

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Query.

	   Query filter the search.
	*/
	Query *string

	/* Sort.

	   Sort to order the search.
	*/
	Sort *string

	/* UUID.

	   SubEntity uuid
	*/
	UUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListServiceAccountTokensParams contains all the parameters to send to the API endpoint

for the list service account tokens operation.

Typically these are written to a http.Request.

func NewListServiceAccountTokensParams

func NewListServiceAccountTokensParams() *ListServiceAccountTokensParams

NewListServiceAccountTokensParams creates a new ListServiceAccountTokensParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListServiceAccountTokensParamsWithContext

func NewListServiceAccountTokensParamsWithContext(ctx context.Context) *ListServiceAccountTokensParams

NewListServiceAccountTokensParamsWithContext creates a new ListServiceAccountTokensParams object with the ability to set a context for a request.

func NewListServiceAccountTokensParamsWithHTTPClient

func NewListServiceAccountTokensParamsWithHTTPClient(client *http.Client) *ListServiceAccountTokensParams

NewListServiceAccountTokensParamsWithHTTPClient creates a new ListServiceAccountTokensParams object with the ability to set a custom HTTPClient for a request.

func NewListServiceAccountTokensParamsWithTimeout

func NewListServiceAccountTokensParamsWithTimeout(timeout time.Duration) *ListServiceAccountTokensParams

NewListServiceAccountTokensParamsWithTimeout creates a new ListServiceAccountTokensParams object with the ability to set a timeout on a request.

func (*ListServiceAccountTokensParams) SetContext

func (o *ListServiceAccountTokensParams) SetContext(ctx context.Context)

SetContext adds the context to the list service account tokens params

func (*ListServiceAccountTokensParams) SetDefaults

func (o *ListServiceAccountTokensParams) SetDefaults()

SetDefaults hydrates default values in the list service account tokens params (not the query body).

All values with no default are reset to their zero value.

func (*ListServiceAccountTokensParams) SetEntity

func (o *ListServiceAccountTokensParams) SetEntity(entity *string)

SetEntity adds the entity to the list service account tokens params

func (*ListServiceAccountTokensParams) SetHTTPClient

func (o *ListServiceAccountTokensParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list service account tokens params

func (*ListServiceAccountTokensParams) SetLimit

func (o *ListServiceAccountTokensParams) SetLimit(limit *int32)

SetLimit adds the limit to the list service account tokens params

func (*ListServiceAccountTokensParams) SetNoPage

func (o *ListServiceAccountTokensParams) SetNoPage(noPage *bool)

SetNoPage adds the noPage to the list service account tokens params

func (*ListServiceAccountTokensParams) SetOffset

func (o *ListServiceAccountTokensParams) SetOffset(offset *int32)

SetOffset adds the offset to the list service account tokens params

func (*ListServiceAccountTokensParams) SetOwner

func (o *ListServiceAccountTokensParams) SetOwner(owner string)

SetOwner adds the owner to the list service account tokens params

func (*ListServiceAccountTokensParams) SetQuery

func (o *ListServiceAccountTokensParams) SetQuery(query *string)

SetQuery adds the query to the list service account tokens params

func (*ListServiceAccountTokensParams) SetSort

func (o *ListServiceAccountTokensParams) SetSort(sort *string)

SetSort adds the sort to the list service account tokens params

func (*ListServiceAccountTokensParams) SetTimeout

func (o *ListServiceAccountTokensParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list service account tokens params

func (*ListServiceAccountTokensParams) SetUUID

func (o *ListServiceAccountTokensParams) SetUUID(uuid string)

SetUUID adds the uuid to the list service account tokens params

func (*ListServiceAccountTokensParams) WithContext

WithContext adds the context to the list service account tokens params

func (*ListServiceAccountTokensParams) WithDefaults

WithDefaults hydrates default values in the list service account tokens params (not the query body).

All values with no default are reset to their zero value.

func (*ListServiceAccountTokensParams) WithEntity

WithEntity adds the entity to the list service account tokens params

func (*ListServiceAccountTokensParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list service account tokens params

func (*ListServiceAccountTokensParams) WithLimit

WithLimit adds the limit to the list service account tokens params

func (*ListServiceAccountTokensParams) WithNoPage

WithNoPage adds the noPage to the list service account tokens params

func (*ListServiceAccountTokensParams) WithOffset

WithOffset adds the offset to the list service account tokens params

func (*ListServiceAccountTokensParams) WithOwner

WithOwner adds the owner to the list service account tokens params

func (*ListServiceAccountTokensParams) WithQuery

WithQuery adds the query to the list service account tokens params

func (*ListServiceAccountTokensParams) WithSort

WithSort adds the sort to the list service account tokens params

func (*ListServiceAccountTokensParams) WithTimeout

WithTimeout adds the timeout to the list service account tokens params

func (*ListServiceAccountTokensParams) WithUUID

WithUUID adds the uuid to the list service account tokens params

func (*ListServiceAccountTokensParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListServiceAccountTokensReader

type ListServiceAccountTokensReader struct {
	// contains filtered or unexported fields
}

ListServiceAccountTokensReader is a Reader for the ListServiceAccountTokens structure.

func (*ListServiceAccountTokensReader) ReadResponse

func (o *ListServiceAccountTokensReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListServiceAccountsDefault

type ListServiceAccountsDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
ListServiceAccountsDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListServiceAccountsDefault

func NewListServiceAccountsDefault(code int) *ListServiceAccountsDefault

NewListServiceAccountsDefault creates a ListServiceAccountsDefault with default headers values

func (*ListServiceAccountsDefault) Code

func (o *ListServiceAccountsDefault) Code() int

Code gets the status code for the list service accounts default response

func (*ListServiceAccountsDefault) Error

func (*ListServiceAccountsDefault) GetPayload

func (*ListServiceAccountsDefault) IsClientError added in v1.21.0

func (o *ListServiceAccountsDefault) IsClientError() bool

IsClientError returns true when this list service accounts default response has a 4xx status code

func (*ListServiceAccountsDefault) IsCode added in v1.21.0

func (o *ListServiceAccountsDefault) IsCode(code int) bool

IsCode returns true when this list service accounts default response a status code equal to that given

func (*ListServiceAccountsDefault) IsRedirect added in v1.21.0

func (o *ListServiceAccountsDefault) IsRedirect() bool

IsRedirect returns true when this list service accounts default response has a 3xx status code

func (*ListServiceAccountsDefault) IsServerError added in v1.21.0

func (o *ListServiceAccountsDefault) IsServerError() bool

IsServerError returns true when this list service accounts default response has a 5xx status code

func (*ListServiceAccountsDefault) IsSuccess added in v1.21.0

func (o *ListServiceAccountsDefault) IsSuccess() bool

IsSuccess returns true when this list service accounts default response has a 2xx status code

func (*ListServiceAccountsDefault) String added in v1.21.0

func (o *ListServiceAccountsDefault) String() string

type ListServiceAccountsForbidden

type ListServiceAccountsForbidden struct {
	Payload interface{}
}
ListServiceAccountsForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewListServiceAccountsForbidden

func NewListServiceAccountsForbidden() *ListServiceAccountsForbidden

NewListServiceAccountsForbidden creates a ListServiceAccountsForbidden with default headers values

func (*ListServiceAccountsForbidden) Code added in v1.22.0

Code gets the status code for the list service accounts forbidden response

func (*ListServiceAccountsForbidden) Error

func (*ListServiceAccountsForbidden) GetPayload

func (o *ListServiceAccountsForbidden) GetPayload() interface{}

func (*ListServiceAccountsForbidden) IsClientError added in v1.21.0

func (o *ListServiceAccountsForbidden) IsClientError() bool

IsClientError returns true when this list service accounts forbidden response has a 4xx status code

func (*ListServiceAccountsForbidden) IsCode added in v1.21.0

func (o *ListServiceAccountsForbidden) IsCode(code int) bool

IsCode returns true when this list service accounts forbidden response a status code equal to that given

func (*ListServiceAccountsForbidden) IsRedirect added in v1.21.0

func (o *ListServiceAccountsForbidden) IsRedirect() bool

IsRedirect returns true when this list service accounts forbidden response has a 3xx status code

func (*ListServiceAccountsForbidden) IsServerError added in v1.21.0

func (o *ListServiceAccountsForbidden) IsServerError() bool

IsServerError returns true when this list service accounts forbidden response has a 5xx status code

func (*ListServiceAccountsForbidden) IsSuccess added in v1.21.0

func (o *ListServiceAccountsForbidden) IsSuccess() bool

IsSuccess returns true when this list service accounts forbidden response has a 2xx status code

func (*ListServiceAccountsForbidden) String added in v1.21.0

type ListServiceAccountsNoContent

type ListServiceAccountsNoContent struct {
	Payload interface{}
}
ListServiceAccountsNoContent describes a response with status code 204, with default header values.

No content.

func NewListServiceAccountsNoContent

func NewListServiceAccountsNoContent() *ListServiceAccountsNoContent

NewListServiceAccountsNoContent creates a ListServiceAccountsNoContent with default headers values

func (*ListServiceAccountsNoContent) Code added in v1.22.0

Code gets the status code for the list service accounts no content response

func (*ListServiceAccountsNoContent) Error

func (*ListServiceAccountsNoContent) GetPayload

func (o *ListServiceAccountsNoContent) GetPayload() interface{}

func (*ListServiceAccountsNoContent) IsClientError added in v1.21.0

func (o *ListServiceAccountsNoContent) IsClientError() bool

IsClientError returns true when this list service accounts no content response has a 4xx status code

func (*ListServiceAccountsNoContent) IsCode added in v1.21.0

func (o *ListServiceAccountsNoContent) IsCode(code int) bool

IsCode returns true when this list service accounts no content response a status code equal to that given

func (*ListServiceAccountsNoContent) IsRedirect added in v1.21.0

func (o *ListServiceAccountsNoContent) IsRedirect() bool

IsRedirect returns true when this list service accounts no content response has a 3xx status code

func (*ListServiceAccountsNoContent) IsServerError added in v1.21.0

func (o *ListServiceAccountsNoContent) IsServerError() bool

IsServerError returns true when this list service accounts no content response has a 5xx status code

func (*ListServiceAccountsNoContent) IsSuccess added in v1.21.0

func (o *ListServiceAccountsNoContent) IsSuccess() bool

IsSuccess returns true when this list service accounts no content response has a 2xx status code

func (*ListServiceAccountsNoContent) String added in v1.21.0

type ListServiceAccountsNotFound

type ListServiceAccountsNotFound struct {
	Payload interface{}
}
ListServiceAccountsNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewListServiceAccountsNotFound

func NewListServiceAccountsNotFound() *ListServiceAccountsNotFound

NewListServiceAccountsNotFound creates a ListServiceAccountsNotFound with default headers values

func (*ListServiceAccountsNotFound) Code added in v1.22.0

func (o *ListServiceAccountsNotFound) Code() int

Code gets the status code for the list service accounts not found response

func (*ListServiceAccountsNotFound) Error

func (*ListServiceAccountsNotFound) GetPayload

func (o *ListServiceAccountsNotFound) GetPayload() interface{}

func (*ListServiceAccountsNotFound) IsClientError added in v1.21.0

func (o *ListServiceAccountsNotFound) IsClientError() bool

IsClientError returns true when this list service accounts not found response has a 4xx status code

func (*ListServiceAccountsNotFound) IsCode added in v1.21.0

func (o *ListServiceAccountsNotFound) IsCode(code int) bool

IsCode returns true when this list service accounts not found response a status code equal to that given

func (*ListServiceAccountsNotFound) IsRedirect added in v1.21.0

func (o *ListServiceAccountsNotFound) IsRedirect() bool

IsRedirect returns true when this list service accounts not found response has a 3xx status code

func (*ListServiceAccountsNotFound) IsServerError added in v1.21.0

func (o *ListServiceAccountsNotFound) IsServerError() bool

IsServerError returns true when this list service accounts not found response has a 5xx status code

func (*ListServiceAccountsNotFound) IsSuccess added in v1.21.0

func (o *ListServiceAccountsNotFound) IsSuccess() bool

IsSuccess returns true when this list service accounts not found response has a 2xx status code

func (*ListServiceAccountsNotFound) String added in v1.21.0

func (o *ListServiceAccountsNotFound) String() string

type ListServiceAccountsOK

type ListServiceAccountsOK struct {
	Payload *service_model.V1ListServiceAccountsResponse
}
ListServiceAccountsOK describes a response with status code 200, with default header values.

A successful response.

func NewListServiceAccountsOK

func NewListServiceAccountsOK() *ListServiceAccountsOK

NewListServiceAccountsOK creates a ListServiceAccountsOK with default headers values

func (*ListServiceAccountsOK) Code added in v1.22.0

func (o *ListServiceAccountsOK) Code() int

Code gets the status code for the list service accounts o k response

func (*ListServiceAccountsOK) Error

func (o *ListServiceAccountsOK) Error() string

func (*ListServiceAccountsOK) GetPayload

func (*ListServiceAccountsOK) IsClientError added in v1.21.0

func (o *ListServiceAccountsOK) IsClientError() bool

IsClientError returns true when this list service accounts o k response has a 4xx status code

func (*ListServiceAccountsOK) IsCode added in v1.21.0

func (o *ListServiceAccountsOK) IsCode(code int) bool

IsCode returns true when this list service accounts o k response a status code equal to that given

func (*ListServiceAccountsOK) IsRedirect added in v1.21.0

func (o *ListServiceAccountsOK) IsRedirect() bool

IsRedirect returns true when this list service accounts o k response has a 3xx status code

func (*ListServiceAccountsOK) IsServerError added in v1.21.0

func (o *ListServiceAccountsOK) IsServerError() bool

IsServerError returns true when this list service accounts o k response has a 5xx status code

func (*ListServiceAccountsOK) IsSuccess added in v1.21.0

func (o *ListServiceAccountsOK) IsSuccess() bool

IsSuccess returns true when this list service accounts o k response has a 2xx status code

func (*ListServiceAccountsOK) String added in v1.21.0

func (o *ListServiceAccountsOK) String() string

type ListServiceAccountsParams

type ListServiceAccountsParams struct {

	/* Bookmarks.

	   Filter by bookmarks.
	*/
	Bookmarks *bool

	/* Limit.

	   Limit size.

	   Format: int32
	*/
	Limit *int32

	/* Mode.

	   Mode of the search.
	*/
	Mode *string

	/* NoPage.

	   No pagination.
	*/
	NoPage *bool

	/* Offset.

	   Pagination offset.

	   Format: int32
	*/
	Offset *int32

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Query.

	   Query filter the search.
	*/
	Query *string

	/* Sort.

	   Sort to order the search.
	*/
	Sort *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListServiceAccountsParams contains all the parameters to send to the API endpoint

for the list service accounts operation.

Typically these are written to a http.Request.

func NewListServiceAccountsParams

func NewListServiceAccountsParams() *ListServiceAccountsParams

NewListServiceAccountsParams creates a new ListServiceAccountsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListServiceAccountsParamsWithContext

func NewListServiceAccountsParamsWithContext(ctx context.Context) *ListServiceAccountsParams

NewListServiceAccountsParamsWithContext creates a new ListServiceAccountsParams object with the ability to set a context for a request.

func NewListServiceAccountsParamsWithHTTPClient

func NewListServiceAccountsParamsWithHTTPClient(client *http.Client) *ListServiceAccountsParams

NewListServiceAccountsParamsWithHTTPClient creates a new ListServiceAccountsParams object with the ability to set a custom HTTPClient for a request.

func NewListServiceAccountsParamsWithTimeout

func NewListServiceAccountsParamsWithTimeout(timeout time.Duration) *ListServiceAccountsParams

NewListServiceAccountsParamsWithTimeout creates a new ListServiceAccountsParams object with the ability to set a timeout on a request.

func (*ListServiceAccountsParams) SetBookmarks

func (o *ListServiceAccountsParams) SetBookmarks(bookmarks *bool)

SetBookmarks adds the bookmarks to the list service accounts params

func (*ListServiceAccountsParams) SetContext

func (o *ListServiceAccountsParams) SetContext(ctx context.Context)

SetContext adds the context to the list service accounts params

func (*ListServiceAccountsParams) SetDefaults

func (o *ListServiceAccountsParams) SetDefaults()

SetDefaults hydrates default values in the list service accounts params (not the query body).

All values with no default are reset to their zero value.

func (*ListServiceAccountsParams) SetHTTPClient

func (o *ListServiceAccountsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list service accounts params

func (*ListServiceAccountsParams) SetLimit

func (o *ListServiceAccountsParams) SetLimit(limit *int32)

SetLimit adds the limit to the list service accounts params

func (*ListServiceAccountsParams) SetMode

func (o *ListServiceAccountsParams) SetMode(mode *string)

SetMode adds the mode to the list service accounts params

func (*ListServiceAccountsParams) SetNoPage

func (o *ListServiceAccountsParams) SetNoPage(noPage *bool)

SetNoPage adds the noPage to the list service accounts params

func (*ListServiceAccountsParams) SetOffset

func (o *ListServiceAccountsParams) SetOffset(offset *int32)

SetOffset adds the offset to the list service accounts params

func (*ListServiceAccountsParams) SetOwner

func (o *ListServiceAccountsParams) SetOwner(owner string)

SetOwner adds the owner to the list service accounts params

func (*ListServiceAccountsParams) SetQuery

func (o *ListServiceAccountsParams) SetQuery(query *string)

SetQuery adds the query to the list service accounts params

func (*ListServiceAccountsParams) SetSort

func (o *ListServiceAccountsParams) SetSort(sort *string)

SetSort adds the sort to the list service accounts params

func (*ListServiceAccountsParams) SetTimeout

func (o *ListServiceAccountsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list service accounts params

func (*ListServiceAccountsParams) WithBookmarks

func (o *ListServiceAccountsParams) WithBookmarks(bookmarks *bool) *ListServiceAccountsParams

WithBookmarks adds the bookmarks to the list service accounts params

func (*ListServiceAccountsParams) WithContext

WithContext adds the context to the list service accounts params

func (*ListServiceAccountsParams) WithDefaults

WithDefaults hydrates default values in the list service accounts params (not the query body).

All values with no default are reset to their zero value.

func (*ListServiceAccountsParams) WithHTTPClient

func (o *ListServiceAccountsParams) WithHTTPClient(client *http.Client) *ListServiceAccountsParams

WithHTTPClient adds the HTTPClient to the list service accounts params

func (*ListServiceAccountsParams) WithLimit

WithLimit adds the limit to the list service accounts params

func (*ListServiceAccountsParams) WithMode

WithMode adds the mode to the list service accounts params

func (*ListServiceAccountsParams) WithNoPage

WithNoPage adds the noPage to the list service accounts params

func (*ListServiceAccountsParams) WithOffset

WithOffset adds the offset to the list service accounts params

func (*ListServiceAccountsParams) WithOwner

WithOwner adds the owner to the list service accounts params

func (*ListServiceAccountsParams) WithQuery

WithQuery adds the query to the list service accounts params

func (*ListServiceAccountsParams) WithSort

WithSort adds the sort to the list service accounts params

func (*ListServiceAccountsParams) WithTimeout

WithTimeout adds the timeout to the list service accounts params

func (*ListServiceAccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListServiceAccountsReader

type ListServiceAccountsReader struct {
	// contains filtered or unexported fields
}

ListServiceAccountsReader is a Reader for the ListServiceAccounts structure.

func (*ListServiceAccountsReader) ReadResponse

func (o *ListServiceAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchServiceAccountDefault

type PatchServiceAccountDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
PatchServiceAccountDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewPatchServiceAccountDefault

func NewPatchServiceAccountDefault(code int) *PatchServiceAccountDefault

NewPatchServiceAccountDefault creates a PatchServiceAccountDefault with default headers values

func (*PatchServiceAccountDefault) Code

func (o *PatchServiceAccountDefault) Code() int

Code gets the status code for the patch service account default response

func (*PatchServiceAccountDefault) Error

func (*PatchServiceAccountDefault) GetPayload

func (*PatchServiceAccountDefault) IsClientError added in v1.21.0

func (o *PatchServiceAccountDefault) IsClientError() bool

IsClientError returns true when this patch service account default response has a 4xx status code

func (*PatchServiceAccountDefault) IsCode added in v1.21.0

func (o *PatchServiceAccountDefault) IsCode(code int) bool

IsCode returns true when this patch service account default response a status code equal to that given

func (*PatchServiceAccountDefault) IsRedirect added in v1.21.0

func (o *PatchServiceAccountDefault) IsRedirect() bool

IsRedirect returns true when this patch service account default response has a 3xx status code

func (*PatchServiceAccountDefault) IsServerError added in v1.21.0

func (o *PatchServiceAccountDefault) IsServerError() bool

IsServerError returns true when this patch service account default response has a 5xx status code

func (*PatchServiceAccountDefault) IsSuccess added in v1.21.0

func (o *PatchServiceAccountDefault) IsSuccess() bool

IsSuccess returns true when this patch service account default response has a 2xx status code

func (*PatchServiceAccountDefault) String added in v1.21.0

func (o *PatchServiceAccountDefault) String() string

type PatchServiceAccountForbidden

type PatchServiceAccountForbidden struct {
	Payload interface{}
}
PatchServiceAccountForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewPatchServiceAccountForbidden

func NewPatchServiceAccountForbidden() *PatchServiceAccountForbidden

NewPatchServiceAccountForbidden creates a PatchServiceAccountForbidden with default headers values

func (*PatchServiceAccountForbidden) Code added in v1.22.0

Code gets the status code for the patch service account forbidden response

func (*PatchServiceAccountForbidden) Error

func (*PatchServiceAccountForbidden) GetPayload

func (o *PatchServiceAccountForbidden) GetPayload() interface{}

func (*PatchServiceAccountForbidden) IsClientError added in v1.21.0

func (o *PatchServiceAccountForbidden) IsClientError() bool

IsClientError returns true when this patch service account forbidden response has a 4xx status code

func (*PatchServiceAccountForbidden) IsCode added in v1.21.0

func (o *PatchServiceAccountForbidden) IsCode(code int) bool

IsCode returns true when this patch service account forbidden response a status code equal to that given

func (*PatchServiceAccountForbidden) IsRedirect added in v1.21.0

func (o *PatchServiceAccountForbidden) IsRedirect() bool

IsRedirect returns true when this patch service account forbidden response has a 3xx status code

func (*PatchServiceAccountForbidden) IsServerError added in v1.21.0

func (o *PatchServiceAccountForbidden) IsServerError() bool

IsServerError returns true when this patch service account forbidden response has a 5xx status code

func (*PatchServiceAccountForbidden) IsSuccess added in v1.21.0

func (o *PatchServiceAccountForbidden) IsSuccess() bool

IsSuccess returns true when this patch service account forbidden response has a 2xx status code

func (*PatchServiceAccountForbidden) String added in v1.21.0

type PatchServiceAccountNoContent

type PatchServiceAccountNoContent struct {
	Payload interface{}
}
PatchServiceAccountNoContent describes a response with status code 204, with default header values.

No content.

func NewPatchServiceAccountNoContent

func NewPatchServiceAccountNoContent() *PatchServiceAccountNoContent

NewPatchServiceAccountNoContent creates a PatchServiceAccountNoContent with default headers values

func (*PatchServiceAccountNoContent) Code added in v1.22.0

Code gets the status code for the patch service account no content response

func (*PatchServiceAccountNoContent) Error

func (*PatchServiceAccountNoContent) GetPayload

func (o *PatchServiceAccountNoContent) GetPayload() interface{}

func (*PatchServiceAccountNoContent) IsClientError added in v1.21.0

func (o *PatchServiceAccountNoContent) IsClientError() bool

IsClientError returns true when this patch service account no content response has a 4xx status code

func (*PatchServiceAccountNoContent) IsCode added in v1.21.0

func (o *PatchServiceAccountNoContent) IsCode(code int) bool

IsCode returns true when this patch service account no content response a status code equal to that given

func (*PatchServiceAccountNoContent) IsRedirect added in v1.21.0

func (o *PatchServiceAccountNoContent) IsRedirect() bool

IsRedirect returns true when this patch service account no content response has a 3xx status code

func (*PatchServiceAccountNoContent) IsServerError added in v1.21.0

func (o *PatchServiceAccountNoContent) IsServerError() bool

IsServerError returns true when this patch service account no content response has a 5xx status code

func (*PatchServiceAccountNoContent) IsSuccess added in v1.21.0

func (o *PatchServiceAccountNoContent) IsSuccess() bool

IsSuccess returns true when this patch service account no content response has a 2xx status code

func (*PatchServiceAccountNoContent) String added in v1.21.0

type PatchServiceAccountNotFound

type PatchServiceAccountNotFound struct {
	Payload interface{}
}
PatchServiceAccountNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewPatchServiceAccountNotFound

func NewPatchServiceAccountNotFound() *PatchServiceAccountNotFound

NewPatchServiceAccountNotFound creates a PatchServiceAccountNotFound with default headers values

func (*PatchServiceAccountNotFound) Code added in v1.22.0

func (o *PatchServiceAccountNotFound) Code() int

Code gets the status code for the patch service account not found response

func (*PatchServiceAccountNotFound) Error

func (*PatchServiceAccountNotFound) GetPayload

func (o *PatchServiceAccountNotFound) GetPayload() interface{}

func (*PatchServiceAccountNotFound) IsClientError added in v1.21.0

func (o *PatchServiceAccountNotFound) IsClientError() bool

IsClientError returns true when this patch service account not found response has a 4xx status code

func (*PatchServiceAccountNotFound) IsCode added in v1.21.0

func (o *PatchServiceAccountNotFound) IsCode(code int) bool

IsCode returns true when this patch service account not found response a status code equal to that given

func (*PatchServiceAccountNotFound) IsRedirect added in v1.21.0

func (o *PatchServiceAccountNotFound) IsRedirect() bool

IsRedirect returns true when this patch service account not found response has a 3xx status code

func (*PatchServiceAccountNotFound) IsServerError added in v1.21.0

func (o *PatchServiceAccountNotFound) IsServerError() bool

IsServerError returns true when this patch service account not found response has a 5xx status code

func (*PatchServiceAccountNotFound) IsSuccess added in v1.21.0

func (o *PatchServiceAccountNotFound) IsSuccess() bool

IsSuccess returns true when this patch service account not found response has a 2xx status code

func (*PatchServiceAccountNotFound) String added in v1.21.0

func (o *PatchServiceAccountNotFound) String() string

type PatchServiceAccountOK

type PatchServiceAccountOK struct {
	Payload *service_model.V1ServiceAccount
}
PatchServiceAccountOK describes a response with status code 200, with default header values.

A successful response.

func NewPatchServiceAccountOK

func NewPatchServiceAccountOK() *PatchServiceAccountOK

NewPatchServiceAccountOK creates a PatchServiceAccountOK with default headers values

func (*PatchServiceAccountOK) Code added in v1.22.0

func (o *PatchServiceAccountOK) Code() int

Code gets the status code for the patch service account o k response

func (*PatchServiceAccountOK) Error

func (o *PatchServiceAccountOK) Error() string

func (*PatchServiceAccountOK) GetPayload

func (*PatchServiceAccountOK) IsClientError added in v1.21.0

func (o *PatchServiceAccountOK) IsClientError() bool

IsClientError returns true when this patch service account o k response has a 4xx status code

func (*PatchServiceAccountOK) IsCode added in v1.21.0

func (o *PatchServiceAccountOK) IsCode(code int) bool

IsCode returns true when this patch service account o k response a status code equal to that given

func (*PatchServiceAccountOK) IsRedirect added in v1.21.0

func (o *PatchServiceAccountOK) IsRedirect() bool

IsRedirect returns true when this patch service account o k response has a 3xx status code

func (*PatchServiceAccountOK) IsServerError added in v1.21.0

func (o *PatchServiceAccountOK) IsServerError() bool

IsServerError returns true when this patch service account o k response has a 5xx status code

func (*PatchServiceAccountOK) IsSuccess added in v1.21.0

func (o *PatchServiceAccountOK) IsSuccess() bool

IsSuccess returns true when this patch service account o k response has a 2xx status code

func (*PatchServiceAccountOK) String added in v1.21.0

func (o *PatchServiceAccountOK) String() string

type PatchServiceAccountParams

type PatchServiceAccountParams struct {

	/* Body.

	   ServiceAccount body
	*/
	Body *service_model.V1ServiceAccount

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* SaUUID.

	   UUID
	*/
	SaUUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchServiceAccountParams contains all the parameters to send to the API endpoint

for the patch service account operation.

Typically these are written to a http.Request.

func NewPatchServiceAccountParams

func NewPatchServiceAccountParams() *PatchServiceAccountParams

NewPatchServiceAccountParams creates a new PatchServiceAccountParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchServiceAccountParamsWithContext

func NewPatchServiceAccountParamsWithContext(ctx context.Context) *PatchServiceAccountParams

NewPatchServiceAccountParamsWithContext creates a new PatchServiceAccountParams object with the ability to set a context for a request.

func NewPatchServiceAccountParamsWithHTTPClient

func NewPatchServiceAccountParamsWithHTTPClient(client *http.Client) *PatchServiceAccountParams

NewPatchServiceAccountParamsWithHTTPClient creates a new PatchServiceAccountParams object with the ability to set a custom HTTPClient for a request.

func NewPatchServiceAccountParamsWithTimeout

func NewPatchServiceAccountParamsWithTimeout(timeout time.Duration) *PatchServiceAccountParams

NewPatchServiceAccountParamsWithTimeout creates a new PatchServiceAccountParams object with the ability to set a timeout on a request.

func (*PatchServiceAccountParams) SetBody

SetBody adds the body to the patch service account params

func (*PatchServiceAccountParams) SetContext

func (o *PatchServiceAccountParams) SetContext(ctx context.Context)

SetContext adds the context to the patch service account params

func (*PatchServiceAccountParams) SetDefaults

func (o *PatchServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the patch service account params (not the query body).

All values with no default are reset to their zero value.

func (*PatchServiceAccountParams) SetHTTPClient

func (o *PatchServiceAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch service account params

func (*PatchServiceAccountParams) SetOwner

func (o *PatchServiceAccountParams) SetOwner(owner string)

SetOwner adds the owner to the patch service account params

func (*PatchServiceAccountParams) SetSaUUID

func (o *PatchServiceAccountParams) SetSaUUID(saUUID string)

SetSaUUID adds the saUuid to the patch service account params

func (*PatchServiceAccountParams) SetTimeout

func (o *PatchServiceAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch service account params

func (*PatchServiceAccountParams) WithBody

WithBody adds the body to the patch service account params

func (*PatchServiceAccountParams) WithContext

WithContext adds the context to the patch service account params

func (*PatchServiceAccountParams) WithDefaults

WithDefaults hydrates default values in the patch service account params (not the query body).

All values with no default are reset to their zero value.

func (*PatchServiceAccountParams) WithHTTPClient

func (o *PatchServiceAccountParams) WithHTTPClient(client *http.Client) *PatchServiceAccountParams

WithHTTPClient adds the HTTPClient to the patch service account params

func (*PatchServiceAccountParams) WithOwner

WithOwner adds the owner to the patch service account params

func (*PatchServiceAccountParams) WithSaUUID

WithSaUUID adds the saUUID to the patch service account params

func (*PatchServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the patch service account params

func (*PatchServiceAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchServiceAccountReader

type PatchServiceAccountReader struct {
	// contains filtered or unexported fields
}

PatchServiceAccountReader is a Reader for the PatchServiceAccount structure.

func (*PatchServiceAccountReader) ReadResponse

func (o *PatchServiceAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchServiceAccountTokenDefault

type PatchServiceAccountTokenDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
PatchServiceAccountTokenDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewPatchServiceAccountTokenDefault

func NewPatchServiceAccountTokenDefault(code int) *PatchServiceAccountTokenDefault

NewPatchServiceAccountTokenDefault creates a PatchServiceAccountTokenDefault with default headers values

func (*PatchServiceAccountTokenDefault) Code

Code gets the status code for the patch service account token default response

func (*PatchServiceAccountTokenDefault) Error

func (*PatchServiceAccountTokenDefault) GetPayload

func (*PatchServiceAccountTokenDefault) IsClientError added in v1.21.0

func (o *PatchServiceAccountTokenDefault) IsClientError() bool

IsClientError returns true when this patch service account token default response has a 4xx status code

func (*PatchServiceAccountTokenDefault) IsCode added in v1.21.0

func (o *PatchServiceAccountTokenDefault) IsCode(code int) bool

IsCode returns true when this patch service account token default response a status code equal to that given

func (*PatchServiceAccountTokenDefault) IsRedirect added in v1.21.0

func (o *PatchServiceAccountTokenDefault) IsRedirect() bool

IsRedirect returns true when this patch service account token default response has a 3xx status code

func (*PatchServiceAccountTokenDefault) IsServerError added in v1.21.0

func (o *PatchServiceAccountTokenDefault) IsServerError() bool

IsServerError returns true when this patch service account token default response has a 5xx status code

func (*PatchServiceAccountTokenDefault) IsSuccess added in v1.21.0

func (o *PatchServiceAccountTokenDefault) IsSuccess() bool

IsSuccess returns true when this patch service account token default response has a 2xx status code

func (*PatchServiceAccountTokenDefault) String added in v1.21.0

type PatchServiceAccountTokenForbidden

type PatchServiceAccountTokenForbidden struct {
	Payload interface{}
}
PatchServiceAccountTokenForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewPatchServiceAccountTokenForbidden

func NewPatchServiceAccountTokenForbidden() *PatchServiceAccountTokenForbidden

NewPatchServiceAccountTokenForbidden creates a PatchServiceAccountTokenForbidden with default headers values

func (*PatchServiceAccountTokenForbidden) Code added in v1.22.0

Code gets the status code for the patch service account token forbidden response

func (*PatchServiceAccountTokenForbidden) Error

func (*PatchServiceAccountTokenForbidden) GetPayload

func (o *PatchServiceAccountTokenForbidden) GetPayload() interface{}

func (*PatchServiceAccountTokenForbidden) IsClientError added in v1.21.0

func (o *PatchServiceAccountTokenForbidden) IsClientError() bool

IsClientError returns true when this patch service account token forbidden response has a 4xx status code

func (*PatchServiceAccountTokenForbidden) IsCode added in v1.21.0

func (o *PatchServiceAccountTokenForbidden) IsCode(code int) bool

IsCode returns true when this patch service account token forbidden response a status code equal to that given

func (*PatchServiceAccountTokenForbidden) IsRedirect added in v1.21.0

func (o *PatchServiceAccountTokenForbidden) IsRedirect() bool

IsRedirect returns true when this patch service account token forbidden response has a 3xx status code

func (*PatchServiceAccountTokenForbidden) IsServerError added in v1.21.0

func (o *PatchServiceAccountTokenForbidden) IsServerError() bool

IsServerError returns true when this patch service account token forbidden response has a 5xx status code

func (*PatchServiceAccountTokenForbidden) IsSuccess added in v1.21.0

func (o *PatchServiceAccountTokenForbidden) IsSuccess() bool

IsSuccess returns true when this patch service account token forbidden response has a 2xx status code

func (*PatchServiceAccountTokenForbidden) String added in v1.21.0

type PatchServiceAccountTokenNoContent

type PatchServiceAccountTokenNoContent struct {
	Payload interface{}
}
PatchServiceAccountTokenNoContent describes a response with status code 204, with default header values.

No content.

func NewPatchServiceAccountTokenNoContent

func NewPatchServiceAccountTokenNoContent() *PatchServiceAccountTokenNoContent

NewPatchServiceAccountTokenNoContent creates a PatchServiceAccountTokenNoContent with default headers values

func (*PatchServiceAccountTokenNoContent) Code added in v1.22.0

Code gets the status code for the patch service account token no content response

func (*PatchServiceAccountTokenNoContent) Error

func (*PatchServiceAccountTokenNoContent) GetPayload

func (o *PatchServiceAccountTokenNoContent) GetPayload() interface{}

func (*PatchServiceAccountTokenNoContent) IsClientError added in v1.21.0

func (o *PatchServiceAccountTokenNoContent) IsClientError() bool

IsClientError returns true when this patch service account token no content response has a 4xx status code

func (*PatchServiceAccountTokenNoContent) IsCode added in v1.21.0

func (o *PatchServiceAccountTokenNoContent) IsCode(code int) bool

IsCode returns true when this patch service account token no content response a status code equal to that given

func (*PatchServiceAccountTokenNoContent) IsRedirect added in v1.21.0

func (o *PatchServiceAccountTokenNoContent) IsRedirect() bool

IsRedirect returns true when this patch service account token no content response has a 3xx status code

func (*PatchServiceAccountTokenNoContent) IsServerError added in v1.21.0

func (o *PatchServiceAccountTokenNoContent) IsServerError() bool

IsServerError returns true when this patch service account token no content response has a 5xx status code

func (*PatchServiceAccountTokenNoContent) IsSuccess added in v1.21.0

func (o *PatchServiceAccountTokenNoContent) IsSuccess() bool

IsSuccess returns true when this patch service account token no content response has a 2xx status code

func (*PatchServiceAccountTokenNoContent) String added in v1.21.0

type PatchServiceAccountTokenNotFound

type PatchServiceAccountTokenNotFound struct {
	Payload interface{}
}
PatchServiceAccountTokenNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewPatchServiceAccountTokenNotFound

func NewPatchServiceAccountTokenNotFound() *PatchServiceAccountTokenNotFound

NewPatchServiceAccountTokenNotFound creates a PatchServiceAccountTokenNotFound with default headers values

func (*PatchServiceAccountTokenNotFound) Code added in v1.22.0

Code gets the status code for the patch service account token not found response

func (*PatchServiceAccountTokenNotFound) Error

func (*PatchServiceAccountTokenNotFound) GetPayload

func (o *PatchServiceAccountTokenNotFound) GetPayload() interface{}

func (*PatchServiceAccountTokenNotFound) IsClientError added in v1.21.0

func (o *PatchServiceAccountTokenNotFound) IsClientError() bool

IsClientError returns true when this patch service account token not found response has a 4xx status code

func (*PatchServiceAccountTokenNotFound) IsCode added in v1.21.0

func (o *PatchServiceAccountTokenNotFound) IsCode(code int) bool

IsCode returns true when this patch service account token not found response a status code equal to that given

func (*PatchServiceAccountTokenNotFound) IsRedirect added in v1.21.0

func (o *PatchServiceAccountTokenNotFound) IsRedirect() bool

IsRedirect returns true when this patch service account token not found response has a 3xx status code

func (*PatchServiceAccountTokenNotFound) IsServerError added in v1.21.0

func (o *PatchServiceAccountTokenNotFound) IsServerError() bool

IsServerError returns true when this patch service account token not found response has a 5xx status code

func (*PatchServiceAccountTokenNotFound) IsSuccess added in v1.21.0

func (o *PatchServiceAccountTokenNotFound) IsSuccess() bool

IsSuccess returns true when this patch service account token not found response has a 2xx status code

func (*PatchServiceAccountTokenNotFound) String added in v1.21.0

type PatchServiceAccountTokenOK

type PatchServiceAccountTokenOK struct {
	Payload *service_model.V1Token
}
PatchServiceAccountTokenOK describes a response with status code 200, with default header values.

A successful response.

func NewPatchServiceAccountTokenOK

func NewPatchServiceAccountTokenOK() *PatchServiceAccountTokenOK

NewPatchServiceAccountTokenOK creates a PatchServiceAccountTokenOK with default headers values

func (*PatchServiceAccountTokenOK) Code added in v1.22.0

func (o *PatchServiceAccountTokenOK) Code() int

Code gets the status code for the patch service account token o k response

func (*PatchServiceAccountTokenOK) Error

func (*PatchServiceAccountTokenOK) GetPayload

func (*PatchServiceAccountTokenOK) IsClientError added in v1.21.0

func (o *PatchServiceAccountTokenOK) IsClientError() bool

IsClientError returns true when this patch service account token o k response has a 4xx status code

func (*PatchServiceAccountTokenOK) IsCode added in v1.21.0

func (o *PatchServiceAccountTokenOK) IsCode(code int) bool

IsCode returns true when this patch service account token o k response a status code equal to that given

func (*PatchServiceAccountTokenOK) IsRedirect added in v1.21.0

func (o *PatchServiceAccountTokenOK) IsRedirect() bool

IsRedirect returns true when this patch service account token o k response has a 3xx status code

func (*PatchServiceAccountTokenOK) IsServerError added in v1.21.0

func (o *PatchServiceAccountTokenOK) IsServerError() bool

IsServerError returns true when this patch service account token o k response has a 5xx status code

func (*PatchServiceAccountTokenOK) IsSuccess added in v1.21.0

func (o *PatchServiceAccountTokenOK) IsSuccess() bool

IsSuccess returns true when this patch service account token o k response has a 2xx status code

func (*PatchServiceAccountTokenOK) String added in v1.21.0

func (o *PatchServiceAccountTokenOK) String() string

type PatchServiceAccountTokenParams

type PatchServiceAccountTokenParams struct {

	/* Body.

	   Token body
	*/
	Body *service_model.V1Token

	/* Entity.

	   Rntity
	*/
	Entity string

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* TokenUUID.

	   UUID
	*/
	TokenUUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchServiceAccountTokenParams contains all the parameters to send to the API endpoint

for the patch service account token operation.

Typically these are written to a http.Request.

func NewPatchServiceAccountTokenParams

func NewPatchServiceAccountTokenParams() *PatchServiceAccountTokenParams

NewPatchServiceAccountTokenParams creates a new PatchServiceAccountTokenParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchServiceAccountTokenParamsWithContext

func NewPatchServiceAccountTokenParamsWithContext(ctx context.Context) *PatchServiceAccountTokenParams

NewPatchServiceAccountTokenParamsWithContext creates a new PatchServiceAccountTokenParams object with the ability to set a context for a request.

func NewPatchServiceAccountTokenParamsWithHTTPClient

func NewPatchServiceAccountTokenParamsWithHTTPClient(client *http.Client) *PatchServiceAccountTokenParams

NewPatchServiceAccountTokenParamsWithHTTPClient creates a new PatchServiceAccountTokenParams object with the ability to set a custom HTTPClient for a request.

func NewPatchServiceAccountTokenParamsWithTimeout

func NewPatchServiceAccountTokenParamsWithTimeout(timeout time.Duration) *PatchServiceAccountTokenParams

NewPatchServiceAccountTokenParamsWithTimeout creates a new PatchServiceAccountTokenParams object with the ability to set a timeout on a request.

func (*PatchServiceAccountTokenParams) SetBody

SetBody adds the body to the patch service account token params

func (*PatchServiceAccountTokenParams) SetContext

func (o *PatchServiceAccountTokenParams) SetContext(ctx context.Context)

SetContext adds the context to the patch service account token params

func (*PatchServiceAccountTokenParams) SetDefaults

func (o *PatchServiceAccountTokenParams) SetDefaults()

SetDefaults hydrates default values in the patch service account token params (not the query body).

All values with no default are reset to their zero value.

func (*PatchServiceAccountTokenParams) SetEntity

func (o *PatchServiceAccountTokenParams) SetEntity(entity string)

SetEntity adds the entity to the patch service account token params

func (*PatchServiceAccountTokenParams) SetHTTPClient

func (o *PatchServiceAccountTokenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch service account token params

func (*PatchServiceAccountTokenParams) SetOwner

func (o *PatchServiceAccountTokenParams) SetOwner(owner string)

SetOwner adds the owner to the patch service account token params

func (*PatchServiceAccountTokenParams) SetTimeout

func (o *PatchServiceAccountTokenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch service account token params

func (*PatchServiceAccountTokenParams) SetTokenUUID

func (o *PatchServiceAccountTokenParams) SetTokenUUID(tokenUUID string)

SetTokenUUID adds the tokenUuid to the patch service account token params

func (*PatchServiceAccountTokenParams) WithBody

WithBody adds the body to the patch service account token params

func (*PatchServiceAccountTokenParams) WithContext

WithContext adds the context to the patch service account token params

func (*PatchServiceAccountTokenParams) WithDefaults

WithDefaults hydrates default values in the patch service account token params (not the query body).

All values with no default are reset to their zero value.

func (*PatchServiceAccountTokenParams) WithEntity

WithEntity adds the entity to the patch service account token params

func (*PatchServiceAccountTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch service account token params

func (*PatchServiceAccountTokenParams) WithOwner

WithOwner adds the owner to the patch service account token params

func (*PatchServiceAccountTokenParams) WithTimeout

WithTimeout adds the timeout to the patch service account token params

func (*PatchServiceAccountTokenParams) WithTokenUUID

WithTokenUUID adds the tokenUUID to the patch service account token params

func (*PatchServiceAccountTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchServiceAccountTokenReader

type PatchServiceAccountTokenReader struct {
	// contains filtered or unexported fields
}

PatchServiceAccountTokenReader is a Reader for the PatchServiceAccountToken structure.

func (*PatchServiceAccountTokenReader) ReadResponse

func (o *PatchServiceAccountTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateServiceAccountDefault

type UpdateServiceAccountDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
UpdateServiceAccountDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewUpdateServiceAccountDefault

func NewUpdateServiceAccountDefault(code int) *UpdateServiceAccountDefault

NewUpdateServiceAccountDefault creates a UpdateServiceAccountDefault with default headers values

func (*UpdateServiceAccountDefault) Code

func (o *UpdateServiceAccountDefault) Code() int

Code gets the status code for the update service account default response

func (*UpdateServiceAccountDefault) Error

func (*UpdateServiceAccountDefault) GetPayload

func (*UpdateServiceAccountDefault) IsClientError added in v1.21.0

func (o *UpdateServiceAccountDefault) IsClientError() bool

IsClientError returns true when this update service account default response has a 4xx status code

func (*UpdateServiceAccountDefault) IsCode added in v1.21.0

func (o *UpdateServiceAccountDefault) IsCode(code int) bool

IsCode returns true when this update service account default response a status code equal to that given

func (*UpdateServiceAccountDefault) IsRedirect added in v1.21.0

func (o *UpdateServiceAccountDefault) IsRedirect() bool

IsRedirect returns true when this update service account default response has a 3xx status code

func (*UpdateServiceAccountDefault) IsServerError added in v1.21.0

func (o *UpdateServiceAccountDefault) IsServerError() bool

IsServerError returns true when this update service account default response has a 5xx status code

func (*UpdateServiceAccountDefault) IsSuccess added in v1.21.0

func (o *UpdateServiceAccountDefault) IsSuccess() bool

IsSuccess returns true when this update service account default response has a 2xx status code

func (*UpdateServiceAccountDefault) String added in v1.21.0

func (o *UpdateServiceAccountDefault) String() string

type UpdateServiceAccountForbidden

type UpdateServiceAccountForbidden struct {
	Payload interface{}
}
UpdateServiceAccountForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewUpdateServiceAccountForbidden

func NewUpdateServiceAccountForbidden() *UpdateServiceAccountForbidden

NewUpdateServiceAccountForbidden creates a UpdateServiceAccountForbidden with default headers values

func (*UpdateServiceAccountForbidden) Code added in v1.22.0

Code gets the status code for the update service account forbidden response

func (*UpdateServiceAccountForbidden) Error

func (*UpdateServiceAccountForbidden) GetPayload

func (o *UpdateServiceAccountForbidden) GetPayload() interface{}

func (*UpdateServiceAccountForbidden) IsClientError added in v1.21.0

func (o *UpdateServiceAccountForbidden) IsClientError() bool

IsClientError returns true when this update service account forbidden response has a 4xx status code

func (*UpdateServiceAccountForbidden) IsCode added in v1.21.0

func (o *UpdateServiceAccountForbidden) IsCode(code int) bool

IsCode returns true when this update service account forbidden response a status code equal to that given

func (*UpdateServiceAccountForbidden) IsRedirect added in v1.21.0

func (o *UpdateServiceAccountForbidden) IsRedirect() bool

IsRedirect returns true when this update service account forbidden response has a 3xx status code

func (*UpdateServiceAccountForbidden) IsServerError added in v1.21.0

func (o *UpdateServiceAccountForbidden) IsServerError() bool

IsServerError returns true when this update service account forbidden response has a 5xx status code

func (*UpdateServiceAccountForbidden) IsSuccess added in v1.21.0

func (o *UpdateServiceAccountForbidden) IsSuccess() bool

IsSuccess returns true when this update service account forbidden response has a 2xx status code

func (*UpdateServiceAccountForbidden) String added in v1.21.0

type UpdateServiceAccountNoContent

type UpdateServiceAccountNoContent struct {
	Payload interface{}
}
UpdateServiceAccountNoContent describes a response with status code 204, with default header values.

No content.

func NewUpdateServiceAccountNoContent

func NewUpdateServiceAccountNoContent() *UpdateServiceAccountNoContent

NewUpdateServiceAccountNoContent creates a UpdateServiceAccountNoContent with default headers values

func (*UpdateServiceAccountNoContent) Code added in v1.22.0

Code gets the status code for the update service account no content response

func (*UpdateServiceAccountNoContent) Error

func (*UpdateServiceAccountNoContent) GetPayload

func (o *UpdateServiceAccountNoContent) GetPayload() interface{}

func (*UpdateServiceAccountNoContent) IsClientError added in v1.21.0

func (o *UpdateServiceAccountNoContent) IsClientError() bool

IsClientError returns true when this update service account no content response has a 4xx status code

func (*UpdateServiceAccountNoContent) IsCode added in v1.21.0

func (o *UpdateServiceAccountNoContent) IsCode(code int) bool

IsCode returns true when this update service account no content response a status code equal to that given

func (*UpdateServiceAccountNoContent) IsRedirect added in v1.21.0

func (o *UpdateServiceAccountNoContent) IsRedirect() bool

IsRedirect returns true when this update service account no content response has a 3xx status code

func (*UpdateServiceAccountNoContent) IsServerError added in v1.21.0

func (o *UpdateServiceAccountNoContent) IsServerError() bool

IsServerError returns true when this update service account no content response has a 5xx status code

func (*UpdateServiceAccountNoContent) IsSuccess added in v1.21.0

func (o *UpdateServiceAccountNoContent) IsSuccess() bool

IsSuccess returns true when this update service account no content response has a 2xx status code

func (*UpdateServiceAccountNoContent) String added in v1.21.0

type UpdateServiceAccountNotFound

type UpdateServiceAccountNotFound struct {
	Payload interface{}
}
UpdateServiceAccountNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewUpdateServiceAccountNotFound

func NewUpdateServiceAccountNotFound() *UpdateServiceAccountNotFound

NewUpdateServiceAccountNotFound creates a UpdateServiceAccountNotFound with default headers values

func (*UpdateServiceAccountNotFound) Code added in v1.22.0

Code gets the status code for the update service account not found response

func (*UpdateServiceAccountNotFound) Error

func (*UpdateServiceAccountNotFound) GetPayload

func (o *UpdateServiceAccountNotFound) GetPayload() interface{}

func (*UpdateServiceAccountNotFound) IsClientError added in v1.21.0

func (o *UpdateServiceAccountNotFound) IsClientError() bool

IsClientError returns true when this update service account not found response has a 4xx status code

func (*UpdateServiceAccountNotFound) IsCode added in v1.21.0

func (o *UpdateServiceAccountNotFound) IsCode(code int) bool

IsCode returns true when this update service account not found response a status code equal to that given

func (*UpdateServiceAccountNotFound) IsRedirect added in v1.21.0

func (o *UpdateServiceAccountNotFound) IsRedirect() bool

IsRedirect returns true when this update service account not found response has a 3xx status code

func (*UpdateServiceAccountNotFound) IsServerError added in v1.21.0

func (o *UpdateServiceAccountNotFound) IsServerError() bool

IsServerError returns true when this update service account not found response has a 5xx status code

func (*UpdateServiceAccountNotFound) IsSuccess added in v1.21.0

func (o *UpdateServiceAccountNotFound) IsSuccess() bool

IsSuccess returns true when this update service account not found response has a 2xx status code

func (*UpdateServiceAccountNotFound) String added in v1.21.0

type UpdateServiceAccountOK

type UpdateServiceAccountOK struct {
	Payload *service_model.V1ServiceAccount
}
UpdateServiceAccountOK describes a response with status code 200, with default header values.

A successful response.

func NewUpdateServiceAccountOK

func NewUpdateServiceAccountOK() *UpdateServiceAccountOK

NewUpdateServiceAccountOK creates a UpdateServiceAccountOK with default headers values

func (*UpdateServiceAccountOK) Code added in v1.22.0

func (o *UpdateServiceAccountOK) Code() int

Code gets the status code for the update service account o k response

func (*UpdateServiceAccountOK) Error

func (o *UpdateServiceAccountOK) Error() string

func (*UpdateServiceAccountOK) GetPayload

func (*UpdateServiceAccountOK) IsClientError added in v1.21.0

func (o *UpdateServiceAccountOK) IsClientError() bool

IsClientError returns true when this update service account o k response has a 4xx status code

func (*UpdateServiceAccountOK) IsCode added in v1.21.0

func (o *UpdateServiceAccountOK) IsCode(code int) bool

IsCode returns true when this update service account o k response a status code equal to that given

func (*UpdateServiceAccountOK) IsRedirect added in v1.21.0

func (o *UpdateServiceAccountOK) IsRedirect() bool

IsRedirect returns true when this update service account o k response has a 3xx status code

func (*UpdateServiceAccountOK) IsServerError added in v1.21.0

func (o *UpdateServiceAccountOK) IsServerError() bool

IsServerError returns true when this update service account o k response has a 5xx status code

func (*UpdateServiceAccountOK) IsSuccess added in v1.21.0

func (o *UpdateServiceAccountOK) IsSuccess() bool

IsSuccess returns true when this update service account o k response has a 2xx status code

func (*UpdateServiceAccountOK) String added in v1.21.0

func (o *UpdateServiceAccountOK) String() string

type UpdateServiceAccountParams

type UpdateServiceAccountParams struct {

	/* Body.

	   ServiceAccount body
	*/
	Body *service_model.V1ServiceAccount

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* SaUUID.

	   UUID
	*/
	SaUUID 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 timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateServiceAccountParamsWithContext

func NewUpdateServiceAccountParamsWithContext(ctx context.Context) *UpdateServiceAccountParams

NewUpdateServiceAccountParamsWithContext creates a new UpdateServiceAccountParams object with 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 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 ability to set a timeout on a request.

func (*UpdateServiceAccountParams) SetBody

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

func (o *UpdateServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the update service account params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateServiceAccountParams) SetHTTPClient

func (o *UpdateServiceAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update service account params

func (*UpdateServiceAccountParams) SetOwner

func (o *UpdateServiceAccountParams) SetOwner(owner string)

SetOwner adds the owner to the update service account params

func (*UpdateServiceAccountParams) SetSaUUID

func (o *UpdateServiceAccountParams) SetSaUUID(saUUID string)

SetSaUUID adds the saUuid 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) WithDefaults

WithDefaults hydrates default values in the update service account params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateServiceAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update service account params

func (*UpdateServiceAccountParams) WithOwner

WithOwner adds the owner to the update service account params

func (*UpdateServiceAccountParams) WithSaUUID

WithSaUUID adds the saUUID 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.

type UpdateServiceAccountTokenDefault

type UpdateServiceAccountTokenDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
UpdateServiceAccountTokenDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewUpdateServiceAccountTokenDefault

func NewUpdateServiceAccountTokenDefault(code int) *UpdateServiceAccountTokenDefault

NewUpdateServiceAccountTokenDefault creates a UpdateServiceAccountTokenDefault with default headers values

func (*UpdateServiceAccountTokenDefault) Code

Code gets the status code for the update service account token default response

func (*UpdateServiceAccountTokenDefault) Error

func (*UpdateServiceAccountTokenDefault) GetPayload

func (*UpdateServiceAccountTokenDefault) IsClientError added in v1.21.0

func (o *UpdateServiceAccountTokenDefault) IsClientError() bool

IsClientError returns true when this update service account token default response has a 4xx status code

func (*UpdateServiceAccountTokenDefault) IsCode added in v1.21.0

func (o *UpdateServiceAccountTokenDefault) IsCode(code int) bool

IsCode returns true when this update service account token default response a status code equal to that given

func (*UpdateServiceAccountTokenDefault) IsRedirect added in v1.21.0

func (o *UpdateServiceAccountTokenDefault) IsRedirect() bool

IsRedirect returns true when this update service account token default response has a 3xx status code

func (*UpdateServiceAccountTokenDefault) IsServerError added in v1.21.0

func (o *UpdateServiceAccountTokenDefault) IsServerError() bool

IsServerError returns true when this update service account token default response has a 5xx status code

func (*UpdateServiceAccountTokenDefault) IsSuccess added in v1.21.0

func (o *UpdateServiceAccountTokenDefault) IsSuccess() bool

IsSuccess returns true when this update service account token default response has a 2xx status code

func (*UpdateServiceAccountTokenDefault) String added in v1.21.0

type UpdateServiceAccountTokenForbidden

type UpdateServiceAccountTokenForbidden struct {
	Payload interface{}
}
UpdateServiceAccountTokenForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewUpdateServiceAccountTokenForbidden

func NewUpdateServiceAccountTokenForbidden() *UpdateServiceAccountTokenForbidden

NewUpdateServiceAccountTokenForbidden creates a UpdateServiceAccountTokenForbidden with default headers values

func (*UpdateServiceAccountTokenForbidden) Code added in v1.22.0

Code gets the status code for the update service account token forbidden response

func (*UpdateServiceAccountTokenForbidden) Error

func (*UpdateServiceAccountTokenForbidden) GetPayload

func (o *UpdateServiceAccountTokenForbidden) GetPayload() interface{}

func (*UpdateServiceAccountTokenForbidden) IsClientError added in v1.21.0

func (o *UpdateServiceAccountTokenForbidden) IsClientError() bool

IsClientError returns true when this update service account token forbidden response has a 4xx status code

func (*UpdateServiceAccountTokenForbidden) IsCode added in v1.21.0

IsCode returns true when this update service account token forbidden response a status code equal to that given

func (*UpdateServiceAccountTokenForbidden) IsRedirect added in v1.21.0

func (o *UpdateServiceAccountTokenForbidden) IsRedirect() bool

IsRedirect returns true when this update service account token forbidden response has a 3xx status code

func (*UpdateServiceAccountTokenForbidden) IsServerError added in v1.21.0

func (o *UpdateServiceAccountTokenForbidden) IsServerError() bool

IsServerError returns true when this update service account token forbidden response has a 5xx status code

func (*UpdateServiceAccountTokenForbidden) IsSuccess added in v1.21.0

IsSuccess returns true when this update service account token forbidden response has a 2xx status code

func (*UpdateServiceAccountTokenForbidden) String added in v1.21.0

type UpdateServiceAccountTokenNoContent

type UpdateServiceAccountTokenNoContent struct {
	Payload interface{}
}
UpdateServiceAccountTokenNoContent describes a response with status code 204, with default header values.

No content.

func NewUpdateServiceAccountTokenNoContent

func NewUpdateServiceAccountTokenNoContent() *UpdateServiceAccountTokenNoContent

NewUpdateServiceAccountTokenNoContent creates a UpdateServiceAccountTokenNoContent with default headers values

func (*UpdateServiceAccountTokenNoContent) Code added in v1.22.0

Code gets the status code for the update service account token no content response

func (*UpdateServiceAccountTokenNoContent) Error

func (*UpdateServiceAccountTokenNoContent) GetPayload

func (o *UpdateServiceAccountTokenNoContent) GetPayload() interface{}

func (*UpdateServiceAccountTokenNoContent) IsClientError added in v1.21.0

func (o *UpdateServiceAccountTokenNoContent) IsClientError() bool

IsClientError returns true when this update service account token no content response has a 4xx status code

func (*UpdateServiceAccountTokenNoContent) IsCode added in v1.21.0

IsCode returns true when this update service account token no content response a status code equal to that given

func (*UpdateServiceAccountTokenNoContent) IsRedirect added in v1.21.0

func (o *UpdateServiceAccountTokenNoContent) IsRedirect() bool

IsRedirect returns true when this update service account token no content response has a 3xx status code

func (*UpdateServiceAccountTokenNoContent) IsServerError added in v1.21.0

func (o *UpdateServiceAccountTokenNoContent) IsServerError() bool

IsServerError returns true when this update service account token no content response has a 5xx status code

func (*UpdateServiceAccountTokenNoContent) IsSuccess added in v1.21.0

IsSuccess returns true when this update service account token no content response has a 2xx status code

func (*UpdateServiceAccountTokenNoContent) String added in v1.21.0

type UpdateServiceAccountTokenNotFound

type UpdateServiceAccountTokenNotFound struct {
	Payload interface{}
}
UpdateServiceAccountTokenNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewUpdateServiceAccountTokenNotFound

func NewUpdateServiceAccountTokenNotFound() *UpdateServiceAccountTokenNotFound

NewUpdateServiceAccountTokenNotFound creates a UpdateServiceAccountTokenNotFound with default headers values

func (*UpdateServiceAccountTokenNotFound) Code added in v1.22.0

Code gets the status code for the update service account token not found response

func (*UpdateServiceAccountTokenNotFound) Error

func (*UpdateServiceAccountTokenNotFound) GetPayload

func (o *UpdateServiceAccountTokenNotFound) GetPayload() interface{}

func (*UpdateServiceAccountTokenNotFound) IsClientError added in v1.21.0

func (o *UpdateServiceAccountTokenNotFound) IsClientError() bool

IsClientError returns true when this update service account token not found response has a 4xx status code

func (*UpdateServiceAccountTokenNotFound) IsCode added in v1.21.0

func (o *UpdateServiceAccountTokenNotFound) IsCode(code int) bool

IsCode returns true when this update service account token not found response a status code equal to that given

func (*UpdateServiceAccountTokenNotFound) IsRedirect added in v1.21.0

func (o *UpdateServiceAccountTokenNotFound) IsRedirect() bool

IsRedirect returns true when this update service account token not found response has a 3xx status code

func (*UpdateServiceAccountTokenNotFound) IsServerError added in v1.21.0

func (o *UpdateServiceAccountTokenNotFound) IsServerError() bool

IsServerError returns true when this update service account token not found response has a 5xx status code

func (*UpdateServiceAccountTokenNotFound) IsSuccess added in v1.21.0

func (o *UpdateServiceAccountTokenNotFound) IsSuccess() bool

IsSuccess returns true when this update service account token not found response has a 2xx status code

func (*UpdateServiceAccountTokenNotFound) String added in v1.21.0

type UpdateServiceAccountTokenOK

type UpdateServiceAccountTokenOK struct {
	Payload *service_model.V1Token
}
UpdateServiceAccountTokenOK describes a response with status code 200, with default header values.

A successful response.

func NewUpdateServiceAccountTokenOK

func NewUpdateServiceAccountTokenOK() *UpdateServiceAccountTokenOK

NewUpdateServiceAccountTokenOK creates a UpdateServiceAccountTokenOK with default headers values

func (*UpdateServiceAccountTokenOK) Code added in v1.22.0

func (o *UpdateServiceAccountTokenOK) Code() int

Code gets the status code for the update service account token o k response

func (*UpdateServiceAccountTokenOK) Error

func (*UpdateServiceAccountTokenOK) GetPayload

func (*UpdateServiceAccountTokenOK) IsClientError added in v1.21.0

func (o *UpdateServiceAccountTokenOK) IsClientError() bool

IsClientError returns true when this update service account token o k response has a 4xx status code

func (*UpdateServiceAccountTokenOK) IsCode added in v1.21.0

func (o *UpdateServiceAccountTokenOK) IsCode(code int) bool

IsCode returns true when this update service account token o k response a status code equal to that given

func (*UpdateServiceAccountTokenOK) IsRedirect added in v1.21.0

func (o *UpdateServiceAccountTokenOK) IsRedirect() bool

IsRedirect returns true when this update service account token o k response has a 3xx status code

func (*UpdateServiceAccountTokenOK) IsServerError added in v1.21.0

func (o *UpdateServiceAccountTokenOK) IsServerError() bool

IsServerError returns true when this update service account token o k response has a 5xx status code

func (*UpdateServiceAccountTokenOK) IsSuccess added in v1.21.0

func (o *UpdateServiceAccountTokenOK) IsSuccess() bool

IsSuccess returns true when this update service account token o k response has a 2xx status code

func (*UpdateServiceAccountTokenOK) String added in v1.21.0

func (o *UpdateServiceAccountTokenOK) String() string

type UpdateServiceAccountTokenParams

type UpdateServiceAccountTokenParams struct {

	/* Body.

	   Token body
	*/
	Body *service_model.V1Token

	/* Entity.

	   Rntity
	*/
	Entity string

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* TokenUUID.

	   UUID
	*/
	TokenUUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateServiceAccountTokenParams contains all the parameters to send to the API endpoint

for the update service account token operation.

Typically these are written to a http.Request.

func NewUpdateServiceAccountTokenParams

func NewUpdateServiceAccountTokenParams() *UpdateServiceAccountTokenParams

NewUpdateServiceAccountTokenParams creates a new UpdateServiceAccountTokenParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateServiceAccountTokenParamsWithContext

func NewUpdateServiceAccountTokenParamsWithContext(ctx context.Context) *UpdateServiceAccountTokenParams

NewUpdateServiceAccountTokenParamsWithContext creates a new UpdateServiceAccountTokenParams object with the ability to set a context for a request.

func NewUpdateServiceAccountTokenParamsWithHTTPClient

func NewUpdateServiceAccountTokenParamsWithHTTPClient(client *http.Client) *UpdateServiceAccountTokenParams

NewUpdateServiceAccountTokenParamsWithHTTPClient creates a new UpdateServiceAccountTokenParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateServiceAccountTokenParamsWithTimeout

func NewUpdateServiceAccountTokenParamsWithTimeout(timeout time.Duration) *UpdateServiceAccountTokenParams

NewUpdateServiceAccountTokenParamsWithTimeout creates a new UpdateServiceAccountTokenParams object with the ability to set a timeout on a request.

func (*UpdateServiceAccountTokenParams) SetBody

SetBody adds the body to the update service account token params

func (*UpdateServiceAccountTokenParams) SetContext

func (o *UpdateServiceAccountTokenParams) SetContext(ctx context.Context)

SetContext adds the context to the update service account token params

func (*UpdateServiceAccountTokenParams) SetDefaults

func (o *UpdateServiceAccountTokenParams) SetDefaults()

SetDefaults hydrates default values in the update service account token params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateServiceAccountTokenParams) SetEntity

func (o *UpdateServiceAccountTokenParams) SetEntity(entity string)

SetEntity adds the entity to the update service account token params

func (*UpdateServiceAccountTokenParams) SetHTTPClient

func (o *UpdateServiceAccountTokenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update service account token params

func (*UpdateServiceAccountTokenParams) SetOwner

func (o *UpdateServiceAccountTokenParams) SetOwner(owner string)

SetOwner adds the owner to the update service account token params

func (*UpdateServiceAccountTokenParams) SetTimeout

func (o *UpdateServiceAccountTokenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update service account token params

func (*UpdateServiceAccountTokenParams) SetTokenUUID

func (o *UpdateServiceAccountTokenParams) SetTokenUUID(tokenUUID string)

SetTokenUUID adds the tokenUuid to the update service account token params

func (*UpdateServiceAccountTokenParams) WithBody

WithBody adds the body to the update service account token params

func (*UpdateServiceAccountTokenParams) WithContext

WithContext adds the context to the update service account token params

func (*UpdateServiceAccountTokenParams) WithDefaults

WithDefaults hydrates default values in the update service account token params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateServiceAccountTokenParams) WithEntity

WithEntity adds the entity to the update service account token params

func (*UpdateServiceAccountTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update service account token params

func (*UpdateServiceAccountTokenParams) WithOwner

WithOwner adds the owner to the update service account token params

func (*UpdateServiceAccountTokenParams) WithTimeout

WithTimeout adds the timeout to the update service account token params

func (*UpdateServiceAccountTokenParams) WithTokenUUID

WithTokenUUID adds the tokenUUID to the update service account token params

func (*UpdateServiceAccountTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateServiceAccountTokenReader

type UpdateServiceAccountTokenReader struct {
	// contains filtered or unexported fields
}

UpdateServiceAccountTokenReader is a Reader for the UpdateServiceAccountToken structure.

func (*UpdateServiceAccountTokenReader) ReadResponse

func (o *UpdateServiceAccountTokenReader) 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