Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateManagedNamespace(params *CreateManagedNamespaceParams) (*CreateManagedNamespaceOK, error)
- func (a *Client) DeleteManagedNamespace(params *DeleteManagedNamespaceParams) (*DeleteManagedNamespaceOK, error)
- func (a *Client) GetManagedNamespace(params *GetManagedNamespaceParams) (*GetManagedNamespaceOK, error)
- func (a *Client) GetManagedNamespaces(params *GetManagedNamespacesParams) (*GetManagedNamespacesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateManagedNamespace(params *UpdateManagedNamespaceParams) (*UpdateManagedNamespaceOK, error)
- type CreateManagedNamespaceOK
- type CreateManagedNamespaceParams
- func NewCreateManagedNamespaceParams() *CreateManagedNamespaceParams
- func NewCreateManagedNamespaceParamsWithContext(ctx context.Context) *CreateManagedNamespaceParams
- func NewCreateManagedNamespaceParamsWithHTTPClient(client *http.Client) *CreateManagedNamespaceParams
- func NewCreateManagedNamespaceParamsWithTimeout(timeout time.Duration) *CreateManagedNamespaceParams
- func (o *CreateManagedNamespaceParams) SetBody(body *models.Namespace)
- func (o *CreateManagedNamespaceParams) SetClustername(clustername string)
- func (o *CreateManagedNamespaceParams) SetContext(ctx context.Context)
- func (o *CreateManagedNamespaceParams) SetCustomer(customer string)
- func (o *CreateManagedNamespaceParams) SetHTTPClient(client *http.Client)
- func (o *CreateManagedNamespaceParams) SetTimeout(timeout time.Duration)
- func (o *CreateManagedNamespaceParams) WithBody(body *models.Namespace) *CreateManagedNamespaceParams
- func (o *CreateManagedNamespaceParams) WithClustername(clustername string) *CreateManagedNamespaceParams
- func (o *CreateManagedNamespaceParams) WithContext(ctx context.Context) *CreateManagedNamespaceParams
- func (o *CreateManagedNamespaceParams) WithCustomer(customer string) *CreateManagedNamespaceParams
- func (o *CreateManagedNamespaceParams) WithHTTPClient(client *http.Client) *CreateManagedNamespaceParams
- func (o *CreateManagedNamespaceParams) WithTimeout(timeout time.Duration) *CreateManagedNamespaceParams
- func (o *CreateManagedNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateManagedNamespaceReader
- type DeleteManagedNamespaceOK
- type DeleteManagedNamespaceParams
- func NewDeleteManagedNamespaceParams() *DeleteManagedNamespaceParams
- func NewDeleteManagedNamespaceParamsWithContext(ctx context.Context) *DeleteManagedNamespaceParams
- func NewDeleteManagedNamespaceParamsWithHTTPClient(client *http.Client) *DeleteManagedNamespaceParams
- func NewDeleteManagedNamespaceParamsWithTimeout(timeout time.Duration) *DeleteManagedNamespaceParams
- func (o *DeleteManagedNamespaceParams) SetClustername(clustername string)
- func (o *DeleteManagedNamespaceParams) SetContext(ctx context.Context)
- func (o *DeleteManagedNamespaceParams) SetCustomer(customer string)
- func (o *DeleteManagedNamespaceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteManagedNamespaceParams) SetName(name string)
- func (o *DeleteManagedNamespaceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteManagedNamespaceParams) WithClustername(clustername string) *DeleteManagedNamespaceParams
- func (o *DeleteManagedNamespaceParams) WithContext(ctx context.Context) *DeleteManagedNamespaceParams
- func (o *DeleteManagedNamespaceParams) WithCustomer(customer string) *DeleteManagedNamespaceParams
- func (o *DeleteManagedNamespaceParams) WithHTTPClient(client *http.Client) *DeleteManagedNamespaceParams
- func (o *DeleteManagedNamespaceParams) WithName(name string) *DeleteManagedNamespaceParams
- func (o *DeleteManagedNamespaceParams) WithTimeout(timeout time.Duration) *DeleteManagedNamespaceParams
- func (o *DeleteManagedNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteManagedNamespaceReader
- type GetManagedNamespaceOK
- type GetManagedNamespaceParams
- func NewGetManagedNamespaceParams() *GetManagedNamespaceParams
- func NewGetManagedNamespaceParamsWithContext(ctx context.Context) *GetManagedNamespaceParams
- func NewGetManagedNamespaceParamsWithHTTPClient(client *http.Client) *GetManagedNamespaceParams
- func NewGetManagedNamespaceParamsWithTimeout(timeout time.Duration) *GetManagedNamespaceParams
- func (o *GetManagedNamespaceParams) SetClustername(clustername string)
- func (o *GetManagedNamespaceParams) SetContext(ctx context.Context)
- func (o *GetManagedNamespaceParams) SetCustomer(customer string)
- func (o *GetManagedNamespaceParams) SetHTTPClient(client *http.Client)
- func (o *GetManagedNamespaceParams) SetName(name string)
- func (o *GetManagedNamespaceParams) SetTimeout(timeout time.Duration)
- func (o *GetManagedNamespaceParams) WithClustername(clustername string) *GetManagedNamespaceParams
- func (o *GetManagedNamespaceParams) WithContext(ctx context.Context) *GetManagedNamespaceParams
- func (o *GetManagedNamespaceParams) WithCustomer(customer string) *GetManagedNamespaceParams
- func (o *GetManagedNamespaceParams) WithHTTPClient(client *http.Client) *GetManagedNamespaceParams
- func (o *GetManagedNamespaceParams) WithName(name string) *GetManagedNamespaceParams
- func (o *GetManagedNamespaceParams) WithTimeout(timeout time.Duration) *GetManagedNamespaceParams
- func (o *GetManagedNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetManagedNamespaceReader
- type GetManagedNamespacesOK
- type GetManagedNamespacesParams
- func NewGetManagedNamespacesParams() *GetManagedNamespacesParams
- func NewGetManagedNamespacesParamsWithContext(ctx context.Context) *GetManagedNamespacesParams
- func NewGetManagedNamespacesParamsWithHTTPClient(client *http.Client) *GetManagedNamespacesParams
- func NewGetManagedNamespacesParamsWithTimeout(timeout time.Duration) *GetManagedNamespacesParams
- func (o *GetManagedNamespacesParams) SetClustername(clustername string)
- func (o *GetManagedNamespacesParams) SetContext(ctx context.Context)
- func (o *GetManagedNamespacesParams) SetHTTPClient(client *http.Client)
- func (o *GetManagedNamespacesParams) SetTimeout(timeout time.Duration)
- func (o *GetManagedNamespacesParams) WithClustername(clustername string) *GetManagedNamespacesParams
- func (o *GetManagedNamespacesParams) WithContext(ctx context.Context) *GetManagedNamespacesParams
- func (o *GetManagedNamespacesParams) WithHTTPClient(client *http.Client) *GetManagedNamespacesParams
- func (o *GetManagedNamespacesParams) WithTimeout(timeout time.Duration) *GetManagedNamespacesParams
- func (o *GetManagedNamespacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetManagedNamespacesReader
- type UpdateManagedNamespaceOK
- type UpdateManagedNamespaceParams
- func NewUpdateManagedNamespaceParams() *UpdateManagedNamespaceParams
- func NewUpdateManagedNamespaceParamsWithContext(ctx context.Context) *UpdateManagedNamespaceParams
- func NewUpdateManagedNamespaceParamsWithHTTPClient(client *http.Client) *UpdateManagedNamespaceParams
- func NewUpdateManagedNamespaceParamsWithTimeout(timeout time.Duration) *UpdateManagedNamespaceParams
- func (o *UpdateManagedNamespaceParams) SetBody(body *models.Namespace)
- func (o *UpdateManagedNamespaceParams) SetClustername(clustername string)
- func (o *UpdateManagedNamespaceParams) SetContext(ctx context.Context)
- func (o *UpdateManagedNamespaceParams) SetCustomer(customer string)
- func (o *UpdateManagedNamespaceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateManagedNamespaceParams) SetName(name string)
- func (o *UpdateManagedNamespaceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateManagedNamespaceParams) WithBody(body *models.Namespace) *UpdateManagedNamespaceParams
- func (o *UpdateManagedNamespaceParams) WithClustername(clustername string) *UpdateManagedNamespaceParams
- func (o *UpdateManagedNamespaceParams) WithContext(ctx context.Context) *UpdateManagedNamespaceParams
- func (o *UpdateManagedNamespaceParams) WithCustomer(customer string) *UpdateManagedNamespaceParams
- func (o *UpdateManagedNamespaceParams) WithHTTPClient(client *http.Client) *UpdateManagedNamespaceParams
- func (o *UpdateManagedNamespaceParams) WithName(name string) *UpdateManagedNamespaceParams
- func (o *UpdateManagedNamespaceParams) WithTimeout(timeout time.Duration) *UpdateManagedNamespaceParams
- func (o *UpdateManagedNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateManagedNamespaceReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for namespace API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new namespace API client.
func (*Client) CreateManagedNamespace ¶
func (a *Client) CreateManagedNamespace(params *CreateManagedNamespaceParams) (*CreateManagedNamespaceOK, error)
CreateManagedNamespace create managed namespace API
func (*Client) DeleteManagedNamespace ¶
func (a *Client) DeleteManagedNamespace(params *DeleteManagedNamespaceParams) (*DeleteManagedNamespaceOK, error)
DeleteManagedNamespace delete managed namespace API
func (*Client) GetManagedNamespace ¶
func (a *Client) GetManagedNamespace(params *GetManagedNamespaceParams) (*GetManagedNamespaceOK, error)
GetManagedNamespace get managed namespace API
func (*Client) GetManagedNamespaces ¶
func (a *Client) GetManagedNamespaces(params *GetManagedNamespacesParams) (*GetManagedNamespacesOK, error)
GetManagedNamespaces get managed namespaces API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateManagedNamespace ¶
func (a *Client) UpdateManagedNamespace(params *UpdateManagedNamespaceParams) (*UpdateManagedNamespaceOK, error)
UpdateManagedNamespace update managed namespace API
type CreateManagedNamespaceOK ¶
CreateManagedNamespaceOK handles this case with default header values.
create a new managed namespace
func NewCreateManagedNamespaceOK ¶
func NewCreateManagedNamespaceOK() *CreateManagedNamespaceOK
NewCreateManagedNamespaceOK creates a CreateManagedNamespaceOK with default headers values
func (*CreateManagedNamespaceOK) Error ¶
func (o *CreateManagedNamespaceOK) Error() string
type CreateManagedNamespaceParams ¶
type CreateManagedNamespaceParams struct { /*Body*/ Body *models.Namespace /*Clustername*/ Clustername string /*Customer*/ Customer string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateManagedNamespaceParams contains all the parameters to send to the API endpoint for the create managed namespace operation typically these are written to a http.Request
func NewCreateManagedNamespaceParams ¶
func NewCreateManagedNamespaceParams() *CreateManagedNamespaceParams
NewCreateManagedNamespaceParams creates a new CreateManagedNamespaceParams object with the default values initialized.
func NewCreateManagedNamespaceParamsWithContext ¶
func NewCreateManagedNamespaceParamsWithContext(ctx context.Context) *CreateManagedNamespaceParams
NewCreateManagedNamespaceParamsWithContext creates a new CreateManagedNamespaceParams object with the default values initialized, and the ability to set a context for a request
func NewCreateManagedNamespaceParamsWithHTTPClient ¶
func NewCreateManagedNamespaceParamsWithHTTPClient(client *http.Client) *CreateManagedNamespaceParams
NewCreateManagedNamespaceParamsWithHTTPClient creates a new CreateManagedNamespaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateManagedNamespaceParamsWithTimeout ¶
func NewCreateManagedNamespaceParamsWithTimeout(timeout time.Duration) *CreateManagedNamespaceParams
NewCreateManagedNamespaceParamsWithTimeout creates a new CreateManagedNamespaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateManagedNamespaceParams) SetBody ¶
func (o *CreateManagedNamespaceParams) SetBody(body *models.Namespace)
SetBody adds the body to the create managed namespace params
func (*CreateManagedNamespaceParams) SetClustername ¶
func (o *CreateManagedNamespaceParams) SetClustername(clustername string)
SetClustername adds the clustername to the create managed namespace params
func (*CreateManagedNamespaceParams) SetContext ¶
func (o *CreateManagedNamespaceParams) SetContext(ctx context.Context)
SetContext adds the context to the create managed namespace params
func (*CreateManagedNamespaceParams) SetCustomer ¶
func (o *CreateManagedNamespaceParams) SetCustomer(customer string)
SetCustomer adds the customer to the create managed namespace params
func (*CreateManagedNamespaceParams) SetHTTPClient ¶
func (o *CreateManagedNamespaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create managed namespace params
func (*CreateManagedNamespaceParams) SetTimeout ¶
func (o *CreateManagedNamespaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create managed namespace params
func (*CreateManagedNamespaceParams) WithBody ¶
func (o *CreateManagedNamespaceParams) WithBody(body *models.Namespace) *CreateManagedNamespaceParams
WithBody adds the body to the create managed namespace params
func (*CreateManagedNamespaceParams) WithClustername ¶
func (o *CreateManagedNamespaceParams) WithClustername(clustername string) *CreateManagedNamespaceParams
WithClustername adds the clustername to the create managed namespace params
func (*CreateManagedNamespaceParams) WithContext ¶
func (o *CreateManagedNamespaceParams) WithContext(ctx context.Context) *CreateManagedNamespaceParams
WithContext adds the context to the create managed namespace params
func (*CreateManagedNamespaceParams) WithCustomer ¶
func (o *CreateManagedNamespaceParams) WithCustomer(customer string) *CreateManagedNamespaceParams
WithCustomer adds the customer to the create managed namespace params
func (*CreateManagedNamespaceParams) WithHTTPClient ¶
func (o *CreateManagedNamespaceParams) WithHTTPClient(client *http.Client) *CreateManagedNamespaceParams
WithHTTPClient adds the HTTPClient to the create managed namespace params
func (*CreateManagedNamespaceParams) WithTimeout ¶
func (o *CreateManagedNamespaceParams) WithTimeout(timeout time.Duration) *CreateManagedNamespaceParams
WithTimeout adds the timeout to the create managed namespace params
func (*CreateManagedNamespaceParams) WriteToRequest ¶
func (o *CreateManagedNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateManagedNamespaceReader ¶
type CreateManagedNamespaceReader struct {
// contains filtered or unexported fields
}
CreateManagedNamespaceReader is a Reader for the CreateManagedNamespace structure.
func (*CreateManagedNamespaceReader) ReadResponse ¶
func (o *CreateManagedNamespaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteManagedNamespaceOK ¶
DeleteManagedNamespaceOK handles this case with default header values.
deletes a single namespace
func NewDeleteManagedNamespaceOK ¶
func NewDeleteManagedNamespaceOK() *DeleteManagedNamespaceOK
NewDeleteManagedNamespaceOK creates a DeleteManagedNamespaceOK with default headers values
func (*DeleteManagedNamespaceOK) Error ¶
func (o *DeleteManagedNamespaceOK) Error() string
type DeleteManagedNamespaceParams ¶
type DeleteManagedNamespaceParams struct { /*Clustername*/ Clustername string /*Customer*/ Customer string /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteManagedNamespaceParams contains all the parameters to send to the API endpoint for the delete managed namespace operation typically these are written to a http.Request
func NewDeleteManagedNamespaceParams ¶
func NewDeleteManagedNamespaceParams() *DeleteManagedNamespaceParams
NewDeleteManagedNamespaceParams creates a new DeleteManagedNamespaceParams object with the default values initialized.
func NewDeleteManagedNamespaceParamsWithContext ¶
func NewDeleteManagedNamespaceParamsWithContext(ctx context.Context) *DeleteManagedNamespaceParams
NewDeleteManagedNamespaceParamsWithContext creates a new DeleteManagedNamespaceParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteManagedNamespaceParamsWithHTTPClient ¶
func NewDeleteManagedNamespaceParamsWithHTTPClient(client *http.Client) *DeleteManagedNamespaceParams
NewDeleteManagedNamespaceParamsWithHTTPClient creates a new DeleteManagedNamespaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteManagedNamespaceParamsWithTimeout ¶
func NewDeleteManagedNamespaceParamsWithTimeout(timeout time.Duration) *DeleteManagedNamespaceParams
NewDeleteManagedNamespaceParamsWithTimeout creates a new DeleteManagedNamespaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteManagedNamespaceParams) SetClustername ¶
func (o *DeleteManagedNamespaceParams) SetClustername(clustername string)
SetClustername adds the clustername to the delete managed namespace params
func (*DeleteManagedNamespaceParams) SetContext ¶
func (o *DeleteManagedNamespaceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete managed namespace params
func (*DeleteManagedNamespaceParams) SetCustomer ¶
func (o *DeleteManagedNamespaceParams) SetCustomer(customer string)
SetCustomer adds the customer to the delete managed namespace params
func (*DeleteManagedNamespaceParams) SetHTTPClient ¶
func (o *DeleteManagedNamespaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete managed namespace params
func (*DeleteManagedNamespaceParams) SetName ¶
func (o *DeleteManagedNamespaceParams) SetName(name string)
SetName adds the name to the delete managed namespace params
func (*DeleteManagedNamespaceParams) SetTimeout ¶
func (o *DeleteManagedNamespaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete managed namespace params
func (*DeleteManagedNamespaceParams) WithClustername ¶
func (o *DeleteManagedNamespaceParams) WithClustername(clustername string) *DeleteManagedNamespaceParams
WithClustername adds the clustername to the delete managed namespace params
func (*DeleteManagedNamespaceParams) WithContext ¶
func (o *DeleteManagedNamespaceParams) WithContext(ctx context.Context) *DeleteManagedNamespaceParams
WithContext adds the context to the delete managed namespace params
func (*DeleteManagedNamespaceParams) WithCustomer ¶
func (o *DeleteManagedNamespaceParams) WithCustomer(customer string) *DeleteManagedNamespaceParams
WithCustomer adds the customer to the delete managed namespace params
func (*DeleteManagedNamespaceParams) WithHTTPClient ¶
func (o *DeleteManagedNamespaceParams) WithHTTPClient(client *http.Client) *DeleteManagedNamespaceParams
WithHTTPClient adds the HTTPClient to the delete managed namespace params
func (*DeleteManagedNamespaceParams) WithName ¶
func (o *DeleteManagedNamespaceParams) WithName(name string) *DeleteManagedNamespaceParams
WithName adds the name to the delete managed namespace params
func (*DeleteManagedNamespaceParams) WithTimeout ¶
func (o *DeleteManagedNamespaceParams) WithTimeout(timeout time.Duration) *DeleteManagedNamespaceParams
WithTimeout adds the timeout to the delete managed namespace params
func (*DeleteManagedNamespaceParams) WriteToRequest ¶
func (o *DeleteManagedNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteManagedNamespaceReader ¶
type DeleteManagedNamespaceReader struct {
// contains filtered or unexported fields
}
DeleteManagedNamespaceReader is a Reader for the DeleteManagedNamespace structure.
func (*DeleteManagedNamespaceReader) ReadResponse ¶
func (o *DeleteManagedNamespaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetManagedNamespaceOK ¶
GetManagedNamespaceOK handles this case with default header values.
returns a single namespace
func NewGetManagedNamespaceOK ¶
func NewGetManagedNamespaceOK() *GetManagedNamespaceOK
NewGetManagedNamespaceOK creates a GetManagedNamespaceOK with default headers values
func (*GetManagedNamespaceOK) Error ¶
func (o *GetManagedNamespaceOK) Error() string
type GetManagedNamespaceParams ¶
type GetManagedNamespaceParams struct { /*Clustername*/ Clustername string /*Customer*/ Customer string /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetManagedNamespaceParams contains all the parameters to send to the API endpoint for the get managed namespace operation typically these are written to a http.Request
func NewGetManagedNamespaceParams ¶
func NewGetManagedNamespaceParams() *GetManagedNamespaceParams
NewGetManagedNamespaceParams creates a new GetManagedNamespaceParams object with the default values initialized.
func NewGetManagedNamespaceParamsWithContext ¶
func NewGetManagedNamespaceParamsWithContext(ctx context.Context) *GetManagedNamespaceParams
NewGetManagedNamespaceParamsWithContext creates a new GetManagedNamespaceParams object with the default values initialized, and the ability to set a context for a request
func NewGetManagedNamespaceParamsWithHTTPClient ¶
func NewGetManagedNamespaceParamsWithHTTPClient(client *http.Client) *GetManagedNamespaceParams
NewGetManagedNamespaceParamsWithHTTPClient creates a new GetManagedNamespaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetManagedNamespaceParamsWithTimeout ¶
func NewGetManagedNamespaceParamsWithTimeout(timeout time.Duration) *GetManagedNamespaceParams
NewGetManagedNamespaceParamsWithTimeout creates a new GetManagedNamespaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetManagedNamespaceParams) SetClustername ¶
func (o *GetManagedNamespaceParams) SetClustername(clustername string)
SetClustername adds the clustername to the get managed namespace params
func (*GetManagedNamespaceParams) SetContext ¶
func (o *GetManagedNamespaceParams) SetContext(ctx context.Context)
SetContext adds the context to the get managed namespace params
func (*GetManagedNamespaceParams) SetCustomer ¶
func (o *GetManagedNamespaceParams) SetCustomer(customer string)
SetCustomer adds the customer to the get managed namespace params
func (*GetManagedNamespaceParams) SetHTTPClient ¶
func (o *GetManagedNamespaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get managed namespace params
func (*GetManagedNamespaceParams) SetName ¶
func (o *GetManagedNamespaceParams) SetName(name string)
SetName adds the name to the get managed namespace params
func (*GetManagedNamespaceParams) SetTimeout ¶
func (o *GetManagedNamespaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get managed namespace params
func (*GetManagedNamespaceParams) WithClustername ¶
func (o *GetManagedNamespaceParams) WithClustername(clustername string) *GetManagedNamespaceParams
WithClustername adds the clustername to the get managed namespace params
func (*GetManagedNamespaceParams) WithContext ¶
func (o *GetManagedNamespaceParams) WithContext(ctx context.Context) *GetManagedNamespaceParams
WithContext adds the context to the get managed namespace params
func (*GetManagedNamespaceParams) WithCustomer ¶
func (o *GetManagedNamespaceParams) WithCustomer(customer string) *GetManagedNamespaceParams
WithCustomer adds the customer to the get managed namespace params
func (*GetManagedNamespaceParams) WithHTTPClient ¶
func (o *GetManagedNamespaceParams) WithHTTPClient(client *http.Client) *GetManagedNamespaceParams
WithHTTPClient adds the HTTPClient to the get managed namespace params
func (*GetManagedNamespaceParams) WithName ¶
func (o *GetManagedNamespaceParams) WithName(name string) *GetManagedNamespaceParams
WithName adds the name to the get managed namespace params
func (*GetManagedNamespaceParams) WithTimeout ¶
func (o *GetManagedNamespaceParams) WithTimeout(timeout time.Duration) *GetManagedNamespaceParams
WithTimeout adds the timeout to the get managed namespace params
func (*GetManagedNamespaceParams) WriteToRequest ¶
func (o *GetManagedNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetManagedNamespaceReader ¶
type GetManagedNamespaceReader struct {
// contains filtered or unexported fields
}
GetManagedNamespaceReader is a Reader for the GetManagedNamespace structure.
func (*GetManagedNamespaceReader) ReadResponse ¶
func (o *GetManagedNamespaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetManagedNamespacesOK ¶
GetManagedNamespacesOK handles this case with default header values.
returns a list of namespaces
func NewGetManagedNamespacesOK ¶
func NewGetManagedNamespacesOK() *GetManagedNamespacesOK
NewGetManagedNamespacesOK creates a GetManagedNamespacesOK with default headers values
func (*GetManagedNamespacesOK) Error ¶
func (o *GetManagedNamespacesOK) Error() string
type GetManagedNamespacesParams ¶
type GetManagedNamespacesParams struct { /*Clustername*/ Clustername string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetManagedNamespacesParams contains all the parameters to send to the API endpoint for the get managed namespaces operation typically these are written to a http.Request
func NewGetManagedNamespacesParams ¶
func NewGetManagedNamespacesParams() *GetManagedNamespacesParams
NewGetManagedNamespacesParams creates a new GetManagedNamespacesParams object with the default values initialized.
func NewGetManagedNamespacesParamsWithContext ¶
func NewGetManagedNamespacesParamsWithContext(ctx context.Context) *GetManagedNamespacesParams
NewGetManagedNamespacesParamsWithContext creates a new GetManagedNamespacesParams object with the default values initialized, and the ability to set a context for a request
func NewGetManagedNamespacesParamsWithHTTPClient ¶
func NewGetManagedNamespacesParamsWithHTTPClient(client *http.Client) *GetManagedNamespacesParams
NewGetManagedNamespacesParamsWithHTTPClient creates a new GetManagedNamespacesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetManagedNamespacesParamsWithTimeout ¶
func NewGetManagedNamespacesParamsWithTimeout(timeout time.Duration) *GetManagedNamespacesParams
NewGetManagedNamespacesParamsWithTimeout creates a new GetManagedNamespacesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetManagedNamespacesParams) SetClustername ¶
func (o *GetManagedNamespacesParams) SetClustername(clustername string)
SetClustername adds the clustername to the get managed namespaces params
func (*GetManagedNamespacesParams) SetContext ¶
func (o *GetManagedNamespacesParams) SetContext(ctx context.Context)
SetContext adds the context to the get managed namespaces params
func (*GetManagedNamespacesParams) SetHTTPClient ¶
func (o *GetManagedNamespacesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get managed namespaces params
func (*GetManagedNamespacesParams) SetTimeout ¶
func (o *GetManagedNamespacesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get managed namespaces params
func (*GetManagedNamespacesParams) WithClustername ¶
func (o *GetManagedNamespacesParams) WithClustername(clustername string) *GetManagedNamespacesParams
WithClustername adds the clustername to the get managed namespaces params
func (*GetManagedNamespacesParams) WithContext ¶
func (o *GetManagedNamespacesParams) WithContext(ctx context.Context) *GetManagedNamespacesParams
WithContext adds the context to the get managed namespaces params
func (*GetManagedNamespacesParams) WithHTTPClient ¶
func (o *GetManagedNamespacesParams) WithHTTPClient(client *http.Client) *GetManagedNamespacesParams
WithHTTPClient adds the HTTPClient to the get managed namespaces params
func (*GetManagedNamespacesParams) WithTimeout ¶
func (o *GetManagedNamespacesParams) WithTimeout(timeout time.Duration) *GetManagedNamespacesParams
WithTimeout adds the timeout to the get managed namespaces params
func (*GetManagedNamespacesParams) WriteToRequest ¶
func (o *GetManagedNamespacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetManagedNamespacesReader ¶
type GetManagedNamespacesReader struct {
// contains filtered or unexported fields
}
GetManagedNamespacesReader is a Reader for the GetManagedNamespaces structure.
func (*GetManagedNamespacesReader) ReadResponse ¶
func (o *GetManagedNamespacesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateManagedNamespaceOK ¶
UpdateManagedNamespaceOK handles this case with default header values.
deletes a single namespace
func NewUpdateManagedNamespaceOK ¶
func NewUpdateManagedNamespaceOK() *UpdateManagedNamespaceOK
NewUpdateManagedNamespaceOK creates a UpdateManagedNamespaceOK with default headers values
func (*UpdateManagedNamespaceOK) Error ¶
func (o *UpdateManagedNamespaceOK) Error() string
type UpdateManagedNamespaceParams ¶
type UpdateManagedNamespaceParams struct { /*Body*/ Body *models.Namespace /*Clustername*/ Clustername string /*Customer*/ Customer string /*Name*/ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateManagedNamespaceParams contains all the parameters to send to the API endpoint for the update managed namespace operation typically these are written to a http.Request
func NewUpdateManagedNamespaceParams ¶
func NewUpdateManagedNamespaceParams() *UpdateManagedNamespaceParams
NewUpdateManagedNamespaceParams creates a new UpdateManagedNamespaceParams object with the default values initialized.
func NewUpdateManagedNamespaceParamsWithContext ¶
func NewUpdateManagedNamespaceParamsWithContext(ctx context.Context) *UpdateManagedNamespaceParams
NewUpdateManagedNamespaceParamsWithContext creates a new UpdateManagedNamespaceParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateManagedNamespaceParamsWithHTTPClient ¶
func NewUpdateManagedNamespaceParamsWithHTTPClient(client *http.Client) *UpdateManagedNamespaceParams
NewUpdateManagedNamespaceParamsWithHTTPClient creates a new UpdateManagedNamespaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateManagedNamespaceParamsWithTimeout ¶
func NewUpdateManagedNamespaceParamsWithTimeout(timeout time.Duration) *UpdateManagedNamespaceParams
NewUpdateManagedNamespaceParamsWithTimeout creates a new UpdateManagedNamespaceParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateManagedNamespaceParams) SetBody ¶
func (o *UpdateManagedNamespaceParams) SetBody(body *models.Namespace)
SetBody adds the body to the update managed namespace params
func (*UpdateManagedNamespaceParams) SetClustername ¶
func (o *UpdateManagedNamespaceParams) SetClustername(clustername string)
SetClustername adds the clustername to the update managed namespace params
func (*UpdateManagedNamespaceParams) SetContext ¶
func (o *UpdateManagedNamespaceParams) SetContext(ctx context.Context)
SetContext adds the context to the update managed namespace params
func (*UpdateManagedNamespaceParams) SetCustomer ¶
func (o *UpdateManagedNamespaceParams) SetCustomer(customer string)
SetCustomer adds the customer to the update managed namespace params
func (*UpdateManagedNamespaceParams) SetHTTPClient ¶
func (o *UpdateManagedNamespaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update managed namespace params
func (*UpdateManagedNamespaceParams) SetName ¶
func (o *UpdateManagedNamespaceParams) SetName(name string)
SetName adds the name to the update managed namespace params
func (*UpdateManagedNamespaceParams) SetTimeout ¶
func (o *UpdateManagedNamespaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update managed namespace params
func (*UpdateManagedNamespaceParams) WithBody ¶
func (o *UpdateManagedNamespaceParams) WithBody(body *models.Namespace) *UpdateManagedNamespaceParams
WithBody adds the body to the update managed namespace params
func (*UpdateManagedNamespaceParams) WithClustername ¶
func (o *UpdateManagedNamespaceParams) WithClustername(clustername string) *UpdateManagedNamespaceParams
WithClustername adds the clustername to the update managed namespace params
func (*UpdateManagedNamespaceParams) WithContext ¶
func (o *UpdateManagedNamespaceParams) WithContext(ctx context.Context) *UpdateManagedNamespaceParams
WithContext adds the context to the update managed namespace params
func (*UpdateManagedNamespaceParams) WithCustomer ¶
func (o *UpdateManagedNamespaceParams) WithCustomer(customer string) *UpdateManagedNamespaceParams
WithCustomer adds the customer to the update managed namespace params
func (*UpdateManagedNamespaceParams) WithHTTPClient ¶
func (o *UpdateManagedNamespaceParams) WithHTTPClient(client *http.Client) *UpdateManagedNamespaceParams
WithHTTPClient adds the HTTPClient to the update managed namespace params
func (*UpdateManagedNamespaceParams) WithName ¶
func (o *UpdateManagedNamespaceParams) WithName(name string) *UpdateManagedNamespaceParams
WithName adds the name to the update managed namespace params
func (*UpdateManagedNamespaceParams) WithTimeout ¶
func (o *UpdateManagedNamespaceParams) WithTimeout(timeout time.Duration) *UpdateManagedNamespaceParams
WithTimeout adds the timeout to the update managed namespace params
func (*UpdateManagedNamespaceParams) WriteToRequest ¶
func (o *UpdateManagedNamespaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateManagedNamespaceReader ¶
type UpdateManagedNamespaceReader struct {
// contains filtered or unexported fields
}
UpdateManagedNamespaceReader is a Reader for the UpdateManagedNamespace structure.
func (*UpdateManagedNamespaceReader) ReadResponse ¶
func (o *UpdateManagedNamespaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_managed_namespace_parameters.go
- create_managed_namespace_responses.go
- delete_managed_namespace_parameters.go
- delete_managed_namespace_responses.go
- get_managed_namespace_parameters.go
- get_managed_namespace_responses.go
- get_managed_namespaces_parameters.go
- get_managed_namespaces_responses.go
- namespace_client.go
- update_managed_namespace_parameters.go
- update_managed_namespace_responses.go