Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateUsingPOST1(params *CreateUsingPOST1Params, opts ...ClientOption) (*CreateUsingPOST1OK, error)
- func (a *Client) DeleteUsingDELETE1(params *DeleteUsingDELETE1Params, opts ...ClientOption) (*DeleteUsingDELETE1OK, error)
- func (a *Client) GetKubeConfigUsingGET1(params *GetKubeConfigUsingGET1Params, opts ...ClientOption) (*GetKubeConfigUsingGET1OK, error)
- func (a *Client) GetUsingGET2Mixin5(params *GetUsingGET2Mixin5Params, opts ...ClientOption) (*GetUsingGET2Mixin5OK, error)
- func (a *Client) ListUsingGET2(params *ListUsingGET2Params, opts ...ClientOption) (*ListUsingGET2OK, error)
- func (a *Client) RegisterUsingPUT(params *RegisterUsingPUTParams, opts ...ClientOption) (*RegisterUsingPUTOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateUsingPUT2(params *UpdateUsingPUT2Params, opts ...ClientOption) (*UpdateUsingPUT2OK, error)
- type ClientOption
- type ClientService
- type CreateUsingPOST1OK
- type CreateUsingPOST1Params
- func NewCreateUsingPOST1Params() *CreateUsingPOST1Params
- func NewCreateUsingPOST1ParamsWithContext(ctx context.Context) *CreateUsingPOST1Params
- func NewCreateUsingPOST1ParamsWithHTTPClient(client *http.Client) *CreateUsingPOST1Params
- func NewCreateUsingPOST1ParamsWithTimeout(timeout time.Duration) *CreateUsingPOST1Params
- func (o *CreateUsingPOST1Params) SetContext(ctx context.Context)
- func (o *CreateUsingPOST1Params) SetDefaults()
- func (o *CreateUsingPOST1Params) SetHTTPClient(client *http.Client)
- func (o *CreateUsingPOST1Params) SetNamespace(namespace *models.K8SNamespace)
- func (o *CreateUsingPOST1Params) SetTimeout(timeout time.Duration)
- func (o *CreateUsingPOST1Params) WithContext(ctx context.Context) *CreateUsingPOST1Params
- func (o *CreateUsingPOST1Params) WithDefaults() *CreateUsingPOST1Params
- func (o *CreateUsingPOST1Params) WithHTTPClient(client *http.Client) *CreateUsingPOST1Params
- func (o *CreateUsingPOST1Params) WithNamespace(namespace *models.K8SNamespace) *CreateUsingPOST1Params
- func (o *CreateUsingPOST1Params) WithTimeout(timeout time.Duration) *CreateUsingPOST1Params
- func (o *CreateUsingPOST1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUsingPOST1Reader
- type DeleteUsingDELETE1OK
- type DeleteUsingDELETE1Params
- func NewDeleteUsingDELETE1Params() *DeleteUsingDELETE1Params
- func NewDeleteUsingDELETE1ParamsWithContext(ctx context.Context) *DeleteUsingDELETE1Params
- func NewDeleteUsingDELETE1ParamsWithHTTPClient(client *http.Client) *DeleteUsingDELETE1Params
- func NewDeleteUsingDELETE1ParamsWithTimeout(timeout time.Duration) *DeleteUsingDELETE1Params
- func (o *DeleteUsingDELETE1Params) SetContext(ctx context.Context)
- func (o *DeleteUsingDELETE1Params) SetDefaults()
- func (o *DeleteUsingDELETE1Params) SetDestroy(destroy *bool)
- func (o *DeleteUsingDELETE1Params) SetHTTPClient(client *http.Client)
- func (o *DeleteUsingDELETE1Params) SetID(id strfmt.UUID)
- func (o *DeleteUsingDELETE1Params) SetTimeout(timeout time.Duration)
- func (o *DeleteUsingDELETE1Params) WithContext(ctx context.Context) *DeleteUsingDELETE1Params
- func (o *DeleteUsingDELETE1Params) WithDefaults() *DeleteUsingDELETE1Params
- func (o *DeleteUsingDELETE1Params) WithDestroy(destroy *bool) *DeleteUsingDELETE1Params
- func (o *DeleteUsingDELETE1Params) WithHTTPClient(client *http.Client) *DeleteUsingDELETE1Params
- func (o *DeleteUsingDELETE1Params) WithID(id strfmt.UUID) *DeleteUsingDELETE1Params
- func (o *DeleteUsingDELETE1Params) WithTimeout(timeout time.Duration) *DeleteUsingDELETE1Params
- func (o *DeleteUsingDELETE1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUsingDELETE1Reader
- type GetKubeConfigUsingGET1OK
- type GetKubeConfigUsingGET1Params
- func NewGetKubeConfigUsingGET1Params() *GetKubeConfigUsingGET1Params
- func NewGetKubeConfigUsingGET1ParamsWithContext(ctx context.Context) *GetKubeConfigUsingGET1Params
- func NewGetKubeConfigUsingGET1ParamsWithHTTPClient(client *http.Client) *GetKubeConfigUsingGET1Params
- func NewGetKubeConfigUsingGET1ParamsWithTimeout(timeout time.Duration) *GetKubeConfigUsingGET1Params
- func (o *GetKubeConfigUsingGET1Params) SetContext(ctx context.Context)
- func (o *GetKubeConfigUsingGET1Params) SetDefaults()
- func (o *GetKubeConfigUsingGET1Params) SetHTTPClient(client *http.Client)
- func (o *GetKubeConfigUsingGET1Params) SetID(id strfmt.UUID)
- func (o *GetKubeConfigUsingGET1Params) SetTimeout(timeout time.Duration)
- func (o *GetKubeConfigUsingGET1Params) WithContext(ctx context.Context) *GetKubeConfigUsingGET1Params
- func (o *GetKubeConfigUsingGET1Params) WithDefaults() *GetKubeConfigUsingGET1Params
- func (o *GetKubeConfigUsingGET1Params) WithHTTPClient(client *http.Client) *GetKubeConfigUsingGET1Params
- func (o *GetKubeConfigUsingGET1Params) WithID(id strfmt.UUID) *GetKubeConfigUsingGET1Params
- func (o *GetKubeConfigUsingGET1Params) WithTimeout(timeout time.Duration) *GetKubeConfigUsingGET1Params
- func (o *GetKubeConfigUsingGET1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetKubeConfigUsingGET1Reader
- type GetUsingGET2Mixin5OK
- type GetUsingGET2Mixin5Params
- func NewGetUsingGET2Mixin5Params() *GetUsingGET2Mixin5Params
- func NewGetUsingGET2Mixin5ParamsWithContext(ctx context.Context) *GetUsingGET2Mixin5Params
- func NewGetUsingGET2Mixin5ParamsWithHTTPClient(client *http.Client) *GetUsingGET2Mixin5Params
- func NewGetUsingGET2Mixin5ParamsWithTimeout(timeout time.Duration) *GetUsingGET2Mixin5Params
- func (o *GetUsingGET2Mixin5Params) SetContext(ctx context.Context)
- func (o *GetUsingGET2Mixin5Params) SetDefaults()
- func (o *GetUsingGET2Mixin5Params) SetHTTPClient(client *http.Client)
- func (o *GetUsingGET2Mixin5Params) SetID(id strfmt.UUID)
- func (o *GetUsingGET2Mixin5Params) SetTimeout(timeout time.Duration)
- func (o *GetUsingGET2Mixin5Params) WithContext(ctx context.Context) *GetUsingGET2Mixin5Params
- func (o *GetUsingGET2Mixin5Params) WithDefaults() *GetUsingGET2Mixin5Params
- func (o *GetUsingGET2Mixin5Params) WithHTTPClient(client *http.Client) *GetUsingGET2Mixin5Params
- func (o *GetUsingGET2Mixin5Params) WithID(id strfmt.UUID) *GetUsingGET2Mixin5Params
- func (o *GetUsingGET2Mixin5Params) WithTimeout(timeout time.Duration) *GetUsingGET2Mixin5Params
- func (o *GetUsingGET2Mixin5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUsingGET2Mixin5Reader
- type ListUsingGET2OK
- type ListUsingGET2Params
- func (o *ListUsingGET2Params) SetContext(ctx context.Context)
- func (o *ListUsingGET2Params) SetDefaults()
- func (o *ListUsingGET2Params) SetHTTPClient(client *http.Client)
- func (o *ListUsingGET2Params) SetOffset(offset *int64)
- func (o *ListUsingGET2Params) SetPageNumber(pageNumber *int32)
- func (o *ListUsingGET2Params) SetPageSize(pageSize *int32)
- func (o *ListUsingGET2Params) SetPaged(paged *bool)
- func (o *ListUsingGET2Params) SetSortSorted(sortSorted *bool)
- func (o *ListUsingGET2Params) SetSortUnsorted(sortUnsorted *bool)
- func (o *ListUsingGET2Params) SetTimeout(timeout time.Duration)
- func (o *ListUsingGET2Params) SetUnpaged(unpaged *bool)
- func (o *ListUsingGET2Params) WithContext(ctx context.Context) *ListUsingGET2Params
- func (o *ListUsingGET2Params) WithDefaults() *ListUsingGET2Params
- func (o *ListUsingGET2Params) WithHTTPClient(client *http.Client) *ListUsingGET2Params
- func (o *ListUsingGET2Params) WithOffset(offset *int64) *ListUsingGET2Params
- func (o *ListUsingGET2Params) WithPageNumber(pageNumber *int32) *ListUsingGET2Params
- func (o *ListUsingGET2Params) WithPageSize(pageSize *int32) *ListUsingGET2Params
- func (o *ListUsingGET2Params) WithPaged(paged *bool) *ListUsingGET2Params
- func (o *ListUsingGET2Params) WithSortSorted(sortSorted *bool) *ListUsingGET2Params
- func (o *ListUsingGET2Params) WithSortUnsorted(sortUnsorted *bool) *ListUsingGET2Params
- func (o *ListUsingGET2Params) WithTimeout(timeout time.Duration) *ListUsingGET2Params
- func (o *ListUsingGET2Params) WithUnpaged(unpaged *bool) *ListUsingGET2Params
- func (o *ListUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUsingGET2Reader
- type RegisterUsingPUTOK
- type RegisterUsingPUTParams
- func NewRegisterUsingPUTParams() *RegisterUsingPUTParams
- func NewRegisterUsingPUTParamsWithContext(ctx context.Context) *RegisterUsingPUTParams
- func NewRegisterUsingPUTParamsWithHTTPClient(client *http.Client) *RegisterUsingPUTParams
- func NewRegisterUsingPUTParamsWithTimeout(timeout time.Duration) *RegisterUsingPUTParams
- func (o *RegisterUsingPUTParams) SetContext(ctx context.Context)
- func (o *RegisterUsingPUTParams) SetDefaults()
- func (o *RegisterUsingPUTParams) SetHTTPClient(client *http.Client)
- func (o *RegisterUsingPUTParams) SetID(id strfmt.UUID)
- func (o *RegisterUsingPUTParams) SetNamespaceState(namespaceState *models.K8SNamespace)
- func (o *RegisterUsingPUTParams) SetTimeout(timeout time.Duration)
- func (o *RegisterUsingPUTParams) WithContext(ctx context.Context) *RegisterUsingPUTParams
- func (o *RegisterUsingPUTParams) WithDefaults() *RegisterUsingPUTParams
- func (o *RegisterUsingPUTParams) WithHTTPClient(client *http.Client) *RegisterUsingPUTParams
- func (o *RegisterUsingPUTParams) WithID(id strfmt.UUID) *RegisterUsingPUTParams
- func (o *RegisterUsingPUTParams) WithNamespaceState(namespaceState *models.K8SNamespace) *RegisterUsingPUTParams
- func (o *RegisterUsingPUTParams) WithTimeout(timeout time.Duration) *RegisterUsingPUTParams
- func (o *RegisterUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegisterUsingPUTReader
- type UpdateUsingPUT2OK
- type UpdateUsingPUT2Params
- func NewUpdateUsingPUT2Params() *UpdateUsingPUT2Params
- func NewUpdateUsingPUT2ParamsWithContext(ctx context.Context) *UpdateUsingPUT2Params
- func NewUpdateUsingPUT2ParamsWithHTTPClient(client *http.Client) *UpdateUsingPUT2Params
- func NewUpdateUsingPUT2ParamsWithTimeout(timeout time.Duration) *UpdateUsingPUT2Params
- func (o *UpdateUsingPUT2Params) SetContext(ctx context.Context)
- func (o *UpdateUsingPUT2Params) SetDefaults()
- func (o *UpdateUsingPUT2Params) SetHTTPClient(client *http.Client)
- func (o *UpdateUsingPUT2Params) SetID(id strfmt.UUID)
- func (o *UpdateUsingPUT2Params) SetNamespace(namespace *models.K8SNamespace)
- func (o *UpdateUsingPUT2Params) SetTimeout(timeout time.Duration)
- func (o *UpdateUsingPUT2Params) WithContext(ctx context.Context) *UpdateUsingPUT2Params
- func (o *UpdateUsingPUT2Params) WithDefaults() *UpdateUsingPUT2Params
- func (o *UpdateUsingPUT2Params) WithHTTPClient(client *http.Client) *UpdateUsingPUT2Params
- func (o *UpdateUsingPUT2Params) WithID(id strfmt.UUID) *UpdateUsingPUT2Params
- func (o *UpdateUsingPUT2Params) WithNamespace(namespace *models.K8SNamespace) *UpdateUsingPUT2Params
- func (o *UpdateUsingPUT2Params) WithTimeout(timeout time.Duration) *UpdateUsingPUT2Params
- func (o *UpdateUsingPUT2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUsingPUT2Reader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for namespaces API
func (*Client) CreateUsingPOST1 ¶
func (a *Client) CreateUsingPOST1(params *CreateUsingPOST1Params, opts ...ClientOption) (*CreateUsingPOST1OK, error)
CreateUsingPOST1 creates a k8 s namespace
Create a K8S Namespace
func (*Client) DeleteUsingDELETE1 ¶
func (a *Client) DeleteUsingDELETE1(params *DeleteUsingDELETE1Params, opts ...ClientOption) (*DeleteUsingDELETE1OK, error)
DeleteUsingDELETE1 deletes a k8 s namespace
Delete a K8S Namespace by id
func (*Client) GetKubeConfigUsingGET1 ¶
func (a *Client) GetKubeConfigUsingGET1(params *GetKubeConfigUsingGET1Params, opts ...ClientOption) (*GetKubeConfigUsingGET1OK, error)
GetKubeConfigUsingGET1 gets kube config for a k8 s namesapce
Get KubeConfig for a K8S Namesapce by providing a K8S Namespace id
func (*Client) GetUsingGET2Mixin5 ¶
func (a *Client) GetUsingGET2Mixin5(params *GetUsingGET2Mixin5Params, opts ...ClientOption) (*GetUsingGET2Mixin5OK, error)
GetUsingGET2Mixin5 gets a k8 s namespace by id
Get a K8S Namespace by id
func (*Client) ListUsingGET2 ¶
func (a *Client) ListUsingGET2(params *ListUsingGET2Params, opts ...ClientOption) (*ListUsingGET2OK, error)
ListUsingGET2 gets all k8 s namespaces
Get a list of all K8S Namespaces
func (*Client) RegisterUsingPUT ¶
func (a *Client) RegisterUsingPUT(params *RegisterUsingPUTParams, opts ...ClientOption) (*RegisterUsingPUTOK, error)
RegisterUsingPUT onboards existing k8 s namespace
Onboard existing K8S Namespace by providing namespace id and entity
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateUsingPUT2 ¶
func (a *Client) UpdateUsingPUT2(params *UpdateUsingPUT2Params, opts ...ClientOption) (*UpdateUsingPUT2OK, error)
UpdateUsingPUT2 updates a k8 s namespace description or project
Update a K8S Namespace description or project by providing namespace id and Namespace entity
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateUsingPOST1(params *CreateUsingPOST1Params, opts ...ClientOption) (*CreateUsingPOST1OK, error) DeleteUsingDELETE1(params *DeleteUsingDELETE1Params, opts ...ClientOption) (*DeleteUsingDELETE1OK, error) GetKubeConfigUsingGET1(params *GetKubeConfigUsingGET1Params, opts ...ClientOption) (*GetKubeConfigUsingGET1OK, error) GetUsingGET2Mixin5(params *GetUsingGET2Mixin5Params, opts ...ClientOption) (*GetUsingGET2Mixin5OK, error) ListUsingGET2(params *ListUsingGET2Params, opts ...ClientOption) (*ListUsingGET2OK, error) RegisterUsingPUT(params *RegisterUsingPUTParams, opts ...ClientOption) (*RegisterUsingPUTOK, error) UpdateUsingPUT2(params *UpdateUsingPUT2Params, opts ...ClientOption) (*UpdateUsingPUT2OK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new namespaces API client.
type CreateUsingPOST1OK ¶
type CreateUsingPOST1OK struct {
Payload *models.K8SNamespace
}
CreateUsingPOST1OK describes a response with status code 200, with default header values.
OK
func NewCreateUsingPOST1OK ¶
func NewCreateUsingPOST1OK() *CreateUsingPOST1OK
NewCreateUsingPOST1OK creates a CreateUsingPOST1OK with default headers values
func (*CreateUsingPOST1OK) Error ¶
func (o *CreateUsingPOST1OK) Error() string
func (*CreateUsingPOST1OK) GetPayload ¶
func (o *CreateUsingPOST1OK) GetPayload() *models.K8SNamespace
type CreateUsingPOST1Params ¶
type CreateUsingPOST1Params struct { /* Namespace. namespace */ Namespace *models.K8SNamespace Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateUsingPOST1Params contains all the parameters to send to the API endpoint
for the create using p o s t 1 operation. Typically these are written to a http.Request.
func NewCreateUsingPOST1Params ¶
func NewCreateUsingPOST1Params() *CreateUsingPOST1Params
NewCreateUsingPOST1Params creates a new CreateUsingPOST1Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateUsingPOST1ParamsWithContext ¶
func NewCreateUsingPOST1ParamsWithContext(ctx context.Context) *CreateUsingPOST1Params
NewCreateUsingPOST1ParamsWithContext creates a new CreateUsingPOST1Params object with the ability to set a context for a request.
func NewCreateUsingPOST1ParamsWithHTTPClient ¶
func NewCreateUsingPOST1ParamsWithHTTPClient(client *http.Client) *CreateUsingPOST1Params
NewCreateUsingPOST1ParamsWithHTTPClient creates a new CreateUsingPOST1Params object with the ability to set a custom HTTPClient for a request.
func NewCreateUsingPOST1ParamsWithTimeout ¶
func NewCreateUsingPOST1ParamsWithTimeout(timeout time.Duration) *CreateUsingPOST1Params
NewCreateUsingPOST1ParamsWithTimeout creates a new CreateUsingPOST1Params object with the ability to set a timeout on a request.
func (*CreateUsingPOST1Params) SetContext ¶
func (o *CreateUsingPOST1Params) SetContext(ctx context.Context)
SetContext adds the context to the create using p o s t 1 params
func (*CreateUsingPOST1Params) SetDefaults ¶
func (o *CreateUsingPOST1Params) SetDefaults()
SetDefaults hydrates default values in the create using p o s t 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUsingPOST1Params) SetHTTPClient ¶
func (o *CreateUsingPOST1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create using p o s t 1 params
func (*CreateUsingPOST1Params) SetNamespace ¶
func (o *CreateUsingPOST1Params) SetNamespace(namespace *models.K8SNamespace)
SetNamespace adds the namespace to the create using p o s t 1 params
func (*CreateUsingPOST1Params) SetTimeout ¶
func (o *CreateUsingPOST1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create using p o s t 1 params
func (*CreateUsingPOST1Params) WithContext ¶
func (o *CreateUsingPOST1Params) WithContext(ctx context.Context) *CreateUsingPOST1Params
WithContext adds the context to the create using p o s t 1 params
func (*CreateUsingPOST1Params) WithDefaults ¶
func (o *CreateUsingPOST1Params) WithDefaults() *CreateUsingPOST1Params
WithDefaults hydrates default values in the create using p o s t 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUsingPOST1Params) WithHTTPClient ¶
func (o *CreateUsingPOST1Params) WithHTTPClient(client *http.Client) *CreateUsingPOST1Params
WithHTTPClient adds the HTTPClient to the create using p o s t 1 params
func (*CreateUsingPOST1Params) WithNamespace ¶
func (o *CreateUsingPOST1Params) WithNamespace(namespace *models.K8SNamespace) *CreateUsingPOST1Params
WithNamespace adds the namespace to the create using p o s t 1 params
func (*CreateUsingPOST1Params) WithTimeout ¶
func (o *CreateUsingPOST1Params) WithTimeout(timeout time.Duration) *CreateUsingPOST1Params
WithTimeout adds the timeout to the create using p o s t 1 params
func (*CreateUsingPOST1Params) WriteToRequest ¶
func (o *CreateUsingPOST1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUsingPOST1Reader ¶
type CreateUsingPOST1Reader struct {
// contains filtered or unexported fields
}
CreateUsingPOST1Reader is a Reader for the CreateUsingPOST1 structure.
func (*CreateUsingPOST1Reader) ReadResponse ¶
func (o *CreateUsingPOST1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUsingDELETE1OK ¶
type DeleteUsingDELETE1OK struct { }
DeleteUsingDELETE1OK describes a response with status code 200, with default header values.
OK
func NewDeleteUsingDELETE1OK ¶
func NewDeleteUsingDELETE1OK() *DeleteUsingDELETE1OK
NewDeleteUsingDELETE1OK creates a DeleteUsingDELETE1OK with default headers values
func (*DeleteUsingDELETE1OK) Error ¶
func (o *DeleteUsingDELETE1OK) Error() string
type DeleteUsingDELETE1Params ¶
type DeleteUsingDELETE1Params struct { /* Destroy. destroy */ Destroy *bool /* ID. id Format: uuid */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUsingDELETE1Params contains all the parameters to send to the API endpoint
for the delete using d e l e t e 1 operation. Typically these are written to a http.Request.
func NewDeleteUsingDELETE1Params ¶
func NewDeleteUsingDELETE1Params() *DeleteUsingDELETE1Params
NewDeleteUsingDELETE1Params creates a new DeleteUsingDELETE1Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteUsingDELETE1ParamsWithContext ¶
func NewDeleteUsingDELETE1ParamsWithContext(ctx context.Context) *DeleteUsingDELETE1Params
NewDeleteUsingDELETE1ParamsWithContext creates a new DeleteUsingDELETE1Params object with the ability to set a context for a request.
func NewDeleteUsingDELETE1ParamsWithHTTPClient ¶
func NewDeleteUsingDELETE1ParamsWithHTTPClient(client *http.Client) *DeleteUsingDELETE1Params
NewDeleteUsingDELETE1ParamsWithHTTPClient creates a new DeleteUsingDELETE1Params object with the ability to set a custom HTTPClient for a request.
func NewDeleteUsingDELETE1ParamsWithTimeout ¶
func NewDeleteUsingDELETE1ParamsWithTimeout(timeout time.Duration) *DeleteUsingDELETE1Params
NewDeleteUsingDELETE1ParamsWithTimeout creates a new DeleteUsingDELETE1Params object with the ability to set a timeout on a request.
func (*DeleteUsingDELETE1Params) SetContext ¶
func (o *DeleteUsingDELETE1Params) SetContext(ctx context.Context)
SetContext adds the context to the delete using d e l e t e 1 params
func (*DeleteUsingDELETE1Params) SetDefaults ¶
func (o *DeleteUsingDELETE1Params) SetDefaults()
SetDefaults hydrates default values in the delete using d e l e t e 1 params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUsingDELETE1Params) SetDestroy ¶
func (o *DeleteUsingDELETE1Params) SetDestroy(destroy *bool)
SetDestroy adds the destroy to the delete using d e l e t e 1 params
func (*DeleteUsingDELETE1Params) SetHTTPClient ¶
func (o *DeleteUsingDELETE1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete using d e l e t e 1 params
func (*DeleteUsingDELETE1Params) SetID ¶
func (o *DeleteUsingDELETE1Params) SetID(id strfmt.UUID)
SetID adds the id to the delete using d e l e t e 1 params
func (*DeleteUsingDELETE1Params) SetTimeout ¶
func (o *DeleteUsingDELETE1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete using d e l e t e 1 params
func (*DeleteUsingDELETE1Params) WithContext ¶
func (o *DeleteUsingDELETE1Params) WithContext(ctx context.Context) *DeleteUsingDELETE1Params
WithContext adds the context to the delete using d e l e t e 1 params
func (*DeleteUsingDELETE1Params) WithDefaults ¶
func (o *DeleteUsingDELETE1Params) WithDefaults() *DeleteUsingDELETE1Params
WithDefaults hydrates default values in the delete using d e l e t e 1 params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteUsingDELETE1Params) WithDestroy ¶
func (o *DeleteUsingDELETE1Params) WithDestroy(destroy *bool) *DeleteUsingDELETE1Params
WithDestroy adds the destroy to the delete using d e l e t e 1 params
func (*DeleteUsingDELETE1Params) WithHTTPClient ¶
func (o *DeleteUsingDELETE1Params) WithHTTPClient(client *http.Client) *DeleteUsingDELETE1Params
WithHTTPClient adds the HTTPClient to the delete using d e l e t e 1 params
func (*DeleteUsingDELETE1Params) WithID ¶
func (o *DeleteUsingDELETE1Params) WithID(id strfmt.UUID) *DeleteUsingDELETE1Params
WithID adds the id to the delete using d e l e t e 1 params
func (*DeleteUsingDELETE1Params) WithTimeout ¶
func (o *DeleteUsingDELETE1Params) WithTimeout(timeout time.Duration) *DeleteUsingDELETE1Params
WithTimeout adds the timeout to the delete using d e l e t e 1 params
func (*DeleteUsingDELETE1Params) WriteToRequest ¶
func (o *DeleteUsingDELETE1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUsingDELETE1Reader ¶
type DeleteUsingDELETE1Reader struct {
// contains filtered or unexported fields
}
DeleteUsingDELETE1Reader is a Reader for the DeleteUsingDELETE1 structure.
func (*DeleteUsingDELETE1Reader) ReadResponse ¶
func (o *DeleteUsingDELETE1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetKubeConfigUsingGET1OK ¶
type GetKubeConfigUsingGET1OK struct {
Payload *models.ResponseEntity
}
GetKubeConfigUsingGET1OK describes a response with status code 200, with default header values.
OK
func NewGetKubeConfigUsingGET1OK ¶
func NewGetKubeConfigUsingGET1OK() *GetKubeConfigUsingGET1OK
NewGetKubeConfigUsingGET1OK creates a GetKubeConfigUsingGET1OK with default headers values
func (*GetKubeConfigUsingGET1OK) Error ¶
func (o *GetKubeConfigUsingGET1OK) Error() string
func (*GetKubeConfigUsingGET1OK) GetPayload ¶
func (o *GetKubeConfigUsingGET1OK) GetPayload() *models.ResponseEntity
type GetKubeConfigUsingGET1Params ¶
type GetKubeConfigUsingGET1Params struct { /* ID. id Format: uuid */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetKubeConfigUsingGET1Params contains all the parameters to send to the API endpoint
for the get kube config using get1 operation. Typically these are written to a http.Request.
func NewGetKubeConfigUsingGET1Params ¶
func NewGetKubeConfigUsingGET1Params() *GetKubeConfigUsingGET1Params
NewGetKubeConfigUsingGET1Params creates a new GetKubeConfigUsingGET1Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetKubeConfigUsingGET1ParamsWithContext ¶
func NewGetKubeConfigUsingGET1ParamsWithContext(ctx context.Context) *GetKubeConfigUsingGET1Params
NewGetKubeConfigUsingGET1ParamsWithContext creates a new GetKubeConfigUsingGET1Params object with the ability to set a context for a request.
func NewGetKubeConfigUsingGET1ParamsWithHTTPClient ¶
func NewGetKubeConfigUsingGET1ParamsWithHTTPClient(client *http.Client) *GetKubeConfigUsingGET1Params
NewGetKubeConfigUsingGET1ParamsWithHTTPClient creates a new GetKubeConfigUsingGET1Params object with the ability to set a custom HTTPClient for a request.
func NewGetKubeConfigUsingGET1ParamsWithTimeout ¶
func NewGetKubeConfigUsingGET1ParamsWithTimeout(timeout time.Duration) *GetKubeConfigUsingGET1Params
NewGetKubeConfigUsingGET1ParamsWithTimeout creates a new GetKubeConfigUsingGET1Params object with the ability to set a timeout on a request.
func (*GetKubeConfigUsingGET1Params) SetContext ¶
func (o *GetKubeConfigUsingGET1Params) SetContext(ctx context.Context)
SetContext adds the context to the get kube config using get1 params
func (*GetKubeConfigUsingGET1Params) SetDefaults ¶
func (o *GetKubeConfigUsingGET1Params) SetDefaults()
SetDefaults hydrates default values in the get kube config using get1 params (not the query body).
All values with no default are reset to their zero value.
func (*GetKubeConfigUsingGET1Params) SetHTTPClient ¶
func (o *GetKubeConfigUsingGET1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get kube config using get1 params
func (*GetKubeConfigUsingGET1Params) SetID ¶
func (o *GetKubeConfigUsingGET1Params) SetID(id strfmt.UUID)
SetID adds the id to the get kube config using get1 params
func (*GetKubeConfigUsingGET1Params) SetTimeout ¶
func (o *GetKubeConfigUsingGET1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get kube config using get1 params
func (*GetKubeConfigUsingGET1Params) WithContext ¶
func (o *GetKubeConfigUsingGET1Params) WithContext(ctx context.Context) *GetKubeConfigUsingGET1Params
WithContext adds the context to the get kube config using get1 params
func (*GetKubeConfigUsingGET1Params) WithDefaults ¶
func (o *GetKubeConfigUsingGET1Params) WithDefaults() *GetKubeConfigUsingGET1Params
WithDefaults hydrates default values in the get kube config using get1 params (not the query body).
All values with no default are reset to their zero value.
func (*GetKubeConfigUsingGET1Params) WithHTTPClient ¶
func (o *GetKubeConfigUsingGET1Params) WithHTTPClient(client *http.Client) *GetKubeConfigUsingGET1Params
WithHTTPClient adds the HTTPClient to the get kube config using get1 params
func (*GetKubeConfigUsingGET1Params) WithID ¶
func (o *GetKubeConfigUsingGET1Params) WithID(id strfmt.UUID) *GetKubeConfigUsingGET1Params
WithID adds the id to the get kube config using get1 params
func (*GetKubeConfigUsingGET1Params) WithTimeout ¶
func (o *GetKubeConfigUsingGET1Params) WithTimeout(timeout time.Duration) *GetKubeConfigUsingGET1Params
WithTimeout adds the timeout to the get kube config using get1 params
func (*GetKubeConfigUsingGET1Params) WriteToRequest ¶
func (o *GetKubeConfigUsingGET1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetKubeConfigUsingGET1Reader ¶
type GetKubeConfigUsingGET1Reader struct {
// contains filtered or unexported fields
}
GetKubeConfigUsingGET1Reader is a Reader for the GetKubeConfigUsingGET1 structure.
func (*GetKubeConfigUsingGET1Reader) ReadResponse ¶
func (o *GetKubeConfigUsingGET1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUsingGET2Mixin5OK ¶
type GetUsingGET2Mixin5OK struct {
Payload *models.K8SNamespace
}
GetUsingGET2Mixin5OK describes a response with status code 200, with default header values.
OK
func NewGetUsingGET2Mixin5OK ¶
func NewGetUsingGET2Mixin5OK() *GetUsingGET2Mixin5OK
NewGetUsingGET2Mixin5OK creates a GetUsingGET2Mixin5OK with default headers values
func (*GetUsingGET2Mixin5OK) Error ¶
func (o *GetUsingGET2Mixin5OK) Error() string
func (*GetUsingGET2Mixin5OK) GetPayload ¶
func (o *GetUsingGET2Mixin5OK) GetPayload() *models.K8SNamespace
type GetUsingGET2Mixin5Params ¶
type GetUsingGET2Mixin5Params struct { /* ID. id Format: uuid */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUsingGET2Mixin5Params contains all the parameters to send to the API endpoint
for the get using g e t 2 mixin5 operation. Typically these are written to a http.Request.
func NewGetUsingGET2Mixin5Params ¶
func NewGetUsingGET2Mixin5Params() *GetUsingGET2Mixin5Params
NewGetUsingGET2Mixin5Params creates a new GetUsingGET2Mixin5Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetUsingGET2Mixin5ParamsWithContext ¶
func NewGetUsingGET2Mixin5ParamsWithContext(ctx context.Context) *GetUsingGET2Mixin5Params
NewGetUsingGET2Mixin5ParamsWithContext creates a new GetUsingGET2Mixin5Params object with the ability to set a context for a request.
func NewGetUsingGET2Mixin5ParamsWithHTTPClient ¶
func NewGetUsingGET2Mixin5ParamsWithHTTPClient(client *http.Client) *GetUsingGET2Mixin5Params
NewGetUsingGET2Mixin5ParamsWithHTTPClient creates a new GetUsingGET2Mixin5Params object with the ability to set a custom HTTPClient for a request.
func NewGetUsingGET2Mixin5ParamsWithTimeout ¶
func NewGetUsingGET2Mixin5ParamsWithTimeout(timeout time.Duration) *GetUsingGET2Mixin5Params
NewGetUsingGET2Mixin5ParamsWithTimeout creates a new GetUsingGET2Mixin5Params object with the ability to set a timeout on a request.
func (*GetUsingGET2Mixin5Params) SetContext ¶
func (o *GetUsingGET2Mixin5Params) SetContext(ctx context.Context)
SetContext adds the context to the get using g e t 2 mixin5 params
func (*GetUsingGET2Mixin5Params) SetDefaults ¶
func (o *GetUsingGET2Mixin5Params) SetDefaults()
SetDefaults hydrates default values in the get using g e t 2 mixin5 params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsingGET2Mixin5Params) SetHTTPClient ¶
func (o *GetUsingGET2Mixin5Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get using g e t 2 mixin5 params
func (*GetUsingGET2Mixin5Params) SetID ¶
func (o *GetUsingGET2Mixin5Params) SetID(id strfmt.UUID)
SetID adds the id to the get using g e t 2 mixin5 params
func (*GetUsingGET2Mixin5Params) SetTimeout ¶
func (o *GetUsingGET2Mixin5Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get using g e t 2 mixin5 params
func (*GetUsingGET2Mixin5Params) WithContext ¶
func (o *GetUsingGET2Mixin5Params) WithContext(ctx context.Context) *GetUsingGET2Mixin5Params
WithContext adds the context to the get using g e t 2 mixin5 params
func (*GetUsingGET2Mixin5Params) WithDefaults ¶
func (o *GetUsingGET2Mixin5Params) WithDefaults() *GetUsingGET2Mixin5Params
WithDefaults hydrates default values in the get using g e t 2 mixin5 params (not the query body).
All values with no default are reset to their zero value.
func (*GetUsingGET2Mixin5Params) WithHTTPClient ¶
func (o *GetUsingGET2Mixin5Params) WithHTTPClient(client *http.Client) *GetUsingGET2Mixin5Params
WithHTTPClient adds the HTTPClient to the get using g e t 2 mixin5 params
func (*GetUsingGET2Mixin5Params) WithID ¶
func (o *GetUsingGET2Mixin5Params) WithID(id strfmt.UUID) *GetUsingGET2Mixin5Params
WithID adds the id to the get using g e t 2 mixin5 params
func (*GetUsingGET2Mixin5Params) WithTimeout ¶
func (o *GetUsingGET2Mixin5Params) WithTimeout(timeout time.Duration) *GetUsingGET2Mixin5Params
WithTimeout adds the timeout to the get using g e t 2 mixin5 params
func (*GetUsingGET2Mixin5Params) WriteToRequest ¶
func (o *GetUsingGET2Mixin5Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUsingGET2Mixin5Reader ¶
type GetUsingGET2Mixin5Reader struct {
// contains filtered or unexported fields
}
GetUsingGET2Mixin5Reader is a Reader for the GetUsingGET2Mixin5 structure.
func (*GetUsingGET2Mixin5Reader) ReadResponse ¶
func (o *GetUsingGET2Mixin5Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUsingGET2OK ¶
type ListUsingGET2OK struct {
Payload *models.PageOfK8SNamespace
}
ListUsingGET2OK describes a response with status code 200, with default header values.
OK
func NewListUsingGET2OK ¶
func NewListUsingGET2OK() *ListUsingGET2OK
NewListUsingGET2OK creates a ListUsingGET2OK with default headers values
func (*ListUsingGET2OK) Error ¶
func (o *ListUsingGET2OK) Error() string
func (*ListUsingGET2OK) GetPayload ¶
func (o *ListUsingGET2OK) GetPayload() *models.PageOfK8SNamespace
type ListUsingGET2Params ¶
type ListUsingGET2Params struct { // Offset. // // Format: int64 Offset *int64 // PageNumber. // // Format: int32 PageNumber *int32 // PageSize. // // Format: int32 PageSize *int32 // Paged. Paged *bool // SortSorted. SortSorted *bool // SortUnsorted. SortUnsorted *bool // Unpaged. Unpaged *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListUsingGET2Params contains all the parameters to send to the API endpoint
for the list using g e t 2 operation. Typically these are written to a http.Request.
func NewListUsingGET2Params ¶
func NewListUsingGET2Params() *ListUsingGET2Params
NewListUsingGET2Params creates a new ListUsingGET2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListUsingGET2ParamsWithContext ¶
func NewListUsingGET2ParamsWithContext(ctx context.Context) *ListUsingGET2Params
NewListUsingGET2ParamsWithContext creates a new ListUsingGET2Params object with the ability to set a context for a request.
func NewListUsingGET2ParamsWithHTTPClient ¶
func NewListUsingGET2ParamsWithHTTPClient(client *http.Client) *ListUsingGET2Params
NewListUsingGET2ParamsWithHTTPClient creates a new ListUsingGET2Params object with the ability to set a custom HTTPClient for a request.
func NewListUsingGET2ParamsWithTimeout ¶
func NewListUsingGET2ParamsWithTimeout(timeout time.Duration) *ListUsingGET2Params
NewListUsingGET2ParamsWithTimeout creates a new ListUsingGET2Params object with the ability to set a timeout on a request.
func (*ListUsingGET2Params) SetContext ¶
func (o *ListUsingGET2Params) SetContext(ctx context.Context)
SetContext adds the context to the list using g e t 2 params
func (*ListUsingGET2Params) SetDefaults ¶
func (o *ListUsingGET2Params) SetDefaults()
SetDefaults hydrates default values in the list using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*ListUsingGET2Params) SetHTTPClient ¶
func (o *ListUsingGET2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list using g e t 2 params
func (*ListUsingGET2Params) SetOffset ¶
func (o *ListUsingGET2Params) SetOffset(offset *int64)
SetOffset adds the offset to the list using g e t 2 params
func (*ListUsingGET2Params) SetPageNumber ¶
func (o *ListUsingGET2Params) SetPageNumber(pageNumber *int32)
SetPageNumber adds the pageNumber to the list using g e t 2 params
func (*ListUsingGET2Params) SetPageSize ¶
func (o *ListUsingGET2Params) SetPageSize(pageSize *int32)
SetPageSize adds the pageSize to the list using g e t 2 params
func (*ListUsingGET2Params) SetPaged ¶
func (o *ListUsingGET2Params) SetPaged(paged *bool)
SetPaged adds the paged to the list using g e t 2 params
func (*ListUsingGET2Params) SetSortSorted ¶
func (o *ListUsingGET2Params) SetSortSorted(sortSorted *bool)
SetSortSorted adds the sortSorted to the list using g e t 2 params
func (*ListUsingGET2Params) SetSortUnsorted ¶
func (o *ListUsingGET2Params) SetSortUnsorted(sortUnsorted *bool)
SetSortUnsorted adds the sortUnsorted to the list using g e t 2 params
func (*ListUsingGET2Params) SetTimeout ¶
func (o *ListUsingGET2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list using g e t 2 params
func (*ListUsingGET2Params) SetUnpaged ¶
func (o *ListUsingGET2Params) SetUnpaged(unpaged *bool)
SetUnpaged adds the unpaged to the list using g e t 2 params
func (*ListUsingGET2Params) WithContext ¶
func (o *ListUsingGET2Params) WithContext(ctx context.Context) *ListUsingGET2Params
WithContext adds the context to the list using g e t 2 params
func (*ListUsingGET2Params) WithDefaults ¶
func (o *ListUsingGET2Params) WithDefaults() *ListUsingGET2Params
WithDefaults hydrates default values in the list using g e t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*ListUsingGET2Params) WithHTTPClient ¶
func (o *ListUsingGET2Params) WithHTTPClient(client *http.Client) *ListUsingGET2Params
WithHTTPClient adds the HTTPClient to the list using g e t 2 params
func (*ListUsingGET2Params) WithOffset ¶
func (o *ListUsingGET2Params) WithOffset(offset *int64) *ListUsingGET2Params
WithOffset adds the offset to the list using g e t 2 params
func (*ListUsingGET2Params) WithPageNumber ¶
func (o *ListUsingGET2Params) WithPageNumber(pageNumber *int32) *ListUsingGET2Params
WithPageNumber adds the pageNumber to the list using g e t 2 params
func (*ListUsingGET2Params) WithPageSize ¶
func (o *ListUsingGET2Params) WithPageSize(pageSize *int32) *ListUsingGET2Params
WithPageSize adds the pageSize to the list using g e t 2 params
func (*ListUsingGET2Params) WithPaged ¶
func (o *ListUsingGET2Params) WithPaged(paged *bool) *ListUsingGET2Params
WithPaged adds the paged to the list using g e t 2 params
func (*ListUsingGET2Params) WithSortSorted ¶
func (o *ListUsingGET2Params) WithSortSorted(sortSorted *bool) *ListUsingGET2Params
WithSortSorted adds the sortSorted to the list using g e t 2 params
func (*ListUsingGET2Params) WithSortUnsorted ¶
func (o *ListUsingGET2Params) WithSortUnsorted(sortUnsorted *bool) *ListUsingGET2Params
WithSortUnsorted adds the sortUnsorted to the list using g e t 2 params
func (*ListUsingGET2Params) WithTimeout ¶
func (o *ListUsingGET2Params) WithTimeout(timeout time.Duration) *ListUsingGET2Params
WithTimeout adds the timeout to the list using g e t 2 params
func (*ListUsingGET2Params) WithUnpaged ¶
func (o *ListUsingGET2Params) WithUnpaged(unpaged *bool) *ListUsingGET2Params
WithUnpaged adds the unpaged to the list using g e t 2 params
func (*ListUsingGET2Params) WriteToRequest ¶
func (o *ListUsingGET2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUsingGET2Reader ¶
type ListUsingGET2Reader struct {
// contains filtered or unexported fields
}
ListUsingGET2Reader is a Reader for the ListUsingGET2 structure.
func (*ListUsingGET2Reader) ReadResponse ¶
func (o *ListUsingGET2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegisterUsingPUTOK ¶
type RegisterUsingPUTOK struct {
Payload *models.K8SNamespace
}
RegisterUsingPUTOK describes a response with status code 200, with default header values.
OK
func NewRegisterUsingPUTOK ¶
func NewRegisterUsingPUTOK() *RegisterUsingPUTOK
NewRegisterUsingPUTOK creates a RegisterUsingPUTOK with default headers values
func (*RegisterUsingPUTOK) Error ¶
func (o *RegisterUsingPUTOK) Error() string
func (*RegisterUsingPUTOK) GetPayload ¶
func (o *RegisterUsingPUTOK) GetPayload() *models.K8SNamespace
type RegisterUsingPUTParams ¶
type RegisterUsingPUTParams struct { /* ID. id Format: uuid */ ID strfmt.UUID /* NamespaceState. namespaceState */ NamespaceState *models.K8SNamespace Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegisterUsingPUTParams contains all the parameters to send to the API endpoint
for the register using p u t operation. Typically these are written to a http.Request.
func NewRegisterUsingPUTParams ¶
func NewRegisterUsingPUTParams() *RegisterUsingPUTParams
NewRegisterUsingPUTParams creates a new RegisterUsingPUTParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRegisterUsingPUTParamsWithContext ¶
func NewRegisterUsingPUTParamsWithContext(ctx context.Context) *RegisterUsingPUTParams
NewRegisterUsingPUTParamsWithContext creates a new RegisterUsingPUTParams object with the ability to set a context for a request.
func NewRegisterUsingPUTParamsWithHTTPClient ¶
func NewRegisterUsingPUTParamsWithHTTPClient(client *http.Client) *RegisterUsingPUTParams
NewRegisterUsingPUTParamsWithHTTPClient creates a new RegisterUsingPUTParams object with the ability to set a custom HTTPClient for a request.
func NewRegisterUsingPUTParamsWithTimeout ¶
func NewRegisterUsingPUTParamsWithTimeout(timeout time.Duration) *RegisterUsingPUTParams
NewRegisterUsingPUTParamsWithTimeout creates a new RegisterUsingPUTParams object with the ability to set a timeout on a request.
func (*RegisterUsingPUTParams) SetContext ¶
func (o *RegisterUsingPUTParams) SetContext(ctx context.Context)
SetContext adds the context to the register using p u t params
func (*RegisterUsingPUTParams) SetDefaults ¶
func (o *RegisterUsingPUTParams) SetDefaults()
SetDefaults hydrates default values in the register using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*RegisterUsingPUTParams) SetHTTPClient ¶
func (o *RegisterUsingPUTParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the register using p u t params
func (*RegisterUsingPUTParams) SetID ¶
func (o *RegisterUsingPUTParams) SetID(id strfmt.UUID)
SetID adds the id to the register using p u t params
func (*RegisterUsingPUTParams) SetNamespaceState ¶
func (o *RegisterUsingPUTParams) SetNamespaceState(namespaceState *models.K8SNamespace)
SetNamespaceState adds the namespaceState to the register using p u t params
func (*RegisterUsingPUTParams) SetTimeout ¶
func (o *RegisterUsingPUTParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the register using p u t params
func (*RegisterUsingPUTParams) WithContext ¶
func (o *RegisterUsingPUTParams) WithContext(ctx context.Context) *RegisterUsingPUTParams
WithContext adds the context to the register using p u t params
func (*RegisterUsingPUTParams) WithDefaults ¶
func (o *RegisterUsingPUTParams) WithDefaults() *RegisterUsingPUTParams
WithDefaults hydrates default values in the register using p u t params (not the query body).
All values with no default are reset to their zero value.
func (*RegisterUsingPUTParams) WithHTTPClient ¶
func (o *RegisterUsingPUTParams) WithHTTPClient(client *http.Client) *RegisterUsingPUTParams
WithHTTPClient adds the HTTPClient to the register using p u t params
func (*RegisterUsingPUTParams) WithID ¶
func (o *RegisterUsingPUTParams) WithID(id strfmt.UUID) *RegisterUsingPUTParams
WithID adds the id to the register using p u t params
func (*RegisterUsingPUTParams) WithNamespaceState ¶
func (o *RegisterUsingPUTParams) WithNamespaceState(namespaceState *models.K8SNamespace) *RegisterUsingPUTParams
WithNamespaceState adds the namespaceState to the register using p u t params
func (*RegisterUsingPUTParams) WithTimeout ¶
func (o *RegisterUsingPUTParams) WithTimeout(timeout time.Duration) *RegisterUsingPUTParams
WithTimeout adds the timeout to the register using p u t params
func (*RegisterUsingPUTParams) WriteToRequest ¶
func (o *RegisterUsingPUTParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegisterUsingPUTReader ¶
type RegisterUsingPUTReader struct {
// contains filtered or unexported fields
}
RegisterUsingPUTReader is a Reader for the RegisterUsingPUT structure.
func (*RegisterUsingPUTReader) ReadResponse ¶
func (o *RegisterUsingPUTReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUsingPUT2OK ¶
type UpdateUsingPUT2OK struct {
Payload *models.K8SNamespace
}
UpdateUsingPUT2OK describes a response with status code 200, with default header values.
OK
func NewUpdateUsingPUT2OK ¶
func NewUpdateUsingPUT2OK() *UpdateUsingPUT2OK
NewUpdateUsingPUT2OK creates a UpdateUsingPUT2OK with default headers values
func (*UpdateUsingPUT2OK) Error ¶
func (o *UpdateUsingPUT2OK) Error() string
func (*UpdateUsingPUT2OK) GetPayload ¶
func (o *UpdateUsingPUT2OK) GetPayload() *models.K8SNamespace
type UpdateUsingPUT2Params ¶
type UpdateUsingPUT2Params struct { /* ID. id Format: uuid */ ID strfmt.UUID /* Namespace. namespace */ Namespace *models.K8SNamespace Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUsingPUT2Params contains all the parameters to send to the API endpoint
for the update using p u t 2 operation. Typically these are written to a http.Request.
func NewUpdateUsingPUT2Params ¶
func NewUpdateUsingPUT2Params() *UpdateUsingPUT2Params
NewUpdateUsingPUT2Params creates a new UpdateUsingPUT2Params object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateUsingPUT2ParamsWithContext ¶
func NewUpdateUsingPUT2ParamsWithContext(ctx context.Context) *UpdateUsingPUT2Params
NewUpdateUsingPUT2ParamsWithContext creates a new UpdateUsingPUT2Params object with the ability to set a context for a request.
func NewUpdateUsingPUT2ParamsWithHTTPClient ¶
func NewUpdateUsingPUT2ParamsWithHTTPClient(client *http.Client) *UpdateUsingPUT2Params
NewUpdateUsingPUT2ParamsWithHTTPClient creates a new UpdateUsingPUT2Params object with the ability to set a custom HTTPClient for a request.
func NewUpdateUsingPUT2ParamsWithTimeout ¶
func NewUpdateUsingPUT2ParamsWithTimeout(timeout time.Duration) *UpdateUsingPUT2Params
NewUpdateUsingPUT2ParamsWithTimeout creates a new UpdateUsingPUT2Params object with the ability to set a timeout on a request.
func (*UpdateUsingPUT2Params) SetContext ¶
func (o *UpdateUsingPUT2Params) SetContext(ctx context.Context)
SetContext adds the context to the update using p u t 2 params
func (*UpdateUsingPUT2Params) SetDefaults ¶
func (o *UpdateUsingPUT2Params) SetDefaults()
SetDefaults hydrates default values in the update using p u t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUsingPUT2Params) SetHTTPClient ¶
func (o *UpdateUsingPUT2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update using p u t 2 params
func (*UpdateUsingPUT2Params) SetID ¶
func (o *UpdateUsingPUT2Params) SetID(id strfmt.UUID)
SetID adds the id to the update using p u t 2 params
func (*UpdateUsingPUT2Params) SetNamespace ¶
func (o *UpdateUsingPUT2Params) SetNamespace(namespace *models.K8SNamespace)
SetNamespace adds the namespace to the update using p u t 2 params
func (*UpdateUsingPUT2Params) SetTimeout ¶
func (o *UpdateUsingPUT2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update using p u t 2 params
func (*UpdateUsingPUT2Params) WithContext ¶
func (o *UpdateUsingPUT2Params) WithContext(ctx context.Context) *UpdateUsingPUT2Params
WithContext adds the context to the update using p u t 2 params
func (*UpdateUsingPUT2Params) WithDefaults ¶
func (o *UpdateUsingPUT2Params) WithDefaults() *UpdateUsingPUT2Params
WithDefaults hydrates default values in the update using p u t 2 params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateUsingPUT2Params) WithHTTPClient ¶
func (o *UpdateUsingPUT2Params) WithHTTPClient(client *http.Client) *UpdateUsingPUT2Params
WithHTTPClient adds the HTTPClient to the update using p u t 2 params
func (*UpdateUsingPUT2Params) WithID ¶
func (o *UpdateUsingPUT2Params) WithID(id strfmt.UUID) *UpdateUsingPUT2Params
WithID adds the id to the update using p u t 2 params
func (*UpdateUsingPUT2Params) WithNamespace ¶
func (o *UpdateUsingPUT2Params) WithNamespace(namespace *models.K8SNamespace) *UpdateUsingPUT2Params
WithNamespace adds the namespace to the update using p u t 2 params
func (*UpdateUsingPUT2Params) WithTimeout ¶
func (o *UpdateUsingPUT2Params) WithTimeout(timeout time.Duration) *UpdateUsingPUT2Params
WithTimeout adds the timeout to the update using p u t 2 params
func (*UpdateUsingPUT2Params) WriteToRequest ¶
func (o *UpdateUsingPUT2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUsingPUT2Reader ¶
type UpdateUsingPUT2Reader struct {
// contains filtered or unexported fields
}
UpdateUsingPUT2Reader is a Reader for the UpdateUsingPUT2 structure.
func (*UpdateUsingPUT2Reader) ReadResponse ¶
func (o *UpdateUsingPUT2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_using_post1_parameters.go
- create_using_post1_responses.go
- delete_using_delete1_parameters.go
- delete_using_delete1_responses.go
- get_kube_config_using_get1_parameters.go
- get_kube_config_using_get1_responses.go
- get_using_get2_mixin5_parameters.go
- get_using_get2_mixin5_responses.go
- list_using_get2_parameters.go
- list_using_get2_responses.go
- namespaces_client.go
- register_using_put_parameters.go
- register_using_put_responses.go
- update_using_put2_parameters.go
- update_using_put2_responses.go