namespace

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 16 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

func (*ChangeNamespaceStatusBadRequest) ToJSONString added in v0.25.0

func (o *ChangeNamespaceStatusBadRequest) ToJSONString() string

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

func (*ChangeNamespaceStatusConflict) ToJSONString added in v0.25.0

func (o *ChangeNamespaceStatusConflict) ToJSONString() string

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

func (*ChangeNamespaceStatusForbidden) ToJSONString added in v0.25.0

func (o *ChangeNamespaceStatusForbidden) ToJSONString() string

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

func (*ChangeNamespaceStatusNotFound) ToJSONString added in v0.25.0

func (o *ChangeNamespaceStatusNotFound) ToJSONString() string

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

func (*ChangeNamespaceStatusOK) ToJSONString added in v0.25.0

func (o *ChangeNamespaceStatusOK) ToJSONString() string

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

func (*ChangeNamespaceStatusUnauthorized) ToJSONString added in v0.25.0

func (o *ChangeNamespaceStatusUnauthorized) ToJSONString() string

type Client

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

Client for namespace API

func (*Client) ChangeNamespaceStatus deprecated

Deprecated: 2022-08-10 - Use ChangeNamespaceStatusShort instead.

ChangeNamespaceStatus change namespace status Change a namespace status. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=4 (UPDATE)
  • Action code : 11306
  • Returns : updated namespace

func (*Client) ChangeNamespaceStatusShort added in v0.8.0

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

ChangeNamespaceStatusShort change namespace status Change a namespace status. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=4 (UPDATE)
  • Action code : 11306
  • Returns : updated namespace

func (*Client) CreateNamespace deprecated

Deprecated: 2022-08-10 - Use CreateNamespaceShort instead.

CreateNamespace create a namespace Create a namespace. By default the namespace is enabled. In multi tenant mode, parentNamespace will be automatically filled with requester namespace if the requester is using studio or publisher token, and it will be filled with studio namespace if the requester uses game token. An oauth client will also be created and the id will be returned. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE" , action=1 (CREATE)
  • Action code : 11301
  • Returns : created namespace

func (*Client) CreateNamespaceShort added in v0.8.0

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

CreateNamespaceShort create a namespace Create a namespace. By default the namespace is enabled. In multi tenant mode, parentNamespace will be automatically filled with requester namespace if the requester is using studio or publisher token, and it will be filled with studio namespace if the requester uses game token. An oauth client will also be created and the id will be returned. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE" , action=1 (CREATE)
  • Action code : 11301
  • Returns : created namespace

func (*Client) DeleteNamespace deprecated

Deprecated: 2022-08-10 - Use DeleteNamespaceShort instead.

DeleteNamespace delete a namespace Delete a namespace. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=8 (DELETE)
  • Action code : 11307
  • Returns : deleted namespace

func (*Client) DeleteNamespaceShort added in v0.8.0

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

DeleteNamespaceShort delete a namespace Delete a namespace. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=8 (DELETE)
  • Action code : 11307
  • Returns : deleted namespace

func (*Client) GetGameNamespaces deprecated added in v0.34.0

Deprecated: 2022-08-10 - Use GetGameNamespacesShort instead.

GetGameNamespaces get game namespaces Get game namespaces. In multi tenant mode, a given super admin namespace will return all game namespaces of studio namespaces Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Action code : 11308
  • Returns : list of namespaces

func (*Client) GetGameNamespacesShort added in v0.34.0

func (a *Client) GetGameNamespacesShort(params *GetGameNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameNamespacesOK, error)

GetGameNamespacesShort get game namespaces Get game namespaces. In multi tenant mode, a given super admin namespace will return all game namespaces of studio namespaces Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Action code : 11308
  • Returns : list of namespaces

func (*Client) GetNamespace deprecated

Deprecated: 2022-08-10 - Use GetNamespaceShort instead.

GetNamespace get a namespace Get a namespace. In multi tenant mode, parentNamespace will be returned. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Action code : 11304
  • Returns : namespace

func (*Client) GetNamespacePublisher deprecated

Deprecated: 2022-08-10 - Use GetNamespacePublisherShort instead.

GetNamespacePublisher get namespace info related publisher namespace Get namespace info related publisher namespace. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Action code : 11305
  • Returns : Namespace info related publisher namespace

func (*Client) GetNamespacePublisherShort added in v0.8.0

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

GetNamespacePublisherShort get namespace info related publisher namespace Get namespace info related publisher namespace. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Action code : 11305
  • Returns : Namespace info related publisher namespace

func (*Client) GetNamespaceShort added in v0.8.0

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

GetNamespaceShort get a namespace Get a namespace. In multi tenant mode, parentNamespace will be returned. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Action code : 11304
  • Returns : namespace

func (*Client) GetNamespaces deprecated

Deprecated: 2022-08-10 - Use GetNamespacesShort instead.

GetNamespaces get all namespaces Get all namespaces. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE" , action=2 (READ)
  • Action code : 11303
  • Returns : list of namespaces

func (*Client) GetNamespacesShort added in v0.8.0

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

GetNamespacesShort get all namespaces Get all namespaces. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE" , action=2 (READ)
  • Action code : 11303
  • Returns : list of namespaces

func (*Client) PublicGetNamespacePublisher deprecated

Deprecated: 2022-08-10 - Use PublicGetNamespacePublisherShort instead.

PublicGetNamespacePublisher get namespace info related publisher namespace Get namespace info related publisher namespace. Other detail info:

  • Required permission : resource= "NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Action code : 11305
  • Returns : Namespace info related publisher namespace

func (*Client) PublicGetNamespacePublisherShort added in v0.8.0

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

PublicGetNamespacePublisherShort get namespace info related publisher namespace Get namespace info related publisher namespace. Other detail info:

  • Required permission : resource= "NAMESPACE:{namespace}:NAMESPACE" , action=2 (READ)
  • Action code : 11305
  • Returns : Namespace info related publisher namespace

func (*Client) PublicGetNamespaces deprecated

Deprecated: 2022-08-10 - Use PublicGetNamespacesShort instead.

PublicGetNamespaces get all namespaces Get all namespaces. Other detail info:

  • Required permission : login user
  • Action code : 11303
  • Returns : list of namespaces

func (*Client) PublicGetNamespacesShort added in v0.8.0

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

PublicGetNamespacesShort get all namespaces Get all namespaces. Other detail info:

  • Required permission : login user
  • Action code : 11303
  • Returns : list of namespaces

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNamespace deprecated

Deprecated: 2022-08-10 - Use UpdateNamespaceShort instead.

UpdateNamespace update namespace basic info Update namespace basic info. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=4 (UPDATE)
  • Action code : 11302
  • Returns : updated namespace

func (*Client) UpdateNamespaceShort added in v0.8.0

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

UpdateNamespaceShort update namespace basic info Update namespace basic info. Other detail info:

  • Required permission : resource= "ADMIN:NAMESPACE:{namespace}:NAMESPACE" , action=4 (UPDATE)
  • Action code : 11302
  • Returns : updated namespace

type ClientService

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

func (*CreateNamespaceBadRequest) ToJSONString added in v0.25.0

func (o *CreateNamespaceBadRequest) ToJSONString() string

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

func (*CreateNamespaceConflict) ToJSONString added in v0.25.0

func (o *CreateNamespaceConflict) ToJSONString() string

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

func (*CreateNamespaceCreated) ToJSONString added in v0.25.0

func (o *CreateNamespaceCreated) ToJSONString() string

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

func (*CreateNamespaceForbidden) ToJSONString added in v0.25.0

func (o *CreateNamespaceForbidden) ToJSONString() string

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

func (*CreateNamespaceUnauthorized) ToJSONString added in v0.25.0

func (o *CreateNamespaceUnauthorized) ToJSONString() string

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

func (*DeleteNamespaceBadRequest) ToJSONString added in v0.25.0

func (o *DeleteNamespaceBadRequest) ToJSONString() string

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

func (*DeleteNamespaceConflict) ToJSONString added in v0.25.0

func (o *DeleteNamespaceConflict) ToJSONString() string

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

func (*DeleteNamespaceForbidden) ToJSONString added in v0.25.0

func (o *DeleteNamespaceForbidden) ToJSONString() string

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

func (*DeleteNamespaceNotFound) ToJSONString added in v0.25.0

func (o *DeleteNamespaceNotFound) ToJSONString() string

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

func (*DeleteNamespaceOK) ToJSONString added in v0.25.0

func (o *DeleteNamespaceOK) ToJSONString() string

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

func (*DeleteNamespaceUnauthorized) ToJSONString added in v0.25.0

func (o *DeleteNamespaceUnauthorized) ToJSONString() string

type GetGameNamespacesForbidden added in v0.34.0

type GetGameNamespacesForbidden struct {
	Payload *basicclientmodels.ErrorEntity
}

GetGameNamespacesForbidden 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 NewGetGameNamespacesForbidden added in v0.34.0

func NewGetGameNamespacesForbidden() *GetGameNamespacesForbidden

NewGetGameNamespacesForbidden creates a GetGameNamespacesForbidden with default headers values

func (*GetGameNamespacesForbidden) Error added in v0.34.0

func (*GetGameNamespacesForbidden) GetPayload added in v0.34.0

func (*GetGameNamespacesForbidden) ToJSONString added in v0.34.0

func (o *GetGameNamespacesForbidden) ToJSONString() string

type GetGameNamespacesOK added in v0.34.0

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

GetGameNamespacesOK handles this case with default header values.

Successful operation

func NewGetGameNamespacesOK added in v0.34.0

func NewGetGameNamespacesOK() *GetGameNamespacesOK

NewGetGameNamespacesOK creates a GetGameNamespacesOK with default headers values

func (*GetGameNamespacesOK) Error added in v0.34.0

func (o *GetGameNamespacesOK) Error() string

func (*GetGameNamespacesOK) GetPayload added in v0.34.0

func (*GetGameNamespacesOK) ToJSONString added in v0.34.0

func (o *GetGameNamespacesOK) ToJSONString() string

type GetGameNamespacesParams added in v0.34.0

type GetGameNamespacesParams struct {

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

	*/
	ActiveOnly *bool

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

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

func NewGetGameNamespacesParams added in v0.34.0

func NewGetGameNamespacesParams() *GetGameNamespacesParams

NewGetGameNamespacesParams creates a new GetGameNamespacesParams object with the default values initialized.

func NewGetGameNamespacesParamsWithContext added in v0.34.0

func NewGetGameNamespacesParamsWithContext(ctx context.Context) *GetGameNamespacesParams

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

func NewGetGameNamespacesParamsWithHTTPClient added in v0.34.0

func NewGetGameNamespacesParamsWithHTTPClient(client *http.Client) *GetGameNamespacesParams

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

func NewGetGameNamespacesParamsWithTimeout added in v0.34.0

func NewGetGameNamespacesParamsWithTimeout(timeout time.Duration) *GetGameNamespacesParams

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

func (*GetGameNamespacesParams) SetActiveOnly added in v0.34.0

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

SetActiveOnly adds the activeOnly to the get game namespaces params

func (*GetGameNamespacesParams) SetAuthInfoWriter added in v0.34.0

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

SetAuthInfoWriter adds the authInfoWriter to the get game namespaces params

func (*GetGameNamespacesParams) SetContext added in v0.34.0

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

SetContext adds the context to the get game namespaces params

func (*GetGameNamespacesParams) SetHTTPClient added in v0.34.0

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

SetHTTPClient adds the HTTPClient to the get game namespaces params

func (*GetGameNamespacesParams) SetHTTPClientTransport added in v0.34.0

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

SetHTTPClient adds the HTTPClient Transport to the get game namespaces params

func (*GetGameNamespacesParams) SetNamespace added in v0.34.0

func (o *GetGameNamespacesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get game namespaces params

func (*GetGameNamespacesParams) SetTimeout added in v0.34.0

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

SetTimeout adds the timeout to the get game namespaces params

func (*GetGameNamespacesParams) WithActiveOnly added in v0.34.0

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

WithActiveOnly adds the activeOnly to the get game namespaces params

func (*GetGameNamespacesParams) WithContext added in v0.34.0

WithContext adds the context to the get game namespaces params

func (*GetGameNamespacesParams) WithHTTPClient added in v0.34.0

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

WithHTTPClient adds the HTTPClient to the get game namespaces params

func (*GetGameNamespacesParams) WithNamespace added in v0.34.0

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

WithNamespace adds the namespace to the get game namespaces params

func (*GetGameNamespacesParams) WithTimeout added in v0.34.0

WithTimeout adds the timeout to the get game namespaces params

func (*GetGameNamespacesParams) WriteToRequest added in v0.34.0

WriteToRequest writes these params to a swagger request

type GetGameNamespacesReader added in v0.34.0

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

GetGameNamespacesReader is a Reader for the GetGameNamespaces structure.

func (*GetGameNamespacesReader) ReadResponse added in v0.34.0

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

ReadResponse reads a server response into the received o.

type GetGameNamespacesUnauthorized added in v0.34.0

type GetGameNamespacesUnauthorized struct {
	Payload *basicclientmodels.ErrorEntity
}

GetGameNamespacesUnauthorized 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 NewGetGameNamespacesUnauthorized added in v0.34.0

func NewGetGameNamespacesUnauthorized() *GetGameNamespacesUnauthorized

NewGetGameNamespacesUnauthorized creates a GetGameNamespacesUnauthorized with default headers values

func (*GetGameNamespacesUnauthorized) Error added in v0.34.0

func (*GetGameNamespacesUnauthorized) GetPayload added in v0.34.0

func (*GetGameNamespacesUnauthorized) ToJSONString added in v0.34.0

func (o *GetGameNamespacesUnauthorized) ToJSONString() string

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

func (*GetNamespaceBadRequest) ToJSONString added in v0.25.0

func (o *GetNamespaceBadRequest) ToJSONString() string

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

func (*GetNamespaceForbidden) ToJSONString added in v0.25.0

func (o *GetNamespaceForbidden) ToJSONString() string

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

func (*GetNamespaceNotFound) ToJSONString added in v0.25.0

func (o *GetNamespaceNotFound) ToJSONString() string

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

func (*GetNamespaceOK) ToJSONString added in v0.25.0

func (o *GetNamespaceOK) ToJSONString() string

type GetNamespaceParams

type GetNamespaceParams struct {

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

	*/
	Namespace string
	/*ActiveOnly
	  only retrieves active namespaces

	*/
	ActiveOnly *bool

	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

func (*GetNamespacePublisherBadRequest) ToJSONString added in v0.25.0

func (o *GetNamespacePublisherBadRequest) ToJSONString() string

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

func (*GetNamespacePublisherForbidden) ToJSONString added in v0.25.0

func (o *GetNamespacePublisherForbidden) ToJSONString() string

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

func (*GetNamespacePublisherNotFound) ToJSONString added in v0.25.0

func (o *GetNamespacePublisherNotFound) ToJSONString() string

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

func (*GetNamespacePublisherOK) ToJSONString added in v0.25.0

func (o *GetNamespacePublisherOK) ToJSONString() string

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

func (*GetNamespacePublisherUnauthorized) ToJSONString added in v0.25.0

func (o *GetNamespacePublisherUnauthorized) ToJSONString() string

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

func (*GetNamespaceUnauthorized) ToJSONString added in v0.25.0

func (o *GetNamespaceUnauthorized) ToJSONString() string

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

func (*GetNamespacesForbidden) ToJSONString added in v0.25.0

func (o *GetNamespacesForbidden) ToJSONString() string

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

func (*GetNamespacesOK) ToJSONString added in v0.25.0

func (o *GetNamespacesOK) ToJSONString() string

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

func (*GetNamespacesUnauthorized) ToJSONString added in v0.25.0

func (o *GetNamespacesUnauthorized) ToJSONString() string

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

func (*PublicGetNamespacePublisherBadRequest) ToJSONString added in v0.25.0

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

func (*PublicGetNamespacePublisherForbidden) ToJSONString added in v0.25.0

func (o *PublicGetNamespacePublisherForbidden) ToJSONString() string

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

func (*PublicGetNamespacePublisherNotFound) ToJSONString added in v0.25.0

func (o *PublicGetNamespacePublisherNotFound) ToJSONString() string

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

func (*PublicGetNamespacePublisherOK) ToJSONString added in v0.25.0

func (o *PublicGetNamespacePublisherOK) ToJSONString() string

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

func (*PublicGetNamespacePublisherUnauthorized) ToJSONString added in v0.25.0

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

func (*PublicGetNamespacesOK) ToJSONString added in v0.25.0

func (o *PublicGetNamespacesOK) ToJSONString() string

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

func (*PublicGetNamespacesUnauthorized) ToJSONString added in v0.25.0

func (o *PublicGetNamespacesUnauthorized) ToJSONString() string

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

func (*UpdateNamespaceBadRequest) ToJSONString added in v0.25.0

func (o *UpdateNamespaceBadRequest) ToJSONString() string

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

func (*UpdateNamespaceConflict) ToJSONString added in v0.25.0

func (o *UpdateNamespaceConflict) ToJSONString() string

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

func (*UpdateNamespaceForbidden) ToJSONString added in v0.25.0

func (o *UpdateNamespaceForbidden) ToJSONString() string

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

func (*UpdateNamespaceNotFound) ToJSONString added in v0.25.0

func (o *UpdateNamespaceNotFound) ToJSONString() string

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

func (*UpdateNamespaceOK) ToJSONString added in v0.25.0

func (o *UpdateNamespaceOK) ToJSONString() string

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

func (*UpdateNamespaceUnauthorized) ToJSONString added in v0.25.0

func (o *UpdateNamespaceUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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