Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateServiceAccount(params *CreateServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateServiceAccountOK, *CreateServiceAccountNoContent, error)
- func (a *Client) CreateServiceAccountToken(params *CreateServiceAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateServiceAccountTokenOK, *CreateServiceAccountTokenNoContent, error)
- func (a *Client) DeleteServiceAccount(params *DeleteServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteServiceAccountOK, *DeleteServiceAccountNoContent, error)
- func (a *Client) DeleteServiceAccountToken(params *DeleteServiceAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteServiceAccountTokenOK, *DeleteServiceAccountTokenNoContent, error)
- func (a *Client) GetServiceAccount(params *GetServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetServiceAccountOK, *GetServiceAccountNoContent, error)
- func (a *Client) GetServiceAccountToken(params *GetServiceAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetServiceAccountTokenOK, *GetServiceAccountTokenNoContent, error)
- func (a *Client) ListServiceAccountNames(params *ListServiceAccountNamesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListServiceAccountNamesOK, *ListServiceAccountNamesNoContent, error)
- func (a *Client) ListServiceAccountTokens(params *ListServiceAccountTokensParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListServiceAccountTokensOK, *ListServiceAccountTokensNoContent, error)
- func (a *Client) ListServiceAccounts(params *ListServiceAccountsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListServiceAccountsOK, *ListServiceAccountsNoContent, error)
- func (a *Client) PatchServiceAccount(params *PatchServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchServiceAccountOK, *PatchServiceAccountNoContent, error)
- func (a *Client) PatchServiceAccountToken(params *PatchServiceAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchServiceAccountTokenOK, *PatchServiceAccountTokenNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateServiceAccount(params *UpdateServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateServiceAccountOK, *UpdateServiceAccountNoContent, error)
- func (a *Client) UpdateServiceAccountToken(params *UpdateServiceAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateServiceAccountTokenOK, *UpdateServiceAccountTokenNoContent, error)
- type ClientOption
- type ClientService
- type CreateServiceAccountDefault
- func (o *CreateServiceAccountDefault) Code() int
- func (o *CreateServiceAccountDefault) Error() string
- func (o *CreateServiceAccountDefault) GetPayload() *service_model.RuntimeError
- func (o *CreateServiceAccountDefault) IsClientError() bool
- func (o *CreateServiceAccountDefault) IsCode(code int) bool
- func (o *CreateServiceAccountDefault) IsRedirect() bool
- func (o *CreateServiceAccountDefault) IsServerError() bool
- func (o *CreateServiceAccountDefault) IsSuccess() bool
- func (o *CreateServiceAccountDefault) String() string
- type CreateServiceAccountForbidden
- func (o *CreateServiceAccountForbidden) Code() int
- func (o *CreateServiceAccountForbidden) Error() string
- func (o *CreateServiceAccountForbidden) GetPayload() interface{}
- func (o *CreateServiceAccountForbidden) IsClientError() bool
- func (o *CreateServiceAccountForbidden) IsCode(code int) bool
- func (o *CreateServiceAccountForbidden) IsRedirect() bool
- func (o *CreateServiceAccountForbidden) IsServerError() bool
- func (o *CreateServiceAccountForbidden) IsSuccess() bool
- func (o *CreateServiceAccountForbidden) String() string
- type CreateServiceAccountNoContent
- func (o *CreateServiceAccountNoContent) Code() int
- func (o *CreateServiceAccountNoContent) Error() string
- func (o *CreateServiceAccountNoContent) GetPayload() interface{}
- func (o *CreateServiceAccountNoContent) IsClientError() bool
- func (o *CreateServiceAccountNoContent) IsCode(code int) bool
- func (o *CreateServiceAccountNoContent) IsRedirect() bool
- func (o *CreateServiceAccountNoContent) IsServerError() bool
- func (o *CreateServiceAccountNoContent) IsSuccess() bool
- func (o *CreateServiceAccountNoContent) String() string
- type CreateServiceAccountNotFound
- func (o *CreateServiceAccountNotFound) Code() int
- func (o *CreateServiceAccountNotFound) Error() string
- func (o *CreateServiceAccountNotFound) GetPayload() interface{}
- func (o *CreateServiceAccountNotFound) IsClientError() bool
- func (o *CreateServiceAccountNotFound) IsCode(code int) bool
- func (o *CreateServiceAccountNotFound) IsRedirect() bool
- func (o *CreateServiceAccountNotFound) IsServerError() bool
- func (o *CreateServiceAccountNotFound) IsSuccess() bool
- func (o *CreateServiceAccountNotFound) String() string
- type CreateServiceAccountOK
- func (o *CreateServiceAccountOK) Code() int
- func (o *CreateServiceAccountOK) Error() string
- func (o *CreateServiceAccountOK) GetPayload() *service_model.V1ServiceAccount
- func (o *CreateServiceAccountOK) IsClientError() bool
- func (o *CreateServiceAccountOK) IsCode(code int) bool
- func (o *CreateServiceAccountOK) IsRedirect() bool
- func (o *CreateServiceAccountOK) IsServerError() bool
- func (o *CreateServiceAccountOK) IsSuccess() bool
- func (o *CreateServiceAccountOK) String() string
- type CreateServiceAccountParams
- func NewCreateServiceAccountParams() *CreateServiceAccountParams
- func NewCreateServiceAccountParamsWithContext(ctx context.Context) *CreateServiceAccountParams
- func NewCreateServiceAccountParamsWithHTTPClient(client *http.Client) *CreateServiceAccountParams
- func NewCreateServiceAccountParamsWithTimeout(timeout time.Duration) *CreateServiceAccountParams
- func (o *CreateServiceAccountParams) SetBody(body *service_model.V1ServiceAccount)
- func (o *CreateServiceAccountParams) SetContext(ctx context.Context)
- func (o *CreateServiceAccountParams) SetDefaults()
- func (o *CreateServiceAccountParams) SetHTTPClient(client *http.Client)
- func (o *CreateServiceAccountParams) SetOwner(owner string)
- func (o *CreateServiceAccountParams) SetTimeout(timeout time.Duration)
- func (o *CreateServiceAccountParams) WithBody(body *service_model.V1ServiceAccount) *CreateServiceAccountParams
- func (o *CreateServiceAccountParams) WithContext(ctx context.Context) *CreateServiceAccountParams
- func (o *CreateServiceAccountParams) WithDefaults() *CreateServiceAccountParams
- func (o *CreateServiceAccountParams) WithHTTPClient(client *http.Client) *CreateServiceAccountParams
- func (o *CreateServiceAccountParams) WithOwner(owner string) *CreateServiceAccountParams
- func (o *CreateServiceAccountParams) WithTimeout(timeout time.Duration) *CreateServiceAccountParams
- func (o *CreateServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateServiceAccountReader
- type CreateServiceAccountTokenDefault
- func (o *CreateServiceAccountTokenDefault) Code() int
- func (o *CreateServiceAccountTokenDefault) Error() string
- func (o *CreateServiceAccountTokenDefault) GetPayload() *service_model.RuntimeError
- func (o *CreateServiceAccountTokenDefault) IsClientError() bool
- func (o *CreateServiceAccountTokenDefault) IsCode(code int) bool
- func (o *CreateServiceAccountTokenDefault) IsRedirect() bool
- func (o *CreateServiceAccountTokenDefault) IsServerError() bool
- func (o *CreateServiceAccountTokenDefault) IsSuccess() bool
- func (o *CreateServiceAccountTokenDefault) String() string
- type CreateServiceAccountTokenForbidden
- func (o *CreateServiceAccountTokenForbidden) Code() int
- func (o *CreateServiceAccountTokenForbidden) Error() string
- func (o *CreateServiceAccountTokenForbidden) GetPayload() interface{}
- func (o *CreateServiceAccountTokenForbidden) IsClientError() bool
- func (o *CreateServiceAccountTokenForbidden) IsCode(code int) bool
- func (o *CreateServiceAccountTokenForbidden) IsRedirect() bool
- func (o *CreateServiceAccountTokenForbidden) IsServerError() bool
- func (o *CreateServiceAccountTokenForbidden) IsSuccess() bool
- func (o *CreateServiceAccountTokenForbidden) String() string
- type CreateServiceAccountTokenNoContent
- func (o *CreateServiceAccountTokenNoContent) Code() int
- func (o *CreateServiceAccountTokenNoContent) Error() string
- func (o *CreateServiceAccountTokenNoContent) GetPayload() interface{}
- func (o *CreateServiceAccountTokenNoContent) IsClientError() bool
- func (o *CreateServiceAccountTokenNoContent) IsCode(code int) bool
- func (o *CreateServiceAccountTokenNoContent) IsRedirect() bool
- func (o *CreateServiceAccountTokenNoContent) IsServerError() bool
- func (o *CreateServiceAccountTokenNoContent) IsSuccess() bool
- func (o *CreateServiceAccountTokenNoContent) String() string
- type CreateServiceAccountTokenNotFound
- func (o *CreateServiceAccountTokenNotFound) Code() int
- func (o *CreateServiceAccountTokenNotFound) Error() string
- func (o *CreateServiceAccountTokenNotFound) GetPayload() interface{}
- func (o *CreateServiceAccountTokenNotFound) IsClientError() bool
- func (o *CreateServiceAccountTokenNotFound) IsCode(code int) bool
- func (o *CreateServiceAccountTokenNotFound) IsRedirect() bool
- func (o *CreateServiceAccountTokenNotFound) IsServerError() bool
- func (o *CreateServiceAccountTokenNotFound) IsSuccess() bool
- func (o *CreateServiceAccountTokenNotFound) String() string
- type CreateServiceAccountTokenOK
- func (o *CreateServiceAccountTokenOK) Code() int
- func (o *CreateServiceAccountTokenOK) Error() string
- func (o *CreateServiceAccountTokenOK) GetPayload() *service_model.V1Token
- func (o *CreateServiceAccountTokenOK) IsClientError() bool
- func (o *CreateServiceAccountTokenOK) IsCode(code int) bool
- func (o *CreateServiceAccountTokenOK) IsRedirect() bool
- func (o *CreateServiceAccountTokenOK) IsServerError() bool
- func (o *CreateServiceAccountTokenOK) IsSuccess() bool
- func (o *CreateServiceAccountTokenOK) String() string
- type CreateServiceAccountTokenParams
- func NewCreateServiceAccountTokenParams() *CreateServiceAccountTokenParams
- func NewCreateServiceAccountTokenParamsWithContext(ctx context.Context) *CreateServiceAccountTokenParams
- func NewCreateServiceAccountTokenParamsWithHTTPClient(client *http.Client) *CreateServiceAccountTokenParams
- func NewCreateServiceAccountTokenParamsWithTimeout(timeout time.Duration) *CreateServiceAccountTokenParams
- func (o *CreateServiceAccountTokenParams) SetBody(body *service_model.V1Token)
- func (o *CreateServiceAccountTokenParams) SetContext(ctx context.Context)
- func (o *CreateServiceAccountTokenParams) SetDefaults()
- func (o *CreateServiceAccountTokenParams) SetEntity(entity string)
- func (o *CreateServiceAccountTokenParams) SetHTTPClient(client *http.Client)
- func (o *CreateServiceAccountTokenParams) SetOwner(owner string)
- func (o *CreateServiceAccountTokenParams) SetTimeout(timeout time.Duration)
- func (o *CreateServiceAccountTokenParams) WithBody(body *service_model.V1Token) *CreateServiceAccountTokenParams
- func (o *CreateServiceAccountTokenParams) WithContext(ctx context.Context) *CreateServiceAccountTokenParams
- func (o *CreateServiceAccountTokenParams) WithDefaults() *CreateServiceAccountTokenParams
- func (o *CreateServiceAccountTokenParams) WithEntity(entity string) *CreateServiceAccountTokenParams
- func (o *CreateServiceAccountTokenParams) WithHTTPClient(client *http.Client) *CreateServiceAccountTokenParams
- func (o *CreateServiceAccountTokenParams) WithOwner(owner string) *CreateServiceAccountTokenParams
- func (o *CreateServiceAccountTokenParams) WithTimeout(timeout time.Duration) *CreateServiceAccountTokenParams
- func (o *CreateServiceAccountTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateServiceAccountTokenReader
- type DeleteServiceAccountDefault
- func (o *DeleteServiceAccountDefault) Code() int
- func (o *DeleteServiceAccountDefault) Error() string
- func (o *DeleteServiceAccountDefault) GetPayload() *service_model.RuntimeError
- func (o *DeleteServiceAccountDefault) IsClientError() bool
- func (o *DeleteServiceAccountDefault) IsCode(code int) bool
- func (o *DeleteServiceAccountDefault) IsRedirect() bool
- func (o *DeleteServiceAccountDefault) IsServerError() bool
- func (o *DeleteServiceAccountDefault) IsSuccess() bool
- func (o *DeleteServiceAccountDefault) String() string
- type DeleteServiceAccountForbidden
- func (o *DeleteServiceAccountForbidden) Code() int
- func (o *DeleteServiceAccountForbidden) Error() string
- func (o *DeleteServiceAccountForbidden) GetPayload() interface{}
- func (o *DeleteServiceAccountForbidden) IsClientError() bool
- func (o *DeleteServiceAccountForbidden) IsCode(code int) bool
- func (o *DeleteServiceAccountForbidden) IsRedirect() bool
- func (o *DeleteServiceAccountForbidden) IsServerError() bool
- func (o *DeleteServiceAccountForbidden) IsSuccess() bool
- func (o *DeleteServiceAccountForbidden) String() string
- type DeleteServiceAccountNoContent
- func (o *DeleteServiceAccountNoContent) Code() int
- func (o *DeleteServiceAccountNoContent) Error() string
- func (o *DeleteServiceAccountNoContent) GetPayload() interface{}
- func (o *DeleteServiceAccountNoContent) IsClientError() bool
- func (o *DeleteServiceAccountNoContent) IsCode(code int) bool
- func (o *DeleteServiceAccountNoContent) IsRedirect() bool
- func (o *DeleteServiceAccountNoContent) IsServerError() bool
- func (o *DeleteServiceAccountNoContent) IsSuccess() bool
- func (o *DeleteServiceAccountNoContent) String() string
- type DeleteServiceAccountNotFound
- func (o *DeleteServiceAccountNotFound) Code() int
- func (o *DeleteServiceAccountNotFound) Error() string
- func (o *DeleteServiceAccountNotFound) GetPayload() interface{}
- func (o *DeleteServiceAccountNotFound) IsClientError() bool
- func (o *DeleteServiceAccountNotFound) IsCode(code int) bool
- func (o *DeleteServiceAccountNotFound) IsRedirect() bool
- func (o *DeleteServiceAccountNotFound) IsServerError() bool
- func (o *DeleteServiceAccountNotFound) IsSuccess() bool
- func (o *DeleteServiceAccountNotFound) String() string
- type DeleteServiceAccountOK
- func (o *DeleteServiceAccountOK) Code() int
- func (o *DeleteServiceAccountOK) Error() string
- func (o *DeleteServiceAccountOK) IsClientError() bool
- func (o *DeleteServiceAccountOK) IsCode(code int) bool
- func (o *DeleteServiceAccountOK) IsRedirect() bool
- func (o *DeleteServiceAccountOK) IsServerError() bool
- func (o *DeleteServiceAccountOK) IsSuccess() bool
- func (o *DeleteServiceAccountOK) String() string
- type DeleteServiceAccountParams
- func NewDeleteServiceAccountParams() *DeleteServiceAccountParams
- func NewDeleteServiceAccountParamsWithContext(ctx context.Context) *DeleteServiceAccountParams
- func NewDeleteServiceAccountParamsWithHTTPClient(client *http.Client) *DeleteServiceAccountParams
- func NewDeleteServiceAccountParamsWithTimeout(timeout time.Duration) *DeleteServiceAccountParams
- func (o *DeleteServiceAccountParams) SetContext(ctx context.Context)
- func (o *DeleteServiceAccountParams) SetDefaults()
- func (o *DeleteServiceAccountParams) SetHTTPClient(client *http.Client)
- func (o *DeleteServiceAccountParams) SetOwner(owner string)
- func (o *DeleteServiceAccountParams) SetTimeout(timeout time.Duration)
- func (o *DeleteServiceAccountParams) SetUUID(uuid string)
- func (o *DeleteServiceAccountParams) WithContext(ctx context.Context) *DeleteServiceAccountParams
- func (o *DeleteServiceAccountParams) WithDefaults() *DeleteServiceAccountParams
- func (o *DeleteServiceAccountParams) WithHTTPClient(client *http.Client) *DeleteServiceAccountParams
- func (o *DeleteServiceAccountParams) WithOwner(owner string) *DeleteServiceAccountParams
- func (o *DeleteServiceAccountParams) WithTimeout(timeout time.Duration) *DeleteServiceAccountParams
- func (o *DeleteServiceAccountParams) WithUUID(uuid string) *DeleteServiceAccountParams
- func (o *DeleteServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteServiceAccountReader
- type DeleteServiceAccountTokenDefault
- func (o *DeleteServiceAccountTokenDefault) Code() int
- func (o *DeleteServiceAccountTokenDefault) Error() string
- func (o *DeleteServiceAccountTokenDefault) GetPayload() *service_model.RuntimeError
- func (o *DeleteServiceAccountTokenDefault) IsClientError() bool
- func (o *DeleteServiceAccountTokenDefault) IsCode(code int) bool
- func (o *DeleteServiceAccountTokenDefault) IsRedirect() bool
- func (o *DeleteServiceAccountTokenDefault) IsServerError() bool
- func (o *DeleteServiceAccountTokenDefault) IsSuccess() bool
- func (o *DeleteServiceAccountTokenDefault) String() string
- type DeleteServiceAccountTokenForbidden
- func (o *DeleteServiceAccountTokenForbidden) Code() int
- func (o *DeleteServiceAccountTokenForbidden) Error() string
- func (o *DeleteServiceAccountTokenForbidden) GetPayload() interface{}
- func (o *DeleteServiceAccountTokenForbidden) IsClientError() bool
- func (o *DeleteServiceAccountTokenForbidden) IsCode(code int) bool
- func (o *DeleteServiceAccountTokenForbidden) IsRedirect() bool
- func (o *DeleteServiceAccountTokenForbidden) IsServerError() bool
- func (o *DeleteServiceAccountTokenForbidden) IsSuccess() bool
- func (o *DeleteServiceAccountTokenForbidden) String() string
- type DeleteServiceAccountTokenNoContent
- func (o *DeleteServiceAccountTokenNoContent) Code() int
- func (o *DeleteServiceAccountTokenNoContent) Error() string
- func (o *DeleteServiceAccountTokenNoContent) GetPayload() interface{}
- func (o *DeleteServiceAccountTokenNoContent) IsClientError() bool
- func (o *DeleteServiceAccountTokenNoContent) IsCode(code int) bool
- func (o *DeleteServiceAccountTokenNoContent) IsRedirect() bool
- func (o *DeleteServiceAccountTokenNoContent) IsServerError() bool
- func (o *DeleteServiceAccountTokenNoContent) IsSuccess() bool
- func (o *DeleteServiceAccountTokenNoContent) String() string
- type DeleteServiceAccountTokenNotFound
- func (o *DeleteServiceAccountTokenNotFound) Code() int
- func (o *DeleteServiceAccountTokenNotFound) Error() string
- func (o *DeleteServiceAccountTokenNotFound) GetPayload() interface{}
- func (o *DeleteServiceAccountTokenNotFound) IsClientError() bool
- func (o *DeleteServiceAccountTokenNotFound) IsCode(code int) bool
- func (o *DeleteServiceAccountTokenNotFound) IsRedirect() bool
- func (o *DeleteServiceAccountTokenNotFound) IsServerError() bool
- func (o *DeleteServiceAccountTokenNotFound) IsSuccess() bool
- func (o *DeleteServiceAccountTokenNotFound) String() string
- type DeleteServiceAccountTokenOK
- func (o *DeleteServiceAccountTokenOK) Code() int
- func (o *DeleteServiceAccountTokenOK) Error() string
- func (o *DeleteServiceAccountTokenOK) IsClientError() bool
- func (o *DeleteServiceAccountTokenOK) IsCode(code int) bool
- func (o *DeleteServiceAccountTokenOK) IsRedirect() bool
- func (o *DeleteServiceAccountTokenOK) IsServerError() bool
- func (o *DeleteServiceAccountTokenOK) IsSuccess() bool
- func (o *DeleteServiceAccountTokenOK) String() string
- type DeleteServiceAccountTokenParams
- func NewDeleteServiceAccountTokenParams() *DeleteServiceAccountTokenParams
- func NewDeleteServiceAccountTokenParamsWithContext(ctx context.Context) *DeleteServiceAccountTokenParams
- func NewDeleteServiceAccountTokenParamsWithHTTPClient(client *http.Client) *DeleteServiceAccountTokenParams
- func NewDeleteServiceAccountTokenParamsWithTimeout(timeout time.Duration) *DeleteServiceAccountTokenParams
- func (o *DeleteServiceAccountTokenParams) SetContext(ctx context.Context)
- func (o *DeleteServiceAccountTokenParams) SetDefaults()
- func (o *DeleteServiceAccountTokenParams) SetEntity(entity string)
- func (o *DeleteServiceAccountTokenParams) SetHTTPClient(client *http.Client)
- func (o *DeleteServiceAccountTokenParams) SetOwner(owner string)
- func (o *DeleteServiceAccountTokenParams) SetTimeout(timeout time.Duration)
- func (o *DeleteServiceAccountTokenParams) SetUUID(uuid string)
- func (o *DeleteServiceAccountTokenParams) WithContext(ctx context.Context) *DeleteServiceAccountTokenParams
- func (o *DeleteServiceAccountTokenParams) WithDefaults() *DeleteServiceAccountTokenParams
- func (o *DeleteServiceAccountTokenParams) WithEntity(entity string) *DeleteServiceAccountTokenParams
- func (o *DeleteServiceAccountTokenParams) WithHTTPClient(client *http.Client) *DeleteServiceAccountTokenParams
- func (o *DeleteServiceAccountTokenParams) WithOwner(owner string) *DeleteServiceAccountTokenParams
- func (o *DeleteServiceAccountTokenParams) WithTimeout(timeout time.Duration) *DeleteServiceAccountTokenParams
- func (o *DeleteServiceAccountTokenParams) WithUUID(uuid string) *DeleteServiceAccountTokenParams
- func (o *DeleteServiceAccountTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteServiceAccountTokenReader
- type GetServiceAccountDefault
- func (o *GetServiceAccountDefault) Code() int
- func (o *GetServiceAccountDefault) Error() string
- func (o *GetServiceAccountDefault) GetPayload() *service_model.RuntimeError
- func (o *GetServiceAccountDefault) IsClientError() bool
- func (o *GetServiceAccountDefault) IsCode(code int) bool
- func (o *GetServiceAccountDefault) IsRedirect() bool
- func (o *GetServiceAccountDefault) IsServerError() bool
- func (o *GetServiceAccountDefault) IsSuccess() bool
- func (o *GetServiceAccountDefault) String() string
- type GetServiceAccountForbidden
- func (o *GetServiceAccountForbidden) Code() int
- func (o *GetServiceAccountForbidden) Error() string
- func (o *GetServiceAccountForbidden) GetPayload() interface{}
- func (o *GetServiceAccountForbidden) IsClientError() bool
- func (o *GetServiceAccountForbidden) IsCode(code int) bool
- func (o *GetServiceAccountForbidden) IsRedirect() bool
- func (o *GetServiceAccountForbidden) IsServerError() bool
- func (o *GetServiceAccountForbidden) IsSuccess() bool
- func (o *GetServiceAccountForbidden) String() string
- type GetServiceAccountNoContent
- func (o *GetServiceAccountNoContent) Code() int
- func (o *GetServiceAccountNoContent) Error() string
- func (o *GetServiceAccountNoContent) GetPayload() interface{}
- func (o *GetServiceAccountNoContent) IsClientError() bool
- func (o *GetServiceAccountNoContent) IsCode(code int) bool
- func (o *GetServiceAccountNoContent) IsRedirect() bool
- func (o *GetServiceAccountNoContent) IsServerError() bool
- func (o *GetServiceAccountNoContent) IsSuccess() bool
- func (o *GetServiceAccountNoContent) String() string
- type GetServiceAccountNotFound
- func (o *GetServiceAccountNotFound) Code() int
- func (o *GetServiceAccountNotFound) Error() string
- func (o *GetServiceAccountNotFound) GetPayload() interface{}
- func (o *GetServiceAccountNotFound) IsClientError() bool
- func (o *GetServiceAccountNotFound) IsCode(code int) bool
- func (o *GetServiceAccountNotFound) IsRedirect() bool
- func (o *GetServiceAccountNotFound) IsServerError() bool
- func (o *GetServiceAccountNotFound) IsSuccess() bool
- func (o *GetServiceAccountNotFound) String() string
- type GetServiceAccountOK
- func (o *GetServiceAccountOK) Code() int
- func (o *GetServiceAccountOK) Error() string
- func (o *GetServiceAccountOK) GetPayload() *service_model.V1ServiceAccount
- func (o *GetServiceAccountOK) IsClientError() bool
- func (o *GetServiceAccountOK) IsCode(code int) bool
- func (o *GetServiceAccountOK) IsRedirect() bool
- func (o *GetServiceAccountOK) IsServerError() bool
- func (o *GetServiceAccountOK) IsSuccess() bool
- func (o *GetServiceAccountOK) String() string
- type GetServiceAccountParams
- func NewGetServiceAccountParams() *GetServiceAccountParams
- func NewGetServiceAccountParamsWithContext(ctx context.Context) *GetServiceAccountParams
- func NewGetServiceAccountParamsWithHTTPClient(client *http.Client) *GetServiceAccountParams
- func NewGetServiceAccountParamsWithTimeout(timeout time.Duration) *GetServiceAccountParams
- func (o *GetServiceAccountParams) SetContext(ctx context.Context)
- func (o *GetServiceAccountParams) SetDefaults()
- func (o *GetServiceAccountParams) SetHTTPClient(client *http.Client)
- func (o *GetServiceAccountParams) SetOwner(owner string)
- func (o *GetServiceAccountParams) SetTimeout(timeout time.Duration)
- func (o *GetServiceAccountParams) SetUUID(uuid string)
- func (o *GetServiceAccountParams) WithContext(ctx context.Context) *GetServiceAccountParams
- func (o *GetServiceAccountParams) WithDefaults() *GetServiceAccountParams
- func (o *GetServiceAccountParams) WithHTTPClient(client *http.Client) *GetServiceAccountParams
- func (o *GetServiceAccountParams) WithOwner(owner string) *GetServiceAccountParams
- func (o *GetServiceAccountParams) WithTimeout(timeout time.Duration) *GetServiceAccountParams
- func (o *GetServiceAccountParams) WithUUID(uuid string) *GetServiceAccountParams
- func (o *GetServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceAccountReader
- type GetServiceAccountTokenDefault
- func (o *GetServiceAccountTokenDefault) Code() int
- func (o *GetServiceAccountTokenDefault) Error() string
- func (o *GetServiceAccountTokenDefault) GetPayload() *service_model.RuntimeError
- func (o *GetServiceAccountTokenDefault) IsClientError() bool
- func (o *GetServiceAccountTokenDefault) IsCode(code int) bool
- func (o *GetServiceAccountTokenDefault) IsRedirect() bool
- func (o *GetServiceAccountTokenDefault) IsServerError() bool
- func (o *GetServiceAccountTokenDefault) IsSuccess() bool
- func (o *GetServiceAccountTokenDefault) String() string
- type GetServiceAccountTokenForbidden
- func (o *GetServiceAccountTokenForbidden) Code() int
- func (o *GetServiceAccountTokenForbidden) Error() string
- func (o *GetServiceAccountTokenForbidden) GetPayload() interface{}
- func (o *GetServiceAccountTokenForbidden) IsClientError() bool
- func (o *GetServiceAccountTokenForbidden) IsCode(code int) bool
- func (o *GetServiceAccountTokenForbidden) IsRedirect() bool
- func (o *GetServiceAccountTokenForbidden) IsServerError() bool
- func (o *GetServiceAccountTokenForbidden) IsSuccess() bool
- func (o *GetServiceAccountTokenForbidden) String() string
- type GetServiceAccountTokenNoContent
- func (o *GetServiceAccountTokenNoContent) Code() int
- func (o *GetServiceAccountTokenNoContent) Error() string
- func (o *GetServiceAccountTokenNoContent) GetPayload() interface{}
- func (o *GetServiceAccountTokenNoContent) IsClientError() bool
- func (o *GetServiceAccountTokenNoContent) IsCode(code int) bool
- func (o *GetServiceAccountTokenNoContent) IsRedirect() bool
- func (o *GetServiceAccountTokenNoContent) IsServerError() bool
- func (o *GetServiceAccountTokenNoContent) IsSuccess() bool
- func (o *GetServiceAccountTokenNoContent) String() string
- type GetServiceAccountTokenNotFound
- func (o *GetServiceAccountTokenNotFound) Code() int
- func (o *GetServiceAccountTokenNotFound) Error() string
- func (o *GetServiceAccountTokenNotFound) GetPayload() interface{}
- func (o *GetServiceAccountTokenNotFound) IsClientError() bool
- func (o *GetServiceAccountTokenNotFound) IsCode(code int) bool
- func (o *GetServiceAccountTokenNotFound) IsRedirect() bool
- func (o *GetServiceAccountTokenNotFound) IsServerError() bool
- func (o *GetServiceAccountTokenNotFound) IsSuccess() bool
- func (o *GetServiceAccountTokenNotFound) String() string
- type GetServiceAccountTokenOK
- func (o *GetServiceAccountTokenOK) Code() int
- func (o *GetServiceAccountTokenOK) Error() string
- func (o *GetServiceAccountTokenOK) GetPayload() *service_model.V1Token
- func (o *GetServiceAccountTokenOK) IsClientError() bool
- func (o *GetServiceAccountTokenOK) IsCode(code int) bool
- func (o *GetServiceAccountTokenOK) IsRedirect() bool
- func (o *GetServiceAccountTokenOK) IsServerError() bool
- func (o *GetServiceAccountTokenOK) IsSuccess() bool
- func (o *GetServiceAccountTokenOK) String() string
- type GetServiceAccountTokenParams
- func NewGetServiceAccountTokenParams() *GetServiceAccountTokenParams
- func NewGetServiceAccountTokenParamsWithContext(ctx context.Context) *GetServiceAccountTokenParams
- func NewGetServiceAccountTokenParamsWithHTTPClient(client *http.Client) *GetServiceAccountTokenParams
- func NewGetServiceAccountTokenParamsWithTimeout(timeout time.Duration) *GetServiceAccountTokenParams
- func (o *GetServiceAccountTokenParams) SetContext(ctx context.Context)
- func (o *GetServiceAccountTokenParams) SetDefaults()
- func (o *GetServiceAccountTokenParams) SetEntity(entity string)
- func (o *GetServiceAccountTokenParams) SetHTTPClient(client *http.Client)
- func (o *GetServiceAccountTokenParams) SetOwner(owner string)
- func (o *GetServiceAccountTokenParams) SetTimeout(timeout time.Duration)
- func (o *GetServiceAccountTokenParams) SetUUID(uuid string)
- func (o *GetServiceAccountTokenParams) WithContext(ctx context.Context) *GetServiceAccountTokenParams
- func (o *GetServiceAccountTokenParams) WithDefaults() *GetServiceAccountTokenParams
- func (o *GetServiceAccountTokenParams) WithEntity(entity string) *GetServiceAccountTokenParams
- func (o *GetServiceAccountTokenParams) WithHTTPClient(client *http.Client) *GetServiceAccountTokenParams
- func (o *GetServiceAccountTokenParams) WithOwner(owner string) *GetServiceAccountTokenParams
- func (o *GetServiceAccountTokenParams) WithTimeout(timeout time.Duration) *GetServiceAccountTokenParams
- func (o *GetServiceAccountTokenParams) WithUUID(uuid string) *GetServiceAccountTokenParams
- func (o *GetServiceAccountTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceAccountTokenReader
- type ListServiceAccountNamesDefault
- func (o *ListServiceAccountNamesDefault) Code() int
- func (o *ListServiceAccountNamesDefault) Error() string
- func (o *ListServiceAccountNamesDefault) GetPayload() *service_model.RuntimeError
- func (o *ListServiceAccountNamesDefault) IsClientError() bool
- func (o *ListServiceAccountNamesDefault) IsCode(code int) bool
- func (o *ListServiceAccountNamesDefault) IsRedirect() bool
- func (o *ListServiceAccountNamesDefault) IsServerError() bool
- func (o *ListServiceAccountNamesDefault) IsSuccess() bool
- func (o *ListServiceAccountNamesDefault) String() string
- type ListServiceAccountNamesForbidden
- func (o *ListServiceAccountNamesForbidden) Code() int
- func (o *ListServiceAccountNamesForbidden) Error() string
- func (o *ListServiceAccountNamesForbidden) GetPayload() interface{}
- func (o *ListServiceAccountNamesForbidden) IsClientError() bool
- func (o *ListServiceAccountNamesForbidden) IsCode(code int) bool
- func (o *ListServiceAccountNamesForbidden) IsRedirect() bool
- func (o *ListServiceAccountNamesForbidden) IsServerError() bool
- func (o *ListServiceAccountNamesForbidden) IsSuccess() bool
- func (o *ListServiceAccountNamesForbidden) String() string
- type ListServiceAccountNamesNoContent
- func (o *ListServiceAccountNamesNoContent) Code() int
- func (o *ListServiceAccountNamesNoContent) Error() string
- func (o *ListServiceAccountNamesNoContent) GetPayload() interface{}
- func (o *ListServiceAccountNamesNoContent) IsClientError() bool
- func (o *ListServiceAccountNamesNoContent) IsCode(code int) bool
- func (o *ListServiceAccountNamesNoContent) IsRedirect() bool
- func (o *ListServiceAccountNamesNoContent) IsServerError() bool
- func (o *ListServiceAccountNamesNoContent) IsSuccess() bool
- func (o *ListServiceAccountNamesNoContent) String() string
- type ListServiceAccountNamesNotFound
- func (o *ListServiceAccountNamesNotFound) Code() int
- func (o *ListServiceAccountNamesNotFound) Error() string
- func (o *ListServiceAccountNamesNotFound) GetPayload() interface{}
- func (o *ListServiceAccountNamesNotFound) IsClientError() bool
- func (o *ListServiceAccountNamesNotFound) IsCode(code int) bool
- func (o *ListServiceAccountNamesNotFound) IsRedirect() bool
- func (o *ListServiceAccountNamesNotFound) IsServerError() bool
- func (o *ListServiceAccountNamesNotFound) IsSuccess() bool
- func (o *ListServiceAccountNamesNotFound) String() string
- type ListServiceAccountNamesOK
- func (o *ListServiceAccountNamesOK) Code() int
- func (o *ListServiceAccountNamesOK) Error() string
- func (o *ListServiceAccountNamesOK) GetPayload() *service_model.V1ListServiceAccountsResponse
- func (o *ListServiceAccountNamesOK) IsClientError() bool
- func (o *ListServiceAccountNamesOK) IsCode(code int) bool
- func (o *ListServiceAccountNamesOK) IsRedirect() bool
- func (o *ListServiceAccountNamesOK) IsServerError() bool
- func (o *ListServiceAccountNamesOK) IsSuccess() bool
- func (o *ListServiceAccountNamesOK) String() string
- type ListServiceAccountNamesParams
- func NewListServiceAccountNamesParams() *ListServiceAccountNamesParams
- func NewListServiceAccountNamesParamsWithContext(ctx context.Context) *ListServiceAccountNamesParams
- func NewListServiceAccountNamesParamsWithHTTPClient(client *http.Client) *ListServiceAccountNamesParams
- func NewListServiceAccountNamesParamsWithTimeout(timeout time.Duration) *ListServiceAccountNamesParams
- func (o *ListServiceAccountNamesParams) SetBookmarks(bookmarks *bool)
- func (o *ListServiceAccountNamesParams) SetContext(ctx context.Context)
- func (o *ListServiceAccountNamesParams) SetDefaults()
- func (o *ListServiceAccountNamesParams) SetHTTPClient(client *http.Client)
- func (o *ListServiceAccountNamesParams) SetLimit(limit *int32)
- func (o *ListServiceAccountNamesParams) SetMode(mode *string)
- func (o *ListServiceAccountNamesParams) SetNoPage(noPage *bool)
- func (o *ListServiceAccountNamesParams) SetOffset(offset *int32)
- func (o *ListServiceAccountNamesParams) SetOwner(owner string)
- func (o *ListServiceAccountNamesParams) SetQuery(query *string)
- func (o *ListServiceAccountNamesParams) SetSort(sort *string)
- func (o *ListServiceAccountNamesParams) SetTimeout(timeout time.Duration)
- func (o *ListServiceAccountNamesParams) WithBookmarks(bookmarks *bool) *ListServiceAccountNamesParams
- func (o *ListServiceAccountNamesParams) WithContext(ctx context.Context) *ListServiceAccountNamesParams
- func (o *ListServiceAccountNamesParams) WithDefaults() *ListServiceAccountNamesParams
- func (o *ListServiceAccountNamesParams) WithHTTPClient(client *http.Client) *ListServiceAccountNamesParams
- func (o *ListServiceAccountNamesParams) WithLimit(limit *int32) *ListServiceAccountNamesParams
- func (o *ListServiceAccountNamesParams) WithMode(mode *string) *ListServiceAccountNamesParams
- func (o *ListServiceAccountNamesParams) WithNoPage(noPage *bool) *ListServiceAccountNamesParams
- func (o *ListServiceAccountNamesParams) WithOffset(offset *int32) *ListServiceAccountNamesParams
- func (o *ListServiceAccountNamesParams) WithOwner(owner string) *ListServiceAccountNamesParams
- func (o *ListServiceAccountNamesParams) WithQuery(query *string) *ListServiceAccountNamesParams
- func (o *ListServiceAccountNamesParams) WithSort(sort *string) *ListServiceAccountNamesParams
- func (o *ListServiceAccountNamesParams) WithTimeout(timeout time.Duration) *ListServiceAccountNamesParams
- func (o *ListServiceAccountNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServiceAccountNamesReader
- type ListServiceAccountTokensDefault
- func (o *ListServiceAccountTokensDefault) Code() int
- func (o *ListServiceAccountTokensDefault) Error() string
- func (o *ListServiceAccountTokensDefault) GetPayload() *service_model.RuntimeError
- func (o *ListServiceAccountTokensDefault) IsClientError() bool
- func (o *ListServiceAccountTokensDefault) IsCode(code int) bool
- func (o *ListServiceAccountTokensDefault) IsRedirect() bool
- func (o *ListServiceAccountTokensDefault) IsServerError() bool
- func (o *ListServiceAccountTokensDefault) IsSuccess() bool
- func (o *ListServiceAccountTokensDefault) String() string
- type ListServiceAccountTokensForbidden
- func (o *ListServiceAccountTokensForbidden) Code() int
- func (o *ListServiceAccountTokensForbidden) Error() string
- func (o *ListServiceAccountTokensForbidden) GetPayload() interface{}
- func (o *ListServiceAccountTokensForbidden) IsClientError() bool
- func (o *ListServiceAccountTokensForbidden) IsCode(code int) bool
- func (o *ListServiceAccountTokensForbidden) IsRedirect() bool
- func (o *ListServiceAccountTokensForbidden) IsServerError() bool
- func (o *ListServiceAccountTokensForbidden) IsSuccess() bool
- func (o *ListServiceAccountTokensForbidden) String() string
- type ListServiceAccountTokensNoContent
- func (o *ListServiceAccountTokensNoContent) Code() int
- func (o *ListServiceAccountTokensNoContent) Error() string
- func (o *ListServiceAccountTokensNoContent) GetPayload() interface{}
- func (o *ListServiceAccountTokensNoContent) IsClientError() bool
- func (o *ListServiceAccountTokensNoContent) IsCode(code int) bool
- func (o *ListServiceAccountTokensNoContent) IsRedirect() bool
- func (o *ListServiceAccountTokensNoContent) IsServerError() bool
- func (o *ListServiceAccountTokensNoContent) IsSuccess() bool
- func (o *ListServiceAccountTokensNoContent) String() string
- type ListServiceAccountTokensNotFound
- func (o *ListServiceAccountTokensNotFound) Code() int
- func (o *ListServiceAccountTokensNotFound) Error() string
- func (o *ListServiceAccountTokensNotFound) GetPayload() interface{}
- func (o *ListServiceAccountTokensNotFound) IsClientError() bool
- func (o *ListServiceAccountTokensNotFound) IsCode(code int) bool
- func (o *ListServiceAccountTokensNotFound) IsRedirect() bool
- func (o *ListServiceAccountTokensNotFound) IsServerError() bool
- func (o *ListServiceAccountTokensNotFound) IsSuccess() bool
- func (o *ListServiceAccountTokensNotFound) String() string
- type ListServiceAccountTokensOK
- func (o *ListServiceAccountTokensOK) Code() int
- func (o *ListServiceAccountTokensOK) Error() string
- func (o *ListServiceAccountTokensOK) GetPayload() *service_model.V1ListTokenResponse
- func (o *ListServiceAccountTokensOK) IsClientError() bool
- func (o *ListServiceAccountTokensOK) IsCode(code int) bool
- func (o *ListServiceAccountTokensOK) IsRedirect() bool
- func (o *ListServiceAccountTokensOK) IsServerError() bool
- func (o *ListServiceAccountTokensOK) IsSuccess() bool
- func (o *ListServiceAccountTokensOK) String() string
- type ListServiceAccountTokensParams
- func NewListServiceAccountTokensParams() *ListServiceAccountTokensParams
- func NewListServiceAccountTokensParamsWithContext(ctx context.Context) *ListServiceAccountTokensParams
- func NewListServiceAccountTokensParamsWithHTTPClient(client *http.Client) *ListServiceAccountTokensParams
- func NewListServiceAccountTokensParamsWithTimeout(timeout time.Duration) *ListServiceAccountTokensParams
- func (o *ListServiceAccountTokensParams) SetContext(ctx context.Context)
- func (o *ListServiceAccountTokensParams) SetDefaults()
- func (o *ListServiceAccountTokensParams) SetEntity(entity *string)
- func (o *ListServiceAccountTokensParams) SetHTTPClient(client *http.Client)
- func (o *ListServiceAccountTokensParams) SetLimit(limit *int32)
- func (o *ListServiceAccountTokensParams) SetNoPage(noPage *bool)
- func (o *ListServiceAccountTokensParams) SetOffset(offset *int32)
- func (o *ListServiceAccountTokensParams) SetOwner(owner string)
- func (o *ListServiceAccountTokensParams) SetQuery(query *string)
- func (o *ListServiceAccountTokensParams) SetSort(sort *string)
- func (o *ListServiceAccountTokensParams) SetTimeout(timeout time.Duration)
- func (o *ListServiceAccountTokensParams) SetUUID(uuid string)
- func (o *ListServiceAccountTokensParams) WithContext(ctx context.Context) *ListServiceAccountTokensParams
- func (o *ListServiceAccountTokensParams) WithDefaults() *ListServiceAccountTokensParams
- func (o *ListServiceAccountTokensParams) WithEntity(entity *string) *ListServiceAccountTokensParams
- func (o *ListServiceAccountTokensParams) WithHTTPClient(client *http.Client) *ListServiceAccountTokensParams
- func (o *ListServiceAccountTokensParams) WithLimit(limit *int32) *ListServiceAccountTokensParams
- func (o *ListServiceAccountTokensParams) WithNoPage(noPage *bool) *ListServiceAccountTokensParams
- func (o *ListServiceAccountTokensParams) WithOffset(offset *int32) *ListServiceAccountTokensParams
- func (o *ListServiceAccountTokensParams) WithOwner(owner string) *ListServiceAccountTokensParams
- func (o *ListServiceAccountTokensParams) WithQuery(query *string) *ListServiceAccountTokensParams
- func (o *ListServiceAccountTokensParams) WithSort(sort *string) *ListServiceAccountTokensParams
- func (o *ListServiceAccountTokensParams) WithTimeout(timeout time.Duration) *ListServiceAccountTokensParams
- func (o *ListServiceAccountTokensParams) WithUUID(uuid string) *ListServiceAccountTokensParams
- func (o *ListServiceAccountTokensParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServiceAccountTokensReader
- type ListServiceAccountsDefault
- func (o *ListServiceAccountsDefault) Code() int
- func (o *ListServiceAccountsDefault) Error() string
- func (o *ListServiceAccountsDefault) GetPayload() *service_model.RuntimeError
- func (o *ListServiceAccountsDefault) IsClientError() bool
- func (o *ListServiceAccountsDefault) IsCode(code int) bool
- func (o *ListServiceAccountsDefault) IsRedirect() bool
- func (o *ListServiceAccountsDefault) IsServerError() bool
- func (o *ListServiceAccountsDefault) IsSuccess() bool
- func (o *ListServiceAccountsDefault) String() string
- type ListServiceAccountsForbidden
- func (o *ListServiceAccountsForbidden) Code() int
- func (o *ListServiceAccountsForbidden) Error() string
- func (o *ListServiceAccountsForbidden) GetPayload() interface{}
- func (o *ListServiceAccountsForbidden) IsClientError() bool
- func (o *ListServiceAccountsForbidden) IsCode(code int) bool
- func (o *ListServiceAccountsForbidden) IsRedirect() bool
- func (o *ListServiceAccountsForbidden) IsServerError() bool
- func (o *ListServiceAccountsForbidden) IsSuccess() bool
- func (o *ListServiceAccountsForbidden) String() string
- type ListServiceAccountsNoContent
- func (o *ListServiceAccountsNoContent) Code() int
- func (o *ListServiceAccountsNoContent) Error() string
- func (o *ListServiceAccountsNoContent) GetPayload() interface{}
- func (o *ListServiceAccountsNoContent) IsClientError() bool
- func (o *ListServiceAccountsNoContent) IsCode(code int) bool
- func (o *ListServiceAccountsNoContent) IsRedirect() bool
- func (o *ListServiceAccountsNoContent) IsServerError() bool
- func (o *ListServiceAccountsNoContent) IsSuccess() bool
- func (o *ListServiceAccountsNoContent) String() string
- type ListServiceAccountsNotFound
- func (o *ListServiceAccountsNotFound) Code() int
- func (o *ListServiceAccountsNotFound) Error() string
- func (o *ListServiceAccountsNotFound) GetPayload() interface{}
- func (o *ListServiceAccountsNotFound) IsClientError() bool
- func (o *ListServiceAccountsNotFound) IsCode(code int) bool
- func (o *ListServiceAccountsNotFound) IsRedirect() bool
- func (o *ListServiceAccountsNotFound) IsServerError() bool
- func (o *ListServiceAccountsNotFound) IsSuccess() bool
- func (o *ListServiceAccountsNotFound) String() string
- type ListServiceAccountsOK
- func (o *ListServiceAccountsOK) Code() int
- func (o *ListServiceAccountsOK) Error() string
- func (o *ListServiceAccountsOK) GetPayload() *service_model.V1ListServiceAccountsResponse
- func (o *ListServiceAccountsOK) IsClientError() bool
- func (o *ListServiceAccountsOK) IsCode(code int) bool
- func (o *ListServiceAccountsOK) IsRedirect() bool
- func (o *ListServiceAccountsOK) IsServerError() bool
- func (o *ListServiceAccountsOK) IsSuccess() bool
- func (o *ListServiceAccountsOK) String() string
- type ListServiceAccountsParams
- func NewListServiceAccountsParams() *ListServiceAccountsParams
- func NewListServiceAccountsParamsWithContext(ctx context.Context) *ListServiceAccountsParams
- func NewListServiceAccountsParamsWithHTTPClient(client *http.Client) *ListServiceAccountsParams
- func NewListServiceAccountsParamsWithTimeout(timeout time.Duration) *ListServiceAccountsParams
- func (o *ListServiceAccountsParams) SetBookmarks(bookmarks *bool)
- func (o *ListServiceAccountsParams) SetContext(ctx context.Context)
- func (o *ListServiceAccountsParams) SetDefaults()
- func (o *ListServiceAccountsParams) SetHTTPClient(client *http.Client)
- func (o *ListServiceAccountsParams) SetLimit(limit *int32)
- func (o *ListServiceAccountsParams) SetMode(mode *string)
- func (o *ListServiceAccountsParams) SetNoPage(noPage *bool)
- func (o *ListServiceAccountsParams) SetOffset(offset *int32)
- func (o *ListServiceAccountsParams) SetOwner(owner string)
- func (o *ListServiceAccountsParams) SetQuery(query *string)
- func (o *ListServiceAccountsParams) SetSort(sort *string)
- func (o *ListServiceAccountsParams) SetTimeout(timeout time.Duration)
- func (o *ListServiceAccountsParams) WithBookmarks(bookmarks *bool) *ListServiceAccountsParams
- func (o *ListServiceAccountsParams) WithContext(ctx context.Context) *ListServiceAccountsParams
- func (o *ListServiceAccountsParams) WithDefaults() *ListServiceAccountsParams
- func (o *ListServiceAccountsParams) WithHTTPClient(client *http.Client) *ListServiceAccountsParams
- func (o *ListServiceAccountsParams) WithLimit(limit *int32) *ListServiceAccountsParams
- func (o *ListServiceAccountsParams) WithMode(mode *string) *ListServiceAccountsParams
- func (o *ListServiceAccountsParams) WithNoPage(noPage *bool) *ListServiceAccountsParams
- func (o *ListServiceAccountsParams) WithOffset(offset *int32) *ListServiceAccountsParams
- func (o *ListServiceAccountsParams) WithOwner(owner string) *ListServiceAccountsParams
- func (o *ListServiceAccountsParams) WithQuery(query *string) *ListServiceAccountsParams
- func (o *ListServiceAccountsParams) WithSort(sort *string) *ListServiceAccountsParams
- func (o *ListServiceAccountsParams) WithTimeout(timeout time.Duration) *ListServiceAccountsParams
- func (o *ListServiceAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServiceAccountsReader
- type PatchServiceAccountDefault
- func (o *PatchServiceAccountDefault) Code() int
- func (o *PatchServiceAccountDefault) Error() string
- func (o *PatchServiceAccountDefault) GetPayload() *service_model.RuntimeError
- func (o *PatchServiceAccountDefault) IsClientError() bool
- func (o *PatchServiceAccountDefault) IsCode(code int) bool
- func (o *PatchServiceAccountDefault) IsRedirect() bool
- func (o *PatchServiceAccountDefault) IsServerError() bool
- func (o *PatchServiceAccountDefault) IsSuccess() bool
- func (o *PatchServiceAccountDefault) String() string
- type PatchServiceAccountForbidden
- func (o *PatchServiceAccountForbidden) Code() int
- func (o *PatchServiceAccountForbidden) Error() string
- func (o *PatchServiceAccountForbidden) GetPayload() interface{}
- func (o *PatchServiceAccountForbidden) IsClientError() bool
- func (o *PatchServiceAccountForbidden) IsCode(code int) bool
- func (o *PatchServiceAccountForbidden) IsRedirect() bool
- func (o *PatchServiceAccountForbidden) IsServerError() bool
- func (o *PatchServiceAccountForbidden) IsSuccess() bool
- func (o *PatchServiceAccountForbidden) String() string
- type PatchServiceAccountNoContent
- func (o *PatchServiceAccountNoContent) Code() int
- func (o *PatchServiceAccountNoContent) Error() string
- func (o *PatchServiceAccountNoContent) GetPayload() interface{}
- func (o *PatchServiceAccountNoContent) IsClientError() bool
- func (o *PatchServiceAccountNoContent) IsCode(code int) bool
- func (o *PatchServiceAccountNoContent) IsRedirect() bool
- func (o *PatchServiceAccountNoContent) IsServerError() bool
- func (o *PatchServiceAccountNoContent) IsSuccess() bool
- func (o *PatchServiceAccountNoContent) String() string
- type PatchServiceAccountNotFound
- func (o *PatchServiceAccountNotFound) Code() int
- func (o *PatchServiceAccountNotFound) Error() string
- func (o *PatchServiceAccountNotFound) GetPayload() interface{}
- func (o *PatchServiceAccountNotFound) IsClientError() bool
- func (o *PatchServiceAccountNotFound) IsCode(code int) bool
- func (o *PatchServiceAccountNotFound) IsRedirect() bool
- func (o *PatchServiceAccountNotFound) IsServerError() bool
- func (o *PatchServiceAccountNotFound) IsSuccess() bool
- func (o *PatchServiceAccountNotFound) String() string
- type PatchServiceAccountOK
- func (o *PatchServiceAccountOK) Code() int
- func (o *PatchServiceAccountOK) Error() string
- func (o *PatchServiceAccountOK) GetPayload() *service_model.V1ServiceAccount
- func (o *PatchServiceAccountOK) IsClientError() bool
- func (o *PatchServiceAccountOK) IsCode(code int) bool
- func (o *PatchServiceAccountOK) IsRedirect() bool
- func (o *PatchServiceAccountOK) IsServerError() bool
- func (o *PatchServiceAccountOK) IsSuccess() bool
- func (o *PatchServiceAccountOK) String() string
- type PatchServiceAccountParams
- func NewPatchServiceAccountParams() *PatchServiceAccountParams
- func NewPatchServiceAccountParamsWithContext(ctx context.Context) *PatchServiceAccountParams
- func NewPatchServiceAccountParamsWithHTTPClient(client *http.Client) *PatchServiceAccountParams
- func NewPatchServiceAccountParamsWithTimeout(timeout time.Duration) *PatchServiceAccountParams
- func (o *PatchServiceAccountParams) SetBody(body *service_model.V1ServiceAccount)
- func (o *PatchServiceAccountParams) SetContext(ctx context.Context)
- func (o *PatchServiceAccountParams) SetDefaults()
- func (o *PatchServiceAccountParams) SetHTTPClient(client *http.Client)
- func (o *PatchServiceAccountParams) SetOwner(owner string)
- func (o *PatchServiceAccountParams) SetSaUUID(saUUID string)
- func (o *PatchServiceAccountParams) SetTimeout(timeout time.Duration)
- func (o *PatchServiceAccountParams) WithBody(body *service_model.V1ServiceAccount) *PatchServiceAccountParams
- func (o *PatchServiceAccountParams) WithContext(ctx context.Context) *PatchServiceAccountParams
- func (o *PatchServiceAccountParams) WithDefaults() *PatchServiceAccountParams
- func (o *PatchServiceAccountParams) WithHTTPClient(client *http.Client) *PatchServiceAccountParams
- func (o *PatchServiceAccountParams) WithOwner(owner string) *PatchServiceAccountParams
- func (o *PatchServiceAccountParams) WithSaUUID(saUUID string) *PatchServiceAccountParams
- func (o *PatchServiceAccountParams) WithTimeout(timeout time.Duration) *PatchServiceAccountParams
- func (o *PatchServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchServiceAccountReader
- type PatchServiceAccountTokenDefault
- func (o *PatchServiceAccountTokenDefault) Code() int
- func (o *PatchServiceAccountTokenDefault) Error() string
- func (o *PatchServiceAccountTokenDefault) GetPayload() *service_model.RuntimeError
- func (o *PatchServiceAccountTokenDefault) IsClientError() bool
- func (o *PatchServiceAccountTokenDefault) IsCode(code int) bool
- func (o *PatchServiceAccountTokenDefault) IsRedirect() bool
- func (o *PatchServiceAccountTokenDefault) IsServerError() bool
- func (o *PatchServiceAccountTokenDefault) IsSuccess() bool
- func (o *PatchServiceAccountTokenDefault) String() string
- type PatchServiceAccountTokenForbidden
- func (o *PatchServiceAccountTokenForbidden) Code() int
- func (o *PatchServiceAccountTokenForbidden) Error() string
- func (o *PatchServiceAccountTokenForbidden) GetPayload() interface{}
- func (o *PatchServiceAccountTokenForbidden) IsClientError() bool
- func (o *PatchServiceAccountTokenForbidden) IsCode(code int) bool
- func (o *PatchServiceAccountTokenForbidden) IsRedirect() bool
- func (o *PatchServiceAccountTokenForbidden) IsServerError() bool
- func (o *PatchServiceAccountTokenForbidden) IsSuccess() bool
- func (o *PatchServiceAccountTokenForbidden) String() string
- type PatchServiceAccountTokenNoContent
- func (o *PatchServiceAccountTokenNoContent) Code() int
- func (o *PatchServiceAccountTokenNoContent) Error() string
- func (o *PatchServiceAccountTokenNoContent) GetPayload() interface{}
- func (o *PatchServiceAccountTokenNoContent) IsClientError() bool
- func (o *PatchServiceAccountTokenNoContent) IsCode(code int) bool
- func (o *PatchServiceAccountTokenNoContent) IsRedirect() bool
- func (o *PatchServiceAccountTokenNoContent) IsServerError() bool
- func (o *PatchServiceAccountTokenNoContent) IsSuccess() bool
- func (o *PatchServiceAccountTokenNoContent) String() string
- type PatchServiceAccountTokenNotFound
- func (o *PatchServiceAccountTokenNotFound) Code() int
- func (o *PatchServiceAccountTokenNotFound) Error() string
- func (o *PatchServiceAccountTokenNotFound) GetPayload() interface{}
- func (o *PatchServiceAccountTokenNotFound) IsClientError() bool
- func (o *PatchServiceAccountTokenNotFound) IsCode(code int) bool
- func (o *PatchServiceAccountTokenNotFound) IsRedirect() bool
- func (o *PatchServiceAccountTokenNotFound) IsServerError() bool
- func (o *PatchServiceAccountTokenNotFound) IsSuccess() bool
- func (o *PatchServiceAccountTokenNotFound) String() string
- type PatchServiceAccountTokenOK
- func (o *PatchServiceAccountTokenOK) Code() int
- func (o *PatchServiceAccountTokenOK) Error() string
- func (o *PatchServiceAccountTokenOK) GetPayload() *service_model.V1Token
- func (o *PatchServiceAccountTokenOK) IsClientError() bool
- func (o *PatchServiceAccountTokenOK) IsCode(code int) bool
- func (o *PatchServiceAccountTokenOK) IsRedirect() bool
- func (o *PatchServiceAccountTokenOK) IsServerError() bool
- func (o *PatchServiceAccountTokenOK) IsSuccess() bool
- func (o *PatchServiceAccountTokenOK) String() string
- type PatchServiceAccountTokenParams
- func NewPatchServiceAccountTokenParams() *PatchServiceAccountTokenParams
- func NewPatchServiceAccountTokenParamsWithContext(ctx context.Context) *PatchServiceAccountTokenParams
- func NewPatchServiceAccountTokenParamsWithHTTPClient(client *http.Client) *PatchServiceAccountTokenParams
- func NewPatchServiceAccountTokenParamsWithTimeout(timeout time.Duration) *PatchServiceAccountTokenParams
- func (o *PatchServiceAccountTokenParams) SetBody(body *service_model.V1Token)
- func (o *PatchServiceAccountTokenParams) SetContext(ctx context.Context)
- func (o *PatchServiceAccountTokenParams) SetDefaults()
- func (o *PatchServiceAccountTokenParams) SetEntity(entity string)
- func (o *PatchServiceAccountTokenParams) SetHTTPClient(client *http.Client)
- func (o *PatchServiceAccountTokenParams) SetOwner(owner string)
- func (o *PatchServiceAccountTokenParams) SetTimeout(timeout time.Duration)
- func (o *PatchServiceAccountTokenParams) SetTokenUUID(tokenUUID string)
- func (o *PatchServiceAccountTokenParams) WithBody(body *service_model.V1Token) *PatchServiceAccountTokenParams
- func (o *PatchServiceAccountTokenParams) WithContext(ctx context.Context) *PatchServiceAccountTokenParams
- func (o *PatchServiceAccountTokenParams) WithDefaults() *PatchServiceAccountTokenParams
- func (o *PatchServiceAccountTokenParams) WithEntity(entity string) *PatchServiceAccountTokenParams
- func (o *PatchServiceAccountTokenParams) WithHTTPClient(client *http.Client) *PatchServiceAccountTokenParams
- func (o *PatchServiceAccountTokenParams) WithOwner(owner string) *PatchServiceAccountTokenParams
- func (o *PatchServiceAccountTokenParams) WithTimeout(timeout time.Duration) *PatchServiceAccountTokenParams
- func (o *PatchServiceAccountTokenParams) WithTokenUUID(tokenUUID string) *PatchServiceAccountTokenParams
- func (o *PatchServiceAccountTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchServiceAccountTokenReader
- type UpdateServiceAccountDefault
- func (o *UpdateServiceAccountDefault) Code() int
- func (o *UpdateServiceAccountDefault) Error() string
- func (o *UpdateServiceAccountDefault) GetPayload() *service_model.RuntimeError
- func (o *UpdateServiceAccountDefault) IsClientError() bool
- func (o *UpdateServiceAccountDefault) IsCode(code int) bool
- func (o *UpdateServiceAccountDefault) IsRedirect() bool
- func (o *UpdateServiceAccountDefault) IsServerError() bool
- func (o *UpdateServiceAccountDefault) IsSuccess() bool
- func (o *UpdateServiceAccountDefault) String() string
- type UpdateServiceAccountForbidden
- func (o *UpdateServiceAccountForbidden) Code() int
- func (o *UpdateServiceAccountForbidden) Error() string
- func (o *UpdateServiceAccountForbidden) GetPayload() interface{}
- func (o *UpdateServiceAccountForbidden) IsClientError() bool
- func (o *UpdateServiceAccountForbidden) IsCode(code int) bool
- func (o *UpdateServiceAccountForbidden) IsRedirect() bool
- func (o *UpdateServiceAccountForbidden) IsServerError() bool
- func (o *UpdateServiceAccountForbidden) IsSuccess() bool
- func (o *UpdateServiceAccountForbidden) String() string
- type UpdateServiceAccountNoContent
- func (o *UpdateServiceAccountNoContent) Code() int
- func (o *UpdateServiceAccountNoContent) Error() string
- func (o *UpdateServiceAccountNoContent) GetPayload() interface{}
- func (o *UpdateServiceAccountNoContent) IsClientError() bool
- func (o *UpdateServiceAccountNoContent) IsCode(code int) bool
- func (o *UpdateServiceAccountNoContent) IsRedirect() bool
- func (o *UpdateServiceAccountNoContent) IsServerError() bool
- func (o *UpdateServiceAccountNoContent) IsSuccess() bool
- func (o *UpdateServiceAccountNoContent) String() string
- type UpdateServiceAccountNotFound
- func (o *UpdateServiceAccountNotFound) Code() int
- func (o *UpdateServiceAccountNotFound) Error() string
- func (o *UpdateServiceAccountNotFound) GetPayload() interface{}
- func (o *UpdateServiceAccountNotFound) IsClientError() bool
- func (o *UpdateServiceAccountNotFound) IsCode(code int) bool
- func (o *UpdateServiceAccountNotFound) IsRedirect() bool
- func (o *UpdateServiceAccountNotFound) IsServerError() bool
- func (o *UpdateServiceAccountNotFound) IsSuccess() bool
- func (o *UpdateServiceAccountNotFound) String() string
- type UpdateServiceAccountOK
- func (o *UpdateServiceAccountOK) Code() int
- func (o *UpdateServiceAccountOK) Error() string
- func (o *UpdateServiceAccountOK) GetPayload() *service_model.V1ServiceAccount
- func (o *UpdateServiceAccountOK) IsClientError() bool
- func (o *UpdateServiceAccountOK) IsCode(code int) bool
- func (o *UpdateServiceAccountOK) IsRedirect() bool
- func (o *UpdateServiceAccountOK) IsServerError() bool
- func (o *UpdateServiceAccountOK) IsSuccess() bool
- func (o *UpdateServiceAccountOK) String() string
- type UpdateServiceAccountParams
- func NewUpdateServiceAccountParams() *UpdateServiceAccountParams
- func NewUpdateServiceAccountParamsWithContext(ctx context.Context) *UpdateServiceAccountParams
- func NewUpdateServiceAccountParamsWithHTTPClient(client *http.Client) *UpdateServiceAccountParams
- func NewUpdateServiceAccountParamsWithTimeout(timeout time.Duration) *UpdateServiceAccountParams
- func (o *UpdateServiceAccountParams) SetBody(body *service_model.V1ServiceAccount)
- func (o *UpdateServiceAccountParams) SetContext(ctx context.Context)
- func (o *UpdateServiceAccountParams) SetDefaults()
- func (o *UpdateServiceAccountParams) SetHTTPClient(client *http.Client)
- func (o *UpdateServiceAccountParams) SetOwner(owner string)
- func (o *UpdateServiceAccountParams) SetSaUUID(saUUID string)
- func (o *UpdateServiceAccountParams) SetTimeout(timeout time.Duration)
- func (o *UpdateServiceAccountParams) WithBody(body *service_model.V1ServiceAccount) *UpdateServiceAccountParams
- func (o *UpdateServiceAccountParams) WithContext(ctx context.Context) *UpdateServiceAccountParams
- func (o *UpdateServiceAccountParams) WithDefaults() *UpdateServiceAccountParams
- func (o *UpdateServiceAccountParams) WithHTTPClient(client *http.Client) *UpdateServiceAccountParams
- func (o *UpdateServiceAccountParams) WithOwner(owner string) *UpdateServiceAccountParams
- func (o *UpdateServiceAccountParams) WithSaUUID(saUUID string) *UpdateServiceAccountParams
- func (o *UpdateServiceAccountParams) WithTimeout(timeout time.Duration) *UpdateServiceAccountParams
- func (o *UpdateServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateServiceAccountReader
- type UpdateServiceAccountTokenDefault
- func (o *UpdateServiceAccountTokenDefault) Code() int
- func (o *UpdateServiceAccountTokenDefault) Error() string
- func (o *UpdateServiceAccountTokenDefault) GetPayload() *service_model.RuntimeError
- func (o *UpdateServiceAccountTokenDefault) IsClientError() bool
- func (o *UpdateServiceAccountTokenDefault) IsCode(code int) bool
- func (o *UpdateServiceAccountTokenDefault) IsRedirect() bool
- func (o *UpdateServiceAccountTokenDefault) IsServerError() bool
- func (o *UpdateServiceAccountTokenDefault) IsSuccess() bool
- func (o *UpdateServiceAccountTokenDefault) String() string
- type UpdateServiceAccountTokenForbidden
- func (o *UpdateServiceAccountTokenForbidden) Code() int
- func (o *UpdateServiceAccountTokenForbidden) Error() string
- func (o *UpdateServiceAccountTokenForbidden) GetPayload() interface{}
- func (o *UpdateServiceAccountTokenForbidden) IsClientError() bool
- func (o *UpdateServiceAccountTokenForbidden) IsCode(code int) bool
- func (o *UpdateServiceAccountTokenForbidden) IsRedirect() bool
- func (o *UpdateServiceAccountTokenForbidden) IsServerError() bool
- func (o *UpdateServiceAccountTokenForbidden) IsSuccess() bool
- func (o *UpdateServiceAccountTokenForbidden) String() string
- type UpdateServiceAccountTokenNoContent
- func (o *UpdateServiceAccountTokenNoContent) Code() int
- func (o *UpdateServiceAccountTokenNoContent) Error() string
- func (o *UpdateServiceAccountTokenNoContent) GetPayload() interface{}
- func (o *UpdateServiceAccountTokenNoContent) IsClientError() bool
- func (o *UpdateServiceAccountTokenNoContent) IsCode(code int) bool
- func (o *UpdateServiceAccountTokenNoContent) IsRedirect() bool
- func (o *UpdateServiceAccountTokenNoContent) IsServerError() bool
- func (o *UpdateServiceAccountTokenNoContent) IsSuccess() bool
- func (o *UpdateServiceAccountTokenNoContent) String() string
- type UpdateServiceAccountTokenNotFound
- func (o *UpdateServiceAccountTokenNotFound) Code() int
- func (o *UpdateServiceAccountTokenNotFound) Error() string
- func (o *UpdateServiceAccountTokenNotFound) GetPayload() interface{}
- func (o *UpdateServiceAccountTokenNotFound) IsClientError() bool
- func (o *UpdateServiceAccountTokenNotFound) IsCode(code int) bool
- func (o *UpdateServiceAccountTokenNotFound) IsRedirect() bool
- func (o *UpdateServiceAccountTokenNotFound) IsServerError() bool
- func (o *UpdateServiceAccountTokenNotFound) IsSuccess() bool
- func (o *UpdateServiceAccountTokenNotFound) String() string
- type UpdateServiceAccountTokenOK
- func (o *UpdateServiceAccountTokenOK) Code() int
- func (o *UpdateServiceAccountTokenOK) Error() string
- func (o *UpdateServiceAccountTokenOK) GetPayload() *service_model.V1Token
- func (o *UpdateServiceAccountTokenOK) IsClientError() bool
- func (o *UpdateServiceAccountTokenOK) IsCode(code int) bool
- func (o *UpdateServiceAccountTokenOK) IsRedirect() bool
- func (o *UpdateServiceAccountTokenOK) IsServerError() bool
- func (o *UpdateServiceAccountTokenOK) IsSuccess() bool
- func (o *UpdateServiceAccountTokenOK) String() string
- type UpdateServiceAccountTokenParams
- func NewUpdateServiceAccountTokenParams() *UpdateServiceAccountTokenParams
- func NewUpdateServiceAccountTokenParamsWithContext(ctx context.Context) *UpdateServiceAccountTokenParams
- func NewUpdateServiceAccountTokenParamsWithHTTPClient(client *http.Client) *UpdateServiceAccountTokenParams
- func NewUpdateServiceAccountTokenParamsWithTimeout(timeout time.Duration) *UpdateServiceAccountTokenParams
- func (o *UpdateServiceAccountTokenParams) SetBody(body *service_model.V1Token)
- func (o *UpdateServiceAccountTokenParams) SetContext(ctx context.Context)
- func (o *UpdateServiceAccountTokenParams) SetDefaults()
- func (o *UpdateServiceAccountTokenParams) SetEntity(entity string)
- func (o *UpdateServiceAccountTokenParams) SetHTTPClient(client *http.Client)
- func (o *UpdateServiceAccountTokenParams) SetOwner(owner string)
- func (o *UpdateServiceAccountTokenParams) SetTimeout(timeout time.Duration)
- func (o *UpdateServiceAccountTokenParams) SetTokenUUID(tokenUUID string)
- func (o *UpdateServiceAccountTokenParams) WithBody(body *service_model.V1Token) *UpdateServiceAccountTokenParams
- func (o *UpdateServiceAccountTokenParams) WithContext(ctx context.Context) *UpdateServiceAccountTokenParams
- func (o *UpdateServiceAccountTokenParams) WithDefaults() *UpdateServiceAccountTokenParams
- func (o *UpdateServiceAccountTokenParams) WithEntity(entity string) *UpdateServiceAccountTokenParams
- func (o *UpdateServiceAccountTokenParams) WithHTTPClient(client *http.Client) *UpdateServiceAccountTokenParams
- func (o *UpdateServiceAccountTokenParams) WithOwner(owner string) *UpdateServiceAccountTokenParams
- func (o *UpdateServiceAccountTokenParams) WithTimeout(timeout time.Duration) *UpdateServiceAccountTokenParams
- func (o *UpdateServiceAccountTokenParams) WithTokenUUID(tokenUUID string) *UpdateServiceAccountTokenParams
- func (o *UpdateServiceAccountTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateServiceAccountTokenReader
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 ¶
func (a *Client) CreateServiceAccount(params *CreateServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServiceAccountOK, *CreateServiceAccountNoContent, error)
CreateServiceAccount creates service account
func (*Client) CreateServiceAccountToken ¶
func (a *Client) CreateServiceAccountToken(params *CreateServiceAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServiceAccountTokenOK, *CreateServiceAccountTokenNoContent, error)
CreateServiceAccountToken creates service account token
func (*Client) DeleteServiceAccount ¶
func (a *Client) DeleteServiceAccount(params *DeleteServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceAccountOK, *DeleteServiceAccountNoContent, error)
DeleteServiceAccount deletes service account
func (*Client) DeleteServiceAccountToken ¶
func (a *Client) DeleteServiceAccountToken(params *DeleteServiceAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceAccountTokenOK, *DeleteServiceAccountTokenNoContent, error)
DeleteServiceAccountToken deletes service account token
func (*Client) GetServiceAccount ¶
func (a *Client) GetServiceAccount(params *GetServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceAccountOK, *GetServiceAccountNoContent, error)
GetServiceAccount gets service account
func (*Client) GetServiceAccountToken ¶
func (a *Client) GetServiceAccountToken(params *GetServiceAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceAccountTokenOK, *GetServiceAccountTokenNoContent, error)
GetServiceAccountToken gets service account token
func (*Client) ListServiceAccountNames ¶
func (a *Client) ListServiceAccountNames(params *ListServiceAccountNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceAccountNamesOK, *ListServiceAccountNamesNoContent, error)
ListServiceAccountNames lists service accounts names
func (*Client) ListServiceAccountTokens ¶
func (a *Client) ListServiceAccountTokens(params *ListServiceAccountTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceAccountTokensOK, *ListServiceAccountTokensNoContent, error)
ListServiceAccountTokens lists service account tokens
func (*Client) ListServiceAccounts ¶
func (a *Client) ListServiceAccounts(params *ListServiceAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceAccountsOK, *ListServiceAccountsNoContent, error)
ListServiceAccounts lists service accounts
func (*Client) PatchServiceAccount ¶
func (a *Client) PatchServiceAccount(params *PatchServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchServiceAccountOK, *PatchServiceAccountNoContent, error)
PatchServiceAccount patches service account
func (*Client) PatchServiceAccountToken ¶
func (a *Client) PatchServiceAccountToken(params *PatchServiceAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchServiceAccountTokenOK, *PatchServiceAccountTokenNoContent, error)
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 ¶
func (a *Client) UpdateServiceAccount(params *UpdateServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceAccountOK, *UpdateServiceAccountNoContent, error)
UpdateServiceAccount updates service account
func (*Client) UpdateServiceAccountToken ¶
func (a *Client) UpdateServiceAccountToken(params *UpdateServiceAccountTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceAccountTokenOK, *UpdateServiceAccountTokenNoContent, error)
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 (o *CreateServiceAccountDefault) Error() string
func (*CreateServiceAccountDefault) GetPayload ¶
func (o *CreateServiceAccountDefault) GetPayload() *service_model.RuntimeError
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
func (o *CreateServiceAccountForbidden) Code() int
Code gets the status code for the create service account forbidden response
func (*CreateServiceAccountForbidden) Error ¶
func (o *CreateServiceAccountForbidden) Error() string
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
func (o *CreateServiceAccountForbidden) String() string
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
func (o *CreateServiceAccountNoContent) Code() int
Code gets the status code for the create service account no content response
func (*CreateServiceAccountNoContent) Error ¶
func (o *CreateServiceAccountNoContent) Error() string
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
func (o *CreateServiceAccountNoContent) String() string
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
func (o *CreateServiceAccountNotFound) Code() int
Code gets the status code for the create service account not found response
func (*CreateServiceAccountNotFound) Error ¶
func (o *CreateServiceAccountNotFound) Error() string
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
func (o *CreateServiceAccountNotFound) String() string
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 (o *CreateServiceAccountOK) GetPayload() *service_model.V1ServiceAccount
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 ¶
func (o *CreateServiceAccountParams) SetBody(body *service_model.V1ServiceAccount)
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 ¶
func (o *CreateServiceAccountParams) WithBody(body *service_model.V1ServiceAccount) *CreateServiceAccountParams
WithBody adds the body to the create service account params
func (*CreateServiceAccountParams) WithContext ¶
func (o *CreateServiceAccountParams) WithContext(ctx context.Context) *CreateServiceAccountParams
WithContext adds the context to the create service account params
func (*CreateServiceAccountParams) WithDefaults ¶
func (o *CreateServiceAccountParams) WithDefaults() *CreateServiceAccountParams
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 ¶
func (o *CreateServiceAccountParams) WithHTTPClient(client *http.Client) *CreateServiceAccountParams
WithHTTPClient adds the HTTPClient to the create service account params
func (*CreateServiceAccountParams) WithOwner ¶
func (o *CreateServiceAccountParams) WithOwner(owner string) *CreateServiceAccountParams
WithOwner adds the owner to the create service account params
func (*CreateServiceAccountParams) WithTimeout ¶
func (o *CreateServiceAccountParams) WithTimeout(timeout time.Duration) *CreateServiceAccountParams
WithTimeout adds the timeout to the create service account params
func (*CreateServiceAccountParams) WriteToRequest ¶
func (o *CreateServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateServiceAccountTokenDefault) Code() int
Code gets the status code for the create service account token default response
func (*CreateServiceAccountTokenDefault) Error ¶
func (o *CreateServiceAccountTokenDefault) Error() string
func (*CreateServiceAccountTokenDefault) GetPayload ¶
func (o *CreateServiceAccountTokenDefault) GetPayload() *service_model.RuntimeError
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
func (o *CreateServiceAccountTokenDefault) String() string
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
func (o *CreateServiceAccountTokenForbidden) Code() int
Code gets the status code for the create service account token forbidden response
func (*CreateServiceAccountTokenForbidden) Error ¶
func (o *CreateServiceAccountTokenForbidden) Error() string
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
func (o *CreateServiceAccountTokenForbidden) IsCode(code int) bool
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
func (o *CreateServiceAccountTokenForbidden) IsSuccess() bool
IsSuccess returns true when this create service account token forbidden response has a 2xx status code
func (*CreateServiceAccountTokenForbidden) String ¶ added in v1.21.0
func (o *CreateServiceAccountTokenForbidden) String() string
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
func (o *CreateServiceAccountTokenNoContent) Code() int
Code gets the status code for the create service account token no content response
func (*CreateServiceAccountTokenNoContent) Error ¶
func (o *CreateServiceAccountTokenNoContent) Error() string
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
func (o *CreateServiceAccountTokenNoContent) IsCode(code int) bool
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
func (o *CreateServiceAccountTokenNoContent) IsSuccess() bool
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
func (o *CreateServiceAccountTokenNoContent) String() string
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
func (o *CreateServiceAccountTokenNotFound) Code() int
Code gets the status code for the create service account token not found response
func (*CreateServiceAccountTokenNotFound) Error ¶
func (o *CreateServiceAccountTokenNotFound) Error() string
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
func (o *CreateServiceAccountTokenNotFound) String() string
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 (o *CreateServiceAccountTokenOK) Error() string
func (*CreateServiceAccountTokenOK) GetPayload ¶
func (o *CreateServiceAccountTokenOK) GetPayload() *service_model.V1Token
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 ¶
func (o *CreateServiceAccountTokenParams) SetBody(body *service_model.V1Token)
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 ¶
func (o *CreateServiceAccountTokenParams) WithBody(body *service_model.V1Token) *CreateServiceAccountTokenParams
WithBody adds the body to the create service account token params
func (*CreateServiceAccountTokenParams) WithContext ¶
func (o *CreateServiceAccountTokenParams) WithContext(ctx context.Context) *CreateServiceAccountTokenParams
WithContext adds the context to the create service account token params
func (*CreateServiceAccountTokenParams) WithDefaults ¶
func (o *CreateServiceAccountTokenParams) WithDefaults() *CreateServiceAccountTokenParams
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 ¶
func (o *CreateServiceAccountTokenParams) WithEntity(entity string) *CreateServiceAccountTokenParams
WithEntity adds the entity to the create service account token params
func (*CreateServiceAccountTokenParams) WithHTTPClient ¶
func (o *CreateServiceAccountTokenParams) WithHTTPClient(client *http.Client) *CreateServiceAccountTokenParams
WithHTTPClient adds the HTTPClient to the create service account token params
func (*CreateServiceAccountTokenParams) WithOwner ¶
func (o *CreateServiceAccountTokenParams) WithOwner(owner string) *CreateServiceAccountTokenParams
WithOwner adds the owner to the create service account token params
func (*CreateServiceAccountTokenParams) WithTimeout ¶
func (o *CreateServiceAccountTokenParams) WithTimeout(timeout time.Duration) *CreateServiceAccountTokenParams
WithTimeout adds the timeout to the create service account token params
func (*CreateServiceAccountTokenParams) WriteToRequest ¶
func (o *CreateServiceAccountTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *DeleteServiceAccountDefault) Error() string
func (*DeleteServiceAccountDefault) GetPayload ¶
func (o *DeleteServiceAccountDefault) GetPayload() *service_model.RuntimeError
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
func (o *DeleteServiceAccountForbidden) Code() int
Code gets the status code for the delete service account forbidden response
func (*DeleteServiceAccountForbidden) Error ¶
func (o *DeleteServiceAccountForbidden) Error() string
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
func (o *DeleteServiceAccountForbidden) String() string
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
func (o *DeleteServiceAccountNoContent) Code() int
Code gets the status code for the delete service account no content response
func (*DeleteServiceAccountNoContent) Error ¶
func (o *DeleteServiceAccountNoContent) Error() string
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
func (o *DeleteServiceAccountNoContent) String() string
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
func (o *DeleteServiceAccountNotFound) Code() int
Code gets the status code for the delete service account not found response
func (*DeleteServiceAccountNotFound) Error ¶
func (o *DeleteServiceAccountNotFound) Error() string
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
func (o *DeleteServiceAccountNotFound) String() string
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 ¶
func (o *DeleteServiceAccountParams) WithContext(ctx context.Context) *DeleteServiceAccountParams
WithContext adds the context to the delete service account params
func (*DeleteServiceAccountParams) WithDefaults ¶
func (o *DeleteServiceAccountParams) WithDefaults() *DeleteServiceAccountParams
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 ¶
func (o *DeleteServiceAccountParams) WithHTTPClient(client *http.Client) *DeleteServiceAccountParams
WithHTTPClient adds the HTTPClient to the delete service account params
func (*DeleteServiceAccountParams) WithOwner ¶
func (o *DeleteServiceAccountParams) WithOwner(owner string) *DeleteServiceAccountParams
WithOwner adds the owner to the delete service account params
func (*DeleteServiceAccountParams) WithTimeout ¶
func (o *DeleteServiceAccountParams) WithTimeout(timeout time.Duration) *DeleteServiceAccountParams
WithTimeout adds the timeout to the delete service account params
func (*DeleteServiceAccountParams) WithUUID ¶
func (o *DeleteServiceAccountParams) WithUUID(uuid string) *DeleteServiceAccountParams
WithUUID adds the uuid to the delete service account params
func (*DeleteServiceAccountParams) WriteToRequest ¶
func (o *DeleteServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteServiceAccountReader ¶
type DeleteServiceAccountReader struct {
// contains filtered or unexported fields
}
DeleteServiceAccountReader is a Reader for the DeleteServiceAccount structure.
func (*DeleteServiceAccountReader) ReadResponse ¶
func (o *DeleteServiceAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type 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 ¶
func (o *DeleteServiceAccountTokenDefault) Code() int
Code gets the status code for the delete service account token default response
func (*DeleteServiceAccountTokenDefault) Error ¶
func (o *DeleteServiceAccountTokenDefault) Error() string
func (*DeleteServiceAccountTokenDefault) GetPayload ¶
func (o *DeleteServiceAccountTokenDefault) GetPayload() *service_model.RuntimeError
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
func (o *DeleteServiceAccountTokenDefault) String() string
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
func (o *DeleteServiceAccountTokenForbidden) Code() int
Code gets the status code for the delete service account token forbidden response
func (*DeleteServiceAccountTokenForbidden) Error ¶
func (o *DeleteServiceAccountTokenForbidden) Error() string
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
func (o *DeleteServiceAccountTokenForbidden) IsCode(code int) bool
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
func (o *DeleteServiceAccountTokenForbidden) IsSuccess() bool
IsSuccess returns true when this delete service account token forbidden response has a 2xx status code
func (*DeleteServiceAccountTokenForbidden) String ¶ added in v1.21.0
func (o *DeleteServiceAccountTokenForbidden) String() string
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
func (o *DeleteServiceAccountTokenNoContent) Code() int
Code gets the status code for the delete service account token no content response
func (*DeleteServiceAccountTokenNoContent) Error ¶
func (o *DeleteServiceAccountTokenNoContent) Error() string
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
func (o *DeleteServiceAccountTokenNoContent) IsCode(code int) bool
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
func (o *DeleteServiceAccountTokenNoContent) IsSuccess() bool
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
func (o *DeleteServiceAccountTokenNoContent) String() string
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
func (o *DeleteServiceAccountTokenNotFound) Code() int
Code gets the status code for the delete service account token not found response
func (*DeleteServiceAccountTokenNotFound) Error ¶
func (o *DeleteServiceAccountTokenNotFound) Error() string
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
func (o *DeleteServiceAccountTokenNotFound) String() string
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 (o *DeleteServiceAccountTokenOK) Error() string
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 ¶
func (o *DeleteServiceAccountTokenParams) WithContext(ctx context.Context) *DeleteServiceAccountTokenParams
WithContext adds the context to the delete service account token params
func (*DeleteServiceAccountTokenParams) WithDefaults ¶
func (o *DeleteServiceAccountTokenParams) WithDefaults() *DeleteServiceAccountTokenParams
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 ¶
func (o *DeleteServiceAccountTokenParams) WithEntity(entity string) *DeleteServiceAccountTokenParams
WithEntity adds the entity to the delete service account token params
func (*DeleteServiceAccountTokenParams) WithHTTPClient ¶
func (o *DeleteServiceAccountTokenParams) WithHTTPClient(client *http.Client) *DeleteServiceAccountTokenParams
WithHTTPClient adds the HTTPClient to the delete service account token params
func (*DeleteServiceAccountTokenParams) WithOwner ¶
func (o *DeleteServiceAccountTokenParams) WithOwner(owner string) *DeleteServiceAccountTokenParams
WithOwner adds the owner to the delete service account token params
func (*DeleteServiceAccountTokenParams) WithTimeout ¶
func (o *DeleteServiceAccountTokenParams) WithTimeout(timeout time.Duration) *DeleteServiceAccountTokenParams
WithTimeout adds the timeout to the delete service account token params
func (*DeleteServiceAccountTokenParams) WithUUID ¶
func (o *DeleteServiceAccountTokenParams) WithUUID(uuid string) *DeleteServiceAccountTokenParams
WithUUID adds the uuid to the delete service account token params
func (*DeleteServiceAccountTokenParams) WriteToRequest ¶
func (o *DeleteServiceAccountTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetServiceAccountDefault) GetPayload() *service_model.RuntimeError
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 (o *GetServiceAccountForbidden) Error() string
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 (o *GetServiceAccountNoContent) Error() string
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 (o *GetServiceAccountOK) GetPayload() *service_model.V1ServiceAccount
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 ¶
func (o *GetServiceAccountParams) WithContext(ctx context.Context) *GetServiceAccountParams
WithContext adds the context to the get service account params
func (*GetServiceAccountParams) WithDefaults ¶
func (o *GetServiceAccountParams) WithDefaults() *GetServiceAccountParams
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 ¶
func (o *GetServiceAccountParams) WithOwner(owner string) *GetServiceAccountParams
WithOwner adds the owner to the get service account params
func (*GetServiceAccountParams) WithTimeout ¶
func (o *GetServiceAccountParams) WithTimeout(timeout time.Duration) *GetServiceAccountParams
WithTimeout adds the timeout to the get service account params
func (*GetServiceAccountParams) WithUUID ¶
func (o *GetServiceAccountParams) WithUUID(uuid string) *GetServiceAccountParams
WithUUID adds the uuid to the get service account params
func (*GetServiceAccountParams) WriteToRequest ¶
func (o *GetServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServiceAccountReader ¶
type GetServiceAccountReader struct {
// contains filtered or unexported fields
}
GetServiceAccountReader is a Reader for the GetServiceAccount structure.
func (*GetServiceAccountReader) ReadResponse ¶
func (o *GetServiceAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type 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 ¶
func (o *GetServiceAccountTokenDefault) Code() int
Code gets the status code for the get service account token default response
func (*GetServiceAccountTokenDefault) Error ¶
func (o *GetServiceAccountTokenDefault) Error() string
func (*GetServiceAccountTokenDefault) GetPayload ¶
func (o *GetServiceAccountTokenDefault) GetPayload() *service_model.RuntimeError
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
func (o *GetServiceAccountTokenDefault) String() string
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
func (o *GetServiceAccountTokenForbidden) Code() int
Code gets the status code for the get service account token forbidden response
func (*GetServiceAccountTokenForbidden) Error ¶
func (o *GetServiceAccountTokenForbidden) Error() string
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
func (o *GetServiceAccountTokenForbidden) String() string
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
func (o *GetServiceAccountTokenNoContent) Code() int
Code gets the status code for the get service account token no content response
func (*GetServiceAccountTokenNoContent) Error ¶
func (o *GetServiceAccountTokenNoContent) Error() string
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
func (o *GetServiceAccountTokenNoContent) String() string
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
func (o *GetServiceAccountTokenNotFound) Code() int
Code gets the status code for the get service account token not found response
func (*GetServiceAccountTokenNotFound) Error ¶
func (o *GetServiceAccountTokenNotFound) Error() string
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
func (o *GetServiceAccountTokenNotFound) String() string
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 (o *GetServiceAccountTokenOK) GetPayload() *service_model.V1Token
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 ¶
func (o *GetServiceAccountTokenParams) WithContext(ctx context.Context) *GetServiceAccountTokenParams
WithContext adds the context to the get service account token params
func (*GetServiceAccountTokenParams) WithDefaults ¶
func (o *GetServiceAccountTokenParams) WithDefaults() *GetServiceAccountTokenParams
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 ¶
func (o *GetServiceAccountTokenParams) WithEntity(entity string) *GetServiceAccountTokenParams
WithEntity adds the entity to the get service account token params
func (*GetServiceAccountTokenParams) WithHTTPClient ¶
func (o *GetServiceAccountTokenParams) WithHTTPClient(client *http.Client) *GetServiceAccountTokenParams
WithHTTPClient adds the HTTPClient to the get service account token params
func (*GetServiceAccountTokenParams) WithOwner ¶
func (o *GetServiceAccountTokenParams) WithOwner(owner string) *GetServiceAccountTokenParams
WithOwner adds the owner to the get service account token params
func (*GetServiceAccountTokenParams) WithTimeout ¶
func (o *GetServiceAccountTokenParams) WithTimeout(timeout time.Duration) *GetServiceAccountTokenParams
WithTimeout adds the timeout to the get service account token params
func (*GetServiceAccountTokenParams) WithUUID ¶
func (o *GetServiceAccountTokenParams) WithUUID(uuid string) *GetServiceAccountTokenParams
WithUUID adds the uuid to the get service account token params
func (*GetServiceAccountTokenParams) WriteToRequest ¶
func (o *GetServiceAccountTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListServiceAccountNamesDefault) Code() int
Code gets the status code for the list service account names default response
func (*ListServiceAccountNamesDefault) Error ¶
func (o *ListServiceAccountNamesDefault) Error() string
func (*ListServiceAccountNamesDefault) GetPayload ¶
func (o *ListServiceAccountNamesDefault) GetPayload() *service_model.RuntimeError
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
func (o *ListServiceAccountNamesDefault) String() string
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
func (o *ListServiceAccountNamesForbidden) Code() int
Code gets the status code for the list service account names forbidden response
func (*ListServiceAccountNamesForbidden) Error ¶
func (o *ListServiceAccountNamesForbidden) Error() string
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
func (o *ListServiceAccountNamesForbidden) String() string
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
func (o *ListServiceAccountNamesNoContent) Code() int
Code gets the status code for the list service account names no content response
func (*ListServiceAccountNamesNoContent) Error ¶
func (o *ListServiceAccountNamesNoContent) Error() string
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
func (o *ListServiceAccountNamesNoContent) String() string
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
func (o *ListServiceAccountNamesNotFound) Code() int
Code gets the status code for the list service account names not found response
func (*ListServiceAccountNamesNotFound) Error ¶
func (o *ListServiceAccountNamesNotFound) Error() string
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
func (o *ListServiceAccountNamesNotFound) String() string
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 (o *ListServiceAccountNamesOK) GetPayload() *service_model.V1ListServiceAccountsResponse
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 ¶
func (o *ListServiceAccountNamesParams) WithBookmarks(bookmarks *bool) *ListServiceAccountNamesParams
WithBookmarks adds the bookmarks to the list service account names params
func (*ListServiceAccountNamesParams) WithContext ¶
func (o *ListServiceAccountNamesParams) WithContext(ctx context.Context) *ListServiceAccountNamesParams
WithContext adds the context to the list service account names params
func (*ListServiceAccountNamesParams) WithDefaults ¶
func (o *ListServiceAccountNamesParams) WithDefaults() *ListServiceAccountNamesParams
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 ¶
func (o *ListServiceAccountNamesParams) WithHTTPClient(client *http.Client) *ListServiceAccountNamesParams
WithHTTPClient adds the HTTPClient to the list service account names params
func (*ListServiceAccountNamesParams) WithLimit ¶
func (o *ListServiceAccountNamesParams) WithLimit(limit *int32) *ListServiceAccountNamesParams
WithLimit adds the limit to the list service account names params
func (*ListServiceAccountNamesParams) WithMode ¶
func (o *ListServiceAccountNamesParams) WithMode(mode *string) *ListServiceAccountNamesParams
WithMode adds the mode to the list service account names params
func (*ListServiceAccountNamesParams) WithNoPage ¶
func (o *ListServiceAccountNamesParams) WithNoPage(noPage *bool) *ListServiceAccountNamesParams
WithNoPage adds the noPage to the list service account names params
func (*ListServiceAccountNamesParams) WithOffset ¶
func (o *ListServiceAccountNamesParams) WithOffset(offset *int32) *ListServiceAccountNamesParams
WithOffset adds the offset to the list service account names params
func (*ListServiceAccountNamesParams) WithOwner ¶
func (o *ListServiceAccountNamesParams) WithOwner(owner string) *ListServiceAccountNamesParams
WithOwner adds the owner to the list service account names params
func (*ListServiceAccountNamesParams) WithQuery ¶
func (o *ListServiceAccountNamesParams) WithQuery(query *string) *ListServiceAccountNamesParams
WithQuery adds the query to the list service account names params
func (*ListServiceAccountNamesParams) WithSort ¶
func (o *ListServiceAccountNamesParams) WithSort(sort *string) *ListServiceAccountNamesParams
WithSort adds the sort to the list service account names params
func (*ListServiceAccountNamesParams) WithTimeout ¶
func (o *ListServiceAccountNamesParams) WithTimeout(timeout time.Duration) *ListServiceAccountNamesParams
WithTimeout adds the timeout to the list service account names params
func (*ListServiceAccountNamesParams) WriteToRequest ¶
func (o *ListServiceAccountNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListServiceAccountTokensDefault) Code() int
Code gets the status code for the list service account tokens default response
func (*ListServiceAccountTokensDefault) Error ¶
func (o *ListServiceAccountTokensDefault) Error() string
func (*ListServiceAccountTokensDefault) GetPayload ¶
func (o *ListServiceAccountTokensDefault) GetPayload() *service_model.RuntimeError
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
func (o *ListServiceAccountTokensDefault) String() string
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
func (o *ListServiceAccountTokensForbidden) Code() int
Code gets the status code for the list service account tokens forbidden response
func (*ListServiceAccountTokensForbidden) Error ¶
func (o *ListServiceAccountTokensForbidden) Error() string
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
func (o *ListServiceAccountTokensForbidden) String() string
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
func (o *ListServiceAccountTokensNoContent) Code() int
Code gets the status code for the list service account tokens no content response
func (*ListServiceAccountTokensNoContent) Error ¶
func (o *ListServiceAccountTokensNoContent) Error() string
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
func (o *ListServiceAccountTokensNoContent) String() string
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
func (o *ListServiceAccountTokensNotFound) Code() int
Code gets the status code for the list service account tokens not found response
func (*ListServiceAccountTokensNotFound) Error ¶
func (o *ListServiceAccountTokensNotFound) Error() string
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
func (o *ListServiceAccountTokensNotFound) String() string
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 (o *ListServiceAccountTokensOK) Error() string
func (*ListServiceAccountTokensOK) GetPayload ¶
func (o *ListServiceAccountTokensOK) GetPayload() *service_model.V1ListTokenResponse
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 ¶
func (o *ListServiceAccountTokensParams) WithContext(ctx context.Context) *ListServiceAccountTokensParams
WithContext adds the context to the list service account tokens params
func (*ListServiceAccountTokensParams) WithDefaults ¶
func (o *ListServiceAccountTokensParams) WithDefaults() *ListServiceAccountTokensParams
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 ¶
func (o *ListServiceAccountTokensParams) WithEntity(entity *string) *ListServiceAccountTokensParams
WithEntity adds the entity to the list service account tokens params
func (*ListServiceAccountTokensParams) WithHTTPClient ¶
func (o *ListServiceAccountTokensParams) WithHTTPClient(client *http.Client) *ListServiceAccountTokensParams
WithHTTPClient adds the HTTPClient to the list service account tokens params
func (*ListServiceAccountTokensParams) WithLimit ¶
func (o *ListServiceAccountTokensParams) WithLimit(limit *int32) *ListServiceAccountTokensParams
WithLimit adds the limit to the list service account tokens params
func (*ListServiceAccountTokensParams) WithNoPage ¶
func (o *ListServiceAccountTokensParams) WithNoPage(noPage *bool) *ListServiceAccountTokensParams
WithNoPage adds the noPage to the list service account tokens params
func (*ListServiceAccountTokensParams) WithOffset ¶
func (o *ListServiceAccountTokensParams) WithOffset(offset *int32) *ListServiceAccountTokensParams
WithOffset adds the offset to the list service account tokens params
func (*ListServiceAccountTokensParams) WithOwner ¶
func (o *ListServiceAccountTokensParams) WithOwner(owner string) *ListServiceAccountTokensParams
WithOwner adds the owner to the list service account tokens params
func (*ListServiceAccountTokensParams) WithQuery ¶
func (o *ListServiceAccountTokensParams) WithQuery(query *string) *ListServiceAccountTokensParams
WithQuery adds the query to the list service account tokens params
func (*ListServiceAccountTokensParams) WithSort ¶
func (o *ListServiceAccountTokensParams) WithSort(sort *string) *ListServiceAccountTokensParams
WithSort adds the sort to the list service account tokens params
func (*ListServiceAccountTokensParams) WithTimeout ¶
func (o *ListServiceAccountTokensParams) WithTimeout(timeout time.Duration) *ListServiceAccountTokensParams
WithTimeout adds the timeout to the list service account tokens params
func (*ListServiceAccountTokensParams) WithUUID ¶
func (o *ListServiceAccountTokensParams) WithUUID(uuid string) *ListServiceAccountTokensParams
WithUUID adds the uuid to the list service account tokens params
func (*ListServiceAccountTokensParams) WriteToRequest ¶
func (o *ListServiceAccountTokensParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListServiceAccountsDefault) Error() string
func (*ListServiceAccountsDefault) GetPayload ¶
func (o *ListServiceAccountsDefault) GetPayload() *service_model.RuntimeError
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
func (o *ListServiceAccountsForbidden) Code() int
Code gets the status code for the list service accounts forbidden response
func (*ListServiceAccountsForbidden) Error ¶
func (o *ListServiceAccountsForbidden) Error() string
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
func (o *ListServiceAccountsForbidden) String() string
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
func (o *ListServiceAccountsNoContent) Code() int
Code gets the status code for the list service accounts no content response
func (*ListServiceAccountsNoContent) Error ¶
func (o *ListServiceAccountsNoContent) Error() string
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
func (o *ListServiceAccountsNoContent) String() string
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 (o *ListServiceAccountsNotFound) Error() string
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 (o *ListServiceAccountsOK) GetPayload() *service_model.V1ListServiceAccountsResponse
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 ¶
func (o *ListServiceAccountsParams) WithContext(ctx context.Context) *ListServiceAccountsParams
WithContext adds the context to the list service accounts params
func (*ListServiceAccountsParams) WithDefaults ¶
func (o *ListServiceAccountsParams) WithDefaults() *ListServiceAccountsParams
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 ¶
func (o *ListServiceAccountsParams) WithLimit(limit *int32) *ListServiceAccountsParams
WithLimit adds the limit to the list service accounts params
func (*ListServiceAccountsParams) WithMode ¶
func (o *ListServiceAccountsParams) WithMode(mode *string) *ListServiceAccountsParams
WithMode adds the mode to the list service accounts params
func (*ListServiceAccountsParams) WithNoPage ¶
func (o *ListServiceAccountsParams) WithNoPage(noPage *bool) *ListServiceAccountsParams
WithNoPage adds the noPage to the list service accounts params
func (*ListServiceAccountsParams) WithOffset ¶
func (o *ListServiceAccountsParams) WithOffset(offset *int32) *ListServiceAccountsParams
WithOffset adds the offset to the list service accounts params
func (*ListServiceAccountsParams) WithOwner ¶
func (o *ListServiceAccountsParams) WithOwner(owner string) *ListServiceAccountsParams
WithOwner adds the owner to the list service accounts params
func (*ListServiceAccountsParams) WithQuery ¶
func (o *ListServiceAccountsParams) WithQuery(query *string) *ListServiceAccountsParams
WithQuery adds the query to the list service accounts params
func (*ListServiceAccountsParams) WithSort ¶
func (o *ListServiceAccountsParams) WithSort(sort *string) *ListServiceAccountsParams
WithSort adds the sort to the list service accounts params
func (*ListServiceAccountsParams) WithTimeout ¶
func (o *ListServiceAccountsParams) WithTimeout(timeout time.Duration) *ListServiceAccountsParams
WithTimeout adds the timeout to the list service accounts params
func (*ListServiceAccountsParams) WriteToRequest ¶
func (o *ListServiceAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PatchServiceAccountDefault) Error() string
func (*PatchServiceAccountDefault) GetPayload ¶
func (o *PatchServiceAccountDefault) GetPayload() *service_model.RuntimeError
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
func (o *PatchServiceAccountForbidden) Code() int
Code gets the status code for the patch service account forbidden response
func (*PatchServiceAccountForbidden) Error ¶
func (o *PatchServiceAccountForbidden) Error() string
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
func (o *PatchServiceAccountForbidden) String() string
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
func (o *PatchServiceAccountNoContent) Code() int
Code gets the status code for the patch service account no content response
func (*PatchServiceAccountNoContent) Error ¶
func (o *PatchServiceAccountNoContent) Error() string
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
func (o *PatchServiceAccountNoContent) String() string
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 (o *PatchServiceAccountNotFound) Error() string
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 (o *PatchServiceAccountOK) GetPayload() *service_model.V1ServiceAccount
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 ¶
func (o *PatchServiceAccountParams) SetBody(body *service_model.V1ServiceAccount)
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 ¶
func (o *PatchServiceAccountParams) WithBody(body *service_model.V1ServiceAccount) *PatchServiceAccountParams
WithBody adds the body to the patch service account params
func (*PatchServiceAccountParams) WithContext ¶
func (o *PatchServiceAccountParams) WithContext(ctx context.Context) *PatchServiceAccountParams
WithContext adds the context to the patch service account params
func (*PatchServiceAccountParams) WithDefaults ¶
func (o *PatchServiceAccountParams) WithDefaults() *PatchServiceAccountParams
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 ¶
func (o *PatchServiceAccountParams) WithOwner(owner string) *PatchServiceAccountParams
WithOwner adds the owner to the patch service account params
func (*PatchServiceAccountParams) WithSaUUID ¶
func (o *PatchServiceAccountParams) WithSaUUID(saUUID string) *PatchServiceAccountParams
WithSaUUID adds the saUUID to the patch service account params
func (*PatchServiceAccountParams) WithTimeout ¶
func (o *PatchServiceAccountParams) WithTimeout(timeout time.Duration) *PatchServiceAccountParams
WithTimeout adds the timeout to the patch service account params
func (*PatchServiceAccountParams) WriteToRequest ¶
func (o *PatchServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PatchServiceAccountTokenDefault) Code() int
Code gets the status code for the patch service account token default response
func (*PatchServiceAccountTokenDefault) Error ¶
func (o *PatchServiceAccountTokenDefault) Error() string
func (*PatchServiceAccountTokenDefault) GetPayload ¶
func (o *PatchServiceAccountTokenDefault) GetPayload() *service_model.RuntimeError
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
func (o *PatchServiceAccountTokenDefault) String() string
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
func (o *PatchServiceAccountTokenForbidden) Code() int
Code gets the status code for the patch service account token forbidden response
func (*PatchServiceAccountTokenForbidden) Error ¶
func (o *PatchServiceAccountTokenForbidden) Error() string
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
func (o *PatchServiceAccountTokenForbidden) String() string
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
func (o *PatchServiceAccountTokenNoContent) Code() int
Code gets the status code for the patch service account token no content response
func (*PatchServiceAccountTokenNoContent) Error ¶
func (o *PatchServiceAccountTokenNoContent) Error() string
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
func (o *PatchServiceAccountTokenNoContent) String() string
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
func (o *PatchServiceAccountTokenNotFound) Code() int
Code gets the status code for the patch service account token not found response
func (*PatchServiceAccountTokenNotFound) Error ¶
func (o *PatchServiceAccountTokenNotFound) Error() string
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
func (o *PatchServiceAccountTokenNotFound) String() string
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 (o *PatchServiceAccountTokenOK) Error() string
func (*PatchServiceAccountTokenOK) GetPayload ¶
func (o *PatchServiceAccountTokenOK) GetPayload() *service_model.V1Token
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 ¶
func (o *PatchServiceAccountTokenParams) SetBody(body *service_model.V1Token)
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 ¶
func (o *PatchServiceAccountTokenParams) WithBody(body *service_model.V1Token) *PatchServiceAccountTokenParams
WithBody adds the body to the patch service account token params
func (*PatchServiceAccountTokenParams) WithContext ¶
func (o *PatchServiceAccountTokenParams) WithContext(ctx context.Context) *PatchServiceAccountTokenParams
WithContext adds the context to the patch service account token params
func (*PatchServiceAccountTokenParams) WithDefaults ¶
func (o *PatchServiceAccountTokenParams) WithDefaults() *PatchServiceAccountTokenParams
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 ¶
func (o *PatchServiceAccountTokenParams) WithEntity(entity string) *PatchServiceAccountTokenParams
WithEntity adds the entity to the patch service account token params
func (*PatchServiceAccountTokenParams) WithHTTPClient ¶
func (o *PatchServiceAccountTokenParams) WithHTTPClient(client *http.Client) *PatchServiceAccountTokenParams
WithHTTPClient adds the HTTPClient to the patch service account token params
func (*PatchServiceAccountTokenParams) WithOwner ¶
func (o *PatchServiceAccountTokenParams) WithOwner(owner string) *PatchServiceAccountTokenParams
WithOwner adds the owner to the patch service account token params
func (*PatchServiceAccountTokenParams) WithTimeout ¶
func (o *PatchServiceAccountTokenParams) WithTimeout(timeout time.Duration) *PatchServiceAccountTokenParams
WithTimeout adds the timeout to the patch service account token params
func (*PatchServiceAccountTokenParams) WithTokenUUID ¶
func (o *PatchServiceAccountTokenParams) WithTokenUUID(tokenUUID string) *PatchServiceAccountTokenParams
WithTokenUUID adds the tokenUUID to the patch service account token params
func (*PatchServiceAccountTokenParams) WriteToRequest ¶
func (o *PatchServiceAccountTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateServiceAccountDefault) Error() string
func (*UpdateServiceAccountDefault) GetPayload ¶
func (o *UpdateServiceAccountDefault) GetPayload() *service_model.RuntimeError
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
func (o *UpdateServiceAccountForbidden) Code() int
Code gets the status code for the update service account forbidden response
func (*UpdateServiceAccountForbidden) Error ¶
func (o *UpdateServiceAccountForbidden) Error() string
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
func (o *UpdateServiceAccountForbidden) String() string
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
func (o *UpdateServiceAccountNoContent) Code() int
Code gets the status code for the update service account no content response
func (*UpdateServiceAccountNoContent) Error ¶
func (o *UpdateServiceAccountNoContent) Error() string
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
func (o *UpdateServiceAccountNoContent) String() string
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
func (o *UpdateServiceAccountNotFound) Code() int
Code gets the status code for the update service account not found response
func (*UpdateServiceAccountNotFound) Error ¶
func (o *UpdateServiceAccountNotFound) Error() string
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
func (o *UpdateServiceAccountNotFound) String() string
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 (o *UpdateServiceAccountOK) GetPayload() *service_model.V1ServiceAccount
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 ¶
func (o *UpdateServiceAccountParams) SetBody(body *service_model.V1ServiceAccount)
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 ¶
func (o *UpdateServiceAccountParams) WithBody(body *service_model.V1ServiceAccount) *UpdateServiceAccountParams
WithBody adds the body to the update service account params
func (*UpdateServiceAccountParams) WithContext ¶
func (o *UpdateServiceAccountParams) WithContext(ctx context.Context) *UpdateServiceAccountParams
WithContext adds the context to the update service account params
func (*UpdateServiceAccountParams) WithDefaults ¶
func (o *UpdateServiceAccountParams) WithDefaults() *UpdateServiceAccountParams
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 ¶
func (o *UpdateServiceAccountParams) WithHTTPClient(client *http.Client) *UpdateServiceAccountParams
WithHTTPClient adds the HTTPClient to the update service account params
func (*UpdateServiceAccountParams) WithOwner ¶
func (o *UpdateServiceAccountParams) WithOwner(owner string) *UpdateServiceAccountParams
WithOwner adds the owner to the update service account params
func (*UpdateServiceAccountParams) WithSaUUID ¶
func (o *UpdateServiceAccountParams) WithSaUUID(saUUID string) *UpdateServiceAccountParams
WithSaUUID adds the saUUID to the update service account params
func (*UpdateServiceAccountParams) WithTimeout ¶
func (o *UpdateServiceAccountParams) WithTimeout(timeout time.Duration) *UpdateServiceAccountParams
WithTimeout adds the timeout to the update service account params
func (*UpdateServiceAccountParams) WriteToRequest ¶
func (o *UpdateServiceAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateServiceAccountReader ¶
type UpdateServiceAccountReader struct {
// contains filtered or unexported fields
}
UpdateServiceAccountReader is a Reader for the UpdateServiceAccount structure.
func (*UpdateServiceAccountReader) ReadResponse ¶
func (o *UpdateServiceAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
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 ¶
func (o *UpdateServiceAccountTokenDefault) Code() int
Code gets the status code for the update service account token default response
func (*UpdateServiceAccountTokenDefault) Error ¶
func (o *UpdateServiceAccountTokenDefault) Error() string
func (*UpdateServiceAccountTokenDefault) GetPayload ¶
func (o *UpdateServiceAccountTokenDefault) GetPayload() *service_model.RuntimeError
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
func (o *UpdateServiceAccountTokenDefault) String() string
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
func (o *UpdateServiceAccountTokenForbidden) Code() int
Code gets the status code for the update service account token forbidden response
func (*UpdateServiceAccountTokenForbidden) Error ¶
func (o *UpdateServiceAccountTokenForbidden) Error() string
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
func (o *UpdateServiceAccountTokenForbidden) IsCode(code int) bool
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
func (o *UpdateServiceAccountTokenForbidden) IsSuccess() bool
IsSuccess returns true when this update service account token forbidden response has a 2xx status code
func (*UpdateServiceAccountTokenForbidden) String ¶ added in v1.21.0
func (o *UpdateServiceAccountTokenForbidden) String() string
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
func (o *UpdateServiceAccountTokenNoContent) Code() int
Code gets the status code for the update service account token no content response
func (*UpdateServiceAccountTokenNoContent) Error ¶
func (o *UpdateServiceAccountTokenNoContent) Error() string
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
func (o *UpdateServiceAccountTokenNoContent) IsCode(code int) bool
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
func (o *UpdateServiceAccountTokenNoContent) IsSuccess() bool
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
func (o *UpdateServiceAccountTokenNoContent) String() string
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
func (o *UpdateServiceAccountTokenNotFound) Code() int
Code gets the status code for the update service account token not found response
func (*UpdateServiceAccountTokenNotFound) Error ¶
func (o *UpdateServiceAccountTokenNotFound) Error() string
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
func (o *UpdateServiceAccountTokenNotFound) String() string
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 (o *UpdateServiceAccountTokenOK) Error() string
func (*UpdateServiceAccountTokenOK) GetPayload ¶
func (o *UpdateServiceAccountTokenOK) GetPayload() *service_model.V1Token
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 ¶
func (o *UpdateServiceAccountTokenParams) SetBody(body *service_model.V1Token)
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 ¶
func (o *UpdateServiceAccountTokenParams) WithBody(body *service_model.V1Token) *UpdateServiceAccountTokenParams
WithBody adds the body to the update service account token params
func (*UpdateServiceAccountTokenParams) WithContext ¶
func (o *UpdateServiceAccountTokenParams) WithContext(ctx context.Context) *UpdateServiceAccountTokenParams
WithContext adds the context to the update service account token params
func (*UpdateServiceAccountTokenParams) WithDefaults ¶
func (o *UpdateServiceAccountTokenParams) WithDefaults() *UpdateServiceAccountTokenParams
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 ¶
func (o *UpdateServiceAccountTokenParams) WithEntity(entity string) *UpdateServiceAccountTokenParams
WithEntity adds the entity to the update service account token params
func (*UpdateServiceAccountTokenParams) WithHTTPClient ¶
func (o *UpdateServiceAccountTokenParams) WithHTTPClient(client *http.Client) *UpdateServiceAccountTokenParams
WithHTTPClient adds the HTTPClient to the update service account token params
func (*UpdateServiceAccountTokenParams) WithOwner ¶
func (o *UpdateServiceAccountTokenParams) WithOwner(owner string) *UpdateServiceAccountTokenParams
WithOwner adds the owner to the update service account token params
func (*UpdateServiceAccountTokenParams) WithTimeout ¶
func (o *UpdateServiceAccountTokenParams) WithTimeout(timeout time.Duration) *UpdateServiceAccountTokenParams
WithTimeout adds the timeout to the update service account token params
func (*UpdateServiceAccountTokenParams) WithTokenUUID ¶
func (o *UpdateServiceAccountTokenParams) WithTokenUUID(tokenUUID string) *UpdateServiceAccountTokenParams
WithTokenUUID adds the tokenUUID to the update service account token params
func (*UpdateServiceAccountTokenParams) WriteToRequest ¶
func (o *UpdateServiceAccountTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_service_account_parameters.go
- create_service_account_responses.go
- create_service_account_token_parameters.go
- create_service_account_token_responses.go
- delete_service_account_parameters.go
- delete_service_account_responses.go
- delete_service_account_token_parameters.go
- delete_service_account_token_responses.go
- get_service_account_parameters.go
- get_service_account_responses.go
- get_service_account_token_parameters.go
- get_service_account_token_responses.go
- list_service_account_names_parameters.go
- list_service_account_names_responses.go
- list_service_account_tokens_parameters.go
- list_service_account_tokens_responses.go
- list_service_accounts_parameters.go
- list_service_accounts_responses.go
- patch_service_account_parameters.go
- patch_service_account_responses.go
- patch_service_account_token_parameters.go
- patch_service_account_token_responses.go
- service_accounts_v1_client.go
- update_service_account_parameters.go
- update_service_account_responses.go
- update_service_account_token_parameters.go
- update_service_account_token_responses.go