operations

package
v2.18.6 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 10 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 operations API

func (*Client) CreateOIDCKubeconfig

func (a *Client) CreateOIDCKubeconfig(params *CreateOIDCKubeconfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOIDCKubeconfigOK, error)
CreateOIDCKubeconfig Starts OIDC flow and generates kubeconfig, the generated config

contains OIDC provider authentication info

func (*Client) GetAddonConfig

func (a *Client) GetAddonConfig(params *GetAddonConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAddonConfigOK, error)

GetAddonConfig returns specified addon config

func (*Client) GetAdmissionPlugins

func (a *Client) GetAdmissionPlugins(params *GetAdmissionPluginsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAdmissionPluginsOK, error)

GetAdmissionPlugins returns specified addon config

func (*Client) ListAddonConfigs

func (a *Client) ListAddonConfigs(params *ListAddonConfigsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAddonConfigsOK, error)

ListAddonConfigs returns all available addon configs

func (*Client) ListSystemLabels

func (a *Client) ListSystemLabels(params *ListSystemLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSystemLabelsOK, error)

ListSystemLabels List restricted system labels

func (*Client) MigrateClusterToExternalCCM added in v2.18.0

func (a *Client) MigrateClusterToExternalCCM(params *MigrateClusterToExternalCCMParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MigrateClusterToExternalCCMOK, error)

MigrateClusterToExternalCCM Enable the migration to the external CCM for the given cluster

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v2.18.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateOIDCKubeconfig(params *CreateOIDCKubeconfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOIDCKubeconfigOK, error)

	GetAddonConfig(params *GetAddonConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAddonConfigOK, error)

	GetAdmissionPlugins(params *GetAdmissionPluginsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAdmissionPluginsOK, error)

	ListAddonConfigs(params *ListAddonConfigsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListAddonConfigsOK, error)

	ListSystemLabels(params *ListSystemLabelsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListSystemLabelsOK, error)

	MigrateClusterToExternalCCM(params *MigrateClusterToExternalCCMParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MigrateClusterToExternalCCMOK, 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 operations API client.

type CreateOIDCKubeconfigDefault

type CreateOIDCKubeconfigDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
CreateOIDCKubeconfigDefault describes a response with status code -1, with default header values.

errorResponse

func NewCreateOIDCKubeconfigDefault

func NewCreateOIDCKubeconfigDefault(code int) *CreateOIDCKubeconfigDefault

NewCreateOIDCKubeconfigDefault creates a CreateOIDCKubeconfigDefault with default headers values

func (*CreateOIDCKubeconfigDefault) Code

func (o *CreateOIDCKubeconfigDefault) Code() int

Code gets the status code for the create o ID c kubeconfig default response

func (*CreateOIDCKubeconfigDefault) Error

func (*CreateOIDCKubeconfigDefault) GetPayload

type CreateOIDCKubeconfigOK

type CreateOIDCKubeconfigOK struct {
	Payload []uint8
}
CreateOIDCKubeconfigOK describes a response with status code 200, with default header values.

Kubeconfig is a clusters kubeconfig

func NewCreateOIDCKubeconfigOK

func NewCreateOIDCKubeconfigOK() *CreateOIDCKubeconfigOK

NewCreateOIDCKubeconfigOK creates a CreateOIDCKubeconfigOK with default headers values

func (*CreateOIDCKubeconfigOK) Error

func (o *CreateOIDCKubeconfigOK) Error() string

func (*CreateOIDCKubeconfigOK) GetPayload

func (o *CreateOIDCKubeconfigOK) GetPayload() []uint8

type CreateOIDCKubeconfigParams

type CreateOIDCKubeconfigParams struct {

	// ClusterID.
	ClusterID *string

	// ProjectID.
	ProjectID *string

	// UserID.
	UserID *string

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

CreateOIDCKubeconfigParams contains all the parameters to send to the API endpoint

for the create o ID c kubeconfig operation.

Typically these are written to a http.Request.

func NewCreateOIDCKubeconfigParams

func NewCreateOIDCKubeconfigParams() *CreateOIDCKubeconfigParams

NewCreateOIDCKubeconfigParams creates a new CreateOIDCKubeconfigParams 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 NewCreateOIDCKubeconfigParamsWithContext

func NewCreateOIDCKubeconfigParamsWithContext(ctx context.Context) *CreateOIDCKubeconfigParams

NewCreateOIDCKubeconfigParamsWithContext creates a new CreateOIDCKubeconfigParams object with the ability to set a context for a request.

func NewCreateOIDCKubeconfigParamsWithHTTPClient

func NewCreateOIDCKubeconfigParamsWithHTTPClient(client *http.Client) *CreateOIDCKubeconfigParams

NewCreateOIDCKubeconfigParamsWithHTTPClient creates a new CreateOIDCKubeconfigParams object with the ability to set a custom HTTPClient for a request.

func NewCreateOIDCKubeconfigParamsWithTimeout

func NewCreateOIDCKubeconfigParamsWithTimeout(timeout time.Duration) *CreateOIDCKubeconfigParams

NewCreateOIDCKubeconfigParamsWithTimeout creates a new CreateOIDCKubeconfigParams object with the ability to set a timeout on a request.

func (*CreateOIDCKubeconfigParams) SetClusterID

func (o *CreateOIDCKubeconfigParams) SetClusterID(clusterID *string)

SetClusterID adds the clusterId to the create o ID c kubeconfig params

func (*CreateOIDCKubeconfigParams) SetContext

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

SetContext adds the context to the create o ID c kubeconfig params

func (*CreateOIDCKubeconfigParams) SetDefaults added in v2.18.0

func (o *CreateOIDCKubeconfigParams) SetDefaults()

SetDefaults hydrates default values in the create o ID c kubeconfig params (not the query body).

All values with no default are reset to their zero value.

func (*CreateOIDCKubeconfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create o ID c kubeconfig params

func (*CreateOIDCKubeconfigParams) SetProjectID

func (o *CreateOIDCKubeconfigParams) SetProjectID(projectID *string)

SetProjectID adds the projectId to the create o ID c kubeconfig params

func (*CreateOIDCKubeconfigParams) SetTimeout

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

SetTimeout adds the timeout to the create o ID c kubeconfig params

func (*CreateOIDCKubeconfigParams) SetUserID

func (o *CreateOIDCKubeconfigParams) SetUserID(userID *string)

SetUserID adds the userId to the create o ID c kubeconfig params

func (*CreateOIDCKubeconfigParams) WithClusterID

func (o *CreateOIDCKubeconfigParams) WithClusterID(clusterID *string) *CreateOIDCKubeconfigParams

WithClusterID adds the clusterID to the create o ID c kubeconfig params

func (*CreateOIDCKubeconfigParams) WithContext

WithContext adds the context to the create o ID c kubeconfig params

func (*CreateOIDCKubeconfigParams) WithDefaults added in v2.18.0

WithDefaults hydrates default values in the create o ID c kubeconfig params (not the query body).

All values with no default are reset to their zero value.

func (*CreateOIDCKubeconfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create o ID c kubeconfig params

func (*CreateOIDCKubeconfigParams) WithProjectID

func (o *CreateOIDCKubeconfigParams) WithProjectID(projectID *string) *CreateOIDCKubeconfigParams

WithProjectID adds the projectID to the create o ID c kubeconfig params

func (*CreateOIDCKubeconfigParams) WithTimeout

WithTimeout adds the timeout to the create o ID c kubeconfig params

func (*CreateOIDCKubeconfigParams) WithUserID

WithUserID adds the userID to the create o ID c kubeconfig params

func (*CreateOIDCKubeconfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateOIDCKubeconfigReader

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

CreateOIDCKubeconfigReader is a Reader for the CreateOIDCKubeconfig structure.

func (*CreateOIDCKubeconfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAddonConfigDefault

type GetAddonConfigDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
GetAddonConfigDefault describes a response with status code -1, with default header values.

errorResponse

func NewGetAddonConfigDefault

func NewGetAddonConfigDefault(code int) *GetAddonConfigDefault

NewGetAddonConfigDefault creates a GetAddonConfigDefault with default headers values

func (*GetAddonConfigDefault) Code

func (o *GetAddonConfigDefault) Code() int

Code gets the status code for the get addon config default response

func (*GetAddonConfigDefault) Error

func (o *GetAddonConfigDefault) Error() string

func (*GetAddonConfigDefault) GetPayload

func (o *GetAddonConfigDefault) GetPayload() *models.ErrorResponse

type GetAddonConfigOK

type GetAddonConfigOK struct {
	Payload *models.AddonConfig
}
GetAddonConfigOK describes a response with status code 200, with default header values.

AddonConfig

func NewGetAddonConfigOK

func NewGetAddonConfigOK() *GetAddonConfigOK

NewGetAddonConfigOK creates a GetAddonConfigOK with default headers values

func (*GetAddonConfigOK) Error

func (o *GetAddonConfigOK) Error() string

func (*GetAddonConfigOK) GetPayload

func (o *GetAddonConfigOK) GetPayload() *models.AddonConfig

type GetAddonConfigParams

type GetAddonConfigParams struct {

	// AddonID.
	AddonID string

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

GetAddonConfigParams contains all the parameters to send to the API endpoint

for the get addon config operation.

Typically these are written to a http.Request.

func NewGetAddonConfigParams

func NewGetAddonConfigParams() *GetAddonConfigParams

NewGetAddonConfigParams creates a new GetAddonConfigParams 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 NewGetAddonConfigParamsWithContext

func NewGetAddonConfigParamsWithContext(ctx context.Context) *GetAddonConfigParams

NewGetAddonConfigParamsWithContext creates a new GetAddonConfigParams object with the ability to set a context for a request.

func NewGetAddonConfigParamsWithHTTPClient

func NewGetAddonConfigParamsWithHTTPClient(client *http.Client) *GetAddonConfigParams

NewGetAddonConfigParamsWithHTTPClient creates a new GetAddonConfigParams object with the ability to set a custom HTTPClient for a request.

func NewGetAddonConfigParamsWithTimeout

func NewGetAddonConfigParamsWithTimeout(timeout time.Duration) *GetAddonConfigParams

NewGetAddonConfigParamsWithTimeout creates a new GetAddonConfigParams object with the ability to set a timeout on a request.

func (*GetAddonConfigParams) SetAddonID

func (o *GetAddonConfigParams) SetAddonID(addonID string)

SetAddonID adds the addonId to the get addon config params

func (*GetAddonConfigParams) SetContext

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

SetContext adds the context to the get addon config params

func (*GetAddonConfigParams) SetDefaults added in v2.18.0

func (o *GetAddonConfigParams) SetDefaults()

SetDefaults hydrates default values in the get addon config params (not the query body).

All values with no default are reset to their zero value.

func (*GetAddonConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get addon config params

func (*GetAddonConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get addon config params

func (*GetAddonConfigParams) WithAddonID

func (o *GetAddonConfigParams) WithAddonID(addonID string) *GetAddonConfigParams

WithAddonID adds the addonID to the get addon config params

func (*GetAddonConfigParams) WithContext

WithContext adds the context to the get addon config params

func (*GetAddonConfigParams) WithDefaults added in v2.18.0

func (o *GetAddonConfigParams) WithDefaults() *GetAddonConfigParams

WithDefaults hydrates default values in the get addon config params (not the query body).

All values with no default are reset to their zero value.

func (*GetAddonConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get addon config params

func (*GetAddonConfigParams) WithTimeout

func (o *GetAddonConfigParams) WithTimeout(timeout time.Duration) *GetAddonConfigParams

WithTimeout adds the timeout to the get addon config params

func (*GetAddonConfigParams) WriteToRequest

func (o *GetAddonConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAddonConfigReader

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

GetAddonConfigReader is a Reader for the GetAddonConfig structure.

func (*GetAddonConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAddonConfigUnauthorized

type GetAddonConfigUnauthorized struct {
}
GetAddonConfigUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewGetAddonConfigUnauthorized

func NewGetAddonConfigUnauthorized() *GetAddonConfigUnauthorized

NewGetAddonConfigUnauthorized creates a GetAddonConfigUnauthorized with default headers values

func (*GetAddonConfigUnauthorized) Error

type GetAdmissionPluginsDefault

type GetAdmissionPluginsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
GetAdmissionPluginsDefault describes a response with status code -1, with default header values.

errorResponse

func NewGetAdmissionPluginsDefault

func NewGetAdmissionPluginsDefault(code int) *GetAdmissionPluginsDefault

NewGetAdmissionPluginsDefault creates a GetAdmissionPluginsDefault with default headers values

func (*GetAdmissionPluginsDefault) Code

func (o *GetAdmissionPluginsDefault) Code() int

Code gets the status code for the get admission plugins default response

func (*GetAdmissionPluginsDefault) Error

func (*GetAdmissionPluginsDefault) GetPayload

type GetAdmissionPluginsOK

type GetAdmissionPluginsOK struct {
	Payload models.AdmissionPluginList
}
GetAdmissionPluginsOK describes a response with status code 200, with default header values.

AdmissionPluginList

func NewGetAdmissionPluginsOK

func NewGetAdmissionPluginsOK() *GetAdmissionPluginsOK

NewGetAdmissionPluginsOK creates a GetAdmissionPluginsOK with default headers values

func (*GetAdmissionPluginsOK) Error

func (o *GetAdmissionPluginsOK) Error() string

func (*GetAdmissionPluginsOK) GetPayload

type GetAdmissionPluginsParams

type GetAdmissionPluginsParams struct {

	// Version.
	Version string

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

GetAdmissionPluginsParams contains all the parameters to send to the API endpoint

for the get admission plugins operation.

Typically these are written to a http.Request.

func NewGetAdmissionPluginsParams

func NewGetAdmissionPluginsParams() *GetAdmissionPluginsParams

NewGetAdmissionPluginsParams creates a new GetAdmissionPluginsParams 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 NewGetAdmissionPluginsParamsWithContext

func NewGetAdmissionPluginsParamsWithContext(ctx context.Context) *GetAdmissionPluginsParams

NewGetAdmissionPluginsParamsWithContext creates a new GetAdmissionPluginsParams object with the ability to set a context for a request.

func NewGetAdmissionPluginsParamsWithHTTPClient

func NewGetAdmissionPluginsParamsWithHTTPClient(client *http.Client) *GetAdmissionPluginsParams

NewGetAdmissionPluginsParamsWithHTTPClient creates a new GetAdmissionPluginsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAdmissionPluginsParamsWithTimeout

func NewGetAdmissionPluginsParamsWithTimeout(timeout time.Duration) *GetAdmissionPluginsParams

NewGetAdmissionPluginsParamsWithTimeout creates a new GetAdmissionPluginsParams object with the ability to set a timeout on a request.

func (*GetAdmissionPluginsParams) SetContext

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

SetContext adds the context to the get admission plugins params

func (*GetAdmissionPluginsParams) SetDefaults added in v2.18.0

func (o *GetAdmissionPluginsParams) SetDefaults()

SetDefaults hydrates default values in the get admission plugins params (not the query body).

All values with no default are reset to their zero value.

func (*GetAdmissionPluginsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get admission plugins params

func (*GetAdmissionPluginsParams) SetTimeout

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

SetTimeout adds the timeout to the get admission plugins params

func (*GetAdmissionPluginsParams) SetVersion

func (o *GetAdmissionPluginsParams) SetVersion(version string)

SetVersion adds the version to the get admission plugins params

func (*GetAdmissionPluginsParams) WithContext

WithContext adds the context to the get admission plugins params

func (*GetAdmissionPluginsParams) WithDefaults added in v2.18.0

WithDefaults hydrates default values in the get admission plugins params (not the query body).

All values with no default are reset to their zero value.

func (*GetAdmissionPluginsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get admission plugins params

func (*GetAdmissionPluginsParams) WithTimeout

WithTimeout adds the timeout to the get admission plugins params

func (*GetAdmissionPluginsParams) WithVersion

WithVersion adds the version to the get admission plugins params

func (*GetAdmissionPluginsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAdmissionPluginsReader

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

GetAdmissionPluginsReader is a Reader for the GetAdmissionPlugins structure.

func (*GetAdmissionPluginsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAdmissionPluginsUnauthorized

type GetAdmissionPluginsUnauthorized struct {
}
GetAdmissionPluginsUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewGetAdmissionPluginsUnauthorized

func NewGetAdmissionPluginsUnauthorized() *GetAdmissionPluginsUnauthorized

NewGetAdmissionPluginsUnauthorized creates a GetAdmissionPluginsUnauthorized with default headers values

func (*GetAdmissionPluginsUnauthorized) Error

type ListAddonConfigsDefault

type ListAddonConfigsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListAddonConfigsDefault describes a response with status code -1, with default header values.

errorResponse

func NewListAddonConfigsDefault

func NewListAddonConfigsDefault(code int) *ListAddonConfigsDefault

NewListAddonConfigsDefault creates a ListAddonConfigsDefault with default headers values

func (*ListAddonConfigsDefault) Code

func (o *ListAddonConfigsDefault) Code() int

Code gets the status code for the list addon configs default response

func (*ListAddonConfigsDefault) Error

func (o *ListAddonConfigsDefault) Error() string

func (*ListAddonConfigsDefault) GetPayload

func (o *ListAddonConfigsDefault) GetPayload() *models.ErrorResponse

type ListAddonConfigsOK

type ListAddonConfigsOK struct {
	Payload []*models.AddonConfig
}
ListAddonConfigsOK describes a response with status code 200, with default header values.

AddonConfig

func NewListAddonConfigsOK

func NewListAddonConfigsOK() *ListAddonConfigsOK

NewListAddonConfigsOK creates a ListAddonConfigsOK with default headers values

func (*ListAddonConfigsOK) Error

func (o *ListAddonConfigsOK) Error() string

func (*ListAddonConfigsOK) GetPayload

func (o *ListAddonConfigsOK) GetPayload() []*models.AddonConfig

type ListAddonConfigsParams

type ListAddonConfigsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListAddonConfigsParams contains all the parameters to send to the API endpoint

for the list addon configs operation.

Typically these are written to a http.Request.

func NewListAddonConfigsParams

func NewListAddonConfigsParams() *ListAddonConfigsParams

NewListAddonConfigsParams creates a new ListAddonConfigsParams 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 NewListAddonConfigsParamsWithContext

func NewListAddonConfigsParamsWithContext(ctx context.Context) *ListAddonConfigsParams

NewListAddonConfigsParamsWithContext creates a new ListAddonConfigsParams object with the ability to set a context for a request.

func NewListAddonConfigsParamsWithHTTPClient

func NewListAddonConfigsParamsWithHTTPClient(client *http.Client) *ListAddonConfigsParams

NewListAddonConfigsParamsWithHTTPClient creates a new ListAddonConfigsParams object with the ability to set a custom HTTPClient for a request.

func NewListAddonConfigsParamsWithTimeout

func NewListAddonConfigsParamsWithTimeout(timeout time.Duration) *ListAddonConfigsParams

NewListAddonConfigsParamsWithTimeout creates a new ListAddonConfigsParams object with the ability to set a timeout on a request.

func (*ListAddonConfigsParams) SetContext

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

SetContext adds the context to the list addon configs params

func (*ListAddonConfigsParams) SetDefaults added in v2.18.0

func (o *ListAddonConfigsParams) SetDefaults()

SetDefaults hydrates default values in the list addon configs params (not the query body).

All values with no default are reset to their zero value.

func (*ListAddonConfigsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list addon configs params

func (*ListAddonConfigsParams) SetTimeout

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

SetTimeout adds the timeout to the list addon configs params

func (*ListAddonConfigsParams) WithContext

WithContext adds the context to the list addon configs params

func (*ListAddonConfigsParams) WithDefaults added in v2.18.0

WithDefaults hydrates default values in the list addon configs params (not the query body).

All values with no default are reset to their zero value.

func (*ListAddonConfigsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list addon configs params

func (*ListAddonConfigsParams) WithTimeout

WithTimeout adds the timeout to the list addon configs params

func (*ListAddonConfigsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAddonConfigsReader

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

ListAddonConfigsReader is a Reader for the ListAddonConfigs structure.

func (*ListAddonConfigsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAddonConfigsUnauthorized

type ListAddonConfigsUnauthorized struct {
}
ListAddonConfigsUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListAddonConfigsUnauthorized

func NewListAddonConfigsUnauthorized() *ListAddonConfigsUnauthorized

NewListAddonConfigsUnauthorized creates a ListAddonConfigsUnauthorized with default headers values

func (*ListAddonConfigsUnauthorized) Error

type ListSystemLabelsDefault

type ListSystemLabelsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListSystemLabelsDefault describes a response with status code -1, with default header values.

errorResponse

func NewListSystemLabelsDefault

func NewListSystemLabelsDefault(code int) *ListSystemLabelsDefault

NewListSystemLabelsDefault creates a ListSystemLabelsDefault with default headers values

func (*ListSystemLabelsDefault) Code

func (o *ListSystemLabelsDefault) Code() int

Code gets the status code for the list system labels default response

func (*ListSystemLabelsDefault) Error

func (o *ListSystemLabelsDefault) Error() string

func (*ListSystemLabelsDefault) GetPayload

func (o *ListSystemLabelsDefault) GetPayload() *models.ErrorResponse

type ListSystemLabelsForbidden

type ListSystemLabelsForbidden struct {
}
ListSystemLabelsForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListSystemLabelsForbidden

func NewListSystemLabelsForbidden() *ListSystemLabelsForbidden

NewListSystemLabelsForbidden creates a ListSystemLabelsForbidden with default headers values

func (*ListSystemLabelsForbidden) Error

func (o *ListSystemLabelsForbidden) Error() string

type ListSystemLabelsOK

type ListSystemLabelsOK struct {
	Payload models.ResourceLabelMap
}
ListSystemLabelsOK describes a response with status code 200, with default header values.

ResourceLabelMap

func NewListSystemLabelsOK

func NewListSystemLabelsOK() *ListSystemLabelsOK

NewListSystemLabelsOK creates a ListSystemLabelsOK with default headers values

func (*ListSystemLabelsOK) Error

func (o *ListSystemLabelsOK) Error() string

func (*ListSystemLabelsOK) GetPayload

func (o *ListSystemLabelsOK) GetPayload() models.ResourceLabelMap

type ListSystemLabelsParams

type ListSystemLabelsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListSystemLabelsParams contains all the parameters to send to the API endpoint

for the list system labels operation.

Typically these are written to a http.Request.

func NewListSystemLabelsParams

func NewListSystemLabelsParams() *ListSystemLabelsParams

NewListSystemLabelsParams creates a new ListSystemLabelsParams 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 NewListSystemLabelsParamsWithContext

func NewListSystemLabelsParamsWithContext(ctx context.Context) *ListSystemLabelsParams

NewListSystemLabelsParamsWithContext creates a new ListSystemLabelsParams object with the ability to set a context for a request.

func NewListSystemLabelsParamsWithHTTPClient

func NewListSystemLabelsParamsWithHTTPClient(client *http.Client) *ListSystemLabelsParams

NewListSystemLabelsParamsWithHTTPClient creates a new ListSystemLabelsParams object with the ability to set a custom HTTPClient for a request.

func NewListSystemLabelsParamsWithTimeout

func NewListSystemLabelsParamsWithTimeout(timeout time.Duration) *ListSystemLabelsParams

NewListSystemLabelsParamsWithTimeout creates a new ListSystemLabelsParams object with the ability to set a timeout on a request.

func (*ListSystemLabelsParams) SetContext

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

SetContext adds the context to the list system labels params

func (*ListSystemLabelsParams) SetDefaults added in v2.18.0

func (o *ListSystemLabelsParams) SetDefaults()

SetDefaults hydrates default values in the list system labels params (not the query body).

All values with no default are reset to their zero value.

func (*ListSystemLabelsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list system labels params

func (*ListSystemLabelsParams) SetTimeout

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

SetTimeout adds the timeout to the list system labels params

func (*ListSystemLabelsParams) WithContext

WithContext adds the context to the list system labels params

func (*ListSystemLabelsParams) WithDefaults added in v2.18.0

WithDefaults hydrates default values in the list system labels params (not the query body).

All values with no default are reset to their zero value.

func (*ListSystemLabelsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list system labels params

func (*ListSystemLabelsParams) WithTimeout

WithTimeout adds the timeout to the list system labels params

func (*ListSystemLabelsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListSystemLabelsReader

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

ListSystemLabelsReader is a Reader for the ListSystemLabels structure.

func (*ListSystemLabelsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListSystemLabelsUnauthorized

type ListSystemLabelsUnauthorized struct {
}
ListSystemLabelsUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListSystemLabelsUnauthorized

func NewListSystemLabelsUnauthorized() *ListSystemLabelsUnauthorized

NewListSystemLabelsUnauthorized creates a ListSystemLabelsUnauthorized with default headers values

func (*ListSystemLabelsUnauthorized) Error

type MigrateClusterToExternalCCMDefault added in v2.18.0

type MigrateClusterToExternalCCMDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
MigrateClusterToExternalCCMDefault describes a response with status code -1, with default header values.

errorResponse

func NewMigrateClusterToExternalCCMDefault added in v2.18.0

func NewMigrateClusterToExternalCCMDefault(code int) *MigrateClusterToExternalCCMDefault

NewMigrateClusterToExternalCCMDefault creates a MigrateClusterToExternalCCMDefault with default headers values

func (*MigrateClusterToExternalCCMDefault) Code added in v2.18.0

Code gets the status code for the migrate cluster to external c c m default response

func (*MigrateClusterToExternalCCMDefault) Error added in v2.18.0

func (*MigrateClusterToExternalCCMDefault) GetPayload added in v2.18.0

type MigrateClusterToExternalCCMForbidden added in v2.18.0

type MigrateClusterToExternalCCMForbidden struct {
}
MigrateClusterToExternalCCMForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewMigrateClusterToExternalCCMForbidden added in v2.18.0

func NewMigrateClusterToExternalCCMForbidden() *MigrateClusterToExternalCCMForbidden

NewMigrateClusterToExternalCCMForbidden creates a MigrateClusterToExternalCCMForbidden with default headers values

func (*MigrateClusterToExternalCCMForbidden) Error added in v2.18.0

type MigrateClusterToExternalCCMOK added in v2.18.0

type MigrateClusterToExternalCCMOK struct {
}
MigrateClusterToExternalCCMOK describes a response with status code 200, with default header values.

EmptyResponse is a empty response

func NewMigrateClusterToExternalCCMOK added in v2.18.0

func NewMigrateClusterToExternalCCMOK() *MigrateClusterToExternalCCMOK

NewMigrateClusterToExternalCCMOK creates a MigrateClusterToExternalCCMOK with default headers values

func (*MigrateClusterToExternalCCMOK) Error added in v2.18.0

type MigrateClusterToExternalCCMParams added in v2.18.0

type MigrateClusterToExternalCCMParams struct {

	// ClusterID.
	ClusterID string

	// ProjectID.
	ProjectID string

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

MigrateClusterToExternalCCMParams contains all the parameters to send to the API endpoint

for the migrate cluster to external c c m operation.

Typically these are written to a http.Request.

func NewMigrateClusterToExternalCCMParams added in v2.18.0

func NewMigrateClusterToExternalCCMParams() *MigrateClusterToExternalCCMParams

NewMigrateClusterToExternalCCMParams creates a new MigrateClusterToExternalCCMParams 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 NewMigrateClusterToExternalCCMParamsWithContext added in v2.18.0

func NewMigrateClusterToExternalCCMParamsWithContext(ctx context.Context) *MigrateClusterToExternalCCMParams

NewMigrateClusterToExternalCCMParamsWithContext creates a new MigrateClusterToExternalCCMParams object with the ability to set a context for a request.

func NewMigrateClusterToExternalCCMParamsWithHTTPClient added in v2.18.0

func NewMigrateClusterToExternalCCMParamsWithHTTPClient(client *http.Client) *MigrateClusterToExternalCCMParams

NewMigrateClusterToExternalCCMParamsWithHTTPClient creates a new MigrateClusterToExternalCCMParams object with the ability to set a custom HTTPClient for a request.

func NewMigrateClusterToExternalCCMParamsWithTimeout added in v2.18.0

func NewMigrateClusterToExternalCCMParamsWithTimeout(timeout time.Duration) *MigrateClusterToExternalCCMParams

NewMigrateClusterToExternalCCMParamsWithTimeout creates a new MigrateClusterToExternalCCMParams object with the ability to set a timeout on a request.

func (*MigrateClusterToExternalCCMParams) SetClusterID added in v2.18.0

func (o *MigrateClusterToExternalCCMParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the migrate cluster to external c c m params

func (*MigrateClusterToExternalCCMParams) SetContext added in v2.18.0

SetContext adds the context to the migrate cluster to external c c m params

func (*MigrateClusterToExternalCCMParams) SetDefaults added in v2.18.0

func (o *MigrateClusterToExternalCCMParams) SetDefaults()

SetDefaults hydrates default values in the migrate cluster to external c c m params (not the query body).

All values with no default are reset to their zero value.

func (*MigrateClusterToExternalCCMParams) SetHTTPClient added in v2.18.0

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

SetHTTPClient adds the HTTPClient to the migrate cluster to external c c m params

func (*MigrateClusterToExternalCCMParams) SetProjectID added in v2.18.0

func (o *MigrateClusterToExternalCCMParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the migrate cluster to external c c m params

func (*MigrateClusterToExternalCCMParams) SetTimeout added in v2.18.0

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

SetTimeout adds the timeout to the migrate cluster to external c c m params

func (*MigrateClusterToExternalCCMParams) WithClusterID added in v2.18.0

WithClusterID adds the clusterID to the migrate cluster to external c c m params

func (*MigrateClusterToExternalCCMParams) WithContext added in v2.18.0

WithContext adds the context to the migrate cluster to external c c m params

func (*MigrateClusterToExternalCCMParams) WithDefaults added in v2.18.0

WithDefaults hydrates default values in the migrate cluster to external c c m params (not the query body).

All values with no default are reset to their zero value.

func (*MigrateClusterToExternalCCMParams) WithHTTPClient added in v2.18.0

WithHTTPClient adds the HTTPClient to the migrate cluster to external c c m params

func (*MigrateClusterToExternalCCMParams) WithProjectID added in v2.18.0

WithProjectID adds the projectID to the migrate cluster to external c c m params

func (*MigrateClusterToExternalCCMParams) WithTimeout added in v2.18.0

WithTimeout adds the timeout to the migrate cluster to external c c m params

func (*MigrateClusterToExternalCCMParams) WriteToRequest added in v2.18.0

WriteToRequest writes these params to a swagger request

type MigrateClusterToExternalCCMReader added in v2.18.0

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

MigrateClusterToExternalCCMReader is a Reader for the MigrateClusterToExternalCCM structure.

func (*MigrateClusterToExternalCCMReader) ReadResponse added in v2.18.0

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

ReadResponse reads a server response into the received o.

type MigrateClusterToExternalCCMUnauthorized added in v2.18.0

type MigrateClusterToExternalCCMUnauthorized struct {
}
MigrateClusterToExternalCCMUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewMigrateClusterToExternalCCMUnauthorized added in v2.18.0

func NewMigrateClusterToExternalCCMUnauthorized() *MigrateClusterToExternalCCMUnauthorized

NewMigrateClusterToExternalCCMUnauthorized creates a MigrateClusterToExternalCCMUnauthorized with default headers values

func (*MigrateClusterToExternalCCMUnauthorized) Error added in v2.18.0

Jump to

Keyboard shortcuts

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