namespaces

package
v1.38.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for namespaces API

func (*Client) CreateNamespace

func (a *Client) CreateNamespace(params *CreateNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNamespaceCreated, error)

CreateNamespace creates a new namespace

Create a new cluster-level namespace with the given name. Names must contain only lowercase letters, digits, and hyphens, must start and end with a letter or digit, must be 3-36 characters long, and must not be a reserved name.

func (*Client) DeleteNamespace

func (a *Client) DeleteNamespace(params *DeleteNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNamespaceAccepted, error)

DeleteNamespace deletes a namespace

Mark a namespace for deletion. The endpoint is asynchronous: the namespace is flipped to the "deleting" state and its dynamic users are removed synchronously; classes and aliases are torn down by the leader on a periodic cleanup tick. Repeated calls while the namespace is still in the "deleting" state are idempotent and return 202.

func (*Client) GetNamespace

func (a *Client) GetNamespace(params *GetNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceOK, error)

GetNamespace gets a namespace

Retrieve details about a specific namespace by its name.

func (*Client) ListNamespaces

func (a *Client) ListNamespaces(params *ListNamespacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNamespacesOK, error)

ListNamespaces lists namespaces

Retrieve the list of all namespaces the caller has permission to see. Callers without any applicable `manage_namespaces` permission receive an empty list (never 403).

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNamespace

func (a *Client) UpdateNamespace(params *UpdateNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNamespaceOK, error)

UpdateNamespace updates a namespace

Update a namespace's `home_node`. The new value applies to future placement decisions only (new collection create, new tenant create, tenant reactivation). Existing live shards are not moved.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateNamespace(params *CreateNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNamespaceCreated, error)

	DeleteNamespace(params *DeleteNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNamespaceAccepted, error)

	GetNamespace(params *GetNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNamespaceOK, error)

	ListNamespaces(params *ListNamespacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListNamespacesOK, error)

	UpdateNamespace(params *UpdateNamespaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNamespaceOK, 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 namespaces API client.

type CreateNamespaceConflict

type CreateNamespaceConflict struct {
	Payload *models.ErrorResponse
}

CreateNamespaceConflict describes a response with status code 409, with default header values.

A namespace with the specified name already exists, or a namespace with the same name is currently being deleted. Differentiate by reading the human-readable message in the error payload.

func NewCreateNamespaceConflict

func NewCreateNamespaceConflict() *CreateNamespaceConflict

NewCreateNamespaceConflict creates a CreateNamespaceConflict with default headers values

func (*CreateNamespaceConflict) Code

func (o *CreateNamespaceConflict) Code() int

Code gets the status code for the create namespace conflict response

func (*CreateNamespaceConflict) Error

func (o *CreateNamespaceConflict) Error() string

func (*CreateNamespaceConflict) GetPayload

func (o *CreateNamespaceConflict) GetPayload() *models.ErrorResponse

func (*CreateNamespaceConflict) IsClientError

func (o *CreateNamespaceConflict) IsClientError() bool

IsClientError returns true when this create namespace conflict response has a 4xx status code

func (*CreateNamespaceConflict) IsCode

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

IsCode returns true when this create namespace conflict response a status code equal to that given

func (*CreateNamespaceConflict) IsRedirect

func (o *CreateNamespaceConflict) IsRedirect() bool

IsRedirect returns true when this create namespace conflict response has a 3xx status code

func (*CreateNamespaceConflict) IsServerError

func (o *CreateNamespaceConflict) IsServerError() bool

IsServerError returns true when this create namespace conflict response has a 5xx status code

func (*CreateNamespaceConflict) IsSuccess

func (o *CreateNamespaceConflict) IsSuccess() bool

IsSuccess returns true when this create namespace conflict response has a 2xx status code

func (*CreateNamespaceConflict) String

func (o *CreateNamespaceConflict) String() string

type CreateNamespaceCreated

type CreateNamespaceCreated struct {
	Payload *models.Namespace
}

CreateNamespaceCreated describes a response with status code 201, with default header values.

Namespace created successfully.

func NewCreateNamespaceCreated

func NewCreateNamespaceCreated() *CreateNamespaceCreated

NewCreateNamespaceCreated creates a CreateNamespaceCreated with default headers values

func (*CreateNamespaceCreated) Code

func (o *CreateNamespaceCreated) Code() int

Code gets the status code for the create namespace created response

func (*CreateNamespaceCreated) Error

func (o *CreateNamespaceCreated) Error() string

func (*CreateNamespaceCreated) GetPayload

func (o *CreateNamespaceCreated) GetPayload() *models.Namespace

func (*CreateNamespaceCreated) IsClientError

func (o *CreateNamespaceCreated) IsClientError() bool

IsClientError returns true when this create namespace created response has a 4xx status code

func (*CreateNamespaceCreated) IsCode

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

IsCode returns true when this create namespace created response a status code equal to that given

func (*CreateNamespaceCreated) IsRedirect

func (o *CreateNamespaceCreated) IsRedirect() bool

IsRedirect returns true when this create namespace created response has a 3xx status code

func (*CreateNamespaceCreated) IsServerError

func (o *CreateNamespaceCreated) IsServerError() bool

IsServerError returns true when this create namespace created response has a 5xx status code

func (*CreateNamespaceCreated) IsSuccess

func (o *CreateNamespaceCreated) IsSuccess() bool

IsSuccess returns true when this create namespace created response has a 2xx status code

func (*CreateNamespaceCreated) String

func (o *CreateNamespaceCreated) String() string

type CreateNamespaceForbidden

type CreateNamespaceForbidden struct {
	Payload *models.ErrorResponse
}

CreateNamespaceForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateNamespaceForbidden

func NewCreateNamespaceForbidden() *CreateNamespaceForbidden

NewCreateNamespaceForbidden creates a CreateNamespaceForbidden with default headers values

func (*CreateNamespaceForbidden) Code

func (o *CreateNamespaceForbidden) Code() int

Code gets the status code for the create namespace forbidden response

func (*CreateNamespaceForbidden) Error

func (o *CreateNamespaceForbidden) Error() string

func (*CreateNamespaceForbidden) GetPayload

func (*CreateNamespaceForbidden) IsClientError

func (o *CreateNamespaceForbidden) IsClientError() bool

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

func (*CreateNamespaceForbidden) IsCode

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

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

func (*CreateNamespaceForbidden) IsRedirect

func (o *CreateNamespaceForbidden) IsRedirect() bool

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

func (*CreateNamespaceForbidden) IsServerError

func (o *CreateNamespaceForbidden) IsServerError() bool

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

func (*CreateNamespaceForbidden) IsSuccess

func (o *CreateNamespaceForbidden) IsSuccess() bool

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

func (*CreateNamespaceForbidden) String

func (o *CreateNamespaceForbidden) String() string

type CreateNamespaceInternalServerError

type CreateNamespaceInternalServerError struct {
	Payload *models.ErrorResponse
}

CreateNamespaceInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewCreateNamespaceInternalServerError

func NewCreateNamespaceInternalServerError() *CreateNamespaceInternalServerError

NewCreateNamespaceInternalServerError creates a CreateNamespaceInternalServerError with default headers values

func (*CreateNamespaceInternalServerError) Code

Code gets the status code for the create namespace internal server error response

func (*CreateNamespaceInternalServerError) Error

func (*CreateNamespaceInternalServerError) GetPayload

func (*CreateNamespaceInternalServerError) IsClientError

func (o *CreateNamespaceInternalServerError) IsClientError() bool

IsClientError returns true when this create namespace internal server error response has a 4xx status code

func (*CreateNamespaceInternalServerError) IsCode

IsCode returns true when this create namespace internal server error response a status code equal to that given

func (*CreateNamespaceInternalServerError) IsRedirect

func (o *CreateNamespaceInternalServerError) IsRedirect() bool

IsRedirect returns true when this create namespace internal server error response has a 3xx status code

func (*CreateNamespaceInternalServerError) IsServerError

func (o *CreateNamespaceInternalServerError) IsServerError() bool

IsServerError returns true when this create namespace internal server error response has a 5xx status code

func (*CreateNamespaceInternalServerError) IsSuccess

IsSuccess returns true when this create namespace internal server error response has a 2xx status code

func (*CreateNamespaceInternalServerError) String

type CreateNamespaceNotFound

type CreateNamespaceNotFound struct {
	Payload *models.ErrorResponse
}

CreateNamespaceNotFound describes a response with status code 404, with default header values.

Not Found - The namespaces feature is not enabled on this cluster.

func NewCreateNamespaceNotFound

func NewCreateNamespaceNotFound() *CreateNamespaceNotFound

NewCreateNamespaceNotFound creates a CreateNamespaceNotFound with default headers values

func (*CreateNamespaceNotFound) Code

func (o *CreateNamespaceNotFound) Code() int

Code gets the status code for the create namespace not found response

func (*CreateNamespaceNotFound) Error

func (o *CreateNamespaceNotFound) Error() string

func (*CreateNamespaceNotFound) GetPayload

func (o *CreateNamespaceNotFound) GetPayload() *models.ErrorResponse

func (*CreateNamespaceNotFound) IsClientError

func (o *CreateNamespaceNotFound) IsClientError() bool

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

func (*CreateNamespaceNotFound) IsCode

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

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

func (*CreateNamespaceNotFound) IsRedirect

func (o *CreateNamespaceNotFound) IsRedirect() bool

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

func (*CreateNamespaceNotFound) IsServerError

func (o *CreateNamespaceNotFound) IsServerError() bool

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

func (*CreateNamespaceNotFound) IsSuccess

func (o *CreateNamespaceNotFound) IsSuccess() bool

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

func (*CreateNamespaceNotFound) String

func (o *CreateNamespaceNotFound) String() string

type CreateNamespaceParams

type CreateNamespaceParams struct {

	/* Body.

	   Optional body. When omitted, `home_node` is picked automatically.
	*/
	Body *models.NamespaceCreateRequest

	/* NamespaceID.

	   The name of the namespace. Must start with a lowercase letter, contain only lowercase letters and digits, length 3-36, and not be a reserved name.
	*/
	NamespaceID string

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

CreateNamespaceParams contains all the parameters to send to the API endpoint

for the create namespace operation.

Typically these are written to a http.Request.

func NewCreateNamespaceParams

func NewCreateNamespaceParams() *CreateNamespaceParams

NewCreateNamespaceParams creates a new CreateNamespaceParams 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 NewCreateNamespaceParamsWithContext

func NewCreateNamespaceParamsWithContext(ctx context.Context) *CreateNamespaceParams

NewCreateNamespaceParamsWithContext creates a new CreateNamespaceParams object with the ability to set a context for a request.

func NewCreateNamespaceParamsWithHTTPClient

func NewCreateNamespaceParamsWithHTTPClient(client *http.Client) *CreateNamespaceParams

NewCreateNamespaceParamsWithHTTPClient creates a new CreateNamespaceParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNamespaceParamsWithTimeout

func NewCreateNamespaceParamsWithTimeout(timeout time.Duration) *CreateNamespaceParams

NewCreateNamespaceParamsWithTimeout creates a new CreateNamespaceParams object with the ability to set a timeout on a request.

func (*CreateNamespaceParams) SetBody

SetBody adds the body to the create namespace params

func (*CreateNamespaceParams) SetContext

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

SetContext adds the context to the create namespace params

func (*CreateNamespaceParams) SetDefaults

func (o *CreateNamespaceParams) SetDefaults()

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

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

func (*CreateNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create namespace params

func (*CreateNamespaceParams) SetNamespaceID

func (o *CreateNamespaceParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the create namespace params

func (*CreateNamespaceParams) SetTimeout

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

SetTimeout adds the timeout to the create namespace params

func (*CreateNamespaceParams) WithBody

WithBody adds the body to the create namespace params

func (*CreateNamespaceParams) WithContext

WithContext adds the context to the create namespace params

func (*CreateNamespaceParams) WithDefaults

func (o *CreateNamespaceParams) WithDefaults() *CreateNamespaceParams

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

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

func (*CreateNamespaceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create namespace params

func (*CreateNamespaceParams) WithNamespaceID

func (o *CreateNamespaceParams) WithNamespaceID(namespaceID string) *CreateNamespaceParams

WithNamespaceID adds the namespaceID to the create namespace params

func (*CreateNamespaceParams) WithTimeout

func (o *CreateNamespaceParams) WithTimeout(timeout time.Duration) *CreateNamespaceParams

WithTimeout adds the timeout to the create namespace params

func (*CreateNamespaceParams) WriteToRequest

func (o *CreateNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateNamespaceReader

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

CreateNamespaceReader is a Reader for the CreateNamespace structure.

func (*CreateNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateNamespaceUnauthorized

type CreateNamespaceUnauthorized struct {
}

CreateNamespaceUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewCreateNamespaceUnauthorized

func NewCreateNamespaceUnauthorized() *CreateNamespaceUnauthorized

NewCreateNamespaceUnauthorized creates a CreateNamespaceUnauthorized with default headers values

func (*CreateNamespaceUnauthorized) Code

func (o *CreateNamespaceUnauthorized) Code() int

Code gets the status code for the create namespace unauthorized response

func (*CreateNamespaceUnauthorized) Error

func (*CreateNamespaceUnauthorized) IsClientError

func (o *CreateNamespaceUnauthorized) IsClientError() bool

IsClientError returns true when this create namespace unauthorized response has a 4xx status code

func (*CreateNamespaceUnauthorized) IsCode

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

IsCode returns true when this create namespace unauthorized response a status code equal to that given

func (*CreateNamespaceUnauthorized) IsRedirect

func (o *CreateNamespaceUnauthorized) IsRedirect() bool

IsRedirect returns true when this create namespace unauthorized response has a 3xx status code

func (*CreateNamespaceUnauthorized) IsServerError

func (o *CreateNamespaceUnauthorized) IsServerError() bool

IsServerError returns true when this create namespace unauthorized response has a 5xx status code

func (*CreateNamespaceUnauthorized) IsSuccess

func (o *CreateNamespaceUnauthorized) IsSuccess() bool

IsSuccess returns true when this create namespace unauthorized response has a 2xx status code

func (*CreateNamespaceUnauthorized) String

func (o *CreateNamespaceUnauthorized) String() string

type CreateNamespaceUnprocessableEntity

type CreateNamespaceUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

CreateNamespaceUnprocessableEntity describes a response with status code 422, with default header values.

The request syntax is correct, but the server couldn't process it due to semantic issues (e.g. invalid name format or reserved name).

func NewCreateNamespaceUnprocessableEntity

func NewCreateNamespaceUnprocessableEntity() *CreateNamespaceUnprocessableEntity

NewCreateNamespaceUnprocessableEntity creates a CreateNamespaceUnprocessableEntity with default headers values

func (*CreateNamespaceUnprocessableEntity) Code

Code gets the status code for the create namespace unprocessable entity response

func (*CreateNamespaceUnprocessableEntity) Error

func (*CreateNamespaceUnprocessableEntity) GetPayload

func (*CreateNamespaceUnprocessableEntity) IsClientError

func (o *CreateNamespaceUnprocessableEntity) IsClientError() bool

IsClientError returns true when this create namespace unprocessable entity response has a 4xx status code

func (*CreateNamespaceUnprocessableEntity) IsCode

IsCode returns true when this create namespace unprocessable entity response a status code equal to that given

func (*CreateNamespaceUnprocessableEntity) IsRedirect

func (o *CreateNamespaceUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this create namespace unprocessable entity response has a 3xx status code

func (*CreateNamespaceUnprocessableEntity) IsServerError

func (o *CreateNamespaceUnprocessableEntity) IsServerError() bool

IsServerError returns true when this create namespace unprocessable entity response has a 5xx status code

func (*CreateNamespaceUnprocessableEntity) IsSuccess

IsSuccess returns true when this create namespace unprocessable entity response has a 2xx status code

func (*CreateNamespaceUnprocessableEntity) String

type DeleteNamespaceAccepted

type DeleteNamespaceAccepted struct {
}

DeleteNamespaceAccepted describes a response with status code 202, with default header values.

The namespace has been marked for deletion. Cleanup of its classes, aliases, and users completes asynchronously.

func NewDeleteNamespaceAccepted

func NewDeleteNamespaceAccepted() *DeleteNamespaceAccepted

NewDeleteNamespaceAccepted creates a DeleteNamespaceAccepted with default headers values

func (*DeleteNamespaceAccepted) Code

func (o *DeleteNamespaceAccepted) Code() int

Code gets the status code for the delete namespace accepted response

func (*DeleteNamespaceAccepted) Error

func (o *DeleteNamespaceAccepted) Error() string

func (*DeleteNamespaceAccepted) IsClientError

func (o *DeleteNamespaceAccepted) IsClientError() bool

IsClientError returns true when this delete namespace accepted response has a 4xx status code

func (*DeleteNamespaceAccepted) IsCode

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

IsCode returns true when this delete namespace accepted response a status code equal to that given

func (*DeleteNamespaceAccepted) IsRedirect

func (o *DeleteNamespaceAccepted) IsRedirect() bool

IsRedirect returns true when this delete namespace accepted response has a 3xx status code

func (*DeleteNamespaceAccepted) IsServerError

func (o *DeleteNamespaceAccepted) IsServerError() bool

IsServerError returns true when this delete namespace accepted response has a 5xx status code

func (*DeleteNamespaceAccepted) IsSuccess

func (o *DeleteNamespaceAccepted) IsSuccess() bool

IsSuccess returns true when this delete namespace accepted response has a 2xx status code

func (*DeleteNamespaceAccepted) String

func (o *DeleteNamespaceAccepted) String() string

type DeleteNamespaceForbidden

type DeleteNamespaceForbidden struct {
	Payload *models.ErrorResponse
}

DeleteNamespaceForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteNamespaceForbidden

func NewDeleteNamespaceForbidden() *DeleteNamespaceForbidden

NewDeleteNamespaceForbidden creates a DeleteNamespaceForbidden with default headers values

func (*DeleteNamespaceForbidden) Code

func (o *DeleteNamespaceForbidden) Code() int

Code gets the status code for the delete namespace forbidden response

func (*DeleteNamespaceForbidden) Error

func (o *DeleteNamespaceForbidden) Error() string

func (*DeleteNamespaceForbidden) GetPayload

func (*DeleteNamespaceForbidden) IsClientError

func (o *DeleteNamespaceForbidden) IsClientError() bool

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

func (*DeleteNamespaceForbidden) IsCode

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

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

func (*DeleteNamespaceForbidden) IsRedirect

func (o *DeleteNamespaceForbidden) IsRedirect() bool

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

func (*DeleteNamespaceForbidden) IsServerError

func (o *DeleteNamespaceForbidden) IsServerError() bool

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

func (*DeleteNamespaceForbidden) IsSuccess

func (o *DeleteNamespaceForbidden) IsSuccess() bool

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

func (*DeleteNamespaceForbidden) String

func (o *DeleteNamespaceForbidden) String() string

type DeleteNamespaceInternalServerError

type DeleteNamespaceInternalServerError struct {
	Payload *models.ErrorResponse
}

DeleteNamespaceInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewDeleteNamespaceInternalServerError

func NewDeleteNamespaceInternalServerError() *DeleteNamespaceInternalServerError

NewDeleteNamespaceInternalServerError creates a DeleteNamespaceInternalServerError with default headers values

func (*DeleteNamespaceInternalServerError) Code

Code gets the status code for the delete namespace internal server error response

func (*DeleteNamespaceInternalServerError) Error

func (*DeleteNamespaceInternalServerError) GetPayload

func (*DeleteNamespaceInternalServerError) IsClientError

func (o *DeleteNamespaceInternalServerError) IsClientError() bool

IsClientError returns true when this delete namespace internal server error response has a 4xx status code

func (*DeleteNamespaceInternalServerError) IsCode

IsCode returns true when this delete namespace internal server error response a status code equal to that given

func (*DeleteNamespaceInternalServerError) IsRedirect

func (o *DeleteNamespaceInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete namespace internal server error response has a 3xx status code

func (*DeleteNamespaceInternalServerError) IsServerError

func (o *DeleteNamespaceInternalServerError) IsServerError() bool

IsServerError returns true when this delete namespace internal server error response has a 5xx status code

func (*DeleteNamespaceInternalServerError) IsSuccess

IsSuccess returns true when this delete namespace internal server error response has a 2xx status code

func (*DeleteNamespaceInternalServerError) String

type DeleteNamespaceNotFound

type DeleteNamespaceNotFound struct {
	Payload *models.ErrorResponse
}

DeleteNamespaceNotFound describes a response with status code 404, with default header values.

Not Found - Namespace does not exist, or the namespaces feature is not enabled on this cluster.

func NewDeleteNamespaceNotFound

func NewDeleteNamespaceNotFound() *DeleteNamespaceNotFound

NewDeleteNamespaceNotFound creates a DeleteNamespaceNotFound with default headers values

func (*DeleteNamespaceNotFound) Code

func (o *DeleteNamespaceNotFound) Code() int

Code gets the status code for the delete namespace not found response

func (*DeleteNamespaceNotFound) Error

func (o *DeleteNamespaceNotFound) Error() string

func (*DeleteNamespaceNotFound) GetPayload

func (o *DeleteNamespaceNotFound) GetPayload() *models.ErrorResponse

func (*DeleteNamespaceNotFound) IsClientError

func (o *DeleteNamespaceNotFound) IsClientError() bool

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

func (*DeleteNamespaceNotFound) IsCode

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

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

func (*DeleteNamespaceNotFound) IsRedirect

func (o *DeleteNamespaceNotFound) IsRedirect() bool

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

func (*DeleteNamespaceNotFound) IsServerError

func (o *DeleteNamespaceNotFound) IsServerError() bool

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

func (*DeleteNamespaceNotFound) IsSuccess

func (o *DeleteNamespaceNotFound) IsSuccess() bool

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

func (*DeleteNamespaceNotFound) String

func (o *DeleteNamespaceNotFound) String() string

type DeleteNamespaceParams

type DeleteNamespaceParams struct {

	/* NamespaceID.

	   The name of the namespace.
	*/
	NamespaceID string

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

DeleteNamespaceParams contains all the parameters to send to the API endpoint

for the delete namespace operation.

Typically these are written to a http.Request.

func NewDeleteNamespaceParams

func NewDeleteNamespaceParams() *DeleteNamespaceParams

NewDeleteNamespaceParams creates a new DeleteNamespaceParams 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 NewDeleteNamespaceParamsWithContext

func NewDeleteNamespaceParamsWithContext(ctx context.Context) *DeleteNamespaceParams

NewDeleteNamespaceParamsWithContext creates a new DeleteNamespaceParams object with the ability to set a context for a request.

func NewDeleteNamespaceParamsWithHTTPClient

func NewDeleteNamespaceParamsWithHTTPClient(client *http.Client) *DeleteNamespaceParams

NewDeleteNamespaceParamsWithHTTPClient creates a new DeleteNamespaceParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNamespaceParamsWithTimeout

func NewDeleteNamespaceParamsWithTimeout(timeout time.Duration) *DeleteNamespaceParams

NewDeleteNamespaceParamsWithTimeout creates a new DeleteNamespaceParams object with the ability to set a timeout on a request.

func (*DeleteNamespaceParams) SetContext

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

SetContext adds the context to the delete namespace params

func (*DeleteNamespaceParams) SetDefaults

func (o *DeleteNamespaceParams) SetDefaults()

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

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

func (*DeleteNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete namespace params

func (*DeleteNamespaceParams) SetNamespaceID

func (o *DeleteNamespaceParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the delete namespace params

func (*DeleteNamespaceParams) SetTimeout

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

SetTimeout adds the timeout to the delete namespace params

func (*DeleteNamespaceParams) WithContext

WithContext adds the context to the delete namespace params

func (*DeleteNamespaceParams) WithDefaults

func (o *DeleteNamespaceParams) WithDefaults() *DeleteNamespaceParams

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

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

func (*DeleteNamespaceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete namespace params

func (*DeleteNamespaceParams) WithNamespaceID

func (o *DeleteNamespaceParams) WithNamespaceID(namespaceID string) *DeleteNamespaceParams

WithNamespaceID adds the namespaceID to the delete namespace params

func (*DeleteNamespaceParams) WithTimeout

func (o *DeleteNamespaceParams) WithTimeout(timeout time.Duration) *DeleteNamespaceParams

WithTimeout adds the timeout to the delete namespace params

func (*DeleteNamespaceParams) WriteToRequest

func (o *DeleteNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteNamespaceReader

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

DeleteNamespaceReader is a Reader for the DeleteNamespace structure.

func (*DeleteNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNamespaceUnauthorized

type DeleteNamespaceUnauthorized struct {
}

DeleteNamespaceUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewDeleteNamespaceUnauthorized

func NewDeleteNamespaceUnauthorized() *DeleteNamespaceUnauthorized

NewDeleteNamespaceUnauthorized creates a DeleteNamespaceUnauthorized with default headers values

func (*DeleteNamespaceUnauthorized) Code

func (o *DeleteNamespaceUnauthorized) Code() int

Code gets the status code for the delete namespace unauthorized response

func (*DeleteNamespaceUnauthorized) Error

func (*DeleteNamespaceUnauthorized) IsClientError

func (o *DeleteNamespaceUnauthorized) IsClientError() bool

IsClientError returns true when this delete namespace unauthorized response has a 4xx status code

func (*DeleteNamespaceUnauthorized) IsCode

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

IsCode returns true when this delete namespace unauthorized response a status code equal to that given

func (*DeleteNamespaceUnauthorized) IsRedirect

func (o *DeleteNamespaceUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete namespace unauthorized response has a 3xx status code

func (*DeleteNamespaceUnauthorized) IsServerError

func (o *DeleteNamespaceUnauthorized) IsServerError() bool

IsServerError returns true when this delete namespace unauthorized response has a 5xx status code

func (*DeleteNamespaceUnauthorized) IsSuccess

func (o *DeleteNamespaceUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete namespace unauthorized response has a 2xx status code

func (*DeleteNamespaceUnauthorized) String

func (o *DeleteNamespaceUnauthorized) String() string

type DeleteNamespaceUnprocessableEntity

type DeleteNamespaceUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

DeleteNamespaceUnprocessableEntity describes a response with status code 422, with default header values.

The request syntax is correct, but the server couldn't process it due to semantic issues (e.g. invalid name format or reserved name).

func NewDeleteNamespaceUnprocessableEntity

func NewDeleteNamespaceUnprocessableEntity() *DeleteNamespaceUnprocessableEntity

NewDeleteNamespaceUnprocessableEntity creates a DeleteNamespaceUnprocessableEntity with default headers values

func (*DeleteNamespaceUnprocessableEntity) Code

Code gets the status code for the delete namespace unprocessable entity response

func (*DeleteNamespaceUnprocessableEntity) Error

func (*DeleteNamespaceUnprocessableEntity) GetPayload

func (*DeleteNamespaceUnprocessableEntity) IsClientError

func (o *DeleteNamespaceUnprocessableEntity) IsClientError() bool

IsClientError returns true when this delete namespace unprocessable entity response has a 4xx status code

func (*DeleteNamespaceUnprocessableEntity) IsCode

IsCode returns true when this delete namespace unprocessable entity response a status code equal to that given

func (*DeleteNamespaceUnprocessableEntity) IsRedirect

func (o *DeleteNamespaceUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this delete namespace unprocessable entity response has a 3xx status code

func (*DeleteNamespaceUnprocessableEntity) IsServerError

func (o *DeleteNamespaceUnprocessableEntity) IsServerError() bool

IsServerError returns true when this delete namespace unprocessable entity response has a 5xx status code

func (*DeleteNamespaceUnprocessableEntity) IsSuccess

IsSuccess returns true when this delete namespace unprocessable entity response has a 2xx status code

func (*DeleteNamespaceUnprocessableEntity) String

type GetNamespaceForbidden

type GetNamespaceForbidden struct {
	Payload *models.ErrorResponse
}

GetNamespaceForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetNamespaceForbidden

func NewGetNamespaceForbidden() *GetNamespaceForbidden

NewGetNamespaceForbidden creates a GetNamespaceForbidden with default headers values

func (*GetNamespaceForbidden) Code

func (o *GetNamespaceForbidden) Code() int

Code gets the status code for the get namespace forbidden response

func (*GetNamespaceForbidden) Error

func (o *GetNamespaceForbidden) Error() string

func (*GetNamespaceForbidden) GetPayload

func (o *GetNamespaceForbidden) GetPayload() *models.ErrorResponse

func (*GetNamespaceForbidden) IsClientError

func (o *GetNamespaceForbidden) IsClientError() bool

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

func (*GetNamespaceForbidden) IsCode

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

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

func (*GetNamespaceForbidden) IsRedirect

func (o *GetNamespaceForbidden) IsRedirect() bool

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

func (*GetNamespaceForbidden) IsServerError

func (o *GetNamespaceForbidden) IsServerError() bool

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

func (*GetNamespaceForbidden) IsSuccess

func (o *GetNamespaceForbidden) IsSuccess() bool

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

func (*GetNamespaceForbidden) String

func (o *GetNamespaceForbidden) String() string

type GetNamespaceInternalServerError

type GetNamespaceInternalServerError struct {
	Payload *models.ErrorResponse
}

GetNamespaceInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewGetNamespaceInternalServerError

func NewGetNamespaceInternalServerError() *GetNamespaceInternalServerError

NewGetNamespaceInternalServerError creates a GetNamespaceInternalServerError with default headers values

func (*GetNamespaceInternalServerError) Code

Code gets the status code for the get namespace internal server error response

func (*GetNamespaceInternalServerError) Error

func (*GetNamespaceInternalServerError) GetPayload

func (*GetNamespaceInternalServerError) IsClientError

func (o *GetNamespaceInternalServerError) IsClientError() bool

IsClientError returns true when this get namespace internal server error response has a 4xx status code

func (*GetNamespaceInternalServerError) IsCode

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

IsCode returns true when this get namespace internal server error response a status code equal to that given

func (*GetNamespaceInternalServerError) IsRedirect

func (o *GetNamespaceInternalServerError) IsRedirect() bool

IsRedirect returns true when this get namespace internal server error response has a 3xx status code

func (*GetNamespaceInternalServerError) IsServerError

func (o *GetNamespaceInternalServerError) IsServerError() bool

IsServerError returns true when this get namespace internal server error response has a 5xx status code

func (*GetNamespaceInternalServerError) IsSuccess

func (o *GetNamespaceInternalServerError) IsSuccess() bool

IsSuccess returns true when this get namespace internal server error response has a 2xx status code

func (*GetNamespaceInternalServerError) String

type GetNamespaceNotFound

type GetNamespaceNotFound struct {
	Payload *models.ErrorResponse
}

GetNamespaceNotFound describes a response with status code 404, with default header values.

Not Found - Namespace does not exist, or the namespaces feature is not enabled on this cluster.

func NewGetNamespaceNotFound

func NewGetNamespaceNotFound() *GetNamespaceNotFound

NewGetNamespaceNotFound creates a GetNamespaceNotFound with default headers values

func (*GetNamespaceNotFound) Code

func (o *GetNamespaceNotFound) Code() int

Code gets the status code for the get namespace not found response

func (*GetNamespaceNotFound) Error

func (o *GetNamespaceNotFound) Error() string

func (*GetNamespaceNotFound) GetPayload

func (o *GetNamespaceNotFound) GetPayload() *models.ErrorResponse

func (*GetNamespaceNotFound) IsClientError

func (o *GetNamespaceNotFound) IsClientError() bool

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

func (*GetNamespaceNotFound) IsCode

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

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

func (*GetNamespaceNotFound) IsRedirect

func (o *GetNamespaceNotFound) IsRedirect() bool

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

func (*GetNamespaceNotFound) IsServerError

func (o *GetNamespaceNotFound) IsServerError() bool

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

func (*GetNamespaceNotFound) IsSuccess

func (o *GetNamespaceNotFound) IsSuccess() bool

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

func (*GetNamespaceNotFound) String

func (o *GetNamespaceNotFound) String() string

type GetNamespaceOK

type GetNamespaceOK struct {
	Payload *models.Namespace
}

GetNamespaceOK describes a response with status code 200, with default header values.

Successfully retrieved the namespace.

func NewGetNamespaceOK

func NewGetNamespaceOK() *GetNamespaceOK

NewGetNamespaceOK creates a GetNamespaceOK with default headers values

func (*GetNamespaceOK) Code

func (o *GetNamespaceOK) Code() int

Code gets the status code for the get namespace o k response

func (*GetNamespaceOK) Error

func (o *GetNamespaceOK) Error() string

func (*GetNamespaceOK) GetPayload

func (o *GetNamespaceOK) GetPayload() *models.Namespace

func (*GetNamespaceOK) IsClientError

func (o *GetNamespaceOK) IsClientError() bool

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

func (*GetNamespaceOK) IsCode

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

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

func (*GetNamespaceOK) IsRedirect

func (o *GetNamespaceOK) IsRedirect() bool

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

func (*GetNamespaceOK) IsServerError

func (o *GetNamespaceOK) IsServerError() bool

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

func (*GetNamespaceOK) IsSuccess

func (o *GetNamespaceOK) IsSuccess() bool

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

func (*GetNamespaceOK) String

func (o *GetNamespaceOK) String() string

type GetNamespaceParams

type GetNamespaceParams struct {

	/* NamespaceID.

	   The name of the namespace.
	*/
	NamespaceID string

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

GetNamespaceParams contains all the parameters to send to the API endpoint

for the get namespace operation.

Typically these are written to a http.Request.

func NewGetNamespaceParams

func NewGetNamespaceParams() *GetNamespaceParams

NewGetNamespaceParams creates a new GetNamespaceParams 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 NewGetNamespaceParamsWithContext

func NewGetNamespaceParamsWithContext(ctx context.Context) *GetNamespaceParams

NewGetNamespaceParamsWithContext creates a new GetNamespaceParams object with the ability to set a context for a request.

func NewGetNamespaceParamsWithHTTPClient

func NewGetNamespaceParamsWithHTTPClient(client *http.Client) *GetNamespaceParams

NewGetNamespaceParamsWithHTTPClient creates a new GetNamespaceParams object with the ability to set a custom HTTPClient for a request.

func NewGetNamespaceParamsWithTimeout

func NewGetNamespaceParamsWithTimeout(timeout time.Duration) *GetNamespaceParams

NewGetNamespaceParamsWithTimeout creates a new GetNamespaceParams object with the ability to set a timeout on a request.

func (*GetNamespaceParams) SetContext

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

SetContext adds the context to the get namespace params

func (*GetNamespaceParams) SetDefaults

func (o *GetNamespaceParams) SetDefaults()

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

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

func (*GetNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get namespace params

func (*GetNamespaceParams) SetNamespaceID

func (o *GetNamespaceParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the get namespace params

func (*GetNamespaceParams) SetTimeout

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

SetTimeout adds the timeout to the get namespace params

func (*GetNamespaceParams) WithContext

WithContext adds the context to the get namespace params

func (*GetNamespaceParams) WithDefaults

func (o *GetNamespaceParams) WithDefaults() *GetNamespaceParams

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

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

func (*GetNamespaceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get namespace params

func (*GetNamespaceParams) WithNamespaceID

func (o *GetNamespaceParams) WithNamespaceID(namespaceID string) *GetNamespaceParams

WithNamespaceID adds the namespaceID to the get namespace params

func (*GetNamespaceParams) WithTimeout

func (o *GetNamespaceParams) WithTimeout(timeout time.Duration) *GetNamespaceParams

WithTimeout adds the timeout to the get namespace params

func (*GetNamespaceParams) WriteToRequest

func (o *GetNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetNamespaceReader

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

GetNamespaceReader is a Reader for the GetNamespace structure.

func (*GetNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNamespaceUnauthorized

type GetNamespaceUnauthorized struct {
}

GetNamespaceUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewGetNamespaceUnauthorized

func NewGetNamespaceUnauthorized() *GetNamespaceUnauthorized

NewGetNamespaceUnauthorized creates a GetNamespaceUnauthorized with default headers values

func (*GetNamespaceUnauthorized) Code

func (o *GetNamespaceUnauthorized) Code() int

Code gets the status code for the get namespace unauthorized response

func (*GetNamespaceUnauthorized) Error

func (o *GetNamespaceUnauthorized) Error() string

func (*GetNamespaceUnauthorized) IsClientError

func (o *GetNamespaceUnauthorized) IsClientError() bool

IsClientError returns true when this get namespace unauthorized response has a 4xx status code

func (*GetNamespaceUnauthorized) IsCode

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

IsCode returns true when this get namespace unauthorized response a status code equal to that given

func (*GetNamespaceUnauthorized) IsRedirect

func (o *GetNamespaceUnauthorized) IsRedirect() bool

IsRedirect returns true when this get namespace unauthorized response has a 3xx status code

func (*GetNamespaceUnauthorized) IsServerError

func (o *GetNamespaceUnauthorized) IsServerError() bool

IsServerError returns true when this get namespace unauthorized response has a 5xx status code

func (*GetNamespaceUnauthorized) IsSuccess

func (o *GetNamespaceUnauthorized) IsSuccess() bool

IsSuccess returns true when this get namespace unauthorized response has a 2xx status code

func (*GetNamespaceUnauthorized) String

func (o *GetNamespaceUnauthorized) String() string

type GetNamespaceUnprocessableEntity

type GetNamespaceUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

GetNamespaceUnprocessableEntity describes a response with status code 422, with default header values.

The request syntax is correct, but the server couldn't process it due to semantic issues (e.g. invalid name format or reserved name).

func NewGetNamespaceUnprocessableEntity

func NewGetNamespaceUnprocessableEntity() *GetNamespaceUnprocessableEntity

NewGetNamespaceUnprocessableEntity creates a GetNamespaceUnprocessableEntity with default headers values

func (*GetNamespaceUnprocessableEntity) Code

Code gets the status code for the get namespace unprocessable entity response

func (*GetNamespaceUnprocessableEntity) Error

func (*GetNamespaceUnprocessableEntity) GetPayload

func (*GetNamespaceUnprocessableEntity) IsClientError

func (o *GetNamespaceUnprocessableEntity) IsClientError() bool

IsClientError returns true when this get namespace unprocessable entity response has a 4xx status code

func (*GetNamespaceUnprocessableEntity) IsCode

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

IsCode returns true when this get namespace unprocessable entity response a status code equal to that given

func (*GetNamespaceUnprocessableEntity) IsRedirect

func (o *GetNamespaceUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this get namespace unprocessable entity response has a 3xx status code

func (*GetNamespaceUnprocessableEntity) IsServerError

func (o *GetNamespaceUnprocessableEntity) IsServerError() bool

IsServerError returns true when this get namespace unprocessable entity response has a 5xx status code

func (*GetNamespaceUnprocessableEntity) IsSuccess

func (o *GetNamespaceUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this get namespace unprocessable entity response has a 2xx status code

func (*GetNamespaceUnprocessableEntity) String

type ListNamespacesInternalServerError

type ListNamespacesInternalServerError struct {
	Payload *models.ErrorResponse
}

ListNamespacesInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewListNamespacesInternalServerError

func NewListNamespacesInternalServerError() *ListNamespacesInternalServerError

NewListNamespacesInternalServerError creates a ListNamespacesInternalServerError with default headers values

func (*ListNamespacesInternalServerError) Code

Code gets the status code for the list namespaces internal server error response

func (*ListNamespacesInternalServerError) Error

func (*ListNamespacesInternalServerError) GetPayload

func (*ListNamespacesInternalServerError) IsClientError

func (o *ListNamespacesInternalServerError) IsClientError() bool

IsClientError returns true when this list namespaces internal server error response has a 4xx status code

func (*ListNamespacesInternalServerError) IsCode

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

IsCode returns true when this list namespaces internal server error response a status code equal to that given

func (*ListNamespacesInternalServerError) IsRedirect

func (o *ListNamespacesInternalServerError) IsRedirect() bool

IsRedirect returns true when this list namespaces internal server error response has a 3xx status code

func (*ListNamespacesInternalServerError) IsServerError

func (o *ListNamespacesInternalServerError) IsServerError() bool

IsServerError returns true when this list namespaces internal server error response has a 5xx status code

func (*ListNamespacesInternalServerError) IsSuccess

func (o *ListNamespacesInternalServerError) IsSuccess() bool

IsSuccess returns true when this list namespaces internal server error response has a 2xx status code

func (*ListNamespacesInternalServerError) String

type ListNamespacesNotFound

type ListNamespacesNotFound struct {
	Payload *models.ErrorResponse
}

ListNamespacesNotFound describes a response with status code 404, with default header values.

Not Found - The namespaces feature is not enabled on this cluster.

func NewListNamespacesNotFound

func NewListNamespacesNotFound() *ListNamespacesNotFound

NewListNamespacesNotFound creates a ListNamespacesNotFound with default headers values

func (*ListNamespacesNotFound) Code

func (o *ListNamespacesNotFound) Code() int

Code gets the status code for the list namespaces not found response

func (*ListNamespacesNotFound) Error

func (o *ListNamespacesNotFound) Error() string

func (*ListNamespacesNotFound) GetPayload

func (o *ListNamespacesNotFound) GetPayload() *models.ErrorResponse

func (*ListNamespacesNotFound) IsClientError

func (o *ListNamespacesNotFound) IsClientError() bool

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

func (*ListNamespacesNotFound) IsCode

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

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

func (*ListNamespacesNotFound) IsRedirect

func (o *ListNamespacesNotFound) IsRedirect() bool

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

func (*ListNamespacesNotFound) IsServerError

func (o *ListNamespacesNotFound) IsServerError() bool

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

func (*ListNamespacesNotFound) IsSuccess

func (o *ListNamespacesNotFound) IsSuccess() bool

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

func (*ListNamespacesNotFound) String

func (o *ListNamespacesNotFound) String() string

type ListNamespacesOK

type ListNamespacesOK struct {
	Payload models.NamespaceListResponse
}

ListNamespacesOK describes a response with status code 200, with default header values.

Successfully retrieved the list of namespaces (possibly empty).

func NewListNamespacesOK

func NewListNamespacesOK() *ListNamespacesOK

NewListNamespacesOK creates a ListNamespacesOK with default headers values

func (*ListNamespacesOK) Code

func (o *ListNamespacesOK) Code() int

Code gets the status code for the list namespaces o k response

func (*ListNamespacesOK) Error

func (o *ListNamespacesOK) Error() string

func (*ListNamespacesOK) GetPayload

func (*ListNamespacesOK) IsClientError

func (o *ListNamespacesOK) IsClientError() bool

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

func (*ListNamespacesOK) IsCode

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

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

func (*ListNamespacesOK) IsRedirect

func (o *ListNamespacesOK) IsRedirect() bool

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

func (*ListNamespacesOK) IsServerError

func (o *ListNamespacesOK) IsServerError() bool

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

func (*ListNamespacesOK) IsSuccess

func (o *ListNamespacesOK) IsSuccess() bool

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

func (*ListNamespacesOK) String

func (o *ListNamespacesOK) String() string

type ListNamespacesParams

type ListNamespacesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListNamespacesParams contains all the parameters to send to the API endpoint

for the list namespaces operation.

Typically these are written to a http.Request.

func NewListNamespacesParams

func NewListNamespacesParams() *ListNamespacesParams

NewListNamespacesParams creates a new ListNamespacesParams 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 NewListNamespacesParamsWithContext

func NewListNamespacesParamsWithContext(ctx context.Context) *ListNamespacesParams

NewListNamespacesParamsWithContext creates a new ListNamespacesParams object with the ability to set a context for a request.

func NewListNamespacesParamsWithHTTPClient

func NewListNamespacesParamsWithHTTPClient(client *http.Client) *ListNamespacesParams

NewListNamespacesParamsWithHTTPClient creates a new ListNamespacesParams object with the ability to set a custom HTTPClient for a request.

func NewListNamespacesParamsWithTimeout

func NewListNamespacesParamsWithTimeout(timeout time.Duration) *ListNamespacesParams

NewListNamespacesParamsWithTimeout creates a new ListNamespacesParams object with the ability to set a timeout on a request.

func (*ListNamespacesParams) SetContext

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

SetContext adds the context to the list namespaces params

func (*ListNamespacesParams) SetDefaults

func (o *ListNamespacesParams) SetDefaults()

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

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

func (*ListNamespacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list namespaces params

func (*ListNamespacesParams) SetTimeout

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

SetTimeout adds the timeout to the list namespaces params

func (*ListNamespacesParams) WithContext

WithContext adds the context to the list namespaces params

func (*ListNamespacesParams) WithDefaults

func (o *ListNamespacesParams) WithDefaults() *ListNamespacesParams

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

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

func (*ListNamespacesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list namespaces params

func (*ListNamespacesParams) WithTimeout

func (o *ListNamespacesParams) WithTimeout(timeout time.Duration) *ListNamespacesParams

WithTimeout adds the timeout to the list namespaces params

func (*ListNamespacesParams) WriteToRequest

func (o *ListNamespacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListNamespacesReader

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

ListNamespacesReader is a Reader for the ListNamespaces structure.

func (*ListNamespacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListNamespacesUnauthorized

type ListNamespacesUnauthorized struct {
}

ListNamespacesUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewListNamespacesUnauthorized

func NewListNamespacesUnauthorized() *ListNamespacesUnauthorized

NewListNamespacesUnauthorized creates a ListNamespacesUnauthorized with default headers values

func (*ListNamespacesUnauthorized) Code

func (o *ListNamespacesUnauthorized) Code() int

Code gets the status code for the list namespaces unauthorized response

func (*ListNamespacesUnauthorized) Error

func (*ListNamespacesUnauthorized) IsClientError

func (o *ListNamespacesUnauthorized) IsClientError() bool

IsClientError returns true when this list namespaces unauthorized response has a 4xx status code

func (*ListNamespacesUnauthorized) IsCode

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

IsCode returns true when this list namespaces unauthorized response a status code equal to that given

func (*ListNamespacesUnauthorized) IsRedirect

func (o *ListNamespacesUnauthorized) IsRedirect() bool

IsRedirect returns true when this list namespaces unauthorized response has a 3xx status code

func (*ListNamespacesUnauthorized) IsServerError

func (o *ListNamespacesUnauthorized) IsServerError() bool

IsServerError returns true when this list namespaces unauthorized response has a 5xx status code

func (*ListNamespacesUnauthorized) IsSuccess

func (o *ListNamespacesUnauthorized) IsSuccess() bool

IsSuccess returns true when this list namespaces unauthorized response has a 2xx status code

func (*ListNamespacesUnauthorized) String

func (o *ListNamespacesUnauthorized) String() string

type ListNamespacesUnprocessableEntity

type ListNamespacesUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

ListNamespacesUnprocessableEntity describes a response with status code 422, with default header values.

The request syntax is correct, but the server couldn't process it.

func NewListNamespacesUnprocessableEntity

func NewListNamespacesUnprocessableEntity() *ListNamespacesUnprocessableEntity

NewListNamespacesUnprocessableEntity creates a ListNamespacesUnprocessableEntity with default headers values

func (*ListNamespacesUnprocessableEntity) Code

Code gets the status code for the list namespaces unprocessable entity response

func (*ListNamespacesUnprocessableEntity) Error

func (*ListNamespacesUnprocessableEntity) GetPayload

func (*ListNamespacesUnprocessableEntity) IsClientError

func (o *ListNamespacesUnprocessableEntity) IsClientError() bool

IsClientError returns true when this list namespaces unprocessable entity response has a 4xx status code

func (*ListNamespacesUnprocessableEntity) IsCode

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

IsCode returns true when this list namespaces unprocessable entity response a status code equal to that given

func (*ListNamespacesUnprocessableEntity) IsRedirect

func (o *ListNamespacesUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this list namespaces unprocessable entity response has a 3xx status code

func (*ListNamespacesUnprocessableEntity) IsServerError

func (o *ListNamespacesUnprocessableEntity) IsServerError() bool

IsServerError returns true when this list namespaces unprocessable entity response has a 5xx status code

func (*ListNamespacesUnprocessableEntity) IsSuccess

func (o *ListNamespacesUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this list namespaces unprocessable entity response has a 2xx status code

func (*ListNamespacesUnprocessableEntity) String

type UpdateNamespaceConflict

type UpdateNamespaceConflict struct {
	Payload *models.ErrorResponse
}

UpdateNamespaceConflict describes a response with status code 409, with default header values.

The namespace is being deleted; `home_node` cannot be updated while the namespace is in the `deleting` state.

func NewUpdateNamespaceConflict

func NewUpdateNamespaceConflict() *UpdateNamespaceConflict

NewUpdateNamespaceConflict creates a UpdateNamespaceConflict with default headers values

func (*UpdateNamespaceConflict) Code

func (o *UpdateNamespaceConflict) Code() int

Code gets the status code for the update namespace conflict response

func (*UpdateNamespaceConflict) Error

func (o *UpdateNamespaceConflict) Error() string

func (*UpdateNamespaceConflict) GetPayload

func (o *UpdateNamespaceConflict) GetPayload() *models.ErrorResponse

func (*UpdateNamespaceConflict) IsClientError

func (o *UpdateNamespaceConflict) IsClientError() bool

IsClientError returns true when this update namespace conflict response has a 4xx status code

func (*UpdateNamespaceConflict) IsCode

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

IsCode returns true when this update namespace conflict response a status code equal to that given

func (*UpdateNamespaceConflict) IsRedirect

func (o *UpdateNamespaceConflict) IsRedirect() bool

IsRedirect returns true when this update namespace conflict response has a 3xx status code

func (*UpdateNamespaceConflict) IsServerError

func (o *UpdateNamespaceConflict) IsServerError() bool

IsServerError returns true when this update namespace conflict response has a 5xx status code

func (*UpdateNamespaceConflict) IsSuccess

func (o *UpdateNamespaceConflict) IsSuccess() bool

IsSuccess returns true when this update namespace conflict response has a 2xx status code

func (*UpdateNamespaceConflict) String

func (o *UpdateNamespaceConflict) String() string

type UpdateNamespaceForbidden

type UpdateNamespaceForbidden struct {
	Payload *models.ErrorResponse
}

UpdateNamespaceForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateNamespaceForbidden

func NewUpdateNamespaceForbidden() *UpdateNamespaceForbidden

NewUpdateNamespaceForbidden creates a UpdateNamespaceForbidden with default headers values

func (*UpdateNamespaceForbidden) Code

func (o *UpdateNamespaceForbidden) Code() int

Code gets the status code for the update namespace forbidden response

func (*UpdateNamespaceForbidden) Error

func (o *UpdateNamespaceForbidden) Error() string

func (*UpdateNamespaceForbidden) GetPayload

func (*UpdateNamespaceForbidden) IsClientError

func (o *UpdateNamespaceForbidden) IsClientError() bool

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

func (*UpdateNamespaceForbidden) IsCode

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

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

func (*UpdateNamespaceForbidden) IsRedirect

func (o *UpdateNamespaceForbidden) IsRedirect() bool

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

func (*UpdateNamespaceForbidden) IsServerError

func (o *UpdateNamespaceForbidden) IsServerError() bool

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

func (*UpdateNamespaceForbidden) IsSuccess

func (o *UpdateNamespaceForbidden) IsSuccess() bool

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

func (*UpdateNamespaceForbidden) String

func (o *UpdateNamespaceForbidden) String() string

type UpdateNamespaceInternalServerError

type UpdateNamespaceInternalServerError struct {
	Payload *models.ErrorResponse
}

UpdateNamespaceInternalServerError describes a response with status code 500, with default header values.

An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.

func NewUpdateNamespaceInternalServerError

func NewUpdateNamespaceInternalServerError() *UpdateNamespaceInternalServerError

NewUpdateNamespaceInternalServerError creates a UpdateNamespaceInternalServerError with default headers values

func (*UpdateNamespaceInternalServerError) Code

Code gets the status code for the update namespace internal server error response

func (*UpdateNamespaceInternalServerError) Error

func (*UpdateNamespaceInternalServerError) GetPayload

func (*UpdateNamespaceInternalServerError) IsClientError

func (o *UpdateNamespaceInternalServerError) IsClientError() bool

IsClientError returns true when this update namespace internal server error response has a 4xx status code

func (*UpdateNamespaceInternalServerError) IsCode

IsCode returns true when this update namespace internal server error response a status code equal to that given

func (*UpdateNamespaceInternalServerError) IsRedirect

func (o *UpdateNamespaceInternalServerError) IsRedirect() bool

IsRedirect returns true when this update namespace internal server error response has a 3xx status code

func (*UpdateNamespaceInternalServerError) IsServerError

func (o *UpdateNamespaceInternalServerError) IsServerError() bool

IsServerError returns true when this update namespace internal server error response has a 5xx status code

func (*UpdateNamespaceInternalServerError) IsSuccess

IsSuccess returns true when this update namespace internal server error response has a 2xx status code

func (*UpdateNamespaceInternalServerError) String

type UpdateNamespaceNotFound

type UpdateNamespaceNotFound struct {
	Payload *models.ErrorResponse
}

UpdateNamespaceNotFound describes a response with status code 404, with default header values.

Not Found - Namespace does not exist, or the namespaces feature is not enabled on this cluster.

func NewUpdateNamespaceNotFound

func NewUpdateNamespaceNotFound() *UpdateNamespaceNotFound

NewUpdateNamespaceNotFound creates a UpdateNamespaceNotFound with default headers values

func (*UpdateNamespaceNotFound) Code

func (o *UpdateNamespaceNotFound) Code() int

Code gets the status code for the update namespace not found response

func (*UpdateNamespaceNotFound) Error

func (o *UpdateNamespaceNotFound) Error() string

func (*UpdateNamespaceNotFound) GetPayload

func (o *UpdateNamespaceNotFound) GetPayload() *models.ErrorResponse

func (*UpdateNamespaceNotFound) IsClientError

func (o *UpdateNamespaceNotFound) IsClientError() bool

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

func (*UpdateNamespaceNotFound) IsCode

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

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

func (*UpdateNamespaceNotFound) IsRedirect

func (o *UpdateNamespaceNotFound) IsRedirect() bool

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

func (*UpdateNamespaceNotFound) IsServerError

func (o *UpdateNamespaceNotFound) IsServerError() bool

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

func (*UpdateNamespaceNotFound) IsSuccess

func (o *UpdateNamespaceNotFound) IsSuccess() bool

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

func (*UpdateNamespaceNotFound) String

func (o *UpdateNamespaceNotFound) String() string

type UpdateNamespaceOK

type UpdateNamespaceOK struct {
	Payload *models.Namespace
}

UpdateNamespaceOK describes a response with status code 200, with default header values.

Namespace updated successfully.

func NewUpdateNamespaceOK

func NewUpdateNamespaceOK() *UpdateNamespaceOK

NewUpdateNamespaceOK creates a UpdateNamespaceOK with default headers values

func (*UpdateNamespaceOK) Code

func (o *UpdateNamespaceOK) Code() int

Code gets the status code for the update namespace o k response

func (*UpdateNamespaceOK) Error

func (o *UpdateNamespaceOK) Error() string

func (*UpdateNamespaceOK) GetPayload

func (o *UpdateNamespaceOK) GetPayload() *models.Namespace

func (*UpdateNamespaceOK) IsClientError

func (o *UpdateNamespaceOK) IsClientError() bool

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

func (*UpdateNamespaceOK) IsCode

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

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

func (*UpdateNamespaceOK) IsRedirect

func (o *UpdateNamespaceOK) IsRedirect() bool

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

func (*UpdateNamespaceOK) IsServerError

func (o *UpdateNamespaceOK) IsServerError() bool

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

func (*UpdateNamespaceOK) IsSuccess

func (o *UpdateNamespaceOK) IsSuccess() bool

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

func (*UpdateNamespaceOK) String

func (o *UpdateNamespaceOK) String() string

type UpdateNamespaceParams

type UpdateNamespaceParams struct {

	/* Body.

	   Required body. `home_node` is the new placement target.
	*/
	Body *models.NamespaceUpdateRequest

	/* NamespaceID.

	   The name of the namespace.
	*/
	NamespaceID string

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

UpdateNamespaceParams contains all the parameters to send to the API endpoint

for the update namespace operation.

Typically these are written to a http.Request.

func NewUpdateNamespaceParams

func NewUpdateNamespaceParams() *UpdateNamespaceParams

NewUpdateNamespaceParams creates a new UpdateNamespaceParams 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 NewUpdateNamespaceParamsWithContext

func NewUpdateNamespaceParamsWithContext(ctx context.Context) *UpdateNamespaceParams

NewUpdateNamespaceParamsWithContext creates a new UpdateNamespaceParams object with the ability to set a context for a request.

func NewUpdateNamespaceParamsWithHTTPClient

func NewUpdateNamespaceParamsWithHTTPClient(client *http.Client) *UpdateNamespaceParams

NewUpdateNamespaceParamsWithHTTPClient creates a new UpdateNamespaceParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNamespaceParamsWithTimeout

func NewUpdateNamespaceParamsWithTimeout(timeout time.Duration) *UpdateNamespaceParams

NewUpdateNamespaceParamsWithTimeout creates a new UpdateNamespaceParams object with the ability to set a timeout on a request.

func (*UpdateNamespaceParams) SetBody

SetBody adds the body to the update namespace params

func (*UpdateNamespaceParams) SetContext

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

SetContext adds the context to the update namespace params

func (*UpdateNamespaceParams) SetDefaults

func (o *UpdateNamespaceParams) SetDefaults()

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

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

func (*UpdateNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update namespace params

func (*UpdateNamespaceParams) SetNamespaceID

func (o *UpdateNamespaceParams) SetNamespaceID(namespaceID string)

SetNamespaceID adds the namespaceId to the update namespace params

func (*UpdateNamespaceParams) SetTimeout

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

SetTimeout adds the timeout to the update namespace params

func (*UpdateNamespaceParams) WithBody

WithBody adds the body to the update namespace params

func (*UpdateNamespaceParams) WithContext

WithContext adds the context to the update namespace params

func (*UpdateNamespaceParams) WithDefaults

func (o *UpdateNamespaceParams) WithDefaults() *UpdateNamespaceParams

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

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

func (*UpdateNamespaceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update namespace params

func (*UpdateNamespaceParams) WithNamespaceID

func (o *UpdateNamespaceParams) WithNamespaceID(namespaceID string) *UpdateNamespaceParams

WithNamespaceID adds the namespaceID to the update namespace params

func (*UpdateNamespaceParams) WithTimeout

func (o *UpdateNamespaceParams) WithTimeout(timeout time.Duration) *UpdateNamespaceParams

WithTimeout adds the timeout to the update namespace params

func (*UpdateNamespaceParams) WriteToRequest

func (o *UpdateNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateNamespaceReader

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

UpdateNamespaceReader is a Reader for the UpdateNamespace structure.

func (*UpdateNamespaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNamespaceUnauthorized

type UpdateNamespaceUnauthorized struct {
}

UpdateNamespaceUnauthorized describes a response with status code 401, with default header values.

Unauthorized or invalid credentials.

func NewUpdateNamespaceUnauthorized

func NewUpdateNamespaceUnauthorized() *UpdateNamespaceUnauthorized

NewUpdateNamespaceUnauthorized creates a UpdateNamespaceUnauthorized with default headers values

func (*UpdateNamespaceUnauthorized) Code

func (o *UpdateNamespaceUnauthorized) Code() int

Code gets the status code for the update namespace unauthorized response

func (*UpdateNamespaceUnauthorized) Error

func (*UpdateNamespaceUnauthorized) IsClientError

func (o *UpdateNamespaceUnauthorized) IsClientError() bool

IsClientError returns true when this update namespace unauthorized response has a 4xx status code

func (*UpdateNamespaceUnauthorized) IsCode

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

IsCode returns true when this update namespace unauthorized response a status code equal to that given

func (*UpdateNamespaceUnauthorized) IsRedirect

func (o *UpdateNamespaceUnauthorized) IsRedirect() bool

IsRedirect returns true when this update namespace unauthorized response has a 3xx status code

func (*UpdateNamespaceUnauthorized) IsServerError

func (o *UpdateNamespaceUnauthorized) IsServerError() bool

IsServerError returns true when this update namespace unauthorized response has a 5xx status code

func (*UpdateNamespaceUnauthorized) IsSuccess

func (o *UpdateNamespaceUnauthorized) IsSuccess() bool

IsSuccess returns true when this update namespace unauthorized response has a 2xx status code

func (*UpdateNamespaceUnauthorized) String

func (o *UpdateNamespaceUnauthorized) String() string

type UpdateNamespaceUnprocessableEntity

type UpdateNamespaceUnprocessableEntity struct {
	Payload *models.ErrorResponse
}

UpdateNamespaceUnprocessableEntity describes a response with status code 422, with default header values.

The request syntax is correct, but the server couldn't process it due to semantic issues (e.g. invalid name format, reserved name, or unknown home_node).

func NewUpdateNamespaceUnprocessableEntity

func NewUpdateNamespaceUnprocessableEntity() *UpdateNamespaceUnprocessableEntity

NewUpdateNamespaceUnprocessableEntity creates a UpdateNamespaceUnprocessableEntity with default headers values

func (*UpdateNamespaceUnprocessableEntity) Code

Code gets the status code for the update namespace unprocessable entity response

func (*UpdateNamespaceUnprocessableEntity) Error

func (*UpdateNamespaceUnprocessableEntity) GetPayload

func (*UpdateNamespaceUnprocessableEntity) IsClientError

func (o *UpdateNamespaceUnprocessableEntity) IsClientError() bool

IsClientError returns true when this update namespace unprocessable entity response has a 4xx status code

func (*UpdateNamespaceUnprocessableEntity) IsCode

IsCode returns true when this update namespace unprocessable entity response a status code equal to that given

func (*UpdateNamespaceUnprocessableEntity) IsRedirect

func (o *UpdateNamespaceUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this update namespace unprocessable entity response has a 3xx status code

func (*UpdateNamespaceUnprocessableEntity) IsServerError

func (o *UpdateNamespaceUnprocessableEntity) IsServerError() bool

IsServerError returns true when this update namespace unprocessable entity response has a 5xx status code

func (*UpdateNamespaceUnprocessableEntity) IsSuccess

IsSuccess returns true when this update namespace unprocessable entity response has a 2xx status code

func (*UpdateNamespaceUnprocessableEntity) String

Jump to

Keyboard shortcuts

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