namespace

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeNamespaceStatusBadRequest

type ChangeNamespaceStatusBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

ChangeNamespaceStatusBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewChangeNamespaceStatusBadRequest

func NewChangeNamespaceStatusBadRequest() *ChangeNamespaceStatusBadRequest

NewChangeNamespaceStatusBadRequest creates a ChangeNamespaceStatusBadRequest with default headers values

func (*ChangeNamespaceStatusBadRequest) Error

func (*ChangeNamespaceStatusBadRequest) GetPayload

type ChangeNamespaceStatusConflict

type ChangeNamespaceStatusConflict struct {
	Payload *basicclientmodels.ErrorEntity
}

ChangeNamespaceStatusConflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>

func NewChangeNamespaceStatusConflict

func NewChangeNamespaceStatusConflict() *ChangeNamespaceStatusConflict

NewChangeNamespaceStatusConflict creates a ChangeNamespaceStatusConflict with default headers values

func (*ChangeNamespaceStatusConflict) Error

func (*ChangeNamespaceStatusConflict) GetPayload

type ChangeNamespaceStatusForbidden

type ChangeNamespaceStatusForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

ChangeNamespaceStatusForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewChangeNamespaceStatusForbidden

func NewChangeNamespaceStatusForbidden() *ChangeNamespaceStatusForbidden

NewChangeNamespaceStatusForbidden creates a ChangeNamespaceStatusForbidden with default headers values

func (*ChangeNamespaceStatusForbidden) Error

func (*ChangeNamespaceStatusForbidden) GetPayload

type ChangeNamespaceStatusNotFound

type ChangeNamespaceStatusNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

ChangeNamespaceStatusNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11337</td><td>Unable to {action}: Namespace not found</td></tr></table>

func NewChangeNamespaceStatusNotFound

func NewChangeNamespaceStatusNotFound() *ChangeNamespaceStatusNotFound

NewChangeNamespaceStatusNotFound creates a ChangeNamespaceStatusNotFound with default headers values

func (*ChangeNamespaceStatusNotFound) Error

func (*ChangeNamespaceStatusNotFound) GetPayload

type ChangeNamespaceStatusOK

type ChangeNamespaceStatusOK struct {
	Payload *basicclientmodels.NamespaceInfo
}

ChangeNamespaceStatusOK handles this case with default header values.

Successful operation

func NewChangeNamespaceStatusOK

func NewChangeNamespaceStatusOK() *ChangeNamespaceStatusOK

NewChangeNamespaceStatusOK creates a ChangeNamespaceStatusOK with default headers values

func (*ChangeNamespaceStatusOK) Error

func (o *ChangeNamespaceStatusOK) Error() string

func (*ChangeNamespaceStatusOK) GetPayload

type ChangeNamespaceStatusParams

type ChangeNamespaceStatusParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *basicclientmodels.NamespaceStatusUpdate
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

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

ChangeNamespaceStatusParams contains all the parameters to send to the API endpoint for the change namespace status operation typically these are written to a http.Request

func NewChangeNamespaceStatusParams

func NewChangeNamespaceStatusParams() *ChangeNamespaceStatusParams

NewChangeNamespaceStatusParams creates a new ChangeNamespaceStatusParams object with the default values initialized.

func NewChangeNamespaceStatusParamsWithContext

func NewChangeNamespaceStatusParamsWithContext(ctx context.Context) *ChangeNamespaceStatusParams

NewChangeNamespaceStatusParamsWithContext creates a new ChangeNamespaceStatusParams object with the default values initialized, and the ability to set a context for a request

func NewChangeNamespaceStatusParamsWithHTTPClient

func NewChangeNamespaceStatusParamsWithHTTPClient(client *http.Client) *ChangeNamespaceStatusParams

NewChangeNamespaceStatusParamsWithHTTPClient creates a new ChangeNamespaceStatusParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewChangeNamespaceStatusParamsWithTimeout

func NewChangeNamespaceStatusParamsWithTimeout(timeout time.Duration) *ChangeNamespaceStatusParams

NewChangeNamespaceStatusParamsWithTimeout creates a new ChangeNamespaceStatusParams object with the default values initialized, and the ability to set a timeout on a request

func (*ChangeNamespaceStatusParams) SetAuthInfoWriter added in v0.17.0

func (o *ChangeNamespaceStatusParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the change namespace status params

func (*ChangeNamespaceStatusParams) SetBody

SetBody adds the body to the change namespace status params

func (*ChangeNamespaceStatusParams) SetContext

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

SetContext adds the context to the change namespace status params

func (*ChangeNamespaceStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change namespace status params

func (*ChangeNamespaceStatusParams) SetHTTPClientTransport added in v0.19.0

func (o *ChangeNamespaceStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the change namespace status params

func (*ChangeNamespaceStatusParams) SetNamespace

func (o *ChangeNamespaceStatusParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the change namespace status params

func (*ChangeNamespaceStatusParams) SetTimeout

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

SetTimeout adds the timeout to the change namespace status params

func (*ChangeNamespaceStatusParams) WithBody

WithBody adds the body to the change namespace status params

func (*ChangeNamespaceStatusParams) WithContext

WithContext adds the context to the change namespace status params

func (*ChangeNamespaceStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change namespace status params

func (*ChangeNamespaceStatusParams) WithNamespace

func (o *ChangeNamespaceStatusParams) WithNamespace(namespace string) *ChangeNamespaceStatusParams

WithNamespace adds the namespace to the change namespace status params

func (*ChangeNamespaceStatusParams) WithTimeout

WithTimeout adds the timeout to the change namespace status params

func (*ChangeNamespaceStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeNamespaceStatusReader

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

ChangeNamespaceStatusReader is a Reader for the ChangeNamespaceStatus structure.

func (*ChangeNamespaceStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeNamespaceStatusUnauthorized

type ChangeNamespaceStatusUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

ChangeNamespaceStatusUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewChangeNamespaceStatusUnauthorized

func NewChangeNamespaceStatusUnauthorized() *ChangeNamespaceStatusUnauthorized

NewChangeNamespaceStatusUnauthorized creates a ChangeNamespaceStatusUnauthorized with default headers values

func (*ChangeNamespaceStatusUnauthorized) Error

func (*ChangeNamespaceStatusUnauthorized) GetPayload

type Client

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

Client for namespace API

func (*Client) ChangeNamespaceStatus

ChangeNamespaceStatus changes namespace status

Change a namespace status.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&lt;b&gt;&#34;ADMIN:NAMESPACE:{namespace}:NAMESPACE&#34;&lt;/b&gt;, action=4 &lt;b&gt;(UPDATE)&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Action code&lt;i&gt;&lt;/i&gt;: 11306&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: updated namespace&lt;/li&gt;&lt;/ul&gt;

func (*Client) ChangeNamespaceStatusShort added in v0.8.0

func (a *Client) ChangeNamespaceStatusShort(params *ChangeNamespaceStatusParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeNamespaceStatusOK, error)

func (*Client) CreateNamespace

CreateNamespace creates a namespace

Create a namespace.&lt;br&gt;By default the namespace is enabled.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&lt;b&gt;&#34;ADMIN:NAMESPACE&#34;&lt;/b&gt;, action=1 &lt;b&gt;(CREATE)&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;Action code&lt;/i&gt;: 11301&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: created namespace&lt;/li&gt;&lt;/ul&gt;

func (*Client) CreateNamespaceShort added in v0.8.0

func (a *Client) CreateNamespaceShort(params *CreateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNamespaceCreated, error)

func (*Client) DeleteNamespace

DeleteNamespace deletes a namespace

Delete a namespace.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&lt;b&gt;&#34;ADMIN:NAMESPACE:{namespace}:NAMESPACE&#34;&lt;/b&gt;, action=8 &lt;b&gt;(DELETE)&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;Action code&lt;/i&gt;: 11307&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: deleted namespace&lt;/li&gt;&lt;/ul&gt;

func (*Client) DeleteNamespaceShort added in v0.8.0

func (a *Client) DeleteNamespaceShort(params *DeleteNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNamespaceOK, error)

func (*Client) GetNamespace

GetNamespace gets a namespace

Get a namespace.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&lt;b&gt;&#34;ADMIN:NAMESPACE:{namespace}:NAMESPACE&#34;&lt;/b&gt;, action=2 &lt;b&gt;(READ)&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;Action code&lt;/i&gt;: 11304&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: namespace&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetNamespacePublisher

GetNamespacePublisher gets namespace info related publisher namespace

Get namespace info related publisher namespace.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&lt;b&gt;&#34;ADMIN:NAMESPACE:{namespace}:NAMESPACE&#34;&lt;/b&gt;, action=2 &lt;b&gt;(READ)&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;Action code&lt;/i&gt;: 11305&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: Namespace info related publisher namespace&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetNamespacePublisherShort added in v0.8.0

func (a *Client) GetNamespacePublisherShort(params *GetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacePublisherOK, error)

func (*Client) GetNamespaceShort added in v0.8.0

func (a *Client) GetNamespaceShort(params *GetNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceOK, error)

func (*Client) GetNamespaces

GetNamespaces gets all namespaces

Get all namespaces.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&lt;b&gt;&#34;ADMIN:NAMESPACE&#34;&lt;/b&gt;, action=2 &lt;b&gt;(READ)&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;Action code&lt;/i&gt;: 11303&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: list of namespaces&lt;/li&gt;&lt;/ul&gt;

func (*Client) GetNamespacesShort added in v0.8.0

func (a *Client) GetNamespacesShort(params *GetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacesOK, error)

func (*Client) PublicGetNamespacePublisher

PublicGetNamespacePublisher gets namespace info related publisher namespace

Get namespace info related publisher namespace.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&lt;b&gt;&#34;NAMESPACE:{namespace}:NAMESPACE&#34;&lt;/b&gt;, action=2 &lt;b&gt;(READ)&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;Action code&lt;/i&gt;: 11305&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: Namespace info related publisher namespace&lt;/li&gt;&lt;/ul&gt;

func (*Client) PublicGetNamespacePublisherShort added in v0.8.0

func (a *Client) PublicGetNamespacePublisherShort(params *PublicGetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacePublisherOK, error)

func (*Client) PublicGetNamespaces

PublicGetNamespaces gets all namespaces

Get all namespaces.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: login user&lt;/li&gt;&lt;li&gt;&lt;i&gt;Action code&lt;/i&gt;: 11303&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: list of namespaces&lt;/li&gt;&lt;/ul&gt;

func (*Client) PublicGetNamespacesShort added in v0.8.0

func (a *Client) PublicGetNamespacesShort(params *PublicGetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacesOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNamespace

UpdateNamespace updates namespace basic info

Update namespace basic info.&lt;br&gt;Other detail info: &lt;ul&gt;&lt;li&gt;&lt;i&gt;Required permission&lt;/i&gt;: resource=&lt;b&gt;&#34;ADMIN:NAMESPACE:{namespace}:NAMESPACE&#34;&lt;/b&gt;, action=4 &lt;b&gt;(UPDATE)&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;i&gt;Action code&lt;/i&gt;: 11302&lt;/li&gt;&lt;li&gt;&lt;i&gt;Returns&lt;/i&gt;: updated namespace&lt;/li&gt;&lt;/ul&gt;

func (*Client) UpdateNamespaceShort added in v0.8.0

func (a *Client) UpdateNamespaceShort(params *UpdateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNamespaceOK, error)

type ClientService

type ClientService interface {
	ChangeNamespaceStatus(params *ChangeNamespaceStatusParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeNamespaceStatusOK, *ChangeNamespaceStatusBadRequest, *ChangeNamespaceStatusUnauthorized, *ChangeNamespaceStatusForbidden, *ChangeNamespaceStatusNotFound, *ChangeNamespaceStatusConflict, error)
	ChangeNamespaceStatusShort(params *ChangeNamespaceStatusParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeNamespaceStatusOK, error)
	CreateNamespace(params *CreateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNamespaceCreated, *CreateNamespaceBadRequest, *CreateNamespaceUnauthorized, *CreateNamespaceForbidden, *CreateNamespaceConflict, error)
	CreateNamespaceShort(params *CreateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNamespaceCreated, error)
	DeleteNamespace(params *DeleteNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNamespaceOK, *DeleteNamespaceBadRequest, *DeleteNamespaceUnauthorized, *DeleteNamespaceForbidden, *DeleteNamespaceNotFound, *DeleteNamespaceConflict, error)
	DeleteNamespaceShort(params *DeleteNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNamespaceOK, error)
	GetNamespace(params *GetNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceOK, *GetNamespaceBadRequest, *GetNamespaceUnauthorized, *GetNamespaceForbidden, *GetNamespaceNotFound, error)
	GetNamespaceShort(params *GetNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceOK, error)
	GetNamespacePublisher(params *GetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacePublisherOK, *GetNamespacePublisherBadRequest, *GetNamespacePublisherUnauthorized, *GetNamespacePublisherForbidden, *GetNamespacePublisherNotFound, error)
	GetNamespacePublisherShort(params *GetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacePublisherOK, error)
	GetNamespaces(params *GetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacesOK, *GetNamespacesUnauthorized, *GetNamespacesForbidden, error)
	GetNamespacesShort(params *GetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacesOK, error)
	PublicGetNamespacePublisher(params *PublicGetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacePublisherOK, *PublicGetNamespacePublisherBadRequest, *PublicGetNamespacePublisherUnauthorized, *PublicGetNamespacePublisherForbidden, *PublicGetNamespacePublisherNotFound, error)
	PublicGetNamespacePublisherShort(params *PublicGetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacePublisherOK, error)
	PublicGetNamespaces(params *PublicGetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacesOK, *PublicGetNamespacesUnauthorized, error)
	PublicGetNamespacesShort(params *PublicGetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacesOK, error)
	UpdateNamespace(params *UpdateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNamespaceOK, *UpdateNamespaceBadRequest, *UpdateNamespaceUnauthorized, *UpdateNamespaceForbidden, *UpdateNamespaceNotFound, *UpdateNamespaceConflict, error)
	UpdateNamespaceShort(params *UpdateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*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 namespace API client.

type CreateNamespaceBadRequest

type CreateNamespaceBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

CreateNamespaceBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr><tr><td>11338</td><td>Unable to {action}: Namespace contains invalid character(s)</td></tr><tr><td>11339</td><td>Unable to {action}: Display name contains invalid character(s)</td></tr></table>

func NewCreateNamespaceBadRequest

func NewCreateNamespaceBadRequest() *CreateNamespaceBadRequest

NewCreateNamespaceBadRequest creates a CreateNamespaceBadRequest with default headers values

func (*CreateNamespaceBadRequest) Error

func (o *CreateNamespaceBadRequest) Error() string

func (*CreateNamespaceBadRequest) GetPayload

type CreateNamespaceConflict

type CreateNamespaceConflict struct {
	Payload *basicclientmodels.ErrorEntity
}

CreateNamespaceConflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11336</td><td>Unable to {action}: Namespace already exists</td></tr></table>

func NewCreateNamespaceConflict

func NewCreateNamespaceConflict() *CreateNamespaceConflict

NewCreateNamespaceConflict creates a CreateNamespaceConflict with default headers values

func (*CreateNamespaceConflict) Error

func (o *CreateNamespaceConflict) Error() string

func (*CreateNamespaceConflict) GetPayload

type CreateNamespaceCreated

type CreateNamespaceCreated struct {
	Payload *basicclientmodels.NamespaceInfo
}

CreateNamespaceCreated handles this case with default header values.

Successful operation

func NewCreateNamespaceCreated

func NewCreateNamespaceCreated() *CreateNamespaceCreated

NewCreateNamespaceCreated creates a CreateNamespaceCreated with default headers values

func (*CreateNamespaceCreated) Error

func (o *CreateNamespaceCreated) Error() string

func (*CreateNamespaceCreated) GetPayload

type CreateNamespaceForbidden

type CreateNamespaceForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

CreateNamespaceForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewCreateNamespaceForbidden

func NewCreateNamespaceForbidden() *CreateNamespaceForbidden

NewCreateNamespaceForbidden creates a CreateNamespaceForbidden with default headers values

func (*CreateNamespaceForbidden) Error

func (o *CreateNamespaceForbidden) Error() string

func (*CreateNamespaceForbidden) GetPayload

type CreateNamespaceParams

type CreateNamespaceParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *basicclientmodels.NamespaceCreate

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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 values initialized.

func NewCreateNamespaceParamsWithContext

func NewCreateNamespaceParamsWithContext(ctx context.Context) *CreateNamespaceParams

NewCreateNamespaceParamsWithContext creates a new CreateNamespaceParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*CreateNamespaceParams) SetAuthInfoWriter added in v0.17.0

func (o *CreateNamespaceParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the create namespace params

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

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

SetHTTPClient adds the HTTPClient to the create namespace params

func (*CreateNamespaceParams) SetHTTPClientTransport added in v0.19.0

func (o *CreateNamespaceParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport 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) WithHTTPClient

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

WithHTTPClient adds the HTTPClient 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 {
	Payload *basicclientmodels.ErrorEntity
}

CreateNamespaceUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewCreateNamespaceUnauthorized

func NewCreateNamespaceUnauthorized() *CreateNamespaceUnauthorized

NewCreateNamespaceUnauthorized creates a CreateNamespaceUnauthorized with default headers values

func (*CreateNamespaceUnauthorized) Error

func (*CreateNamespaceUnauthorized) GetPayload

type DeleteNamespaceBadRequest

type DeleteNamespaceBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

DeleteNamespaceBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewDeleteNamespaceBadRequest

func NewDeleteNamespaceBadRequest() *DeleteNamespaceBadRequest

NewDeleteNamespaceBadRequest creates a DeleteNamespaceBadRequest with default headers values

func (*DeleteNamespaceBadRequest) Error

func (o *DeleteNamespaceBadRequest) Error() string

func (*DeleteNamespaceBadRequest) GetPayload

type DeleteNamespaceConflict

type DeleteNamespaceConflict struct {
	Payload *basicclientmodels.ErrorEntity
}

DeleteNamespaceConflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>

func NewDeleteNamespaceConflict

func NewDeleteNamespaceConflict() *DeleteNamespaceConflict

NewDeleteNamespaceConflict creates a DeleteNamespaceConflict with default headers values

func (*DeleteNamespaceConflict) Error

func (o *DeleteNamespaceConflict) Error() string

func (*DeleteNamespaceConflict) GetPayload

type DeleteNamespaceForbidden

type DeleteNamespaceForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

DeleteNamespaceForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewDeleteNamespaceForbidden

func NewDeleteNamespaceForbidden() *DeleteNamespaceForbidden

NewDeleteNamespaceForbidden creates a DeleteNamespaceForbidden with default headers values

func (*DeleteNamespaceForbidden) Error

func (o *DeleteNamespaceForbidden) Error() string

func (*DeleteNamespaceForbidden) GetPayload

type DeleteNamespaceNotFound

type DeleteNamespaceNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

DeleteNamespaceNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11337</td><td>Unable to {action}: Namespace not found</td></tr></table>

func NewDeleteNamespaceNotFound

func NewDeleteNamespaceNotFound() *DeleteNamespaceNotFound

NewDeleteNamespaceNotFound creates a DeleteNamespaceNotFound with default headers values

func (*DeleteNamespaceNotFound) Error

func (o *DeleteNamespaceNotFound) Error() string

func (*DeleteNamespaceNotFound) GetPayload

type DeleteNamespaceOK

type DeleteNamespaceOK struct {
	Payload *basicclientmodels.NamespaceInfo
}

DeleteNamespaceOK handles this case with default header values.

Successful operation

func NewDeleteNamespaceOK

func NewDeleteNamespaceOK() *DeleteNamespaceOK

NewDeleteNamespaceOK creates a DeleteNamespaceOK with default headers values

func (*DeleteNamespaceOK) Error

func (o *DeleteNamespaceOK) Error() string

func (*DeleteNamespaceOK) GetPayload

type DeleteNamespaceParams

type DeleteNamespaceParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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 values initialized.

func NewDeleteNamespaceParamsWithContext

func NewDeleteNamespaceParamsWithContext(ctx context.Context) *DeleteNamespaceParams

NewDeleteNamespaceParamsWithContext creates a new DeleteNamespaceParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*DeleteNamespaceParams) SetAuthInfoWriter added in v0.17.0

func (o *DeleteNamespaceParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the delete namespace params

func (*DeleteNamespaceParams) SetContext

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

SetContext adds the context to the delete namespace params

func (*DeleteNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete namespace params

func (*DeleteNamespaceParams) SetHTTPClientTransport added in v0.19.0

func (o *DeleteNamespaceParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the delete namespace params

func (*DeleteNamespaceParams) SetNamespace

func (o *DeleteNamespaceParams) SetNamespace(namespace string)

SetNamespace adds the namespace 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) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete namespace params

func (*DeleteNamespaceParams) WithNamespace

func (o *DeleteNamespaceParams) WithNamespace(namespace string) *DeleteNamespaceParams

WithNamespace adds the namespace 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 {
	Payload *basicclientmodels.ErrorEntity
}

DeleteNamespaceUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewDeleteNamespaceUnauthorized

func NewDeleteNamespaceUnauthorized() *DeleteNamespaceUnauthorized

NewDeleteNamespaceUnauthorized creates a DeleteNamespaceUnauthorized with default headers values

func (*DeleteNamespaceUnauthorized) Error

func (*DeleteNamespaceUnauthorized) GetPayload

type GetNamespaceBadRequest

type GetNamespaceBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

GetNamespaceBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetNamespaceBadRequest

func NewGetNamespaceBadRequest() *GetNamespaceBadRequest

NewGetNamespaceBadRequest creates a GetNamespaceBadRequest with default headers values

func (*GetNamespaceBadRequest) Error

func (o *GetNamespaceBadRequest) Error() string

func (*GetNamespaceBadRequest) GetPayload

type GetNamespaceForbidden

type GetNamespaceForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespaceForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewGetNamespaceForbidden

func NewGetNamespaceForbidden() *GetNamespaceForbidden

NewGetNamespaceForbidden creates a GetNamespaceForbidden with default headers values

func (*GetNamespaceForbidden) Error

func (o *GetNamespaceForbidden) Error() string

func (*GetNamespaceForbidden) GetPayload

type GetNamespaceNotFound

type GetNamespaceNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespaceNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11337</td><td>Unable to {action}: Namespace not found</td></tr></table>

func NewGetNamespaceNotFound

func NewGetNamespaceNotFound() *GetNamespaceNotFound

NewGetNamespaceNotFound creates a GetNamespaceNotFound with default headers values

func (*GetNamespaceNotFound) Error

func (o *GetNamespaceNotFound) Error() string

func (*GetNamespaceNotFound) GetPayload

type GetNamespaceOK

type GetNamespaceOK struct {
	Payload *basicclientmodels.NamespaceInfo
}

GetNamespaceOK handles this case with default header values.

Successful operation

func NewGetNamespaceOK

func NewGetNamespaceOK() *GetNamespaceOK

NewGetNamespaceOK creates a GetNamespaceOK with default headers values

func (*GetNamespaceOK) Error

func (o *GetNamespaceOK) Error() string

func (*GetNamespaceOK) GetPayload

type GetNamespaceParams

type GetNamespaceParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ActiveOnly
	  only retrieves active namespaces

	*/
	ActiveOnly *bool
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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 values initialized.

func NewGetNamespaceParamsWithContext

func NewGetNamespaceParamsWithContext(ctx context.Context) *GetNamespaceParams

NewGetNamespaceParamsWithContext creates a new GetNamespaceParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*GetNamespaceParams) SetActiveOnly

func (o *GetNamespaceParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the get namespace params

func (*GetNamespaceParams) SetAuthInfoWriter added in v0.17.0

func (o *GetNamespaceParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get namespace params

func (*GetNamespaceParams) SetContext

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

SetContext adds the context to the get namespace params

func (*GetNamespaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get namespace params

func (*GetNamespaceParams) SetHTTPClientTransport added in v0.19.0

func (o *GetNamespaceParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get namespace params

func (*GetNamespaceParams) SetNamespace

func (o *GetNamespaceParams) SetNamespace(namespace string)

SetNamespace adds the namespace 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) WithActiveOnly

func (o *GetNamespaceParams) WithActiveOnly(activeOnly *bool) *GetNamespaceParams

WithActiveOnly adds the activeOnly to the get namespace params

func (*GetNamespaceParams) WithContext

WithContext adds the context to the get namespace params

func (*GetNamespaceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get namespace params

func (*GetNamespaceParams) WithNamespace

func (o *GetNamespaceParams) WithNamespace(namespace string) *GetNamespaceParams

WithNamespace adds the namespace 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 GetNamespacePublisherBadRequest

type GetNamespacePublisherBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

GetNamespacePublisherBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewGetNamespacePublisherBadRequest

func NewGetNamespacePublisherBadRequest() *GetNamespacePublisherBadRequest

NewGetNamespacePublisherBadRequest creates a GetNamespacePublisherBadRequest with default headers values

func (*GetNamespacePublisherBadRequest) Error

func (*GetNamespacePublisherBadRequest) GetPayload

type GetNamespacePublisherForbidden

type GetNamespacePublisherForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespacePublisherForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewGetNamespacePublisherForbidden

func NewGetNamespacePublisherForbidden() *GetNamespacePublisherForbidden

NewGetNamespacePublisherForbidden creates a GetNamespacePublisherForbidden with default headers values

func (*GetNamespacePublisherForbidden) Error

func (*GetNamespacePublisherForbidden) GetPayload

type GetNamespacePublisherNotFound

type GetNamespacePublisherNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespacePublisherNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11337</td><td>Unable to {action}: Namespace not found</td></tr></table>

func NewGetNamespacePublisherNotFound

func NewGetNamespacePublisherNotFound() *GetNamespacePublisherNotFound

NewGetNamespacePublisherNotFound creates a GetNamespacePublisherNotFound with default headers values

func (*GetNamespacePublisherNotFound) Error

func (*GetNamespacePublisherNotFound) GetPayload

type GetNamespacePublisherOK

type GetNamespacePublisherOK struct {
	Payload *basicclientmodels.NamespacePublisherInfo
}

GetNamespacePublisherOK handles this case with default header values.

Successful operation

func NewGetNamespacePublisherOK

func NewGetNamespacePublisherOK() *GetNamespacePublisherOK

NewGetNamespacePublisherOK creates a GetNamespacePublisherOK with default headers values

func (*GetNamespacePublisherOK) Error

func (o *GetNamespacePublisherOK) Error() string

func (*GetNamespacePublisherOK) GetPayload

type GetNamespacePublisherParams

type GetNamespacePublisherParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

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

GetNamespacePublisherParams contains all the parameters to send to the API endpoint for the get namespace publisher operation typically these are written to a http.Request

func NewGetNamespacePublisherParams

func NewGetNamespacePublisherParams() *GetNamespacePublisherParams

NewGetNamespacePublisherParams creates a new GetNamespacePublisherParams object with the default values initialized.

func NewGetNamespacePublisherParamsWithContext

func NewGetNamespacePublisherParamsWithContext(ctx context.Context) *GetNamespacePublisherParams

NewGetNamespacePublisherParamsWithContext creates a new GetNamespacePublisherParams object with the default values initialized, and the ability to set a context for a request

func NewGetNamespacePublisherParamsWithHTTPClient

func NewGetNamespacePublisherParamsWithHTTPClient(client *http.Client) *GetNamespacePublisherParams

NewGetNamespacePublisherParamsWithHTTPClient creates a new GetNamespacePublisherParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetNamespacePublisherParamsWithTimeout

func NewGetNamespacePublisherParamsWithTimeout(timeout time.Duration) *GetNamespacePublisherParams

NewGetNamespacePublisherParamsWithTimeout creates a new GetNamespacePublisherParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetNamespacePublisherParams) SetAuthInfoWriter added in v0.17.0

func (o *GetNamespacePublisherParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get namespace publisher params

func (*GetNamespacePublisherParams) SetContext

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

SetContext adds the context to the get namespace publisher params

func (*GetNamespacePublisherParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get namespace publisher params

func (*GetNamespacePublisherParams) SetHTTPClientTransport added in v0.19.0

func (o *GetNamespacePublisherParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get namespace publisher params

func (*GetNamespacePublisherParams) SetNamespace

func (o *GetNamespacePublisherParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get namespace publisher params

func (*GetNamespacePublisherParams) SetTimeout

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

SetTimeout adds the timeout to the get namespace publisher params

func (*GetNamespacePublisherParams) WithContext

WithContext adds the context to the get namespace publisher params

func (*GetNamespacePublisherParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get namespace publisher params

func (*GetNamespacePublisherParams) WithNamespace

func (o *GetNamespacePublisherParams) WithNamespace(namespace string) *GetNamespacePublisherParams

WithNamespace adds the namespace to the get namespace publisher params

func (*GetNamespacePublisherParams) WithTimeout

WithTimeout adds the timeout to the get namespace publisher params

func (*GetNamespacePublisherParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNamespacePublisherReader

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

GetNamespacePublisherReader is a Reader for the GetNamespacePublisher structure.

func (*GetNamespacePublisherReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNamespacePublisherUnauthorized

type GetNamespacePublisherUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespacePublisherUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewGetNamespacePublisherUnauthorized

func NewGetNamespacePublisherUnauthorized() *GetNamespacePublisherUnauthorized

NewGetNamespacePublisherUnauthorized creates a GetNamespacePublisherUnauthorized with default headers values

func (*GetNamespacePublisherUnauthorized) Error

func (*GetNamespacePublisherUnauthorized) GetPayload

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 {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespaceUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewGetNamespaceUnauthorized

func NewGetNamespaceUnauthorized() *GetNamespaceUnauthorized

NewGetNamespaceUnauthorized creates a GetNamespaceUnauthorized with default headers values

func (*GetNamespaceUnauthorized) Error

func (o *GetNamespaceUnauthorized) Error() string

func (*GetNamespaceUnauthorized) GetPayload

type GetNamespacesForbidden

type GetNamespacesForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespacesForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewGetNamespacesForbidden

func NewGetNamespacesForbidden() *GetNamespacesForbidden

NewGetNamespacesForbidden creates a GetNamespacesForbidden with default headers values

func (*GetNamespacesForbidden) Error

func (o *GetNamespacesForbidden) Error() string

func (*GetNamespacesForbidden) GetPayload

type GetNamespacesOK

type GetNamespacesOK struct {
	Payload []*basicclientmodels.NamespaceInfo
}

GetNamespacesOK handles this case with default header values.

Successful operation

func NewGetNamespacesOK

func NewGetNamespacesOK() *GetNamespacesOK

NewGetNamespacesOK creates a GetNamespacesOK with default headers values

func (*GetNamespacesOK) Error

func (o *GetNamespacesOK) Error() string

func (*GetNamespacesOK) GetPayload

func (o *GetNamespacesOK) GetPayload() []*basicclientmodels.NamespaceInfo

type GetNamespacesParams

type GetNamespacesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ActiveOnly
	  only retrieves active namespaces

	*/
	ActiveOnly *bool

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

GetNamespacesParams contains all the parameters to send to the API endpoint for the get namespaces operation typically these are written to a http.Request

func NewGetNamespacesParams

func NewGetNamespacesParams() *GetNamespacesParams

NewGetNamespacesParams creates a new GetNamespacesParams object with the default values initialized.

func NewGetNamespacesParamsWithContext

func NewGetNamespacesParamsWithContext(ctx context.Context) *GetNamespacesParams

NewGetNamespacesParamsWithContext creates a new GetNamespacesParams object with the default values initialized, and the ability to set a context for a request

func NewGetNamespacesParamsWithHTTPClient

func NewGetNamespacesParamsWithHTTPClient(client *http.Client) *GetNamespacesParams

NewGetNamespacesParamsWithHTTPClient creates a new GetNamespacesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetNamespacesParamsWithTimeout

func NewGetNamespacesParamsWithTimeout(timeout time.Duration) *GetNamespacesParams

NewGetNamespacesParamsWithTimeout creates a new GetNamespacesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetNamespacesParams) SetActiveOnly

func (o *GetNamespacesParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the get namespaces params

func (*GetNamespacesParams) SetAuthInfoWriter added in v0.17.0

func (o *GetNamespacesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get namespaces params

func (*GetNamespacesParams) SetContext

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

SetContext adds the context to the get namespaces params

func (*GetNamespacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get namespaces params

func (*GetNamespacesParams) SetHTTPClientTransport added in v0.19.0

func (o *GetNamespacesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get namespaces params

func (*GetNamespacesParams) SetTimeout

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

SetTimeout adds the timeout to the get namespaces params

func (*GetNamespacesParams) WithActiveOnly

func (o *GetNamespacesParams) WithActiveOnly(activeOnly *bool) *GetNamespacesParams

WithActiveOnly adds the activeOnly to the get namespaces params

func (*GetNamespacesParams) WithContext

WithContext adds the context to the get namespaces params

func (*GetNamespacesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get namespaces params

func (*GetNamespacesParams) WithTimeout

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

WithTimeout adds the timeout to the get namespaces params

func (*GetNamespacesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetNamespacesReader

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

GetNamespacesReader is a Reader for the GetNamespaces structure.

func (*GetNamespacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNamespacesUnauthorized

type GetNamespacesUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetNamespacesUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewGetNamespacesUnauthorized

func NewGetNamespacesUnauthorized() *GetNamespacesUnauthorized

NewGetNamespacesUnauthorized creates a GetNamespacesUnauthorized with default headers values

func (*GetNamespacesUnauthorized) Error

func (o *GetNamespacesUnauthorized) Error() string

func (*GetNamespacesUnauthorized) GetPayload

type PublicGetNamespacePublisherBadRequest

type PublicGetNamespacePublisherBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

PublicGetNamespacePublisherBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewPublicGetNamespacePublisherBadRequest

func NewPublicGetNamespacePublisherBadRequest() *PublicGetNamespacePublisherBadRequest

NewPublicGetNamespacePublisherBadRequest creates a PublicGetNamespacePublisherBadRequest with default headers values

func (*PublicGetNamespacePublisherBadRequest) Error

func (*PublicGetNamespacePublisherBadRequest) GetPayload

type PublicGetNamespacePublisherForbidden

type PublicGetNamespacePublisherForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicGetNamespacePublisherForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewPublicGetNamespacePublisherForbidden

func NewPublicGetNamespacePublisherForbidden() *PublicGetNamespacePublisherForbidden

NewPublicGetNamespacePublisherForbidden creates a PublicGetNamespacePublisherForbidden with default headers values

func (*PublicGetNamespacePublisherForbidden) Error

func (*PublicGetNamespacePublisherForbidden) GetPayload

type PublicGetNamespacePublisherNotFound

type PublicGetNamespacePublisherNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicGetNamespacePublisherNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11337</td><td>Unable to {action}: Namespace not found</td></tr></table>

func NewPublicGetNamespacePublisherNotFound

func NewPublicGetNamespacePublisherNotFound() *PublicGetNamespacePublisherNotFound

NewPublicGetNamespacePublisherNotFound creates a PublicGetNamespacePublisherNotFound with default headers values

func (*PublicGetNamespacePublisherNotFound) Error

func (*PublicGetNamespacePublisherNotFound) GetPayload

type PublicGetNamespacePublisherOK

type PublicGetNamespacePublisherOK struct {
	Payload *basicclientmodels.NamespacePublisherInfo
}

PublicGetNamespacePublisherOK handles this case with default header values.

Successful operation

func NewPublicGetNamespacePublisherOK

func NewPublicGetNamespacePublisherOK() *PublicGetNamespacePublisherOK

NewPublicGetNamespacePublisherOK creates a PublicGetNamespacePublisherOK with default headers values

func (*PublicGetNamespacePublisherOK) Error

func (*PublicGetNamespacePublisherOK) GetPayload

type PublicGetNamespacePublisherParams

type PublicGetNamespacePublisherParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

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

PublicGetNamespacePublisherParams contains all the parameters to send to the API endpoint for the public get namespace publisher operation typically these are written to a http.Request

func NewPublicGetNamespacePublisherParams

func NewPublicGetNamespacePublisherParams() *PublicGetNamespacePublisherParams

NewPublicGetNamespacePublisherParams creates a new PublicGetNamespacePublisherParams object with the default values initialized.

func NewPublicGetNamespacePublisherParamsWithContext

func NewPublicGetNamespacePublisherParamsWithContext(ctx context.Context) *PublicGetNamespacePublisherParams

NewPublicGetNamespacePublisherParamsWithContext creates a new PublicGetNamespacePublisherParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetNamespacePublisherParamsWithHTTPClient

func NewPublicGetNamespacePublisherParamsWithHTTPClient(client *http.Client) *PublicGetNamespacePublisherParams

NewPublicGetNamespacePublisherParamsWithHTTPClient creates a new PublicGetNamespacePublisherParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetNamespacePublisherParamsWithTimeout

func NewPublicGetNamespacePublisherParamsWithTimeout(timeout time.Duration) *PublicGetNamespacePublisherParams

NewPublicGetNamespacePublisherParamsWithTimeout creates a new PublicGetNamespacePublisherParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetNamespacePublisherParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetNamespacePublisherParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) SetContext

SetContext adds the context to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetNamespacePublisherParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) SetNamespace

func (o *PublicGetNamespacePublisherParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) SetTimeout

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

SetTimeout adds the timeout to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) WithContext

WithContext adds the context to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) WithNamespace

WithNamespace adds the namespace to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) WithTimeout

WithTimeout adds the timeout to the public get namespace publisher params

func (*PublicGetNamespacePublisherParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetNamespacePublisherReader

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

PublicGetNamespacePublisherReader is a Reader for the PublicGetNamespacePublisher structure.

func (*PublicGetNamespacePublisherReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetNamespacePublisherUnauthorized

type PublicGetNamespacePublisherUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicGetNamespacePublisherUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewPublicGetNamespacePublisherUnauthorized

func NewPublicGetNamespacePublisherUnauthorized() *PublicGetNamespacePublisherUnauthorized

NewPublicGetNamespacePublisherUnauthorized creates a PublicGetNamespacePublisherUnauthorized with default headers values

func (*PublicGetNamespacePublisherUnauthorized) Error

func (*PublicGetNamespacePublisherUnauthorized) GetPayload

type PublicGetNamespacesOK

type PublicGetNamespacesOK struct {
	Payload []*basicclientmodels.NamespaceInfo
}

PublicGetNamespacesOK handles this case with default header values.

Successful operation

func NewPublicGetNamespacesOK

func NewPublicGetNamespacesOK() *PublicGetNamespacesOK

NewPublicGetNamespacesOK creates a PublicGetNamespacesOK with default headers values

func (*PublicGetNamespacesOK) Error

func (o *PublicGetNamespacesOK) Error() string

func (*PublicGetNamespacesOK) GetPayload

type PublicGetNamespacesParams

type PublicGetNamespacesParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*ActiveOnly
	  only retrieves active namespaces

	*/
	ActiveOnly *bool

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

PublicGetNamespacesParams contains all the parameters to send to the API endpoint for the public get namespaces operation typically these are written to a http.Request

func NewPublicGetNamespacesParams

func NewPublicGetNamespacesParams() *PublicGetNamespacesParams

NewPublicGetNamespacesParams creates a new PublicGetNamespacesParams object with the default values initialized.

func NewPublicGetNamespacesParamsWithContext

func NewPublicGetNamespacesParamsWithContext(ctx context.Context) *PublicGetNamespacesParams

NewPublicGetNamespacesParamsWithContext creates a new PublicGetNamespacesParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetNamespacesParamsWithHTTPClient

func NewPublicGetNamespacesParamsWithHTTPClient(client *http.Client) *PublicGetNamespacesParams

NewPublicGetNamespacesParamsWithHTTPClient creates a new PublicGetNamespacesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetNamespacesParamsWithTimeout

func NewPublicGetNamespacesParamsWithTimeout(timeout time.Duration) *PublicGetNamespacesParams

NewPublicGetNamespacesParamsWithTimeout creates a new PublicGetNamespacesParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetNamespacesParams) SetActiveOnly

func (o *PublicGetNamespacesParams) SetActiveOnly(activeOnly *bool)

SetActiveOnly adds the activeOnly to the public get namespaces params

func (*PublicGetNamespacesParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetNamespacesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get namespaces params

func (*PublicGetNamespacesParams) SetContext

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

SetContext adds the context to the public get namespaces params

func (*PublicGetNamespacesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get namespaces params

func (*PublicGetNamespacesParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetNamespacesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get namespaces params

func (*PublicGetNamespacesParams) SetTimeout

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

SetTimeout adds the timeout to the public get namespaces params

func (*PublicGetNamespacesParams) WithActiveOnly

func (o *PublicGetNamespacesParams) WithActiveOnly(activeOnly *bool) *PublicGetNamespacesParams

WithActiveOnly adds the activeOnly to the public get namespaces params

func (*PublicGetNamespacesParams) WithContext

WithContext adds the context to the public get namespaces params

func (*PublicGetNamespacesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public get namespaces params

func (*PublicGetNamespacesParams) WithTimeout

WithTimeout adds the timeout to the public get namespaces params

func (*PublicGetNamespacesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetNamespacesReader

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

PublicGetNamespacesReader is a Reader for the PublicGetNamespaces structure.

func (*PublicGetNamespacesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetNamespacesUnauthorized

type PublicGetNamespacesUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

PublicGetNamespacesUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewPublicGetNamespacesUnauthorized

func NewPublicGetNamespacesUnauthorized() *PublicGetNamespacesUnauthorized

NewPublicGetNamespacesUnauthorized creates a PublicGetNamespacesUnauthorized with default headers values

func (*PublicGetNamespacesUnauthorized) Error

func (*PublicGetNamespacesUnauthorized) GetPayload

type UpdateNamespaceBadRequest

type UpdateNamespaceBadRequest struct {
	Payload *basicclientmodels.ValidationErrorEntity
}

UpdateNamespaceBadRequest handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr><tr><td>20019</td><td>unable to parse request body</td></tr></table>

func NewUpdateNamespaceBadRequest

func NewUpdateNamespaceBadRequest() *UpdateNamespaceBadRequest

NewUpdateNamespaceBadRequest creates a UpdateNamespaceBadRequest with default headers values

func (*UpdateNamespaceBadRequest) Error

func (o *UpdateNamespaceBadRequest) Error() string

func (*UpdateNamespaceBadRequest) GetPayload

type UpdateNamespaceConflict

type UpdateNamespaceConflict struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateNamespaceConflict handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20006</td><td>optimistic lock</td></tr></table>

func NewUpdateNamespaceConflict

func NewUpdateNamespaceConflict() *UpdateNamespaceConflict

NewUpdateNamespaceConflict creates a UpdateNamespaceConflict with default headers values

func (*UpdateNamespaceConflict) Error

func (o *UpdateNamespaceConflict) Error() string

func (*UpdateNamespaceConflict) GetPayload

type UpdateNamespaceForbidden

type UpdateNamespaceForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateNamespaceForbidden handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>

func NewUpdateNamespaceForbidden

func NewUpdateNamespaceForbidden() *UpdateNamespaceForbidden

NewUpdateNamespaceForbidden creates a UpdateNamespaceForbidden with default headers values

func (*UpdateNamespaceForbidden) Error

func (o *UpdateNamespaceForbidden) Error() string

func (*UpdateNamespaceForbidden) GetPayload

type UpdateNamespaceNotFound

type UpdateNamespaceNotFound struct {
	Payload *basicclientmodels.ErrorEntity
}

UpdateNamespaceNotFound handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11337</td><td>Unable to {action}: Namespace not found</td></tr></table>

func NewUpdateNamespaceNotFound

func NewUpdateNamespaceNotFound() *UpdateNamespaceNotFound

NewUpdateNamespaceNotFound creates a UpdateNamespaceNotFound with default headers values

func (*UpdateNamespaceNotFound) Error

func (o *UpdateNamespaceNotFound) Error() string

func (*UpdateNamespaceNotFound) GetPayload

type UpdateNamespaceOK

type UpdateNamespaceOK struct {
	Payload *basicclientmodels.NamespaceInfo
}

UpdateNamespaceOK handles this case with default header values.

Successful operation

func NewUpdateNamespaceOK

func NewUpdateNamespaceOK() *UpdateNamespaceOK

NewUpdateNamespaceOK creates a UpdateNamespaceOK with default headers values

func (*UpdateNamespaceOK) Error

func (o *UpdateNamespaceOK) Error() string

func (*UpdateNamespaceOK) GetPayload

type UpdateNamespaceParams

type UpdateNamespaceParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *basicclientmodels.NamespaceUpdate
	/*Namespace
	  namespace, only accept alphabet and numeric

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	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 values initialized.

func NewUpdateNamespaceParamsWithContext

func NewUpdateNamespaceParamsWithContext(ctx context.Context) *UpdateNamespaceParams

NewUpdateNamespaceParamsWithContext creates a new UpdateNamespaceParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and the ability to set a timeout on a request

func (*UpdateNamespaceParams) SetAuthInfoWriter added in v0.17.0

func (o *UpdateNamespaceParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the update namespace params

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

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

SetHTTPClient adds the HTTPClient to the update namespace params

func (*UpdateNamespaceParams) SetHTTPClientTransport added in v0.19.0

func (o *UpdateNamespaceParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the update namespace params

func (*UpdateNamespaceParams) SetNamespace

func (o *UpdateNamespaceParams) SetNamespace(namespace string)

SetNamespace adds the namespace 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) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update namespace params

func (*UpdateNamespaceParams) WithNamespace

func (o *UpdateNamespaceParams) WithNamespace(namespace string) *UpdateNamespaceParams

WithNamespace adds the namespace 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 {
	Payload *basicclientmodels.ErrorEntity
}

UpdateNamespaceUnauthorized handles this case with default header values.

<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized</td></tr></table>

func NewUpdateNamespaceUnauthorized

func NewUpdateNamespaceUnauthorized() *UpdateNamespaceUnauthorized

NewUpdateNamespaceUnauthorized creates a UpdateNamespaceUnauthorized with default headers values

func (*UpdateNamespaceUnauthorized) Error

func (*UpdateNamespaceUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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