Documentation ¶
Index ¶
- type ChangeNamespaceStatusBadRequest
- type ChangeNamespaceStatusConflict
- type ChangeNamespaceStatusForbidden
- type ChangeNamespaceStatusNotFound
- type ChangeNamespaceStatusOK
- type ChangeNamespaceStatusParams
- func NewChangeNamespaceStatusParams() *ChangeNamespaceStatusParams
- func NewChangeNamespaceStatusParamsWithContext(ctx context.Context) *ChangeNamespaceStatusParams
- func NewChangeNamespaceStatusParamsWithHTTPClient(client *http.Client) *ChangeNamespaceStatusParams
- func NewChangeNamespaceStatusParamsWithTimeout(timeout time.Duration) *ChangeNamespaceStatusParams
- func (o *ChangeNamespaceStatusParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ChangeNamespaceStatusParams) SetBody(body *basicclientmodels.NamespaceStatusUpdate)
- func (o *ChangeNamespaceStatusParams) SetContext(ctx context.Context)
- func (o *ChangeNamespaceStatusParams) SetHTTPClient(client *http.Client)
- func (o *ChangeNamespaceStatusParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ChangeNamespaceStatusParams) SetNamespace(namespace string)
- func (o *ChangeNamespaceStatusParams) SetTimeout(timeout time.Duration)
- func (o *ChangeNamespaceStatusParams) WithBody(body *basicclientmodels.NamespaceStatusUpdate) *ChangeNamespaceStatusParams
- func (o *ChangeNamespaceStatusParams) WithContext(ctx context.Context) *ChangeNamespaceStatusParams
- func (o *ChangeNamespaceStatusParams) WithHTTPClient(client *http.Client) *ChangeNamespaceStatusParams
- func (o *ChangeNamespaceStatusParams) WithNamespace(namespace string) *ChangeNamespaceStatusParams
- func (o *ChangeNamespaceStatusParams) WithTimeout(timeout time.Duration) *ChangeNamespaceStatusParams
- func (o *ChangeNamespaceStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeNamespaceStatusReader
- type ChangeNamespaceStatusUnauthorized
- type Client
- func (a *Client) ChangeNamespaceStatus(params *ChangeNamespaceStatusParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeNamespaceStatusOK, *ChangeNamespaceStatusBadRequest, ...)
- func (a *Client) ChangeNamespaceStatusShort(params *ChangeNamespaceStatusParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeNamespaceStatusOK, error)
- func (a *Client) CreateNamespace(params *CreateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNamespaceCreated, *CreateNamespaceBadRequest, ...)
- func (a *Client) CreateNamespaceShort(params *CreateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNamespaceCreated, error)
- func (a *Client) DeleteNamespace(params *DeleteNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNamespaceOK, *DeleteNamespaceBadRequest, *DeleteNamespaceUnauthorized, ...)
- func (a *Client) DeleteNamespaceShort(params *DeleteNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNamespaceOK, error)
- func (a *Client) GetNamespace(params *GetNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceOK, *GetNamespaceBadRequest, *GetNamespaceUnauthorized, ...)
- func (a *Client) GetNamespacePublisher(params *GetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacePublisherOK, *GetNamespacePublisherBadRequest, ...)
- func (a *Client) GetNamespacePublisherShort(params *GetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacePublisherOK, error)
- func (a *Client) GetNamespaceShort(params *GetNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceOK, error)
- func (a *Client) GetNamespaces(params *GetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacesOK, *GetNamespacesUnauthorized, *GetNamespacesForbidden, error)
- func (a *Client) GetNamespacesShort(params *GetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacesOK, error)
- func (a *Client) PublicGetNamespacePublisher(params *PublicGetNamespacePublisherParams, ...) (*PublicGetNamespacePublisherOK, *PublicGetNamespacePublisherBadRequest, ...)
- func (a *Client) PublicGetNamespacePublisherShort(params *PublicGetNamespacePublisherParams, ...) (*PublicGetNamespacePublisherOK, error)
- func (a *Client) PublicGetNamespaces(params *PublicGetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacesOK, *PublicGetNamespacesUnauthorized, error)
- func (a *Client) PublicGetNamespacesShort(params *PublicGetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNamespace(params *UpdateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNamespaceOK, *UpdateNamespaceBadRequest, *UpdateNamespaceUnauthorized, ...)
- func (a *Client) UpdateNamespaceShort(params *UpdateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNamespaceOK, error)
- type ClientService
- type CreateNamespaceBadRequest
- type CreateNamespaceConflict
- type CreateNamespaceCreated
- type CreateNamespaceForbidden
- type CreateNamespaceParams
- func NewCreateNamespaceParams() *CreateNamespaceParams
- func NewCreateNamespaceParamsWithContext(ctx context.Context) *CreateNamespaceParams
- func NewCreateNamespaceParamsWithHTTPClient(client *http.Client) *CreateNamespaceParams
- func NewCreateNamespaceParamsWithTimeout(timeout time.Duration) *CreateNamespaceParams
- func (o *CreateNamespaceParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreateNamespaceParams) SetBody(body *basicclientmodels.NamespaceCreate)
- func (o *CreateNamespaceParams) SetContext(ctx context.Context)
- func (o *CreateNamespaceParams) SetHTTPClient(client *http.Client)
- func (o *CreateNamespaceParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreateNamespaceParams) SetTimeout(timeout time.Duration)
- func (o *CreateNamespaceParams) WithBody(body *basicclientmodels.NamespaceCreate) *CreateNamespaceParams
- func (o *CreateNamespaceParams) WithContext(ctx context.Context) *CreateNamespaceParams
- func (o *CreateNamespaceParams) WithHTTPClient(client *http.Client) *CreateNamespaceParams
- func (o *CreateNamespaceParams) WithTimeout(timeout time.Duration) *CreateNamespaceParams
- func (o *CreateNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNamespaceReader
- type CreateNamespaceUnauthorized
- type DeleteNamespaceBadRequest
- type DeleteNamespaceConflict
- type DeleteNamespaceForbidden
- type DeleteNamespaceNotFound
- type DeleteNamespaceOK
- type DeleteNamespaceParams
- func NewDeleteNamespaceParams() *DeleteNamespaceParams
- func NewDeleteNamespaceParamsWithContext(ctx context.Context) *DeleteNamespaceParams
- func NewDeleteNamespaceParamsWithHTTPClient(client *http.Client) *DeleteNamespaceParams
- func NewDeleteNamespaceParamsWithTimeout(timeout time.Duration) *DeleteNamespaceParams
- func (o *DeleteNamespaceParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteNamespaceParams) SetContext(ctx context.Context)
- func (o *DeleteNamespaceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNamespaceParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteNamespaceParams) SetNamespace(namespace string)
- func (o *DeleteNamespaceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNamespaceParams) WithContext(ctx context.Context) *DeleteNamespaceParams
- func (o *DeleteNamespaceParams) WithHTTPClient(client *http.Client) *DeleteNamespaceParams
- func (o *DeleteNamespaceParams) WithNamespace(namespace string) *DeleteNamespaceParams
- func (o *DeleteNamespaceParams) WithTimeout(timeout time.Duration) *DeleteNamespaceParams
- func (o *DeleteNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNamespaceReader
- type DeleteNamespaceUnauthorized
- type GetNamespaceBadRequest
- type GetNamespaceForbidden
- type GetNamespaceNotFound
- type GetNamespaceOK
- type GetNamespaceParams
- func (o *GetNamespaceParams) SetActiveOnly(activeOnly *bool)
- func (o *GetNamespaceParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetNamespaceParams) SetContext(ctx context.Context)
- func (o *GetNamespaceParams) SetHTTPClient(client *http.Client)
- func (o *GetNamespaceParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetNamespaceParams) SetNamespace(namespace string)
- func (o *GetNamespaceParams) SetTimeout(timeout time.Duration)
- func (o *GetNamespaceParams) WithActiveOnly(activeOnly *bool) *GetNamespaceParams
- func (o *GetNamespaceParams) WithContext(ctx context.Context) *GetNamespaceParams
- func (o *GetNamespaceParams) WithHTTPClient(client *http.Client) *GetNamespaceParams
- func (o *GetNamespaceParams) WithNamespace(namespace string) *GetNamespaceParams
- func (o *GetNamespaceParams) WithTimeout(timeout time.Duration) *GetNamespaceParams
- func (o *GetNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNamespacePublisherBadRequest
- type GetNamespacePublisherForbidden
- type GetNamespacePublisherNotFound
- type GetNamespacePublisherOK
- type GetNamespacePublisherParams
- func NewGetNamespacePublisherParams() *GetNamespacePublisherParams
- func NewGetNamespacePublisherParamsWithContext(ctx context.Context) *GetNamespacePublisherParams
- func NewGetNamespacePublisherParamsWithHTTPClient(client *http.Client) *GetNamespacePublisherParams
- func NewGetNamespacePublisherParamsWithTimeout(timeout time.Duration) *GetNamespacePublisherParams
- func (o *GetNamespacePublisherParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetNamespacePublisherParams) SetContext(ctx context.Context)
- func (o *GetNamespacePublisherParams) SetHTTPClient(client *http.Client)
- func (o *GetNamespacePublisherParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetNamespacePublisherParams) SetNamespace(namespace string)
- func (o *GetNamespacePublisherParams) SetTimeout(timeout time.Duration)
- func (o *GetNamespacePublisherParams) WithContext(ctx context.Context) *GetNamespacePublisherParams
- func (o *GetNamespacePublisherParams) WithHTTPClient(client *http.Client) *GetNamespacePublisherParams
- func (o *GetNamespacePublisherParams) WithNamespace(namespace string) *GetNamespacePublisherParams
- func (o *GetNamespacePublisherParams) WithTimeout(timeout time.Duration) *GetNamespacePublisherParams
- func (o *GetNamespacePublisherParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNamespacePublisherReader
- type GetNamespacePublisherUnauthorized
- type GetNamespaceReader
- type GetNamespaceUnauthorized
- type GetNamespacesForbidden
- type GetNamespacesOK
- type GetNamespacesParams
- func (o *GetNamespacesParams) SetActiveOnly(activeOnly *bool)
- func (o *GetNamespacesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetNamespacesParams) SetContext(ctx context.Context)
- func (o *GetNamespacesParams) SetHTTPClient(client *http.Client)
- func (o *GetNamespacesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetNamespacesParams) SetTimeout(timeout time.Duration)
- func (o *GetNamespacesParams) WithActiveOnly(activeOnly *bool) *GetNamespacesParams
- func (o *GetNamespacesParams) WithContext(ctx context.Context) *GetNamespacesParams
- func (o *GetNamespacesParams) WithHTTPClient(client *http.Client) *GetNamespacesParams
- func (o *GetNamespacesParams) WithTimeout(timeout time.Duration) *GetNamespacesParams
- func (o *GetNamespacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNamespacesReader
- type GetNamespacesUnauthorized
- type PublicGetNamespacePublisherBadRequest
- type PublicGetNamespacePublisherForbidden
- type PublicGetNamespacePublisherNotFound
- type PublicGetNamespacePublisherOK
- type PublicGetNamespacePublisherParams
- func NewPublicGetNamespacePublisherParams() *PublicGetNamespacePublisherParams
- func NewPublicGetNamespacePublisherParamsWithContext(ctx context.Context) *PublicGetNamespacePublisherParams
- func NewPublicGetNamespacePublisherParamsWithHTTPClient(client *http.Client) *PublicGetNamespacePublisherParams
- func NewPublicGetNamespacePublisherParamsWithTimeout(timeout time.Duration) *PublicGetNamespacePublisherParams
- func (o *PublicGetNamespacePublisherParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetNamespacePublisherParams) SetContext(ctx context.Context)
- func (o *PublicGetNamespacePublisherParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetNamespacePublisherParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetNamespacePublisherParams) SetNamespace(namespace string)
- func (o *PublicGetNamespacePublisherParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetNamespacePublisherParams) WithContext(ctx context.Context) *PublicGetNamespacePublisherParams
- func (o *PublicGetNamespacePublisherParams) WithHTTPClient(client *http.Client) *PublicGetNamespacePublisherParams
- func (o *PublicGetNamespacePublisherParams) WithNamespace(namespace string) *PublicGetNamespacePublisherParams
- func (o *PublicGetNamespacePublisherParams) WithTimeout(timeout time.Duration) *PublicGetNamespacePublisherParams
- func (o *PublicGetNamespacePublisherParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetNamespacePublisherReader
- type PublicGetNamespacePublisherUnauthorized
- type PublicGetNamespacesOK
- type PublicGetNamespacesParams
- func NewPublicGetNamespacesParams() *PublicGetNamespacesParams
- func NewPublicGetNamespacesParamsWithContext(ctx context.Context) *PublicGetNamespacesParams
- func NewPublicGetNamespacesParamsWithHTTPClient(client *http.Client) *PublicGetNamespacesParams
- func NewPublicGetNamespacesParamsWithTimeout(timeout time.Duration) *PublicGetNamespacesParams
- func (o *PublicGetNamespacesParams) SetActiveOnly(activeOnly *bool)
- func (o *PublicGetNamespacesParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicGetNamespacesParams) SetContext(ctx context.Context)
- func (o *PublicGetNamespacesParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetNamespacesParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicGetNamespacesParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetNamespacesParams) WithActiveOnly(activeOnly *bool) *PublicGetNamespacesParams
- func (o *PublicGetNamespacesParams) WithContext(ctx context.Context) *PublicGetNamespacesParams
- func (o *PublicGetNamespacesParams) WithHTTPClient(client *http.Client) *PublicGetNamespacesParams
- func (o *PublicGetNamespacesParams) WithTimeout(timeout time.Duration) *PublicGetNamespacesParams
- func (o *PublicGetNamespacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetNamespacesReader
- type PublicGetNamespacesUnauthorized
- type UpdateNamespaceBadRequest
- type UpdateNamespaceConflict
- type UpdateNamespaceForbidden
- type UpdateNamespaceNotFound
- type UpdateNamespaceOK
- type UpdateNamespaceParams
- func NewUpdateNamespaceParams() *UpdateNamespaceParams
- func NewUpdateNamespaceParamsWithContext(ctx context.Context) *UpdateNamespaceParams
- func NewUpdateNamespaceParamsWithHTTPClient(client *http.Client) *UpdateNamespaceParams
- func NewUpdateNamespaceParamsWithTimeout(timeout time.Duration) *UpdateNamespaceParams
- func (o *UpdateNamespaceParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateNamespaceParams) SetBody(body *basicclientmodels.NamespaceUpdate)
- func (o *UpdateNamespaceParams) SetContext(ctx context.Context)
- func (o *UpdateNamespaceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNamespaceParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateNamespaceParams) SetNamespace(namespace string)
- func (o *UpdateNamespaceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNamespaceParams) WithBody(body *basicclientmodels.NamespaceUpdate) *UpdateNamespaceParams
- func (o *UpdateNamespaceParams) WithContext(ctx context.Context) *UpdateNamespaceParams
- func (o *UpdateNamespaceParams) WithHTTPClient(client *http.Client) *UpdateNamespaceParams
- func (o *UpdateNamespaceParams) WithNamespace(namespace string) *UpdateNamespaceParams
- func (o *UpdateNamespaceParams) WithTimeout(timeout time.Duration) *UpdateNamespaceParams
- func (o *UpdateNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNamespaceReader
- type UpdateNamespaceUnauthorized
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 (o *ChangeNamespaceStatusBadRequest) Error() string
func (*ChangeNamespaceStatusBadRequest) GetPayload ¶
func (o *ChangeNamespaceStatusBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
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 (o *ChangeNamespaceStatusConflict) Error() string
func (*ChangeNamespaceStatusConflict) GetPayload ¶
func (o *ChangeNamespaceStatusConflict) GetPayload() *basicclientmodels.ErrorEntity
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 (o *ChangeNamespaceStatusForbidden) Error() string
func (*ChangeNamespaceStatusForbidden) GetPayload ¶
func (o *ChangeNamespaceStatusForbidden) GetPayload() *basicclientmodels.ErrorEntity
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 (o *ChangeNamespaceStatusNotFound) Error() string
func (*ChangeNamespaceStatusNotFound) GetPayload ¶
func (o *ChangeNamespaceStatusNotFound) GetPayload() *basicclientmodels.ErrorEntity
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 (o *ChangeNamespaceStatusOK) GetPayload() *basicclientmodels.NamespaceInfo
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 ¶
func (o *ChangeNamespaceStatusParams) SetBody(body *basicclientmodels.NamespaceStatusUpdate)
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 ¶
func (o *ChangeNamespaceStatusParams) WithBody(body *basicclientmodels.NamespaceStatusUpdate) *ChangeNamespaceStatusParams
WithBody adds the body to the change namespace status params
func (*ChangeNamespaceStatusParams) WithContext ¶
func (o *ChangeNamespaceStatusParams) WithContext(ctx context.Context) *ChangeNamespaceStatusParams
WithContext adds the context to the change namespace status params
func (*ChangeNamespaceStatusParams) WithHTTPClient ¶
func (o *ChangeNamespaceStatusParams) WithHTTPClient(client *http.Client) *ChangeNamespaceStatusParams
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 ¶
func (o *ChangeNamespaceStatusParams) WithTimeout(timeout time.Duration) *ChangeNamespaceStatusParams
WithTimeout adds the timeout to the change namespace status params
func (*ChangeNamespaceStatusParams) WriteToRequest ¶
func (o *ChangeNamespaceStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *ChangeNamespaceStatusUnauthorized) Error() string
func (*ChangeNamespaceStatusUnauthorized) GetPayload ¶
func (o *ChangeNamespaceStatusUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for namespace API
func (*Client) ChangeNamespaceStatus ¶
func (a *Client) ChangeNamespaceStatus(params *ChangeNamespaceStatusParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeNamespaceStatusOK, *ChangeNamespaceStatusBadRequest, *ChangeNamespaceStatusUnauthorized, *ChangeNamespaceStatusForbidden, *ChangeNamespaceStatusNotFound, *ChangeNamespaceStatusConflict, error)
ChangeNamespaceStatus changes namespace status
Change a namespace status.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:NAMESPACE"</b>, action=4 <b>(UPDATE)</b></li><li>Action code<i></i>: 11306</li><li><i>Returns</i>: updated namespace</li></ul>
func (*Client) ChangeNamespaceStatusShort ¶ added in v0.8.0
func (a *Client) ChangeNamespaceStatusShort(params *ChangeNamespaceStatusParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeNamespaceStatusOK, error)
func (*Client) CreateNamespace ¶
func (a *Client) CreateNamespace(params *CreateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNamespaceCreated, *CreateNamespaceBadRequest, *CreateNamespaceUnauthorized, *CreateNamespaceForbidden, *CreateNamespaceConflict, error)
CreateNamespace creates a namespace
Create a namespace.<br>By default the namespace is enabled.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE"</b>, action=1 <b>(CREATE)</b></li><li><i>Action code</i>: 11301</li><li><i>Returns</i>: created namespace</li></ul>
func (*Client) CreateNamespaceShort ¶ added in v0.8.0
func (a *Client) CreateNamespaceShort(params *CreateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*CreateNamespaceCreated, error)
func (*Client) DeleteNamespace ¶
func (a *Client) DeleteNamespace(params *DeleteNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNamespaceOK, *DeleteNamespaceBadRequest, *DeleteNamespaceUnauthorized, *DeleteNamespaceForbidden, *DeleteNamespaceNotFound, *DeleteNamespaceConflict, error)
DeleteNamespace deletes a namespace
Delete a namespace.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:NAMESPACE"</b>, action=8 <b>(DELETE)</b></li><li><i>Action code</i>: 11307</li><li><i>Returns</i>: deleted namespace</li></ul>
func (*Client) DeleteNamespaceShort ¶ added in v0.8.0
func (a *Client) DeleteNamespaceShort(params *DeleteNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNamespaceOK, error)
func (*Client) GetNamespace ¶
func (a *Client) GetNamespace(params *GetNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceOK, *GetNamespaceBadRequest, *GetNamespaceUnauthorized, *GetNamespaceForbidden, *GetNamespaceNotFound, error)
GetNamespace gets a namespace
Get a namespace.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:NAMESPACE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11304</li><li><i>Returns</i>: namespace</li></ul>
func (*Client) GetNamespacePublisher ¶
func (a *Client) GetNamespacePublisher(params *GetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacePublisherOK, *GetNamespacePublisherBadRequest, *GetNamespacePublisherUnauthorized, *GetNamespacePublisherForbidden, *GetNamespacePublisherNotFound, error)
GetNamespacePublisher gets namespace info related publisher namespace
Get namespace info related publisher namespace.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:NAMESPACE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11305</li><li><i>Returns</i>: Namespace info related publisher namespace</li></ul>
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 ¶
func (a *Client) GetNamespaces(params *GetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacesOK, *GetNamespacesUnauthorized, *GetNamespacesForbidden, error)
GetNamespaces gets all namespaces
Get all namespaces.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11303</li><li><i>Returns</i>: list of namespaces</li></ul>
func (*Client) GetNamespacesShort ¶ added in v0.8.0
func (a *Client) GetNamespacesShort(params *GetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespacesOK, error)
func (*Client) PublicGetNamespacePublisher ¶
func (a *Client) PublicGetNamespacePublisher(params *PublicGetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacePublisherOK, *PublicGetNamespacePublisherBadRequest, *PublicGetNamespacePublisherUnauthorized, *PublicGetNamespacePublisherForbidden, *PublicGetNamespacePublisherNotFound, error)
PublicGetNamespacePublisher gets namespace info related publisher namespace
Get namespace info related publisher namespace.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:NAMESPACE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11305</li><li><i>Returns</i>: Namespace info related publisher namespace</li></ul>
func (*Client) PublicGetNamespacePublisherShort ¶ added in v0.8.0
func (a *Client) PublicGetNamespacePublisherShort(params *PublicGetNamespacePublisherParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacePublisherOK, error)
func (*Client) PublicGetNamespaces ¶
func (a *Client) PublicGetNamespaces(params *PublicGetNamespacesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetNamespacesOK, *PublicGetNamespacesUnauthorized, error)
PublicGetNamespaces gets all namespaces
Get all namespaces.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Action code</i>: 11303</li><li><i>Returns</i>: list of namespaces</li></ul>
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 ¶
func (a *Client) UpdateNamespace(params *UpdateNamespaceParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNamespaceOK, *UpdateNamespaceBadRequest, *UpdateNamespaceUnauthorized, *UpdateNamespaceForbidden, *UpdateNamespaceNotFound, *UpdateNamespaceConflict, error)
UpdateNamespace updates namespace basic info
Update namespace basic info.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:NAMESPACE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11302</li><li><i>Returns</i>: updated namespace</li></ul>
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 ¶
func (o *CreateNamespaceBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
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 (o *CreateNamespaceConflict) GetPayload() *basicclientmodels.ErrorEntity
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 (o *CreateNamespaceCreated) GetPayload() *basicclientmodels.NamespaceInfo
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 (o *CreateNamespaceForbidden) GetPayload() *basicclientmodels.ErrorEntity
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 ¶
func (o *CreateNamespaceParams) SetBody(body *basicclientmodels.NamespaceCreate)
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 ¶
func (o *CreateNamespaceParams) WithBody(body *basicclientmodels.NamespaceCreate) *CreateNamespaceParams
WithBody adds the body to the create namespace params
func (*CreateNamespaceParams) WithContext ¶
func (o *CreateNamespaceParams) WithContext(ctx context.Context) *CreateNamespaceParams
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 {
}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 (o *CreateNamespaceUnauthorized) Error() string
func (*CreateNamespaceUnauthorized) GetPayload ¶
func (o *CreateNamespaceUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
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 (o *DeleteNamespaceBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
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 (o *DeleteNamespaceConflict) GetPayload() *basicclientmodels.ErrorEntity
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 (o *DeleteNamespaceForbidden) GetPayload() *basicclientmodels.ErrorEntity
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 (o *DeleteNamespaceNotFound) GetPayload() *basicclientmodels.ErrorEntity
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 (o *DeleteNamespaceOK) GetPayload() *basicclientmodels.NamespaceInfo
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 ¶
func (o *DeleteNamespaceParams) WithContext(ctx context.Context) *DeleteNamespaceParams
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 {
}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 (o *DeleteNamespaceUnauthorized) Error() string
func (*DeleteNamespaceUnauthorized) GetPayload ¶
func (o *DeleteNamespaceUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
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 (o *GetNamespaceBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
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 (o *GetNamespaceForbidden) GetPayload() *basicclientmodels.ErrorEntity
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 (o *GetNamespaceNotFound) GetPayload() *basicclientmodels.ErrorEntity
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 (o *GetNamespaceOK) GetPayload() *basicclientmodels.NamespaceInfo
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 ¶
func (o *GetNamespaceParams) WithContext(ctx context.Context) *GetNamespaceParams
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 (o *GetNamespacePublisherBadRequest) Error() string
func (*GetNamespacePublisherBadRequest) GetPayload ¶
func (o *GetNamespacePublisherBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
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 (o *GetNamespacePublisherForbidden) Error() string
func (*GetNamespacePublisherForbidden) GetPayload ¶
func (o *GetNamespacePublisherForbidden) GetPayload() *basicclientmodels.ErrorEntity
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 (o *GetNamespacePublisherNotFound) Error() string
func (*GetNamespacePublisherNotFound) GetPayload ¶
func (o *GetNamespacePublisherNotFound) GetPayload() *basicclientmodels.ErrorEntity
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 (o *GetNamespacePublisherOK) GetPayload() *basicclientmodels.NamespacePublisherInfo
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 ¶
func (o *GetNamespacePublisherParams) WithContext(ctx context.Context) *GetNamespacePublisherParams
WithContext adds the context to the get namespace publisher params
func (*GetNamespacePublisherParams) WithHTTPClient ¶
func (o *GetNamespacePublisherParams) WithHTTPClient(client *http.Client) *GetNamespacePublisherParams
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 ¶
func (o *GetNamespacePublisherParams) WithTimeout(timeout time.Duration) *GetNamespacePublisherParams
WithTimeout adds the timeout to the get namespace publisher params
func (*GetNamespacePublisherParams) WriteToRequest ¶
func (o *GetNamespacePublisherParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetNamespacePublisherUnauthorized) Error() string
func (*GetNamespacePublisherUnauthorized) GetPayload ¶
func (o *GetNamespacePublisherUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
type GetNamespaceReader ¶
type GetNamespaceReader struct {
// contains filtered or unexported fields
}
GetNamespaceReader is a Reader for the GetNamespace structure.
func (*GetNamespaceReader) ReadResponse ¶
func (o *GetNamespaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNamespaceUnauthorized ¶
type GetNamespaceUnauthorized struct {
}GetNamespaceUnauthorized 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 (o *GetNamespaceUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
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 (o *GetNamespacesForbidden) GetPayload() *basicclientmodels.ErrorEntity
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 ¶
func (o *GetNamespacesParams) WithContext(ctx context.Context) *GetNamespacesParams
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 {
}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 (o *GetNamespacesUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
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 (o *PublicGetNamespacePublisherBadRequest) Error() string
func (*PublicGetNamespacePublisherBadRequest) GetPayload ¶
func (o *PublicGetNamespacePublisherBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
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 (o *PublicGetNamespacePublisherForbidden) Error() string
func (*PublicGetNamespacePublisherForbidden) GetPayload ¶
func (o *PublicGetNamespacePublisherForbidden) GetPayload() *basicclientmodels.ErrorEntity
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 (o *PublicGetNamespacePublisherNotFound) Error() string
func (*PublicGetNamespacePublisherNotFound) GetPayload ¶
func (o *PublicGetNamespacePublisherNotFound) GetPayload() *basicclientmodels.ErrorEntity
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 (o *PublicGetNamespacePublisherOK) Error() string
func (*PublicGetNamespacePublisherOK) GetPayload ¶
func (o *PublicGetNamespacePublisherOK) GetPayload() *basicclientmodels.NamespacePublisherInfo
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 ¶
func (o *PublicGetNamespacePublisherParams) SetContext(ctx context.Context)
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 ¶
func (o *PublicGetNamespacePublisherParams) WithContext(ctx context.Context) *PublicGetNamespacePublisherParams
WithContext adds the context to the public get namespace publisher params
func (*PublicGetNamespacePublisherParams) WithHTTPClient ¶
func (o *PublicGetNamespacePublisherParams) WithHTTPClient(client *http.Client) *PublicGetNamespacePublisherParams
WithHTTPClient adds the HTTPClient to the public get namespace publisher params
func (*PublicGetNamespacePublisherParams) WithNamespace ¶
func (o *PublicGetNamespacePublisherParams) WithNamespace(namespace string) *PublicGetNamespacePublisherParams
WithNamespace adds the namespace to the public get namespace publisher params
func (*PublicGetNamespacePublisherParams) WithTimeout ¶
func (o *PublicGetNamespacePublisherParams) WithTimeout(timeout time.Duration) *PublicGetNamespacePublisherParams
WithTimeout adds the timeout to the public get namespace publisher params
func (*PublicGetNamespacePublisherParams) WriteToRequest ¶
func (o *PublicGetNamespacePublisherParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *PublicGetNamespacePublisherUnauthorized) Error() string
func (*PublicGetNamespacePublisherUnauthorized) GetPayload ¶
func (o *PublicGetNamespacePublisherUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
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 (o *PublicGetNamespacesOK) GetPayload() []*basicclientmodels.NamespaceInfo
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 ¶
func (o *PublicGetNamespacesParams) WithContext(ctx context.Context) *PublicGetNamespacesParams
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 ¶
func (o *PublicGetNamespacesParams) WithTimeout(timeout time.Duration) *PublicGetNamespacesParams
WithTimeout adds the timeout to the public get namespaces params
func (*PublicGetNamespacesParams) WriteToRequest ¶
func (o *PublicGetNamespacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *PublicGetNamespacesUnauthorized) Error() string
func (*PublicGetNamespacesUnauthorized) GetPayload ¶
func (o *PublicGetNamespacesUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
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 (o *UpdateNamespaceBadRequest) GetPayload() *basicclientmodels.ValidationErrorEntity
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 (o *UpdateNamespaceConflict) GetPayload() *basicclientmodels.ErrorEntity
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 (o *UpdateNamespaceForbidden) GetPayload() *basicclientmodels.ErrorEntity
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 (o *UpdateNamespaceNotFound) GetPayload() *basicclientmodels.ErrorEntity
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 (o *UpdateNamespaceOK) GetPayload() *basicclientmodels.NamespaceInfo
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 ¶
func (o *UpdateNamespaceParams) SetBody(body *basicclientmodels.NamespaceUpdate)
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 ¶
func (o *UpdateNamespaceParams) WithBody(body *basicclientmodels.NamespaceUpdate) *UpdateNamespaceParams
WithBody adds the body to the update namespace params
func (*UpdateNamespaceParams) WithContext ¶
func (o *UpdateNamespaceParams) WithContext(ctx context.Context) *UpdateNamespaceParams
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 {
}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 (o *UpdateNamespaceUnauthorized) Error() string
func (*UpdateNamespaceUnauthorized) GetPayload ¶
func (o *UpdateNamespaceUnauthorized) GetPayload() *basicclientmodels.ErrorEntity
Source Files ¶
- change_namespace_status_parameters.go
- change_namespace_status_responses.go
- create_namespace_parameters.go
- create_namespace_responses.go
- delete_namespace_parameters.go
- delete_namespace_responses.go
- get_namespace_parameters.go
- get_namespace_publisher_parameters.go
- get_namespace_publisher_responses.go
- get_namespace_responses.go
- get_namespaces_parameters.go
- get_namespaces_responses.go
- namespace_client.go
- public_get_namespace_publisher_parameters.go
- public_get_namespace_publisher_responses.go
- public_get_namespaces_parameters.go
- public_get_namespaces_responses.go
- update_namespace_parameters.go
- update_namespace_responses.go