Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateOIDCKubeconfig(params *CreateOIDCKubeconfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateOIDCKubeconfigOK, error)
- func (a *Client) GetAddonConfig(params *GetAddonConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAddonConfigOK, error)
- func (a *Client) GetAdmissionPlugins(params *GetAdmissionPluginsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAdmissionPluginsOK, error)
- func (a *Client) ListAddonConfigs(params *ListAddonConfigsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListAddonConfigsOK, error)
- func (a *Client) ListSystemLabels(params *ListSystemLabelsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListSystemLabelsOK, error)
- func (a *Client) MigrateClusterToExternalCCM(params *MigrateClusterToExternalCCMParams, ...) (*MigrateClusterToExternalCCMOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateOIDCKubeconfigDefault
- type CreateOIDCKubeconfigOK
- type CreateOIDCKubeconfigParams
- func NewCreateOIDCKubeconfigParams() *CreateOIDCKubeconfigParams
- func NewCreateOIDCKubeconfigParamsWithContext(ctx context.Context) *CreateOIDCKubeconfigParams
- func NewCreateOIDCKubeconfigParamsWithHTTPClient(client *http.Client) *CreateOIDCKubeconfigParams
- func NewCreateOIDCKubeconfigParamsWithTimeout(timeout time.Duration) *CreateOIDCKubeconfigParams
- func (o *CreateOIDCKubeconfigParams) SetClusterID(clusterID *string)
- func (o *CreateOIDCKubeconfigParams) SetContext(ctx context.Context)
- func (o *CreateOIDCKubeconfigParams) SetDefaults()
- func (o *CreateOIDCKubeconfigParams) SetHTTPClient(client *http.Client)
- func (o *CreateOIDCKubeconfigParams) SetProjectID(projectID *string)
- func (o *CreateOIDCKubeconfigParams) SetTimeout(timeout time.Duration)
- func (o *CreateOIDCKubeconfigParams) SetUserID(userID *string)
- func (o *CreateOIDCKubeconfigParams) WithClusterID(clusterID *string) *CreateOIDCKubeconfigParams
- func (o *CreateOIDCKubeconfigParams) WithContext(ctx context.Context) *CreateOIDCKubeconfigParams
- func (o *CreateOIDCKubeconfigParams) WithDefaults() *CreateOIDCKubeconfigParams
- func (o *CreateOIDCKubeconfigParams) WithHTTPClient(client *http.Client) *CreateOIDCKubeconfigParams
- func (o *CreateOIDCKubeconfigParams) WithProjectID(projectID *string) *CreateOIDCKubeconfigParams
- func (o *CreateOIDCKubeconfigParams) WithTimeout(timeout time.Duration) *CreateOIDCKubeconfigParams
- func (o *CreateOIDCKubeconfigParams) WithUserID(userID *string) *CreateOIDCKubeconfigParams
- func (o *CreateOIDCKubeconfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOIDCKubeconfigReader
- type GetAddonConfigDefault
- type GetAddonConfigOK
- type GetAddonConfigParams
- func NewGetAddonConfigParams() *GetAddonConfigParams
- func NewGetAddonConfigParamsWithContext(ctx context.Context) *GetAddonConfigParams
- func NewGetAddonConfigParamsWithHTTPClient(client *http.Client) *GetAddonConfigParams
- func NewGetAddonConfigParamsWithTimeout(timeout time.Duration) *GetAddonConfigParams
- func (o *GetAddonConfigParams) SetAddonID(addonID string)
- func (o *GetAddonConfigParams) SetContext(ctx context.Context)
- func (o *GetAddonConfigParams) SetDefaults()
- func (o *GetAddonConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetAddonConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetAddonConfigParams) WithAddonID(addonID string) *GetAddonConfigParams
- func (o *GetAddonConfigParams) WithContext(ctx context.Context) *GetAddonConfigParams
- func (o *GetAddonConfigParams) WithDefaults() *GetAddonConfigParams
- func (o *GetAddonConfigParams) WithHTTPClient(client *http.Client) *GetAddonConfigParams
- func (o *GetAddonConfigParams) WithTimeout(timeout time.Duration) *GetAddonConfigParams
- func (o *GetAddonConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAddonConfigReader
- type GetAddonConfigUnauthorized
- type GetAdmissionPluginsDefault
- type GetAdmissionPluginsOK
- type GetAdmissionPluginsParams
- func NewGetAdmissionPluginsParams() *GetAdmissionPluginsParams
- func NewGetAdmissionPluginsParamsWithContext(ctx context.Context) *GetAdmissionPluginsParams
- func NewGetAdmissionPluginsParamsWithHTTPClient(client *http.Client) *GetAdmissionPluginsParams
- func NewGetAdmissionPluginsParamsWithTimeout(timeout time.Duration) *GetAdmissionPluginsParams
- func (o *GetAdmissionPluginsParams) SetContext(ctx context.Context)
- func (o *GetAdmissionPluginsParams) SetDefaults()
- func (o *GetAdmissionPluginsParams) SetHTTPClient(client *http.Client)
- func (o *GetAdmissionPluginsParams) SetTimeout(timeout time.Duration)
- func (o *GetAdmissionPluginsParams) SetVersion(version string)
- func (o *GetAdmissionPluginsParams) WithContext(ctx context.Context) *GetAdmissionPluginsParams
- func (o *GetAdmissionPluginsParams) WithDefaults() *GetAdmissionPluginsParams
- func (o *GetAdmissionPluginsParams) WithHTTPClient(client *http.Client) *GetAdmissionPluginsParams
- func (o *GetAdmissionPluginsParams) WithTimeout(timeout time.Duration) *GetAdmissionPluginsParams
- func (o *GetAdmissionPluginsParams) WithVersion(version string) *GetAdmissionPluginsParams
- func (o *GetAdmissionPluginsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAdmissionPluginsReader
- type GetAdmissionPluginsUnauthorized
- type ListAddonConfigsDefault
- type ListAddonConfigsOK
- type ListAddonConfigsParams
- func NewListAddonConfigsParams() *ListAddonConfigsParams
- func NewListAddonConfigsParamsWithContext(ctx context.Context) *ListAddonConfigsParams
- func NewListAddonConfigsParamsWithHTTPClient(client *http.Client) *ListAddonConfigsParams
- func NewListAddonConfigsParamsWithTimeout(timeout time.Duration) *ListAddonConfigsParams
- func (o *ListAddonConfigsParams) SetContext(ctx context.Context)
- func (o *ListAddonConfigsParams) SetDefaults()
- func (o *ListAddonConfigsParams) SetHTTPClient(client *http.Client)
- func (o *ListAddonConfigsParams) SetTimeout(timeout time.Duration)
- func (o *ListAddonConfigsParams) WithContext(ctx context.Context) *ListAddonConfigsParams
- func (o *ListAddonConfigsParams) WithDefaults() *ListAddonConfigsParams
- func (o *ListAddonConfigsParams) WithHTTPClient(client *http.Client) *ListAddonConfigsParams
- func (o *ListAddonConfigsParams) WithTimeout(timeout time.Duration) *ListAddonConfigsParams
- func (o *ListAddonConfigsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAddonConfigsReader
- type ListAddonConfigsUnauthorized
- type ListSystemLabelsDefault
- type ListSystemLabelsForbidden
- type ListSystemLabelsOK
- type ListSystemLabelsParams
- func NewListSystemLabelsParams() *ListSystemLabelsParams
- func NewListSystemLabelsParamsWithContext(ctx context.Context) *ListSystemLabelsParams
- func NewListSystemLabelsParamsWithHTTPClient(client *http.Client) *ListSystemLabelsParams
- func NewListSystemLabelsParamsWithTimeout(timeout time.Duration) *ListSystemLabelsParams
- func (o *ListSystemLabelsParams) SetContext(ctx context.Context)
- func (o *ListSystemLabelsParams) SetDefaults()
- func (o *ListSystemLabelsParams) SetHTTPClient(client *http.Client)
- func (o *ListSystemLabelsParams) SetTimeout(timeout time.Duration)
- func (o *ListSystemLabelsParams) WithContext(ctx context.Context) *ListSystemLabelsParams
- func (o *ListSystemLabelsParams) WithDefaults() *ListSystemLabelsParams
- func (o *ListSystemLabelsParams) WithHTTPClient(client *http.Client) *ListSystemLabelsParams
- func (o *ListSystemLabelsParams) WithTimeout(timeout time.Duration) *ListSystemLabelsParams
- func (o *ListSystemLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSystemLabelsReader
- type ListSystemLabelsUnauthorized
- type MigrateClusterToExternalCCMDefault
- type MigrateClusterToExternalCCMForbidden
- type MigrateClusterToExternalCCMOK
- type MigrateClusterToExternalCCMParams
- func NewMigrateClusterToExternalCCMParams() *MigrateClusterToExternalCCMParams
- func NewMigrateClusterToExternalCCMParamsWithContext(ctx context.Context) *MigrateClusterToExternalCCMParams
- func NewMigrateClusterToExternalCCMParamsWithHTTPClient(client *http.Client) *MigrateClusterToExternalCCMParams
- func NewMigrateClusterToExternalCCMParamsWithTimeout(timeout time.Duration) *MigrateClusterToExternalCCMParams
- func (o *MigrateClusterToExternalCCMParams) SetClusterID(clusterID string)
- func (o *MigrateClusterToExternalCCMParams) SetContext(ctx context.Context)
- func (o *MigrateClusterToExternalCCMParams) SetDefaults()
- func (o *MigrateClusterToExternalCCMParams) SetHTTPClient(client *http.Client)
- func (o *MigrateClusterToExternalCCMParams) SetProjectID(projectID string)
- func (o *MigrateClusterToExternalCCMParams) SetTimeout(timeout time.Duration)
- func (o *MigrateClusterToExternalCCMParams) WithClusterID(clusterID string) *MigrateClusterToExternalCCMParams
- func (o *MigrateClusterToExternalCCMParams) WithContext(ctx context.Context) *MigrateClusterToExternalCCMParams
- func (o *MigrateClusterToExternalCCMParams) WithDefaults() *MigrateClusterToExternalCCMParams
- func (o *MigrateClusterToExternalCCMParams) WithHTTPClient(client *http.Client) *MigrateClusterToExternalCCMParams
- func (o *MigrateClusterToExternalCCMParams) WithProjectID(projectID string) *MigrateClusterToExternalCCMParams
- func (o *MigrateClusterToExternalCCMParams) WithTimeout(timeout time.Duration) *MigrateClusterToExternalCCMParams
- func (o *MigrateClusterToExternalCCMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MigrateClusterToExternalCCMReader
- type MigrateClusterToExternalCCMUnauthorized
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 (o *CreateOIDCKubeconfigDefault) Error() string
func (*CreateOIDCKubeconfigDefault) GetPayload ¶
func (o *CreateOIDCKubeconfigDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *CreateOIDCKubeconfigParams) WithContext(ctx context.Context) *CreateOIDCKubeconfigParams
WithContext adds the context to the create o ID c kubeconfig params
func (*CreateOIDCKubeconfigParams) WithDefaults ¶ added in v2.18.0
func (o *CreateOIDCKubeconfigParams) WithDefaults() *CreateOIDCKubeconfigParams
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 ¶
func (o *CreateOIDCKubeconfigParams) WithHTTPClient(client *http.Client) *CreateOIDCKubeconfigParams
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 ¶
func (o *CreateOIDCKubeconfigParams) WithTimeout(timeout time.Duration) *CreateOIDCKubeconfigParams
WithTimeout adds the timeout to the create o ID c kubeconfig params
func (*CreateOIDCKubeconfigParams) WithUserID ¶
func (o *CreateOIDCKubeconfigParams) WithUserID(userID *string) *CreateOIDCKubeconfigParams
WithUserID adds the userID to the create o ID c kubeconfig params
func (*CreateOIDCKubeconfigParams) WriteToRequest ¶
func (o *CreateOIDCKubeconfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAddonConfigParams) WithContext(ctx context.Context) *GetAddonConfigParams
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 ¶
func (o *GetAddonConfigUnauthorized) Error() string
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 (o *GetAdmissionPluginsDefault) Error() string
func (*GetAdmissionPluginsDefault) GetPayload ¶
func (o *GetAdmissionPluginsDefault) GetPayload() *models.ErrorResponse
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 ¶
func (o *GetAdmissionPluginsOK) GetPayload() models.AdmissionPluginList
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 ¶
func (o *GetAdmissionPluginsParams) WithContext(ctx context.Context) *GetAdmissionPluginsParams
WithContext adds the context to the get admission plugins params
func (*GetAdmissionPluginsParams) WithDefaults ¶ added in v2.18.0
func (o *GetAdmissionPluginsParams) WithDefaults() *GetAdmissionPluginsParams
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 ¶
func (o *GetAdmissionPluginsParams) WithTimeout(timeout time.Duration) *GetAdmissionPluginsParams
WithTimeout adds the timeout to the get admission plugins params
func (*GetAdmissionPluginsParams) WithVersion ¶
func (o *GetAdmissionPluginsParams) WithVersion(version string) *GetAdmissionPluginsParams
WithVersion adds the version to the get admission plugins params
func (*GetAdmissionPluginsParams) WriteToRequest ¶
func (o *GetAdmissionPluginsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetAdmissionPluginsUnauthorized) Error() string
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 ¶
func (o *ListAddonConfigsParams) WithContext(ctx context.Context) *ListAddonConfigsParams
WithContext adds the context to the list addon configs params
func (*ListAddonConfigsParams) WithDefaults ¶ added in v2.18.0
func (o *ListAddonConfigsParams) WithDefaults() *ListAddonConfigsParams
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 ¶
func (o *ListAddonConfigsParams) WithTimeout(timeout time.Duration) *ListAddonConfigsParams
WithTimeout adds the timeout to the list addon configs params
func (*ListAddonConfigsParams) WriteToRequest ¶
func (o *ListAddonConfigsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListAddonConfigsUnauthorized) Error() string
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 ¶
func (o *ListSystemLabelsParams) WithContext(ctx context.Context) *ListSystemLabelsParams
WithContext adds the context to the list system labels params
func (*ListSystemLabelsParams) WithDefaults ¶ added in v2.18.0
func (o *ListSystemLabelsParams) WithDefaults() *ListSystemLabelsParams
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 ¶
func (o *ListSystemLabelsParams) WithTimeout(timeout time.Duration) *ListSystemLabelsParams
WithTimeout adds the timeout to the list system labels params
func (*ListSystemLabelsParams) WriteToRequest ¶
func (o *ListSystemLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListSystemLabelsUnauthorized) Error() string
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
func (o *MigrateClusterToExternalCCMDefault) Code() int
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 (o *MigrateClusterToExternalCCMDefault) Error() string
func (*MigrateClusterToExternalCCMDefault) GetPayload ¶ added in v2.18.0
func (o *MigrateClusterToExternalCCMDefault) GetPayload() *models.ErrorResponse
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
func (o *MigrateClusterToExternalCCMForbidden) Error() string
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
func (o *MigrateClusterToExternalCCMOK) Error() string
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
func (o *MigrateClusterToExternalCCMParams) SetContext(ctx context.Context)
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
func (o *MigrateClusterToExternalCCMParams) WithClusterID(clusterID string) *MigrateClusterToExternalCCMParams
WithClusterID adds the clusterID to the migrate cluster to external c c m params
func (*MigrateClusterToExternalCCMParams) WithContext ¶ added in v2.18.0
func (o *MigrateClusterToExternalCCMParams) WithContext(ctx context.Context) *MigrateClusterToExternalCCMParams
WithContext adds the context to the migrate cluster to external c c m params
func (*MigrateClusterToExternalCCMParams) WithDefaults ¶ added in v2.18.0
func (o *MigrateClusterToExternalCCMParams) WithDefaults() *MigrateClusterToExternalCCMParams
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
func (o *MigrateClusterToExternalCCMParams) WithHTTPClient(client *http.Client) *MigrateClusterToExternalCCMParams
WithHTTPClient adds the HTTPClient to the migrate cluster to external c c m params
func (*MigrateClusterToExternalCCMParams) WithProjectID ¶ added in v2.18.0
func (o *MigrateClusterToExternalCCMParams) WithProjectID(projectID string) *MigrateClusterToExternalCCMParams
WithProjectID adds the projectID to the migrate cluster to external c c m params
func (*MigrateClusterToExternalCCMParams) WithTimeout ¶ added in v2.18.0
func (o *MigrateClusterToExternalCCMParams) WithTimeout(timeout time.Duration) *MigrateClusterToExternalCCMParams
WithTimeout adds the timeout to the migrate cluster to external c c m params
func (*MigrateClusterToExternalCCMParams) WriteToRequest ¶ added in v2.18.0
func (o *MigrateClusterToExternalCCMParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *MigrateClusterToExternalCCMUnauthorized) Error() string
Source Files ¶
- create_o_id_c_kubeconfig_parameters.go
- create_o_id_c_kubeconfig_responses.go
- get_addon_config_parameters.go
- get_addon_config_responses.go
- get_admission_plugins_parameters.go
- get_admission_plugins_responses.go
- list_addon_configs_parameters.go
- list_addon_configs_responses.go
- list_system_labels_parameters.go
- list_system_labels_responses.go
- migrate_cluster_to_external_c_c_m_parameters.go
- migrate_cluster_to_external_c_c_m_responses.go
- operations_client.go