namespaces

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

WithContext adds the context to the create using p o s t 1 params

func (*CreateUsingPOST1Params) WithDefaults

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

WithTimeout adds the timeout to the create using p o s t 1 params

func (*CreateUsingPOST1Params) WriteToRequest

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

WithContext adds the context to the delete using d e l e t e 1 params

func (*DeleteUsingDELETE1Params) WithDefaults

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

WithID adds the id to the delete using d e l e t e 1 params

func (*DeleteUsingDELETE1Params) WithTimeout

WithTimeout adds the timeout to the delete using d e l e t e 1 params

func (*DeleteUsingDELETE1Params) WriteToRequest

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

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

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

WithContext adds the context to the get kube config using get1 params

func (*GetKubeConfigUsingGET1Params) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get kube config using get1 params

func (*GetKubeConfigUsingGET1Params) WithID

WithID adds the id to the get kube config using get1 params

func (*GetKubeConfigUsingGET1Params) WithTimeout

WithTimeout adds the timeout to the get kube config using get1 params

func (*GetKubeConfigUsingGET1Params) WriteToRequest

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

WithContext adds the context to the get using g e t 2 mixin5 params

func (*GetUsingGET2Mixin5Params) WithDefaults

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

WithID adds the id to the get using g e t 2 mixin5 params

func (*GetUsingGET2Mixin5Params) WithTimeout

WithTimeout adds the timeout to the get using g e t 2 mixin5 params

func (*GetUsingGET2Mixin5Params) WriteToRequest

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

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

WithContext adds the context to the register using p u t params

func (*RegisterUsingPUTParams) WithDefaults

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

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

WithTimeout adds the timeout to the register using p u t params

func (*RegisterUsingPUTParams) WriteToRequest

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

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

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.

Jump to

Keyboard shortcuts

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