Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateClusterCreated, error)
- func (a *Client) CycleMachine(params *CycleMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CycleMachineOK, error)
- func (a *Client) DeleteCluster(params *DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteClusterOK, error)
- func (a *Client) FindCluster(params *FindClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindClusterOK, error)
- func (a *Client) FindClusters(params *FindClustersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindClustersOK, error)
- func (a *Client) GetAuditPolicy(params *GetAuditPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAuditPolicyOK, error)
- func (a *Client) GetClusterKubeconfigTpl(params *GetClusterKubeconfigTplParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetClusterKubeconfigTplOK, error)
- func (a *Client) GetMonitoringSecret(params *GetMonitoringSecretParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetMonitoringSecretOK, error)
- func (a *Client) GetSSHKeyPair(params *GetSSHKeyPairParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSSHKeyPairOK, error)
- func (a *Client) ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListClustersOK, error)
- func (a *Client) ListConstraints(params *ListConstraintsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListConstraintsOK, error)
- func (a *Client) ReconcileCluster(params *ReconcileClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReconcileClusterOK, error)
- func (a *Client) ReinstallMachine(params *ReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReinstallMachineOK, error)
- func (a *Client) ResetMachine(params *ResetMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ResetMachineOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateCluster(params *UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateClusterOK, error)
- type ClientOption
- type ClientService
- type CreateClusterConflict
- func (o *CreateClusterConflict) Code() int
- func (o *CreateClusterConflict) Error() string
- func (o *CreateClusterConflict) GetPayload() *httperrors.HTTPErrorResponse
- func (o *CreateClusterConflict) IsClientError() bool
- func (o *CreateClusterConflict) IsCode(code int) bool
- func (o *CreateClusterConflict) IsRedirect() bool
- func (o *CreateClusterConflict) IsServerError() bool
- func (o *CreateClusterConflict) IsSuccess() bool
- func (o *CreateClusterConflict) String() string
- type CreateClusterCreated
- func (o *CreateClusterCreated) Code() int
- func (o *CreateClusterCreated) Error() string
- func (o *CreateClusterCreated) GetPayload() *models.V1ClusterResponse
- func (o *CreateClusterCreated) IsClientError() bool
- func (o *CreateClusterCreated) IsCode(code int) bool
- func (o *CreateClusterCreated) IsRedirect() bool
- func (o *CreateClusterCreated) IsServerError() bool
- func (o *CreateClusterCreated) IsSuccess() bool
- func (o *CreateClusterCreated) String() string
- type CreateClusterDefault
- func (o *CreateClusterDefault) Code() int
- func (o *CreateClusterDefault) Error() string
- func (o *CreateClusterDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *CreateClusterDefault) IsClientError() bool
- func (o *CreateClusterDefault) IsCode(code int) bool
- func (o *CreateClusterDefault) IsRedirect() bool
- func (o *CreateClusterDefault) IsServerError() bool
- func (o *CreateClusterDefault) IsSuccess() bool
- func (o *CreateClusterDefault) String() string
- type CreateClusterParams
- func (o *CreateClusterParams) SetBody(body *models.V1ClusterCreateRequest)
- func (o *CreateClusterParams) SetContext(ctx context.Context)
- func (o *CreateClusterParams) SetDefaults()
- func (o *CreateClusterParams) SetHTTPClient(client *http.Client)
- func (o *CreateClusterParams) SetTimeout(timeout time.Duration)
- func (o *CreateClusterParams) WithBody(body *models.V1ClusterCreateRequest) *CreateClusterParams
- func (o *CreateClusterParams) WithContext(ctx context.Context) *CreateClusterParams
- func (o *CreateClusterParams) WithDefaults() *CreateClusterParams
- func (o *CreateClusterParams) WithHTTPClient(client *http.Client) *CreateClusterParams
- func (o *CreateClusterParams) WithTimeout(timeout time.Duration) *CreateClusterParams
- func (o *CreateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateClusterReader
- type CycleMachineDefault
- func (o *CycleMachineDefault) Code() int
- func (o *CycleMachineDefault) Error() string
- func (o *CycleMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *CycleMachineDefault) IsClientError() bool
- func (o *CycleMachineDefault) IsCode(code int) bool
- func (o *CycleMachineDefault) IsRedirect() bool
- func (o *CycleMachineDefault) IsServerError() bool
- func (o *CycleMachineDefault) IsSuccess() bool
- func (o *CycleMachineDefault) String() string
- type CycleMachineOK
- func (o *CycleMachineOK) Code() int
- func (o *CycleMachineOK) Error() string
- func (o *CycleMachineOK) GetPayload() *models.V1ClusterResponse
- func (o *CycleMachineOK) IsClientError() bool
- func (o *CycleMachineOK) IsCode(code int) bool
- func (o *CycleMachineOK) IsRedirect() bool
- func (o *CycleMachineOK) IsServerError() bool
- func (o *CycleMachineOK) IsSuccess() bool
- func (o *CycleMachineOK) String() string
- type CycleMachineParams
- func (o *CycleMachineParams) SetBody(body *models.V1ClusterMachineCycleRequest)
- func (o *CycleMachineParams) SetContext(ctx context.Context)
- func (o *CycleMachineParams) SetDefaults()
- func (o *CycleMachineParams) SetHTTPClient(client *http.Client)
- func (o *CycleMachineParams) SetID(id string)
- func (o *CycleMachineParams) SetTimeout(timeout time.Duration)
- func (o *CycleMachineParams) WithBody(body *models.V1ClusterMachineCycleRequest) *CycleMachineParams
- func (o *CycleMachineParams) WithContext(ctx context.Context) *CycleMachineParams
- func (o *CycleMachineParams) WithDefaults() *CycleMachineParams
- func (o *CycleMachineParams) WithHTTPClient(client *http.Client) *CycleMachineParams
- func (o *CycleMachineParams) WithID(id string) *CycleMachineParams
- func (o *CycleMachineParams) WithTimeout(timeout time.Duration) *CycleMachineParams
- func (o *CycleMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CycleMachineReader
- type DeleteClusterDefault
- func (o *DeleteClusterDefault) Code() int
- func (o *DeleteClusterDefault) Error() string
- func (o *DeleteClusterDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *DeleteClusterDefault) IsClientError() bool
- func (o *DeleteClusterDefault) IsCode(code int) bool
- func (o *DeleteClusterDefault) IsRedirect() bool
- func (o *DeleteClusterDefault) IsServerError() bool
- func (o *DeleteClusterDefault) IsSuccess() bool
- func (o *DeleteClusterDefault) String() string
- type DeleteClusterOK
- func (o *DeleteClusterOK) Code() int
- func (o *DeleteClusterOK) Error() string
- func (o *DeleteClusterOK) GetPayload() *models.V1ClusterResponse
- func (o *DeleteClusterOK) IsClientError() bool
- func (o *DeleteClusterOK) IsCode(code int) bool
- func (o *DeleteClusterOK) IsRedirect() bool
- func (o *DeleteClusterOK) IsServerError() bool
- func (o *DeleteClusterOK) IsSuccess() bool
- func (o *DeleteClusterOK) String() string
- type DeleteClusterParams
- func (o *DeleteClusterParams) SetContext(ctx context.Context)
- func (o *DeleteClusterParams) SetDefaults()
- func (o *DeleteClusterParams) SetHTTPClient(client *http.Client)
- func (o *DeleteClusterParams) SetID(id string)
- func (o *DeleteClusterParams) SetTimeout(timeout time.Duration)
- func (o *DeleteClusterParams) WithContext(ctx context.Context) *DeleteClusterParams
- func (o *DeleteClusterParams) WithDefaults() *DeleteClusterParams
- func (o *DeleteClusterParams) WithHTTPClient(client *http.Client) *DeleteClusterParams
- func (o *DeleteClusterParams) WithID(id string) *DeleteClusterParams
- func (o *DeleteClusterParams) WithTimeout(timeout time.Duration) *DeleteClusterParams
- func (o *DeleteClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteClusterReader
- type FindClusterDefault
- func (o *FindClusterDefault) Code() int
- func (o *FindClusterDefault) Error() string
- func (o *FindClusterDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindClusterDefault) IsClientError() bool
- func (o *FindClusterDefault) IsCode(code int) bool
- func (o *FindClusterDefault) IsRedirect() bool
- func (o *FindClusterDefault) IsServerError() bool
- func (o *FindClusterDefault) IsSuccess() bool
- func (o *FindClusterDefault) String() string
- type FindClusterOK
- func (o *FindClusterOK) Code() int
- func (o *FindClusterOK) Error() string
- func (o *FindClusterOK) GetPayload() *models.V1ClusterResponse
- func (o *FindClusterOK) IsClientError() bool
- func (o *FindClusterOK) IsCode(code int) bool
- func (o *FindClusterOK) IsRedirect() bool
- func (o *FindClusterOK) IsServerError() bool
- func (o *FindClusterOK) IsSuccess() bool
- func (o *FindClusterOK) String() string
- type FindClusterParams
- func (o *FindClusterParams) SetContext(ctx context.Context)
- func (o *FindClusterParams) SetDefaults()
- func (o *FindClusterParams) SetHTTPClient(client *http.Client)
- func (o *FindClusterParams) SetID(id string)
- func (o *FindClusterParams) SetReturnMachines(returnMachines *bool)
- func (o *FindClusterParams) SetTimeout(timeout time.Duration)
- func (o *FindClusterParams) WithContext(ctx context.Context) *FindClusterParams
- func (o *FindClusterParams) WithDefaults() *FindClusterParams
- func (o *FindClusterParams) WithHTTPClient(client *http.Client) *FindClusterParams
- func (o *FindClusterParams) WithID(id string) *FindClusterParams
- func (o *FindClusterParams) WithReturnMachines(returnMachines *bool) *FindClusterParams
- func (o *FindClusterParams) WithTimeout(timeout time.Duration) *FindClusterParams
- func (o *FindClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindClusterReader
- type FindClustersDefault
- func (o *FindClustersDefault) Code() int
- func (o *FindClustersDefault) Error() string
- func (o *FindClustersDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindClustersDefault) IsClientError() bool
- func (o *FindClustersDefault) IsCode(code int) bool
- func (o *FindClustersDefault) IsRedirect() bool
- func (o *FindClustersDefault) IsServerError() bool
- func (o *FindClustersDefault) IsSuccess() bool
- func (o *FindClustersDefault) String() string
- type FindClustersOK
- func (o *FindClustersOK) Code() int
- func (o *FindClustersOK) Error() string
- func (o *FindClustersOK) GetPayload() []*models.V1ClusterResponse
- func (o *FindClustersOK) IsClientError() bool
- func (o *FindClustersOK) IsCode(code int) bool
- func (o *FindClustersOK) IsRedirect() bool
- func (o *FindClustersOK) IsServerError() bool
- func (o *FindClustersOK) IsSuccess() bool
- func (o *FindClustersOK) String() string
- type FindClustersParams
- func (o *FindClustersParams) SetBody(body *models.V1ClusterFindRequest)
- func (o *FindClustersParams) SetContext(ctx context.Context)
- func (o *FindClustersParams) SetDefaults()
- func (o *FindClustersParams) SetHTTPClient(client *http.Client)
- func (o *FindClustersParams) SetReturnMachines(returnMachines *bool)
- func (o *FindClustersParams) SetTimeout(timeout time.Duration)
- func (o *FindClustersParams) WithBody(body *models.V1ClusterFindRequest) *FindClustersParams
- func (o *FindClustersParams) WithContext(ctx context.Context) *FindClustersParams
- func (o *FindClustersParams) WithDefaults() *FindClustersParams
- func (o *FindClustersParams) WithHTTPClient(client *http.Client) *FindClustersParams
- func (o *FindClustersParams) WithReturnMachines(returnMachines *bool) *FindClustersParams
- func (o *FindClustersParams) WithTimeout(timeout time.Duration) *FindClustersParams
- func (o *FindClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindClustersReader
- type GetAuditPolicyDefault
- func (o *GetAuditPolicyDefault) Code() int
- func (o *GetAuditPolicyDefault) Error() string
- func (o *GetAuditPolicyDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *GetAuditPolicyDefault) IsClientError() bool
- func (o *GetAuditPolicyDefault) IsCode(code int) bool
- func (o *GetAuditPolicyDefault) IsRedirect() bool
- func (o *GetAuditPolicyDefault) IsServerError() bool
- func (o *GetAuditPolicyDefault) IsSuccess() bool
- func (o *GetAuditPolicyDefault) String() string
- type GetAuditPolicyOK
- func (o *GetAuditPolicyOK) Code() int
- func (o *GetAuditPolicyOK) Error() string
- func (o *GetAuditPolicyOK) GetPayload() *models.V1AuditPolicyResponse
- func (o *GetAuditPolicyOK) IsClientError() bool
- func (o *GetAuditPolicyOK) IsCode(code int) bool
- func (o *GetAuditPolicyOK) IsRedirect() bool
- func (o *GetAuditPolicyOK) IsServerError() bool
- func (o *GetAuditPolicyOK) IsSuccess() bool
- func (o *GetAuditPolicyOK) String() string
- type GetAuditPolicyParams
- func NewGetAuditPolicyParams() *GetAuditPolicyParams
- func NewGetAuditPolicyParamsWithContext(ctx context.Context) *GetAuditPolicyParams
- func NewGetAuditPolicyParamsWithHTTPClient(client *http.Client) *GetAuditPolicyParams
- func NewGetAuditPolicyParamsWithTimeout(timeout time.Duration) *GetAuditPolicyParams
- func (o *GetAuditPolicyParams) SetContext(ctx context.Context)
- func (o *GetAuditPolicyParams) SetDefaults()
- func (o *GetAuditPolicyParams) SetHTTPClient(client *http.Client)
- func (o *GetAuditPolicyParams) SetID(id string)
- func (o *GetAuditPolicyParams) SetTimeout(timeout time.Duration)
- func (o *GetAuditPolicyParams) WithContext(ctx context.Context) *GetAuditPolicyParams
- func (o *GetAuditPolicyParams) WithDefaults() *GetAuditPolicyParams
- func (o *GetAuditPolicyParams) WithHTTPClient(client *http.Client) *GetAuditPolicyParams
- func (o *GetAuditPolicyParams) WithID(id string) *GetAuditPolicyParams
- func (o *GetAuditPolicyParams) WithTimeout(timeout time.Duration) *GetAuditPolicyParams
- func (o *GetAuditPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAuditPolicyReader
- type GetClusterKubeconfigTplDefault
- func (o *GetClusterKubeconfigTplDefault) Code() int
- func (o *GetClusterKubeconfigTplDefault) Error() string
- func (o *GetClusterKubeconfigTplDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *GetClusterKubeconfigTplDefault) IsClientError() bool
- func (o *GetClusterKubeconfigTplDefault) IsCode(code int) bool
- func (o *GetClusterKubeconfigTplDefault) IsRedirect() bool
- func (o *GetClusterKubeconfigTplDefault) IsServerError() bool
- func (o *GetClusterKubeconfigTplDefault) IsSuccess() bool
- func (o *GetClusterKubeconfigTplDefault) String() string
- type GetClusterKubeconfigTplOK
- func (o *GetClusterKubeconfigTplOK) Code() int
- func (o *GetClusterKubeconfigTplOK) Error() string
- func (o *GetClusterKubeconfigTplOK) GetPayload() *models.V1ClusterKubeconfigResponse
- func (o *GetClusterKubeconfigTplOK) IsClientError() bool
- func (o *GetClusterKubeconfigTplOK) IsCode(code int) bool
- func (o *GetClusterKubeconfigTplOK) IsRedirect() bool
- func (o *GetClusterKubeconfigTplOK) IsServerError() bool
- func (o *GetClusterKubeconfigTplOK) IsSuccess() bool
- func (o *GetClusterKubeconfigTplOK) String() string
- type GetClusterKubeconfigTplParams
- func NewGetClusterKubeconfigTplParams() *GetClusterKubeconfigTplParams
- func NewGetClusterKubeconfigTplParamsWithContext(ctx context.Context) *GetClusterKubeconfigTplParams
- func NewGetClusterKubeconfigTplParamsWithHTTPClient(client *http.Client) *GetClusterKubeconfigTplParams
- func NewGetClusterKubeconfigTplParamsWithTimeout(timeout time.Duration) *GetClusterKubeconfigTplParams
- func (o *GetClusterKubeconfigTplParams) SetContext(ctx context.Context)
- func (o *GetClusterKubeconfigTplParams) SetDefaults()
- func (o *GetClusterKubeconfigTplParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterKubeconfigTplParams) SetID(id string)
- func (o *GetClusterKubeconfigTplParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterKubeconfigTplParams) WithContext(ctx context.Context) *GetClusterKubeconfigTplParams
- func (o *GetClusterKubeconfigTplParams) WithDefaults() *GetClusterKubeconfigTplParams
- func (o *GetClusterKubeconfigTplParams) WithHTTPClient(client *http.Client) *GetClusterKubeconfigTplParams
- func (o *GetClusterKubeconfigTplParams) WithID(id string) *GetClusterKubeconfigTplParams
- func (o *GetClusterKubeconfigTplParams) WithTimeout(timeout time.Duration) *GetClusterKubeconfigTplParams
- func (o *GetClusterKubeconfigTplParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterKubeconfigTplReader
- type GetMonitoringSecretDefault
- func (o *GetMonitoringSecretDefault) Code() int
- func (o *GetMonitoringSecretDefault) Error() string
- func (o *GetMonitoringSecretDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *GetMonitoringSecretDefault) IsClientError() bool
- func (o *GetMonitoringSecretDefault) IsCode(code int) bool
- func (o *GetMonitoringSecretDefault) IsRedirect() bool
- func (o *GetMonitoringSecretDefault) IsServerError() bool
- func (o *GetMonitoringSecretDefault) IsSuccess() bool
- func (o *GetMonitoringSecretDefault) String() string
- type GetMonitoringSecretOK
- func (o *GetMonitoringSecretOK) Code() int
- func (o *GetMonitoringSecretOK) Error() string
- func (o *GetMonitoringSecretOK) GetPayload() *models.V1ClusterMonitoringSecretResponse
- func (o *GetMonitoringSecretOK) IsClientError() bool
- func (o *GetMonitoringSecretOK) IsCode(code int) bool
- func (o *GetMonitoringSecretOK) IsRedirect() bool
- func (o *GetMonitoringSecretOK) IsServerError() bool
- func (o *GetMonitoringSecretOK) IsSuccess() bool
- func (o *GetMonitoringSecretOK) String() string
- type GetMonitoringSecretParams
- func NewGetMonitoringSecretParams() *GetMonitoringSecretParams
- func NewGetMonitoringSecretParamsWithContext(ctx context.Context) *GetMonitoringSecretParams
- func NewGetMonitoringSecretParamsWithHTTPClient(client *http.Client) *GetMonitoringSecretParams
- func NewGetMonitoringSecretParamsWithTimeout(timeout time.Duration) *GetMonitoringSecretParams
- func (o *GetMonitoringSecretParams) SetContext(ctx context.Context)
- func (o *GetMonitoringSecretParams) SetDefaults()
- func (o *GetMonitoringSecretParams) SetHTTPClient(client *http.Client)
- func (o *GetMonitoringSecretParams) SetID(id string)
- func (o *GetMonitoringSecretParams) SetTimeout(timeout time.Duration)
- func (o *GetMonitoringSecretParams) WithContext(ctx context.Context) *GetMonitoringSecretParams
- func (o *GetMonitoringSecretParams) WithDefaults() *GetMonitoringSecretParams
- func (o *GetMonitoringSecretParams) WithHTTPClient(client *http.Client) *GetMonitoringSecretParams
- func (o *GetMonitoringSecretParams) WithID(id string) *GetMonitoringSecretParams
- func (o *GetMonitoringSecretParams) WithTimeout(timeout time.Duration) *GetMonitoringSecretParams
- func (o *GetMonitoringSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMonitoringSecretReader
- type GetSSHKeyPairDefault
- func (o *GetSSHKeyPairDefault) Code() int
- func (o *GetSSHKeyPairDefault) Error() string
- func (o *GetSSHKeyPairDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *GetSSHKeyPairDefault) IsClientError() bool
- func (o *GetSSHKeyPairDefault) IsCode(code int) bool
- func (o *GetSSHKeyPairDefault) IsRedirect() bool
- func (o *GetSSHKeyPairDefault) IsServerError() bool
- func (o *GetSSHKeyPairDefault) IsSuccess() bool
- func (o *GetSSHKeyPairDefault) String() string
- type GetSSHKeyPairOK
- func (o *GetSSHKeyPairOK) Code() int
- func (o *GetSSHKeyPairOK) Error() string
- func (o *GetSSHKeyPairOK) GetPayload() *models.V1ClusterCredentialsResponse
- func (o *GetSSHKeyPairOK) IsClientError() bool
- func (o *GetSSHKeyPairOK) IsCode(code int) bool
- func (o *GetSSHKeyPairOK) IsRedirect() bool
- func (o *GetSSHKeyPairOK) IsServerError() bool
- func (o *GetSSHKeyPairOK) IsSuccess() bool
- func (o *GetSSHKeyPairOK) String() string
- type GetSSHKeyPairParams
- func (o *GetSSHKeyPairParams) SetContext(ctx context.Context)
- func (o *GetSSHKeyPairParams) SetDefaults()
- func (o *GetSSHKeyPairParams) SetHTTPClient(client *http.Client)
- func (o *GetSSHKeyPairParams) SetID(id string)
- func (o *GetSSHKeyPairParams) SetTimeout(timeout time.Duration)
- func (o *GetSSHKeyPairParams) WithContext(ctx context.Context) *GetSSHKeyPairParams
- func (o *GetSSHKeyPairParams) WithDefaults() *GetSSHKeyPairParams
- func (o *GetSSHKeyPairParams) WithHTTPClient(client *http.Client) *GetSSHKeyPairParams
- func (o *GetSSHKeyPairParams) WithID(id string) *GetSSHKeyPairParams
- func (o *GetSSHKeyPairParams) WithTimeout(timeout time.Duration) *GetSSHKeyPairParams
- func (o *GetSSHKeyPairParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSSHKeyPairReader
- type ListClustersDefault
- func (o *ListClustersDefault) Code() int
- func (o *ListClustersDefault) Error() string
- func (o *ListClustersDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ListClustersDefault) IsClientError() bool
- func (o *ListClustersDefault) IsCode(code int) bool
- func (o *ListClustersDefault) IsRedirect() bool
- func (o *ListClustersDefault) IsServerError() bool
- func (o *ListClustersDefault) IsSuccess() bool
- func (o *ListClustersDefault) String() string
- type ListClustersOK
- func (o *ListClustersOK) Code() int
- func (o *ListClustersOK) Error() string
- func (o *ListClustersOK) GetPayload() []*models.V1ClusterResponse
- func (o *ListClustersOK) IsClientError() bool
- func (o *ListClustersOK) IsCode(code int) bool
- func (o *ListClustersOK) IsRedirect() bool
- func (o *ListClustersOK) IsServerError() bool
- func (o *ListClustersOK) IsSuccess() bool
- func (o *ListClustersOK) String() string
- type ListClustersParams
- func (o *ListClustersParams) SetContext(ctx context.Context)
- func (o *ListClustersParams) SetDefaults()
- func (o *ListClustersParams) SetHTTPClient(client *http.Client)
- func (o *ListClustersParams) SetReturnMachines(returnMachines *bool)
- func (o *ListClustersParams) SetTimeout(timeout time.Duration)
- func (o *ListClustersParams) WithContext(ctx context.Context) *ListClustersParams
- func (o *ListClustersParams) WithDefaults() *ListClustersParams
- func (o *ListClustersParams) WithHTTPClient(client *http.Client) *ListClustersParams
- func (o *ListClustersParams) WithReturnMachines(returnMachines *bool) *ListClustersParams
- func (o *ListClustersParams) WithTimeout(timeout time.Duration) *ListClustersParams
- func (o *ListClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListClustersReader
- type ListConstraintsDefault
- func (o *ListConstraintsDefault) Code() int
- func (o *ListConstraintsDefault) Error() string
- func (o *ListConstraintsDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ListConstraintsDefault) IsClientError() bool
- func (o *ListConstraintsDefault) IsCode(code int) bool
- func (o *ListConstraintsDefault) IsRedirect() bool
- func (o *ListConstraintsDefault) IsServerError() bool
- func (o *ListConstraintsDefault) IsSuccess() bool
- func (o *ListConstraintsDefault) String() string
- type ListConstraintsOK
- func (o *ListConstraintsOK) Code() int
- func (o *ListConstraintsOK) Error() string
- func (o *ListConstraintsOK) GetPayload() *models.V1ShootConstraints
- func (o *ListConstraintsOK) IsClientError() bool
- func (o *ListConstraintsOK) IsCode(code int) bool
- func (o *ListConstraintsOK) IsRedirect() bool
- func (o *ListConstraintsOK) IsServerError() bool
- func (o *ListConstraintsOK) IsSuccess() bool
- func (o *ListConstraintsOK) String() string
- type ListConstraintsParams
- func NewListConstraintsParams() *ListConstraintsParams
- func NewListConstraintsParamsWithContext(ctx context.Context) *ListConstraintsParams
- func NewListConstraintsParamsWithHTTPClient(client *http.Client) *ListConstraintsParams
- func NewListConstraintsParamsWithTimeout(timeout time.Duration) *ListConstraintsParams
- func (o *ListConstraintsParams) SetContext(ctx context.Context)
- func (o *ListConstraintsParams) SetDefaults()
- func (o *ListConstraintsParams) SetHTTPClient(client *http.Client)
- func (o *ListConstraintsParams) SetPartition(partition *string)
- func (o *ListConstraintsParams) SetTimeout(timeout time.Duration)
- func (o *ListConstraintsParams) WithContext(ctx context.Context) *ListConstraintsParams
- func (o *ListConstraintsParams) WithDefaults() *ListConstraintsParams
- func (o *ListConstraintsParams) WithHTTPClient(client *http.Client) *ListConstraintsParams
- func (o *ListConstraintsParams) WithPartition(partition *string) *ListConstraintsParams
- func (o *ListConstraintsParams) WithTimeout(timeout time.Duration) *ListConstraintsParams
- func (o *ListConstraintsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListConstraintsReader
- type ReconcileClusterDefault
- func (o *ReconcileClusterDefault) Code() int
- func (o *ReconcileClusterDefault) Error() string
- func (o *ReconcileClusterDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ReconcileClusterDefault) IsClientError() bool
- func (o *ReconcileClusterDefault) IsCode(code int) bool
- func (o *ReconcileClusterDefault) IsRedirect() bool
- func (o *ReconcileClusterDefault) IsServerError() bool
- func (o *ReconcileClusterDefault) IsSuccess() bool
- func (o *ReconcileClusterDefault) String() string
- type ReconcileClusterOK
- func (o *ReconcileClusterOK) Code() int
- func (o *ReconcileClusterOK) Error() string
- func (o *ReconcileClusterOK) GetPayload() *models.V1ClusterResponse
- func (o *ReconcileClusterOK) IsClientError() bool
- func (o *ReconcileClusterOK) IsCode(code int) bool
- func (o *ReconcileClusterOK) IsRedirect() bool
- func (o *ReconcileClusterOK) IsServerError() bool
- func (o *ReconcileClusterOK) IsSuccess() bool
- func (o *ReconcileClusterOK) String() string
- type ReconcileClusterParams
- func NewReconcileClusterParams() *ReconcileClusterParams
- func NewReconcileClusterParamsWithContext(ctx context.Context) *ReconcileClusterParams
- func NewReconcileClusterParamsWithHTTPClient(client *http.Client) *ReconcileClusterParams
- func NewReconcileClusterParamsWithTimeout(timeout time.Duration) *ReconcileClusterParams
- func (o *ReconcileClusterParams) SetBody(body *models.V1ClusterReconcileRequest)
- func (o *ReconcileClusterParams) SetContext(ctx context.Context)
- func (o *ReconcileClusterParams) SetDefaults()
- func (o *ReconcileClusterParams) SetHTTPClient(client *http.Client)
- func (o *ReconcileClusterParams) SetID(id string)
- func (o *ReconcileClusterParams) SetTimeout(timeout time.Duration)
- func (o *ReconcileClusterParams) WithBody(body *models.V1ClusterReconcileRequest) *ReconcileClusterParams
- func (o *ReconcileClusterParams) WithContext(ctx context.Context) *ReconcileClusterParams
- func (o *ReconcileClusterParams) WithDefaults() *ReconcileClusterParams
- func (o *ReconcileClusterParams) WithHTTPClient(client *http.Client) *ReconcileClusterParams
- func (o *ReconcileClusterParams) WithID(id string) *ReconcileClusterParams
- func (o *ReconcileClusterParams) WithTimeout(timeout time.Duration) *ReconcileClusterParams
- func (o *ReconcileClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReconcileClusterReader
- type ReinstallMachineDefault
- func (o *ReinstallMachineDefault) Code() int
- func (o *ReinstallMachineDefault) Error() string
- func (o *ReinstallMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ReinstallMachineDefault) IsClientError() bool
- func (o *ReinstallMachineDefault) IsCode(code int) bool
- func (o *ReinstallMachineDefault) IsRedirect() bool
- func (o *ReinstallMachineDefault) IsServerError() bool
- func (o *ReinstallMachineDefault) IsSuccess() bool
- func (o *ReinstallMachineDefault) String() string
- type ReinstallMachineOK
- func (o *ReinstallMachineOK) Code() int
- func (o *ReinstallMachineOK) Error() string
- func (o *ReinstallMachineOK) GetPayload() *models.V1ClusterResponse
- func (o *ReinstallMachineOK) IsClientError() bool
- func (o *ReinstallMachineOK) IsCode(code int) bool
- func (o *ReinstallMachineOK) IsRedirect() bool
- func (o *ReinstallMachineOK) IsServerError() bool
- func (o *ReinstallMachineOK) IsSuccess() bool
- func (o *ReinstallMachineOK) String() string
- type ReinstallMachineParams
- func NewReinstallMachineParams() *ReinstallMachineParams
- func NewReinstallMachineParamsWithContext(ctx context.Context) *ReinstallMachineParams
- func NewReinstallMachineParamsWithHTTPClient(client *http.Client) *ReinstallMachineParams
- func NewReinstallMachineParamsWithTimeout(timeout time.Duration) *ReinstallMachineParams
- func (o *ReinstallMachineParams) SetBody(body *models.V1ClusterMachineReinstallRequest)
- func (o *ReinstallMachineParams) SetContext(ctx context.Context)
- func (o *ReinstallMachineParams) SetDefaults()
- func (o *ReinstallMachineParams) SetHTTPClient(client *http.Client)
- func (o *ReinstallMachineParams) SetID(id string)
- func (o *ReinstallMachineParams) SetTimeout(timeout time.Duration)
- func (o *ReinstallMachineParams) WithBody(body *models.V1ClusterMachineReinstallRequest) *ReinstallMachineParams
- func (o *ReinstallMachineParams) WithContext(ctx context.Context) *ReinstallMachineParams
- func (o *ReinstallMachineParams) WithDefaults() *ReinstallMachineParams
- func (o *ReinstallMachineParams) WithHTTPClient(client *http.Client) *ReinstallMachineParams
- func (o *ReinstallMachineParams) WithID(id string) *ReinstallMachineParams
- func (o *ReinstallMachineParams) WithTimeout(timeout time.Duration) *ReinstallMachineParams
- func (o *ReinstallMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReinstallMachineReader
- type ResetMachineDefault
- func (o *ResetMachineDefault) Code() int
- func (o *ResetMachineDefault) Error() string
- func (o *ResetMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ResetMachineDefault) IsClientError() bool
- func (o *ResetMachineDefault) IsCode(code int) bool
- func (o *ResetMachineDefault) IsRedirect() bool
- func (o *ResetMachineDefault) IsServerError() bool
- func (o *ResetMachineDefault) IsSuccess() bool
- func (o *ResetMachineDefault) String() string
- type ResetMachineOK
- func (o *ResetMachineOK) Code() int
- func (o *ResetMachineOK) Error() string
- func (o *ResetMachineOK) GetPayload() *models.V1ClusterResponse
- func (o *ResetMachineOK) IsClientError() bool
- func (o *ResetMachineOK) IsCode(code int) bool
- func (o *ResetMachineOK) IsRedirect() bool
- func (o *ResetMachineOK) IsServerError() bool
- func (o *ResetMachineOK) IsSuccess() bool
- func (o *ResetMachineOK) String() string
- type ResetMachineParams
- func (o *ResetMachineParams) SetBody(body *models.V1ClusterMachineResetRequest)
- func (o *ResetMachineParams) SetContext(ctx context.Context)
- func (o *ResetMachineParams) SetDefaults()
- func (o *ResetMachineParams) SetHTTPClient(client *http.Client)
- func (o *ResetMachineParams) SetID(id string)
- func (o *ResetMachineParams) SetTimeout(timeout time.Duration)
- func (o *ResetMachineParams) WithBody(body *models.V1ClusterMachineResetRequest) *ResetMachineParams
- func (o *ResetMachineParams) WithContext(ctx context.Context) *ResetMachineParams
- func (o *ResetMachineParams) WithDefaults() *ResetMachineParams
- func (o *ResetMachineParams) WithHTTPClient(client *http.Client) *ResetMachineParams
- func (o *ResetMachineParams) WithID(id string) *ResetMachineParams
- func (o *ResetMachineParams) WithTimeout(timeout time.Duration) *ResetMachineParams
- func (o *ResetMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetMachineReader
- type UpdateClusterConflict
- func (o *UpdateClusterConflict) Code() int
- func (o *UpdateClusterConflict) Error() string
- func (o *UpdateClusterConflict) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateClusterConflict) IsClientError() bool
- func (o *UpdateClusterConflict) IsCode(code int) bool
- func (o *UpdateClusterConflict) IsRedirect() bool
- func (o *UpdateClusterConflict) IsServerError() bool
- func (o *UpdateClusterConflict) IsSuccess() bool
- func (o *UpdateClusterConflict) String() string
- type UpdateClusterDefault
- func (o *UpdateClusterDefault) Code() int
- func (o *UpdateClusterDefault) Error() string
- func (o *UpdateClusterDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateClusterDefault) IsClientError() bool
- func (o *UpdateClusterDefault) IsCode(code int) bool
- func (o *UpdateClusterDefault) IsRedirect() bool
- func (o *UpdateClusterDefault) IsServerError() bool
- func (o *UpdateClusterDefault) IsSuccess() bool
- func (o *UpdateClusterDefault) String() string
- type UpdateClusterOK
- func (o *UpdateClusterOK) Code() int
- func (o *UpdateClusterOK) Error() string
- func (o *UpdateClusterOK) GetPayload() *models.V1ClusterResponse
- func (o *UpdateClusterOK) IsClientError() bool
- func (o *UpdateClusterOK) IsCode(code int) bool
- func (o *UpdateClusterOK) IsRedirect() bool
- func (o *UpdateClusterOK) IsServerError() bool
- func (o *UpdateClusterOK) IsSuccess() bool
- func (o *UpdateClusterOK) String() string
- type UpdateClusterParams
- func (o *UpdateClusterParams) SetBody(body *models.V1ClusterUpdateRequest)
- func (o *UpdateClusterParams) SetContext(ctx context.Context)
- func (o *UpdateClusterParams) SetDefaults()
- func (o *UpdateClusterParams) SetHTTPClient(client *http.Client)
- func (o *UpdateClusterParams) SetTimeout(timeout time.Duration)
- func (o *UpdateClusterParams) WithBody(body *models.V1ClusterUpdateRequest) *UpdateClusterParams
- func (o *UpdateClusterParams) WithContext(ctx context.Context) *UpdateClusterParams
- func (o *UpdateClusterParams) WithDefaults() *UpdateClusterParams
- func (o *UpdateClusterParams) WithHTTPClient(client *http.Client) *UpdateClusterParams
- func (o *UpdateClusterParams) WithTimeout(timeout time.Duration) *UpdateClusterParams
- func (o *UpdateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateClusterReader
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 cluster API
func (*Client) CreateCluster ¶
func (a *Client) CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClusterCreated, error)
CreateCluster creates a cluster if the given ID already exists a conflict is returned
func (*Client) CycleMachine ¶ added in v0.17.9
func (a *Client) CycleMachine(params *CycleMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CycleMachineOK, error)
CycleMachine triggers power cycle of a machine
func (*Client) DeleteCluster ¶
func (a *Client) DeleteCluster(params *DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterOK, error)
DeleteCluster deletes an cluster and returns the deleted entity
func (*Client) FindCluster ¶
func (a *Client) FindCluster(params *FindClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindClusterOK, error)
FindCluster gets cluster by id
func (*Client) FindClusters ¶
func (a *Client) FindClusters(params *FindClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindClustersOK, error)
FindClusters finds clusters by multiple criteria
func (*Client) GetAuditPolicy ¶ added in v0.23.0
func (a *Client) GetAuditPolicy(params *GetAuditPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAuditPolicyOK, error)
GetAuditPolicy gets the current content of the audit policy config map for a given cluster
func (*Client) GetClusterKubeconfigTpl ¶
func (a *Client) GetClusterKubeconfigTpl(params *GetClusterKubeconfigTplParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterKubeconfigTplOK, error)
GetClusterKubeconfigTpl gets the kubeconfig template just with cluster infos for the cluster
func (*Client) GetMonitoringSecret ¶ added in v0.18.28
func (a *Client) GetMonitoringSecret(params *GetMonitoringSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMonitoringSecretOK, error)
GetMonitoringSecret gets the monitoring access of the cluster to access the cluster s grafana dashboard
func (*Client) GetSSHKeyPair ¶
func (a *Client) GetSSHKeyPair(params *GetSSHKeyPairParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSSHKeyPairOK, error)
GetSSHKeyPair gets all the ssh keypairs of the cluster
func (*Client) ListClusters ¶
func (a *Client) ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersOK, error)
ListClusters gets all clusters
func (*Client) ListConstraints ¶
func (a *Client) ListConstraints(params *ListConstraintsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConstraintsOK, error)
ListConstraints gets constraints for cluster create
func (*Client) ReconcileCluster ¶
func (a *Client) ReconcileCluster(params *ReconcileClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReconcileClusterOK, error)
ReconcileCluster triggers cluster reconcilation
func (*Client) ReinstallMachine ¶ added in v0.17.9
func (a *Client) ReinstallMachine(params *ReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReinstallMachineOK, error)
ReinstallMachine triggers reinstall of a machine
func (*Client) ResetMachine ¶ added in v0.17.9
func (a *Client) ResetMachine(params *ResetMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetMachineOK, error)
ResetMachine triggers hard power reset of a machine
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateCluster ¶
func (a *Client) UpdateCluster(params *UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateClusterOK, error)
UpdateCluster updates a cluster if the cluster was changed since this one was read a conflict is returned
type ClientOption ¶ added in v0.15.4
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.9.1
type ClientService interface { CreateCluster(params *CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateClusterCreated, error) CycleMachine(params *CycleMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CycleMachineOK, error) DeleteCluster(params *DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteClusterOK, error) FindCluster(params *FindClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindClusterOK, error) FindClusters(params *FindClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindClustersOK, error) GetAuditPolicy(params *GetAuditPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAuditPolicyOK, error) GetClusterKubeconfigTpl(params *GetClusterKubeconfigTplParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetClusterKubeconfigTplOK, error) GetMonitoringSecret(params *GetMonitoringSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMonitoringSecretOK, error) GetSSHKeyPair(params *GetSSHKeyPairParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSSHKeyPairOK, error) ListClusters(params *ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListClustersOK, error) ListConstraints(params *ListConstraintsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListConstraintsOK, error) ReconcileCluster(params *ReconcileClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReconcileClusterOK, error) ReinstallMachine(params *ReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReinstallMachineOK, error) ResetMachine(params *ResetMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetMachineOK, error) UpdateCluster(params *UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateClusterOK, 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 cluster API client.
type CreateClusterConflict ¶
type CreateClusterConflict struct {
Payload *httperrors.HTTPErrorResponse
}
CreateClusterConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateClusterConflict ¶
func NewCreateClusterConflict() *CreateClusterConflict
NewCreateClusterConflict creates a CreateClusterConflict with default headers values
func (*CreateClusterConflict) Code ¶ added in v0.20.11
func (o *CreateClusterConflict) Code() int
Code gets the status code for the create cluster conflict response
func (*CreateClusterConflict) Error ¶
func (o *CreateClusterConflict) Error() string
func (*CreateClusterConflict) GetPayload ¶ added in v0.9.1
func (o *CreateClusterConflict) GetPayload() *httperrors.HTTPErrorResponse
func (*CreateClusterConflict) IsClientError ¶ added in v0.19.0
func (o *CreateClusterConflict) IsClientError() bool
IsClientError returns true when this create cluster conflict response has a 4xx status code
func (*CreateClusterConflict) IsCode ¶ added in v0.19.0
func (o *CreateClusterConflict) IsCode(code int) bool
IsCode returns true when this create cluster conflict response a status code equal to that given
func (*CreateClusterConflict) IsRedirect ¶ added in v0.19.0
func (o *CreateClusterConflict) IsRedirect() bool
IsRedirect returns true when this create cluster conflict response has a 3xx status code
func (*CreateClusterConflict) IsServerError ¶ added in v0.19.0
func (o *CreateClusterConflict) IsServerError() bool
IsServerError returns true when this create cluster conflict response has a 5xx status code
func (*CreateClusterConflict) IsSuccess ¶ added in v0.19.0
func (o *CreateClusterConflict) IsSuccess() bool
IsSuccess returns true when this create cluster conflict response has a 2xx status code
func (*CreateClusterConflict) String ¶ added in v0.19.0
func (o *CreateClusterConflict) String() string
type CreateClusterCreated ¶
type CreateClusterCreated struct {
Payload *models.V1ClusterResponse
}
CreateClusterCreated describes a response with status code 201, with default header values.
Created
func NewCreateClusterCreated ¶
func NewCreateClusterCreated() *CreateClusterCreated
NewCreateClusterCreated creates a CreateClusterCreated with default headers values
func (*CreateClusterCreated) Code ¶ added in v0.20.11
func (o *CreateClusterCreated) Code() int
Code gets the status code for the create cluster created response
func (*CreateClusterCreated) Error ¶
func (o *CreateClusterCreated) Error() string
func (*CreateClusterCreated) GetPayload ¶ added in v0.9.1
func (o *CreateClusterCreated) GetPayload() *models.V1ClusterResponse
func (*CreateClusterCreated) IsClientError ¶ added in v0.19.0
func (o *CreateClusterCreated) IsClientError() bool
IsClientError returns true when this create cluster created response has a 4xx status code
func (*CreateClusterCreated) IsCode ¶ added in v0.19.0
func (o *CreateClusterCreated) IsCode(code int) bool
IsCode returns true when this create cluster created response a status code equal to that given
func (*CreateClusterCreated) IsRedirect ¶ added in v0.19.0
func (o *CreateClusterCreated) IsRedirect() bool
IsRedirect returns true when this create cluster created response has a 3xx status code
func (*CreateClusterCreated) IsServerError ¶ added in v0.19.0
func (o *CreateClusterCreated) IsServerError() bool
IsServerError returns true when this create cluster created response has a 5xx status code
func (*CreateClusterCreated) IsSuccess ¶ added in v0.19.0
func (o *CreateClusterCreated) IsSuccess() bool
IsSuccess returns true when this create cluster created response has a 2xx status code
func (*CreateClusterCreated) String ¶ added in v0.19.0
func (o *CreateClusterCreated) String() string
type CreateClusterDefault ¶
type CreateClusterDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
CreateClusterDefault describes a response with status code -1, with default header values.
Error
func NewCreateClusterDefault ¶
func NewCreateClusterDefault(code int) *CreateClusterDefault
NewCreateClusterDefault creates a CreateClusterDefault with default headers values
func (*CreateClusterDefault) Code ¶
func (o *CreateClusterDefault) Code() int
Code gets the status code for the create cluster default response
func (*CreateClusterDefault) Error ¶
func (o *CreateClusterDefault) Error() string
func (*CreateClusterDefault) GetPayload ¶ added in v0.9.1
func (o *CreateClusterDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*CreateClusterDefault) IsClientError ¶ added in v0.19.0
func (o *CreateClusterDefault) IsClientError() bool
IsClientError returns true when this create cluster default response has a 4xx status code
func (*CreateClusterDefault) IsCode ¶ added in v0.19.0
func (o *CreateClusterDefault) IsCode(code int) bool
IsCode returns true when this create cluster default response a status code equal to that given
func (*CreateClusterDefault) IsRedirect ¶ added in v0.19.0
func (o *CreateClusterDefault) IsRedirect() bool
IsRedirect returns true when this create cluster default response has a 3xx status code
func (*CreateClusterDefault) IsServerError ¶ added in v0.19.0
func (o *CreateClusterDefault) IsServerError() bool
IsServerError returns true when this create cluster default response has a 5xx status code
func (*CreateClusterDefault) IsSuccess ¶ added in v0.19.0
func (o *CreateClusterDefault) IsSuccess() bool
IsSuccess returns true when this create cluster default response has a 2xx status code
func (*CreateClusterDefault) String ¶ added in v0.19.0
func (o *CreateClusterDefault) String() string
type CreateClusterParams ¶
type CreateClusterParams struct { // Body. Body *models.V1ClusterCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateClusterParams contains all the parameters to send to the API endpoint
for the create cluster operation. Typically these are written to a http.Request.
func NewCreateClusterParams ¶
func NewCreateClusterParams() *CreateClusterParams
NewCreateClusterParams creates a new CreateClusterParams 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 NewCreateClusterParamsWithContext ¶
func NewCreateClusterParamsWithContext(ctx context.Context) *CreateClusterParams
NewCreateClusterParamsWithContext creates a new CreateClusterParams object with the ability to set a context for a request.
func NewCreateClusterParamsWithHTTPClient ¶
func NewCreateClusterParamsWithHTTPClient(client *http.Client) *CreateClusterParams
NewCreateClusterParamsWithHTTPClient creates a new CreateClusterParams object with the ability to set a custom HTTPClient for a request.
func NewCreateClusterParamsWithTimeout ¶
func NewCreateClusterParamsWithTimeout(timeout time.Duration) *CreateClusterParams
NewCreateClusterParamsWithTimeout creates a new CreateClusterParams object with the ability to set a timeout on a request.
func (*CreateClusterParams) SetBody ¶
func (o *CreateClusterParams) SetBody(body *models.V1ClusterCreateRequest)
SetBody adds the body to the create cluster params
func (*CreateClusterParams) SetContext ¶
func (o *CreateClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the create cluster params
func (*CreateClusterParams) SetDefaults ¶ added in v0.12.0
func (o *CreateClusterParams) SetDefaults()
SetDefaults hydrates default values in the create cluster params (not the query body).
All values with no default are reset to their zero value.
func (*CreateClusterParams) SetHTTPClient ¶
func (o *CreateClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create cluster params
func (*CreateClusterParams) SetTimeout ¶
func (o *CreateClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create cluster params
func (*CreateClusterParams) WithBody ¶
func (o *CreateClusterParams) WithBody(body *models.V1ClusterCreateRequest) *CreateClusterParams
WithBody adds the body to the create cluster params
func (*CreateClusterParams) WithContext ¶
func (o *CreateClusterParams) WithContext(ctx context.Context) *CreateClusterParams
WithContext adds the context to the create cluster params
func (*CreateClusterParams) WithDefaults ¶ added in v0.12.0
func (o *CreateClusterParams) WithDefaults() *CreateClusterParams
WithDefaults hydrates default values in the create cluster params (not the query body).
All values with no default are reset to their zero value.
func (*CreateClusterParams) WithHTTPClient ¶
func (o *CreateClusterParams) WithHTTPClient(client *http.Client) *CreateClusterParams
WithHTTPClient adds the HTTPClient to the create cluster params
func (*CreateClusterParams) WithTimeout ¶
func (o *CreateClusterParams) WithTimeout(timeout time.Duration) *CreateClusterParams
WithTimeout adds the timeout to the create cluster params
func (*CreateClusterParams) WriteToRequest ¶
func (o *CreateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateClusterReader ¶
type CreateClusterReader struct {
// contains filtered or unexported fields
}
CreateClusterReader is a Reader for the CreateCluster structure.
func (*CreateClusterReader) ReadResponse ¶
func (o *CreateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CycleMachineDefault ¶ added in v0.17.9
type CycleMachineDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
CycleMachineDefault describes a response with status code -1, with default header values.
Error
func NewCycleMachineDefault ¶ added in v0.17.9
func NewCycleMachineDefault(code int) *CycleMachineDefault
NewCycleMachineDefault creates a CycleMachineDefault with default headers values
func (*CycleMachineDefault) Code ¶ added in v0.17.9
func (o *CycleMachineDefault) Code() int
Code gets the status code for the cycle machine default response
func (*CycleMachineDefault) Error ¶ added in v0.17.9
func (o *CycleMachineDefault) Error() string
func (*CycleMachineDefault) GetPayload ¶ added in v0.17.9
func (o *CycleMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*CycleMachineDefault) IsClientError ¶ added in v0.19.0
func (o *CycleMachineDefault) IsClientError() bool
IsClientError returns true when this cycle machine default response has a 4xx status code
func (*CycleMachineDefault) IsCode ¶ added in v0.19.0
func (o *CycleMachineDefault) IsCode(code int) bool
IsCode returns true when this cycle machine default response a status code equal to that given
func (*CycleMachineDefault) IsRedirect ¶ added in v0.19.0
func (o *CycleMachineDefault) IsRedirect() bool
IsRedirect returns true when this cycle machine default response has a 3xx status code
func (*CycleMachineDefault) IsServerError ¶ added in v0.19.0
func (o *CycleMachineDefault) IsServerError() bool
IsServerError returns true when this cycle machine default response has a 5xx status code
func (*CycleMachineDefault) IsSuccess ¶ added in v0.19.0
func (o *CycleMachineDefault) IsSuccess() bool
IsSuccess returns true when this cycle machine default response has a 2xx status code
func (*CycleMachineDefault) String ¶ added in v0.19.0
func (o *CycleMachineDefault) String() string
type CycleMachineOK ¶ added in v0.17.9
type CycleMachineOK struct {
Payload *models.V1ClusterResponse
}
CycleMachineOK describes a response with status code 200, with default header values.
OK
func NewCycleMachineOK ¶ added in v0.17.9
func NewCycleMachineOK() *CycleMachineOK
NewCycleMachineOK creates a CycleMachineOK with default headers values
func (*CycleMachineOK) Code ¶ added in v0.20.11
func (o *CycleMachineOK) Code() int
Code gets the status code for the cycle machine o k response
func (*CycleMachineOK) Error ¶ added in v0.17.9
func (o *CycleMachineOK) Error() string
func (*CycleMachineOK) GetPayload ¶ added in v0.17.9
func (o *CycleMachineOK) GetPayload() *models.V1ClusterResponse
func (*CycleMachineOK) IsClientError ¶ added in v0.19.0
func (o *CycleMachineOK) IsClientError() bool
IsClientError returns true when this cycle machine o k response has a 4xx status code
func (*CycleMachineOK) IsCode ¶ added in v0.19.0
func (o *CycleMachineOK) IsCode(code int) bool
IsCode returns true when this cycle machine o k response a status code equal to that given
func (*CycleMachineOK) IsRedirect ¶ added in v0.19.0
func (o *CycleMachineOK) IsRedirect() bool
IsRedirect returns true when this cycle machine o k response has a 3xx status code
func (*CycleMachineOK) IsServerError ¶ added in v0.19.0
func (o *CycleMachineOK) IsServerError() bool
IsServerError returns true when this cycle machine o k response has a 5xx status code
func (*CycleMachineOK) IsSuccess ¶ added in v0.19.0
func (o *CycleMachineOK) IsSuccess() bool
IsSuccess returns true when this cycle machine o k response has a 2xx status code
func (*CycleMachineOK) String ¶ added in v0.19.0
func (o *CycleMachineOK) String() string
type CycleMachineParams ¶ added in v0.17.9
type CycleMachineParams struct { // Body. Body *models.V1ClusterMachineCycleRequest /* ID. identifier of the cluster */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CycleMachineParams contains all the parameters to send to the API endpoint
for the cycle machine operation. Typically these are written to a http.Request.
func NewCycleMachineParams ¶ added in v0.17.9
func NewCycleMachineParams() *CycleMachineParams
NewCycleMachineParams creates a new CycleMachineParams 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 NewCycleMachineParamsWithContext ¶ added in v0.17.9
func NewCycleMachineParamsWithContext(ctx context.Context) *CycleMachineParams
NewCycleMachineParamsWithContext creates a new CycleMachineParams object with the ability to set a context for a request.
func NewCycleMachineParamsWithHTTPClient ¶ added in v0.17.9
func NewCycleMachineParamsWithHTTPClient(client *http.Client) *CycleMachineParams
NewCycleMachineParamsWithHTTPClient creates a new CycleMachineParams object with the ability to set a custom HTTPClient for a request.
func NewCycleMachineParamsWithTimeout ¶ added in v0.17.9
func NewCycleMachineParamsWithTimeout(timeout time.Duration) *CycleMachineParams
NewCycleMachineParamsWithTimeout creates a new CycleMachineParams object with the ability to set a timeout on a request.
func (*CycleMachineParams) SetBody ¶ added in v0.17.9
func (o *CycleMachineParams) SetBody(body *models.V1ClusterMachineCycleRequest)
SetBody adds the body to the cycle machine params
func (*CycleMachineParams) SetContext ¶ added in v0.17.9
func (o *CycleMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the cycle machine params
func (*CycleMachineParams) SetDefaults ¶ added in v0.17.9
func (o *CycleMachineParams) SetDefaults()
SetDefaults hydrates default values in the cycle machine params (not the query body).
All values with no default are reset to their zero value.
func (*CycleMachineParams) SetHTTPClient ¶ added in v0.17.9
func (o *CycleMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cycle machine params
func (*CycleMachineParams) SetID ¶ added in v0.17.9
func (o *CycleMachineParams) SetID(id string)
SetID adds the id to the cycle machine params
func (*CycleMachineParams) SetTimeout ¶ added in v0.17.9
func (o *CycleMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cycle machine params
func (*CycleMachineParams) WithBody ¶ added in v0.17.9
func (o *CycleMachineParams) WithBody(body *models.V1ClusterMachineCycleRequest) *CycleMachineParams
WithBody adds the body to the cycle machine params
func (*CycleMachineParams) WithContext ¶ added in v0.17.9
func (o *CycleMachineParams) WithContext(ctx context.Context) *CycleMachineParams
WithContext adds the context to the cycle machine params
func (*CycleMachineParams) WithDefaults ¶ added in v0.17.9
func (o *CycleMachineParams) WithDefaults() *CycleMachineParams
WithDefaults hydrates default values in the cycle machine params (not the query body).
All values with no default are reset to their zero value.
func (*CycleMachineParams) WithHTTPClient ¶ added in v0.17.9
func (o *CycleMachineParams) WithHTTPClient(client *http.Client) *CycleMachineParams
WithHTTPClient adds the HTTPClient to the cycle machine params
func (*CycleMachineParams) WithID ¶ added in v0.17.9
func (o *CycleMachineParams) WithID(id string) *CycleMachineParams
WithID adds the id to the cycle machine params
func (*CycleMachineParams) WithTimeout ¶ added in v0.17.9
func (o *CycleMachineParams) WithTimeout(timeout time.Duration) *CycleMachineParams
WithTimeout adds the timeout to the cycle machine params
func (*CycleMachineParams) WriteToRequest ¶ added in v0.17.9
func (o *CycleMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CycleMachineReader ¶ added in v0.17.9
type CycleMachineReader struct {
// contains filtered or unexported fields
}
CycleMachineReader is a Reader for the CycleMachine structure.
func (*CycleMachineReader) ReadResponse ¶ added in v0.17.9
func (o *CycleMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteClusterDefault ¶
type DeleteClusterDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
DeleteClusterDefault describes a response with status code -1, with default header values.
Error
func NewDeleteClusterDefault ¶
func NewDeleteClusterDefault(code int) *DeleteClusterDefault
NewDeleteClusterDefault creates a DeleteClusterDefault with default headers values
func (*DeleteClusterDefault) Code ¶
func (o *DeleteClusterDefault) Code() int
Code gets the status code for the delete cluster default response
func (*DeleteClusterDefault) Error ¶
func (o *DeleteClusterDefault) Error() string
func (*DeleteClusterDefault) GetPayload ¶ added in v0.9.1
func (o *DeleteClusterDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*DeleteClusterDefault) IsClientError ¶ added in v0.19.0
func (o *DeleteClusterDefault) IsClientError() bool
IsClientError returns true when this delete cluster default response has a 4xx status code
func (*DeleteClusterDefault) IsCode ¶ added in v0.19.0
func (o *DeleteClusterDefault) IsCode(code int) bool
IsCode returns true when this delete cluster default response a status code equal to that given
func (*DeleteClusterDefault) IsRedirect ¶ added in v0.19.0
func (o *DeleteClusterDefault) IsRedirect() bool
IsRedirect returns true when this delete cluster default response has a 3xx status code
func (*DeleteClusterDefault) IsServerError ¶ added in v0.19.0
func (o *DeleteClusterDefault) IsServerError() bool
IsServerError returns true when this delete cluster default response has a 5xx status code
func (*DeleteClusterDefault) IsSuccess ¶ added in v0.19.0
func (o *DeleteClusterDefault) IsSuccess() bool
IsSuccess returns true when this delete cluster default response has a 2xx status code
func (*DeleteClusterDefault) String ¶ added in v0.19.0
func (o *DeleteClusterDefault) String() string
type DeleteClusterOK ¶
type DeleteClusterOK struct {
Payload *models.V1ClusterResponse
}
DeleteClusterOK describes a response with status code 200, with default header values.
OK
func NewDeleteClusterOK ¶
func NewDeleteClusterOK() *DeleteClusterOK
NewDeleteClusterOK creates a DeleteClusterOK with default headers values
func (*DeleteClusterOK) Code ¶ added in v0.20.11
func (o *DeleteClusterOK) Code() int
Code gets the status code for the delete cluster o k response
func (*DeleteClusterOK) Error ¶
func (o *DeleteClusterOK) Error() string
func (*DeleteClusterOK) GetPayload ¶ added in v0.9.1
func (o *DeleteClusterOK) GetPayload() *models.V1ClusterResponse
func (*DeleteClusterOK) IsClientError ¶ added in v0.19.0
func (o *DeleteClusterOK) IsClientError() bool
IsClientError returns true when this delete cluster o k response has a 4xx status code
func (*DeleteClusterOK) IsCode ¶ added in v0.19.0
func (o *DeleteClusterOK) IsCode(code int) bool
IsCode returns true when this delete cluster o k response a status code equal to that given
func (*DeleteClusterOK) IsRedirect ¶ added in v0.19.0
func (o *DeleteClusterOK) IsRedirect() bool
IsRedirect returns true when this delete cluster o k response has a 3xx status code
func (*DeleteClusterOK) IsServerError ¶ added in v0.19.0
func (o *DeleteClusterOK) IsServerError() bool
IsServerError returns true when this delete cluster o k response has a 5xx status code
func (*DeleteClusterOK) IsSuccess ¶ added in v0.19.0
func (o *DeleteClusterOK) IsSuccess() bool
IsSuccess returns true when this delete cluster o k response has a 2xx status code
func (*DeleteClusterOK) String ¶ added in v0.19.0
func (o *DeleteClusterOK) String() string
type DeleteClusterParams ¶
type DeleteClusterParams struct { /* ID. identifier of the cluster */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteClusterParams contains all the parameters to send to the API endpoint
for the delete cluster operation. Typically these are written to a http.Request.
func NewDeleteClusterParams ¶
func NewDeleteClusterParams() *DeleteClusterParams
NewDeleteClusterParams creates a new DeleteClusterParams 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 NewDeleteClusterParamsWithContext ¶
func NewDeleteClusterParamsWithContext(ctx context.Context) *DeleteClusterParams
NewDeleteClusterParamsWithContext creates a new DeleteClusterParams object with the ability to set a context for a request.
func NewDeleteClusterParamsWithHTTPClient ¶
func NewDeleteClusterParamsWithHTTPClient(client *http.Client) *DeleteClusterParams
NewDeleteClusterParamsWithHTTPClient creates a new DeleteClusterParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteClusterParamsWithTimeout ¶
func NewDeleteClusterParamsWithTimeout(timeout time.Duration) *DeleteClusterParams
NewDeleteClusterParamsWithTimeout creates a new DeleteClusterParams object with the ability to set a timeout on a request.
func (*DeleteClusterParams) SetContext ¶
func (o *DeleteClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the delete cluster params
func (*DeleteClusterParams) SetDefaults ¶ added in v0.12.0
func (o *DeleteClusterParams) SetDefaults()
SetDefaults hydrates default values in the delete cluster params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClusterParams) SetHTTPClient ¶
func (o *DeleteClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete cluster params
func (*DeleteClusterParams) SetID ¶
func (o *DeleteClusterParams) SetID(id string)
SetID adds the id to the delete cluster params
func (*DeleteClusterParams) SetTimeout ¶
func (o *DeleteClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete cluster params
func (*DeleteClusterParams) WithContext ¶
func (o *DeleteClusterParams) WithContext(ctx context.Context) *DeleteClusterParams
WithContext adds the context to the delete cluster params
func (*DeleteClusterParams) WithDefaults ¶ added in v0.12.0
func (o *DeleteClusterParams) WithDefaults() *DeleteClusterParams
WithDefaults hydrates default values in the delete cluster params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteClusterParams) WithHTTPClient ¶
func (o *DeleteClusterParams) WithHTTPClient(client *http.Client) *DeleteClusterParams
WithHTTPClient adds the HTTPClient to the delete cluster params
func (*DeleteClusterParams) WithID ¶
func (o *DeleteClusterParams) WithID(id string) *DeleteClusterParams
WithID adds the id to the delete cluster params
func (*DeleteClusterParams) WithTimeout ¶
func (o *DeleteClusterParams) WithTimeout(timeout time.Duration) *DeleteClusterParams
WithTimeout adds the timeout to the delete cluster params
func (*DeleteClusterParams) WriteToRequest ¶
func (o *DeleteClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteClusterReader ¶
type DeleteClusterReader struct {
// contains filtered or unexported fields
}
DeleteClusterReader is a Reader for the DeleteCluster structure.
func (*DeleteClusterReader) ReadResponse ¶
func (o *DeleteClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindClusterDefault ¶
type FindClusterDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindClusterDefault describes a response with status code -1, with default header values.
Error
func NewFindClusterDefault ¶
func NewFindClusterDefault(code int) *FindClusterDefault
NewFindClusterDefault creates a FindClusterDefault with default headers values
func (*FindClusterDefault) Code ¶
func (o *FindClusterDefault) Code() int
Code gets the status code for the find cluster default response
func (*FindClusterDefault) Error ¶
func (o *FindClusterDefault) Error() string
func (*FindClusterDefault) GetPayload ¶ added in v0.9.1
func (o *FindClusterDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindClusterDefault) IsClientError ¶ added in v0.19.0
func (o *FindClusterDefault) IsClientError() bool
IsClientError returns true when this find cluster default response has a 4xx status code
func (*FindClusterDefault) IsCode ¶ added in v0.19.0
func (o *FindClusterDefault) IsCode(code int) bool
IsCode returns true when this find cluster default response a status code equal to that given
func (*FindClusterDefault) IsRedirect ¶ added in v0.19.0
func (o *FindClusterDefault) IsRedirect() bool
IsRedirect returns true when this find cluster default response has a 3xx status code
func (*FindClusterDefault) IsServerError ¶ added in v0.19.0
func (o *FindClusterDefault) IsServerError() bool
IsServerError returns true when this find cluster default response has a 5xx status code
func (*FindClusterDefault) IsSuccess ¶ added in v0.19.0
func (o *FindClusterDefault) IsSuccess() bool
IsSuccess returns true when this find cluster default response has a 2xx status code
func (*FindClusterDefault) String ¶ added in v0.19.0
func (o *FindClusterDefault) String() string
type FindClusterOK ¶
type FindClusterOK struct {
Payload *models.V1ClusterResponse
}
FindClusterOK describes a response with status code 200, with default header values.
OK
func NewFindClusterOK ¶
func NewFindClusterOK() *FindClusterOK
NewFindClusterOK creates a FindClusterOK with default headers values
func (*FindClusterOK) Code ¶ added in v0.20.11
func (o *FindClusterOK) Code() int
Code gets the status code for the find cluster o k response
func (*FindClusterOK) Error ¶
func (o *FindClusterOK) Error() string
func (*FindClusterOK) GetPayload ¶ added in v0.9.1
func (o *FindClusterOK) GetPayload() *models.V1ClusterResponse
func (*FindClusterOK) IsClientError ¶ added in v0.19.0
func (o *FindClusterOK) IsClientError() bool
IsClientError returns true when this find cluster o k response has a 4xx status code
func (*FindClusterOK) IsCode ¶ added in v0.19.0
func (o *FindClusterOK) IsCode(code int) bool
IsCode returns true when this find cluster o k response a status code equal to that given
func (*FindClusterOK) IsRedirect ¶ added in v0.19.0
func (o *FindClusterOK) IsRedirect() bool
IsRedirect returns true when this find cluster o k response has a 3xx status code
func (*FindClusterOK) IsServerError ¶ added in v0.19.0
func (o *FindClusterOK) IsServerError() bool
IsServerError returns true when this find cluster o k response has a 5xx status code
func (*FindClusterOK) IsSuccess ¶ added in v0.19.0
func (o *FindClusterOK) IsSuccess() bool
IsSuccess returns true when this find cluster o k response has a 2xx status code
func (*FindClusterOK) String ¶ added in v0.19.0
func (o *FindClusterOK) String() string
type FindClusterParams ¶
type FindClusterParams struct { /* ID. identifier of the cluster */ ID string /* ReturnMachines. returns machines in the response Default: true */ ReturnMachines *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindClusterParams contains all the parameters to send to the API endpoint
for the find cluster operation. Typically these are written to a http.Request.
func NewFindClusterParams ¶
func NewFindClusterParams() *FindClusterParams
NewFindClusterParams creates a new FindClusterParams 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 NewFindClusterParamsWithContext ¶
func NewFindClusterParamsWithContext(ctx context.Context) *FindClusterParams
NewFindClusterParamsWithContext creates a new FindClusterParams object with the ability to set a context for a request.
func NewFindClusterParamsWithHTTPClient ¶
func NewFindClusterParamsWithHTTPClient(client *http.Client) *FindClusterParams
NewFindClusterParamsWithHTTPClient creates a new FindClusterParams object with the ability to set a custom HTTPClient for a request.
func NewFindClusterParamsWithTimeout ¶
func NewFindClusterParamsWithTimeout(timeout time.Duration) *FindClusterParams
NewFindClusterParamsWithTimeout creates a new FindClusterParams object with the ability to set a timeout on a request.
func (*FindClusterParams) SetContext ¶
func (o *FindClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the find cluster params
func (*FindClusterParams) SetDefaults ¶ added in v0.12.0
func (o *FindClusterParams) SetDefaults()
SetDefaults hydrates default values in the find cluster params (not the query body).
All values with no default are reset to their zero value.
func (*FindClusterParams) SetHTTPClient ¶
func (o *FindClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find cluster params
func (*FindClusterParams) SetID ¶
func (o *FindClusterParams) SetID(id string)
SetID adds the id to the find cluster params
func (*FindClusterParams) SetReturnMachines ¶ added in v0.17.21
func (o *FindClusterParams) SetReturnMachines(returnMachines *bool)
SetReturnMachines adds the returnMachines to the find cluster params
func (*FindClusterParams) SetTimeout ¶
func (o *FindClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find cluster params
func (*FindClusterParams) WithContext ¶
func (o *FindClusterParams) WithContext(ctx context.Context) *FindClusterParams
WithContext adds the context to the find cluster params
func (*FindClusterParams) WithDefaults ¶ added in v0.12.0
func (o *FindClusterParams) WithDefaults() *FindClusterParams
WithDefaults hydrates default values in the find cluster params (not the query body).
All values with no default are reset to their zero value.
func (*FindClusterParams) WithHTTPClient ¶
func (o *FindClusterParams) WithHTTPClient(client *http.Client) *FindClusterParams
WithHTTPClient adds the HTTPClient to the find cluster params
func (*FindClusterParams) WithID ¶
func (o *FindClusterParams) WithID(id string) *FindClusterParams
WithID adds the id to the find cluster params
func (*FindClusterParams) WithReturnMachines ¶ added in v0.17.21
func (o *FindClusterParams) WithReturnMachines(returnMachines *bool) *FindClusterParams
WithReturnMachines adds the returnMachines to the find cluster params
func (*FindClusterParams) WithTimeout ¶
func (o *FindClusterParams) WithTimeout(timeout time.Duration) *FindClusterParams
WithTimeout adds the timeout to the find cluster params
func (*FindClusterParams) WriteToRequest ¶
func (o *FindClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindClusterReader ¶
type FindClusterReader struct {
// contains filtered or unexported fields
}
FindClusterReader is a Reader for the FindCluster structure.
func (*FindClusterReader) ReadResponse ¶
func (o *FindClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindClustersDefault ¶
type FindClustersDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindClustersDefault describes a response with status code -1, with default header values.
Error
func NewFindClustersDefault ¶
func NewFindClustersDefault(code int) *FindClustersDefault
NewFindClustersDefault creates a FindClustersDefault with default headers values
func (*FindClustersDefault) Code ¶
func (o *FindClustersDefault) Code() int
Code gets the status code for the find clusters default response
func (*FindClustersDefault) Error ¶
func (o *FindClustersDefault) Error() string
func (*FindClustersDefault) GetPayload ¶ added in v0.9.1
func (o *FindClustersDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindClustersDefault) IsClientError ¶ added in v0.19.0
func (o *FindClustersDefault) IsClientError() bool
IsClientError returns true when this find clusters default response has a 4xx status code
func (*FindClustersDefault) IsCode ¶ added in v0.19.0
func (o *FindClustersDefault) IsCode(code int) bool
IsCode returns true when this find clusters default response a status code equal to that given
func (*FindClustersDefault) IsRedirect ¶ added in v0.19.0
func (o *FindClustersDefault) IsRedirect() bool
IsRedirect returns true when this find clusters default response has a 3xx status code
func (*FindClustersDefault) IsServerError ¶ added in v0.19.0
func (o *FindClustersDefault) IsServerError() bool
IsServerError returns true when this find clusters default response has a 5xx status code
func (*FindClustersDefault) IsSuccess ¶ added in v0.19.0
func (o *FindClustersDefault) IsSuccess() bool
IsSuccess returns true when this find clusters default response has a 2xx status code
func (*FindClustersDefault) String ¶ added in v0.19.0
func (o *FindClustersDefault) String() string
type FindClustersOK ¶
type FindClustersOK struct {
Payload []*models.V1ClusterResponse
}
FindClustersOK describes a response with status code 200, with default header values.
OK
func NewFindClustersOK ¶
func NewFindClustersOK() *FindClustersOK
NewFindClustersOK creates a FindClustersOK with default headers values
func (*FindClustersOK) Code ¶ added in v0.20.11
func (o *FindClustersOK) Code() int
Code gets the status code for the find clusters o k response
func (*FindClustersOK) Error ¶
func (o *FindClustersOK) Error() string
func (*FindClustersOK) GetPayload ¶ added in v0.9.1
func (o *FindClustersOK) GetPayload() []*models.V1ClusterResponse
func (*FindClustersOK) IsClientError ¶ added in v0.19.0
func (o *FindClustersOK) IsClientError() bool
IsClientError returns true when this find clusters o k response has a 4xx status code
func (*FindClustersOK) IsCode ¶ added in v0.19.0
func (o *FindClustersOK) IsCode(code int) bool
IsCode returns true when this find clusters o k response a status code equal to that given
func (*FindClustersOK) IsRedirect ¶ added in v0.19.0
func (o *FindClustersOK) IsRedirect() bool
IsRedirect returns true when this find clusters o k response has a 3xx status code
func (*FindClustersOK) IsServerError ¶ added in v0.19.0
func (o *FindClustersOK) IsServerError() bool
IsServerError returns true when this find clusters o k response has a 5xx status code
func (*FindClustersOK) IsSuccess ¶ added in v0.19.0
func (o *FindClustersOK) IsSuccess() bool
IsSuccess returns true when this find clusters o k response has a 2xx status code
func (*FindClustersOK) String ¶ added in v0.19.0
func (o *FindClustersOK) String() string
type FindClustersParams ¶
type FindClustersParams struct { // Body. Body *models.V1ClusterFindRequest /* ReturnMachines. returns machines in the response, which is disabled by default for list responses because it makes the request slower */ ReturnMachines *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindClustersParams contains all the parameters to send to the API endpoint
for the find clusters operation. Typically these are written to a http.Request.
func NewFindClustersParams ¶
func NewFindClustersParams() *FindClustersParams
NewFindClustersParams creates a new FindClustersParams 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 NewFindClustersParamsWithContext ¶
func NewFindClustersParamsWithContext(ctx context.Context) *FindClustersParams
NewFindClustersParamsWithContext creates a new FindClustersParams object with the ability to set a context for a request.
func NewFindClustersParamsWithHTTPClient ¶
func NewFindClustersParamsWithHTTPClient(client *http.Client) *FindClustersParams
NewFindClustersParamsWithHTTPClient creates a new FindClustersParams object with the ability to set a custom HTTPClient for a request.
func NewFindClustersParamsWithTimeout ¶
func NewFindClustersParamsWithTimeout(timeout time.Duration) *FindClustersParams
NewFindClustersParamsWithTimeout creates a new FindClustersParams object with the ability to set a timeout on a request.
func (*FindClustersParams) SetBody ¶
func (o *FindClustersParams) SetBody(body *models.V1ClusterFindRequest)
SetBody adds the body to the find clusters params
func (*FindClustersParams) SetContext ¶
func (o *FindClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the find clusters params
func (*FindClustersParams) SetDefaults ¶ added in v0.12.0
func (o *FindClustersParams) SetDefaults()
SetDefaults hydrates default values in the find clusters params (not the query body).
All values with no default are reset to their zero value.
func (*FindClustersParams) SetHTTPClient ¶
func (o *FindClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find clusters params
func (*FindClustersParams) SetReturnMachines ¶ added in v0.9.1
func (o *FindClustersParams) SetReturnMachines(returnMachines *bool)
SetReturnMachines adds the returnMachines to the find clusters params
func (*FindClustersParams) SetTimeout ¶
func (o *FindClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find clusters params
func (*FindClustersParams) WithBody ¶
func (o *FindClustersParams) WithBody(body *models.V1ClusterFindRequest) *FindClustersParams
WithBody adds the body to the find clusters params
func (*FindClustersParams) WithContext ¶
func (o *FindClustersParams) WithContext(ctx context.Context) *FindClustersParams
WithContext adds the context to the find clusters params
func (*FindClustersParams) WithDefaults ¶ added in v0.12.0
func (o *FindClustersParams) WithDefaults() *FindClustersParams
WithDefaults hydrates default values in the find clusters params (not the query body).
All values with no default are reset to their zero value.
func (*FindClustersParams) WithHTTPClient ¶
func (o *FindClustersParams) WithHTTPClient(client *http.Client) *FindClustersParams
WithHTTPClient adds the HTTPClient to the find clusters params
func (*FindClustersParams) WithReturnMachines ¶ added in v0.9.1
func (o *FindClustersParams) WithReturnMachines(returnMachines *bool) *FindClustersParams
WithReturnMachines adds the returnMachines to the find clusters params
func (*FindClustersParams) WithTimeout ¶
func (o *FindClustersParams) WithTimeout(timeout time.Duration) *FindClustersParams
WithTimeout adds the timeout to the find clusters params
func (*FindClustersParams) WriteToRequest ¶
func (o *FindClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindClustersReader ¶
type FindClustersReader struct {
// contains filtered or unexported fields
}
FindClustersReader is a Reader for the FindClusters structure.
func (*FindClustersReader) ReadResponse ¶
func (o *FindClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAuditPolicyDefault ¶ added in v0.23.0
type GetAuditPolicyDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
GetAuditPolicyDefault describes a response with status code -1, with default header values.
Error
func NewGetAuditPolicyDefault ¶ added in v0.23.0
func NewGetAuditPolicyDefault(code int) *GetAuditPolicyDefault
NewGetAuditPolicyDefault creates a GetAuditPolicyDefault with default headers values
func (*GetAuditPolicyDefault) Code ¶ added in v0.23.0
func (o *GetAuditPolicyDefault) Code() int
Code gets the status code for the get audit policy default response
func (*GetAuditPolicyDefault) Error ¶ added in v0.23.0
func (o *GetAuditPolicyDefault) Error() string
func (*GetAuditPolicyDefault) GetPayload ¶ added in v0.23.0
func (o *GetAuditPolicyDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*GetAuditPolicyDefault) IsClientError ¶ added in v0.23.0
func (o *GetAuditPolicyDefault) IsClientError() bool
IsClientError returns true when this get audit policy default response has a 4xx status code
func (*GetAuditPolicyDefault) IsCode ¶ added in v0.23.0
func (o *GetAuditPolicyDefault) IsCode(code int) bool
IsCode returns true when this get audit policy default response a status code equal to that given
func (*GetAuditPolicyDefault) IsRedirect ¶ added in v0.23.0
func (o *GetAuditPolicyDefault) IsRedirect() bool
IsRedirect returns true when this get audit policy default response has a 3xx status code
func (*GetAuditPolicyDefault) IsServerError ¶ added in v0.23.0
func (o *GetAuditPolicyDefault) IsServerError() bool
IsServerError returns true when this get audit policy default response has a 5xx status code
func (*GetAuditPolicyDefault) IsSuccess ¶ added in v0.23.0
func (o *GetAuditPolicyDefault) IsSuccess() bool
IsSuccess returns true when this get audit policy default response has a 2xx status code
func (*GetAuditPolicyDefault) String ¶ added in v0.23.0
func (o *GetAuditPolicyDefault) String() string
type GetAuditPolicyOK ¶ added in v0.23.0
type GetAuditPolicyOK struct {
Payload *models.V1AuditPolicyResponse
}
GetAuditPolicyOK describes a response with status code 200, with default header values.
OK
func NewGetAuditPolicyOK ¶ added in v0.23.0
func NewGetAuditPolicyOK() *GetAuditPolicyOK
NewGetAuditPolicyOK creates a GetAuditPolicyOK with default headers values
func (*GetAuditPolicyOK) Code ¶ added in v0.23.0
func (o *GetAuditPolicyOK) Code() int
Code gets the status code for the get audit policy o k response
func (*GetAuditPolicyOK) Error ¶ added in v0.23.0
func (o *GetAuditPolicyOK) Error() string
func (*GetAuditPolicyOK) GetPayload ¶ added in v0.23.0
func (o *GetAuditPolicyOK) GetPayload() *models.V1AuditPolicyResponse
func (*GetAuditPolicyOK) IsClientError ¶ added in v0.23.0
func (o *GetAuditPolicyOK) IsClientError() bool
IsClientError returns true when this get audit policy o k response has a 4xx status code
func (*GetAuditPolicyOK) IsCode ¶ added in v0.23.0
func (o *GetAuditPolicyOK) IsCode(code int) bool
IsCode returns true when this get audit policy o k response a status code equal to that given
func (*GetAuditPolicyOK) IsRedirect ¶ added in v0.23.0
func (o *GetAuditPolicyOK) IsRedirect() bool
IsRedirect returns true when this get audit policy o k response has a 3xx status code
func (*GetAuditPolicyOK) IsServerError ¶ added in v0.23.0
func (o *GetAuditPolicyOK) IsServerError() bool
IsServerError returns true when this get audit policy o k response has a 5xx status code
func (*GetAuditPolicyOK) IsSuccess ¶ added in v0.23.0
func (o *GetAuditPolicyOK) IsSuccess() bool
IsSuccess returns true when this get audit policy o k response has a 2xx status code
func (*GetAuditPolicyOK) String ¶ added in v0.23.0
func (o *GetAuditPolicyOK) String() string
type GetAuditPolicyParams ¶ added in v0.23.0
type GetAuditPolicyParams struct { /* ID. identifier of the cluster */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAuditPolicyParams contains all the parameters to send to the API endpoint
for the get audit policy operation. Typically these are written to a http.Request.
func NewGetAuditPolicyParams ¶ added in v0.23.0
func NewGetAuditPolicyParams() *GetAuditPolicyParams
NewGetAuditPolicyParams creates a new GetAuditPolicyParams 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 NewGetAuditPolicyParamsWithContext ¶ added in v0.23.0
func NewGetAuditPolicyParamsWithContext(ctx context.Context) *GetAuditPolicyParams
NewGetAuditPolicyParamsWithContext creates a new GetAuditPolicyParams object with the ability to set a context for a request.
func NewGetAuditPolicyParamsWithHTTPClient ¶ added in v0.23.0
func NewGetAuditPolicyParamsWithHTTPClient(client *http.Client) *GetAuditPolicyParams
NewGetAuditPolicyParamsWithHTTPClient creates a new GetAuditPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewGetAuditPolicyParamsWithTimeout ¶ added in v0.23.0
func NewGetAuditPolicyParamsWithTimeout(timeout time.Duration) *GetAuditPolicyParams
NewGetAuditPolicyParamsWithTimeout creates a new GetAuditPolicyParams object with the ability to set a timeout on a request.
func (*GetAuditPolicyParams) SetContext ¶ added in v0.23.0
func (o *GetAuditPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the get audit policy params
func (*GetAuditPolicyParams) SetDefaults ¶ added in v0.23.0
func (o *GetAuditPolicyParams) SetDefaults()
SetDefaults hydrates default values in the get audit policy params (not the query body).
All values with no default are reset to their zero value.
func (*GetAuditPolicyParams) SetHTTPClient ¶ added in v0.23.0
func (o *GetAuditPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get audit policy params
func (*GetAuditPolicyParams) SetID ¶ added in v0.23.0
func (o *GetAuditPolicyParams) SetID(id string)
SetID adds the id to the get audit policy params
func (*GetAuditPolicyParams) SetTimeout ¶ added in v0.23.0
func (o *GetAuditPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get audit policy params
func (*GetAuditPolicyParams) WithContext ¶ added in v0.23.0
func (o *GetAuditPolicyParams) WithContext(ctx context.Context) *GetAuditPolicyParams
WithContext adds the context to the get audit policy params
func (*GetAuditPolicyParams) WithDefaults ¶ added in v0.23.0
func (o *GetAuditPolicyParams) WithDefaults() *GetAuditPolicyParams
WithDefaults hydrates default values in the get audit policy params (not the query body).
All values with no default are reset to their zero value.
func (*GetAuditPolicyParams) WithHTTPClient ¶ added in v0.23.0
func (o *GetAuditPolicyParams) WithHTTPClient(client *http.Client) *GetAuditPolicyParams
WithHTTPClient adds the HTTPClient to the get audit policy params
func (*GetAuditPolicyParams) WithID ¶ added in v0.23.0
func (o *GetAuditPolicyParams) WithID(id string) *GetAuditPolicyParams
WithID adds the id to the get audit policy params
func (*GetAuditPolicyParams) WithTimeout ¶ added in v0.23.0
func (o *GetAuditPolicyParams) WithTimeout(timeout time.Duration) *GetAuditPolicyParams
WithTimeout adds the timeout to the get audit policy params
func (*GetAuditPolicyParams) WriteToRequest ¶ added in v0.23.0
func (o *GetAuditPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAuditPolicyReader ¶ added in v0.23.0
type GetAuditPolicyReader struct {
// contains filtered or unexported fields
}
GetAuditPolicyReader is a Reader for the GetAuditPolicy structure.
func (*GetAuditPolicyReader) ReadResponse ¶ added in v0.23.0
func (o *GetAuditPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterKubeconfigTplDefault ¶
type GetClusterKubeconfigTplDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
GetClusterKubeconfigTplDefault describes a response with status code -1, with default header values.
Error
func NewGetClusterKubeconfigTplDefault ¶
func NewGetClusterKubeconfigTplDefault(code int) *GetClusterKubeconfigTplDefault
NewGetClusterKubeconfigTplDefault creates a GetClusterKubeconfigTplDefault with default headers values
func (*GetClusterKubeconfigTplDefault) Code ¶
func (o *GetClusterKubeconfigTplDefault) Code() int
Code gets the status code for the get cluster kubeconfig tpl default response
func (*GetClusterKubeconfigTplDefault) Error ¶
func (o *GetClusterKubeconfigTplDefault) Error() string
func (*GetClusterKubeconfigTplDefault) GetPayload ¶ added in v0.9.1
func (o *GetClusterKubeconfigTplDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*GetClusterKubeconfigTplDefault) IsClientError ¶ added in v0.19.0
func (o *GetClusterKubeconfigTplDefault) IsClientError() bool
IsClientError returns true when this get cluster kubeconfig tpl default response has a 4xx status code
func (*GetClusterKubeconfigTplDefault) IsCode ¶ added in v0.19.0
func (o *GetClusterKubeconfigTplDefault) IsCode(code int) bool
IsCode returns true when this get cluster kubeconfig tpl default response a status code equal to that given
func (*GetClusterKubeconfigTplDefault) IsRedirect ¶ added in v0.19.0
func (o *GetClusterKubeconfigTplDefault) IsRedirect() bool
IsRedirect returns true when this get cluster kubeconfig tpl default response has a 3xx status code
func (*GetClusterKubeconfigTplDefault) IsServerError ¶ added in v0.19.0
func (o *GetClusterKubeconfigTplDefault) IsServerError() bool
IsServerError returns true when this get cluster kubeconfig tpl default response has a 5xx status code
func (*GetClusterKubeconfigTplDefault) IsSuccess ¶ added in v0.19.0
func (o *GetClusterKubeconfigTplDefault) IsSuccess() bool
IsSuccess returns true when this get cluster kubeconfig tpl default response has a 2xx status code
func (*GetClusterKubeconfigTplDefault) String ¶ added in v0.19.0
func (o *GetClusterKubeconfigTplDefault) String() string
type GetClusterKubeconfigTplOK ¶
type GetClusterKubeconfigTplOK struct {
Payload *models.V1ClusterKubeconfigResponse
}
GetClusterKubeconfigTplOK describes a response with status code 200, with default header values.
OK
func NewGetClusterKubeconfigTplOK ¶
func NewGetClusterKubeconfigTplOK() *GetClusterKubeconfigTplOK
NewGetClusterKubeconfigTplOK creates a GetClusterKubeconfigTplOK with default headers values
func (*GetClusterKubeconfigTplOK) Code ¶ added in v0.20.11
func (o *GetClusterKubeconfigTplOK) Code() int
Code gets the status code for the get cluster kubeconfig tpl o k response
func (*GetClusterKubeconfigTplOK) Error ¶
func (o *GetClusterKubeconfigTplOK) Error() string
func (*GetClusterKubeconfigTplOK) GetPayload ¶ added in v0.9.1
func (o *GetClusterKubeconfigTplOK) GetPayload() *models.V1ClusterKubeconfigResponse
func (*GetClusterKubeconfigTplOK) IsClientError ¶ added in v0.19.0
func (o *GetClusterKubeconfigTplOK) IsClientError() bool
IsClientError returns true when this get cluster kubeconfig tpl o k response has a 4xx status code
func (*GetClusterKubeconfigTplOK) IsCode ¶ added in v0.19.0
func (o *GetClusterKubeconfigTplOK) IsCode(code int) bool
IsCode returns true when this get cluster kubeconfig tpl o k response a status code equal to that given
func (*GetClusterKubeconfigTplOK) IsRedirect ¶ added in v0.19.0
func (o *GetClusterKubeconfigTplOK) IsRedirect() bool
IsRedirect returns true when this get cluster kubeconfig tpl o k response has a 3xx status code
func (*GetClusterKubeconfigTplOK) IsServerError ¶ added in v0.19.0
func (o *GetClusterKubeconfigTplOK) IsServerError() bool
IsServerError returns true when this get cluster kubeconfig tpl o k response has a 5xx status code
func (*GetClusterKubeconfigTplOK) IsSuccess ¶ added in v0.19.0
func (o *GetClusterKubeconfigTplOK) IsSuccess() bool
IsSuccess returns true when this get cluster kubeconfig tpl o k response has a 2xx status code
func (*GetClusterKubeconfigTplOK) String ¶ added in v0.19.0
func (o *GetClusterKubeconfigTplOK) String() string
type GetClusterKubeconfigTplParams ¶
type GetClusterKubeconfigTplParams struct { /* ID. identifier of the cluster */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterKubeconfigTplParams contains all the parameters to send to the API endpoint
for the get cluster kubeconfig tpl operation. Typically these are written to a http.Request.
func NewGetClusterKubeconfigTplParams ¶
func NewGetClusterKubeconfigTplParams() *GetClusterKubeconfigTplParams
NewGetClusterKubeconfigTplParams creates a new GetClusterKubeconfigTplParams 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 NewGetClusterKubeconfigTplParamsWithContext ¶
func NewGetClusterKubeconfigTplParamsWithContext(ctx context.Context) *GetClusterKubeconfigTplParams
NewGetClusterKubeconfigTplParamsWithContext creates a new GetClusterKubeconfigTplParams object with the ability to set a context for a request.
func NewGetClusterKubeconfigTplParamsWithHTTPClient ¶
func NewGetClusterKubeconfigTplParamsWithHTTPClient(client *http.Client) *GetClusterKubeconfigTplParams
NewGetClusterKubeconfigTplParamsWithHTTPClient creates a new GetClusterKubeconfigTplParams object with the ability to set a custom HTTPClient for a request.
func NewGetClusterKubeconfigTplParamsWithTimeout ¶
func NewGetClusterKubeconfigTplParamsWithTimeout(timeout time.Duration) *GetClusterKubeconfigTplParams
NewGetClusterKubeconfigTplParamsWithTimeout creates a new GetClusterKubeconfigTplParams object with the ability to set a timeout on a request.
func (*GetClusterKubeconfigTplParams) SetContext ¶
func (o *GetClusterKubeconfigTplParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster kubeconfig tpl params
func (*GetClusterKubeconfigTplParams) SetDefaults ¶ added in v0.12.0
func (o *GetClusterKubeconfigTplParams) SetDefaults()
SetDefaults hydrates default values in the get cluster kubeconfig tpl params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterKubeconfigTplParams) SetHTTPClient ¶
func (o *GetClusterKubeconfigTplParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster kubeconfig tpl params
func (*GetClusterKubeconfigTplParams) SetID ¶
func (o *GetClusterKubeconfigTplParams) SetID(id string)
SetID adds the id to the get cluster kubeconfig tpl params
func (*GetClusterKubeconfigTplParams) SetTimeout ¶
func (o *GetClusterKubeconfigTplParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster kubeconfig tpl params
func (*GetClusterKubeconfigTplParams) WithContext ¶
func (o *GetClusterKubeconfigTplParams) WithContext(ctx context.Context) *GetClusterKubeconfigTplParams
WithContext adds the context to the get cluster kubeconfig tpl params
func (*GetClusterKubeconfigTplParams) WithDefaults ¶ added in v0.12.0
func (o *GetClusterKubeconfigTplParams) WithDefaults() *GetClusterKubeconfigTplParams
WithDefaults hydrates default values in the get cluster kubeconfig tpl params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterKubeconfigTplParams) WithHTTPClient ¶
func (o *GetClusterKubeconfigTplParams) WithHTTPClient(client *http.Client) *GetClusterKubeconfigTplParams
WithHTTPClient adds the HTTPClient to the get cluster kubeconfig tpl params
func (*GetClusterKubeconfigTplParams) WithID ¶
func (o *GetClusterKubeconfigTplParams) WithID(id string) *GetClusterKubeconfigTplParams
WithID adds the id to the get cluster kubeconfig tpl params
func (*GetClusterKubeconfigTplParams) WithTimeout ¶
func (o *GetClusterKubeconfigTplParams) WithTimeout(timeout time.Duration) *GetClusterKubeconfigTplParams
WithTimeout adds the timeout to the get cluster kubeconfig tpl params
func (*GetClusterKubeconfigTplParams) WriteToRequest ¶
func (o *GetClusterKubeconfigTplParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterKubeconfigTplReader ¶
type GetClusterKubeconfigTplReader struct {
// contains filtered or unexported fields
}
GetClusterKubeconfigTplReader is a Reader for the GetClusterKubeconfigTpl structure.
func (*GetClusterKubeconfigTplReader) ReadResponse ¶
func (o *GetClusterKubeconfigTplReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMonitoringSecretDefault ¶ added in v0.18.28
type GetMonitoringSecretDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
GetMonitoringSecretDefault describes a response with status code -1, with default header values.
Error
func NewGetMonitoringSecretDefault ¶ added in v0.18.28
func NewGetMonitoringSecretDefault(code int) *GetMonitoringSecretDefault
NewGetMonitoringSecretDefault creates a GetMonitoringSecretDefault with default headers values
func (*GetMonitoringSecretDefault) Code ¶ added in v0.18.28
func (o *GetMonitoringSecretDefault) Code() int
Code gets the status code for the get monitoring secret default response
func (*GetMonitoringSecretDefault) Error ¶ added in v0.18.28
func (o *GetMonitoringSecretDefault) Error() string
func (*GetMonitoringSecretDefault) GetPayload ¶ added in v0.18.28
func (o *GetMonitoringSecretDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*GetMonitoringSecretDefault) IsClientError ¶ added in v0.19.0
func (o *GetMonitoringSecretDefault) IsClientError() bool
IsClientError returns true when this get monitoring secret default response has a 4xx status code
func (*GetMonitoringSecretDefault) IsCode ¶ added in v0.19.0
func (o *GetMonitoringSecretDefault) IsCode(code int) bool
IsCode returns true when this get monitoring secret default response a status code equal to that given
func (*GetMonitoringSecretDefault) IsRedirect ¶ added in v0.19.0
func (o *GetMonitoringSecretDefault) IsRedirect() bool
IsRedirect returns true when this get monitoring secret default response has a 3xx status code
func (*GetMonitoringSecretDefault) IsServerError ¶ added in v0.19.0
func (o *GetMonitoringSecretDefault) IsServerError() bool
IsServerError returns true when this get monitoring secret default response has a 5xx status code
func (*GetMonitoringSecretDefault) IsSuccess ¶ added in v0.19.0
func (o *GetMonitoringSecretDefault) IsSuccess() bool
IsSuccess returns true when this get monitoring secret default response has a 2xx status code
func (*GetMonitoringSecretDefault) String ¶ added in v0.19.0
func (o *GetMonitoringSecretDefault) String() string
type GetMonitoringSecretOK ¶ added in v0.18.28
type GetMonitoringSecretOK struct {
Payload *models.V1ClusterMonitoringSecretResponse
}
GetMonitoringSecretOK describes a response with status code 200, with default header values.
OK
func NewGetMonitoringSecretOK ¶ added in v0.18.28
func NewGetMonitoringSecretOK() *GetMonitoringSecretOK
NewGetMonitoringSecretOK creates a GetMonitoringSecretOK with default headers values
func (*GetMonitoringSecretOK) Code ¶ added in v0.20.11
func (o *GetMonitoringSecretOK) Code() int
Code gets the status code for the get monitoring secret o k response
func (*GetMonitoringSecretOK) Error ¶ added in v0.18.28
func (o *GetMonitoringSecretOK) Error() string
func (*GetMonitoringSecretOK) GetPayload ¶ added in v0.18.28
func (o *GetMonitoringSecretOK) GetPayload() *models.V1ClusterMonitoringSecretResponse
func (*GetMonitoringSecretOK) IsClientError ¶ added in v0.19.0
func (o *GetMonitoringSecretOK) IsClientError() bool
IsClientError returns true when this get monitoring secret o k response has a 4xx status code
func (*GetMonitoringSecretOK) IsCode ¶ added in v0.19.0
func (o *GetMonitoringSecretOK) IsCode(code int) bool
IsCode returns true when this get monitoring secret o k response a status code equal to that given
func (*GetMonitoringSecretOK) IsRedirect ¶ added in v0.19.0
func (o *GetMonitoringSecretOK) IsRedirect() bool
IsRedirect returns true when this get monitoring secret o k response has a 3xx status code
func (*GetMonitoringSecretOK) IsServerError ¶ added in v0.19.0
func (o *GetMonitoringSecretOK) IsServerError() bool
IsServerError returns true when this get monitoring secret o k response has a 5xx status code
func (*GetMonitoringSecretOK) IsSuccess ¶ added in v0.19.0
func (o *GetMonitoringSecretOK) IsSuccess() bool
IsSuccess returns true when this get monitoring secret o k response has a 2xx status code
func (*GetMonitoringSecretOK) String ¶ added in v0.19.0
func (o *GetMonitoringSecretOK) String() string
type GetMonitoringSecretParams ¶ added in v0.18.28
type GetMonitoringSecretParams struct { /* ID. identifier of the cluster */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMonitoringSecretParams contains all the parameters to send to the API endpoint
for the get monitoring secret operation. Typically these are written to a http.Request.
func NewGetMonitoringSecretParams ¶ added in v0.18.28
func NewGetMonitoringSecretParams() *GetMonitoringSecretParams
NewGetMonitoringSecretParams creates a new GetMonitoringSecretParams 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 NewGetMonitoringSecretParamsWithContext ¶ added in v0.18.28
func NewGetMonitoringSecretParamsWithContext(ctx context.Context) *GetMonitoringSecretParams
NewGetMonitoringSecretParamsWithContext creates a new GetMonitoringSecretParams object with the ability to set a context for a request.
func NewGetMonitoringSecretParamsWithHTTPClient ¶ added in v0.18.28
func NewGetMonitoringSecretParamsWithHTTPClient(client *http.Client) *GetMonitoringSecretParams
NewGetMonitoringSecretParamsWithHTTPClient creates a new GetMonitoringSecretParams object with the ability to set a custom HTTPClient for a request.
func NewGetMonitoringSecretParamsWithTimeout ¶ added in v0.18.28
func NewGetMonitoringSecretParamsWithTimeout(timeout time.Duration) *GetMonitoringSecretParams
NewGetMonitoringSecretParamsWithTimeout creates a new GetMonitoringSecretParams object with the ability to set a timeout on a request.
func (*GetMonitoringSecretParams) SetContext ¶ added in v0.18.28
func (o *GetMonitoringSecretParams) SetContext(ctx context.Context)
SetContext adds the context to the get monitoring secret params
func (*GetMonitoringSecretParams) SetDefaults ¶ added in v0.18.28
func (o *GetMonitoringSecretParams) SetDefaults()
SetDefaults hydrates default values in the get monitoring secret params (not the query body).
All values with no default are reset to their zero value.
func (*GetMonitoringSecretParams) SetHTTPClient ¶ added in v0.18.28
func (o *GetMonitoringSecretParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get monitoring secret params
func (*GetMonitoringSecretParams) SetID ¶ added in v0.18.28
func (o *GetMonitoringSecretParams) SetID(id string)
SetID adds the id to the get monitoring secret params
func (*GetMonitoringSecretParams) SetTimeout ¶ added in v0.18.28
func (o *GetMonitoringSecretParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get monitoring secret params
func (*GetMonitoringSecretParams) WithContext ¶ added in v0.18.28
func (o *GetMonitoringSecretParams) WithContext(ctx context.Context) *GetMonitoringSecretParams
WithContext adds the context to the get monitoring secret params
func (*GetMonitoringSecretParams) WithDefaults ¶ added in v0.18.28
func (o *GetMonitoringSecretParams) WithDefaults() *GetMonitoringSecretParams
WithDefaults hydrates default values in the get monitoring secret params (not the query body).
All values with no default are reset to their zero value.
func (*GetMonitoringSecretParams) WithHTTPClient ¶ added in v0.18.28
func (o *GetMonitoringSecretParams) WithHTTPClient(client *http.Client) *GetMonitoringSecretParams
WithHTTPClient adds the HTTPClient to the get monitoring secret params
func (*GetMonitoringSecretParams) WithID ¶ added in v0.18.28
func (o *GetMonitoringSecretParams) WithID(id string) *GetMonitoringSecretParams
WithID adds the id to the get monitoring secret params
func (*GetMonitoringSecretParams) WithTimeout ¶ added in v0.18.28
func (o *GetMonitoringSecretParams) WithTimeout(timeout time.Duration) *GetMonitoringSecretParams
WithTimeout adds the timeout to the get monitoring secret params
func (*GetMonitoringSecretParams) WriteToRequest ¶ added in v0.18.28
func (o *GetMonitoringSecretParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMonitoringSecretReader ¶ added in v0.18.28
type GetMonitoringSecretReader struct {
// contains filtered or unexported fields
}
GetMonitoringSecretReader is a Reader for the GetMonitoringSecret structure.
func (*GetMonitoringSecretReader) ReadResponse ¶ added in v0.18.28
func (o *GetMonitoringSecretReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSSHKeyPairDefault ¶
type GetSSHKeyPairDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
GetSSHKeyPairDefault describes a response with status code -1, with default header values.
Error
func NewGetSSHKeyPairDefault ¶
func NewGetSSHKeyPairDefault(code int) *GetSSHKeyPairDefault
NewGetSSHKeyPairDefault creates a GetSSHKeyPairDefault with default headers values
func (*GetSSHKeyPairDefault) Code ¶
func (o *GetSSHKeyPairDefault) Code() int
Code gets the status code for the get SSH key pair default response
func (*GetSSHKeyPairDefault) Error ¶
func (o *GetSSHKeyPairDefault) Error() string
func (*GetSSHKeyPairDefault) GetPayload ¶ added in v0.9.1
func (o *GetSSHKeyPairDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*GetSSHKeyPairDefault) IsClientError ¶ added in v0.19.0
func (o *GetSSHKeyPairDefault) IsClientError() bool
IsClientError returns true when this get SSH key pair default response has a 4xx status code
func (*GetSSHKeyPairDefault) IsCode ¶ added in v0.19.0
func (o *GetSSHKeyPairDefault) IsCode(code int) bool
IsCode returns true when this get SSH key pair default response a status code equal to that given
func (*GetSSHKeyPairDefault) IsRedirect ¶ added in v0.19.0
func (o *GetSSHKeyPairDefault) IsRedirect() bool
IsRedirect returns true when this get SSH key pair default response has a 3xx status code
func (*GetSSHKeyPairDefault) IsServerError ¶ added in v0.19.0
func (o *GetSSHKeyPairDefault) IsServerError() bool
IsServerError returns true when this get SSH key pair default response has a 5xx status code
func (*GetSSHKeyPairDefault) IsSuccess ¶ added in v0.19.0
func (o *GetSSHKeyPairDefault) IsSuccess() bool
IsSuccess returns true when this get SSH key pair default response has a 2xx status code
func (*GetSSHKeyPairDefault) String ¶ added in v0.19.0
func (o *GetSSHKeyPairDefault) String() string
type GetSSHKeyPairOK ¶
type GetSSHKeyPairOK struct {
Payload *models.V1ClusterCredentialsResponse
}
GetSSHKeyPairOK describes a response with status code 200, with default header values.
OK
func NewGetSSHKeyPairOK ¶
func NewGetSSHKeyPairOK() *GetSSHKeyPairOK
NewGetSSHKeyPairOK creates a GetSSHKeyPairOK with default headers values
func (*GetSSHKeyPairOK) Code ¶ added in v0.20.11
func (o *GetSSHKeyPairOK) Code() int
Code gets the status code for the get Ssh key pair o k response
func (*GetSSHKeyPairOK) Error ¶
func (o *GetSSHKeyPairOK) Error() string
func (*GetSSHKeyPairOK) GetPayload ¶ added in v0.9.1
func (o *GetSSHKeyPairOK) GetPayload() *models.V1ClusterCredentialsResponse
func (*GetSSHKeyPairOK) IsClientError ¶ added in v0.19.0
func (o *GetSSHKeyPairOK) IsClientError() bool
IsClientError returns true when this get Ssh key pair o k response has a 4xx status code
func (*GetSSHKeyPairOK) IsCode ¶ added in v0.19.0
func (o *GetSSHKeyPairOK) IsCode(code int) bool
IsCode returns true when this get Ssh key pair o k response a status code equal to that given
func (*GetSSHKeyPairOK) IsRedirect ¶ added in v0.19.0
func (o *GetSSHKeyPairOK) IsRedirect() bool
IsRedirect returns true when this get Ssh key pair o k response has a 3xx status code
func (*GetSSHKeyPairOK) IsServerError ¶ added in v0.19.0
func (o *GetSSHKeyPairOK) IsServerError() bool
IsServerError returns true when this get Ssh key pair o k response has a 5xx status code
func (*GetSSHKeyPairOK) IsSuccess ¶ added in v0.19.0
func (o *GetSSHKeyPairOK) IsSuccess() bool
IsSuccess returns true when this get Ssh key pair o k response has a 2xx status code
func (*GetSSHKeyPairOK) String ¶ added in v0.19.0
func (o *GetSSHKeyPairOK) String() string
type GetSSHKeyPairParams ¶
type GetSSHKeyPairParams struct { /* ID. identifier of the cluster */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSSHKeyPairParams contains all the parameters to send to the API endpoint
for the get SSH key pair operation. Typically these are written to a http.Request.
func NewGetSSHKeyPairParams ¶
func NewGetSSHKeyPairParams() *GetSSHKeyPairParams
NewGetSSHKeyPairParams creates a new GetSSHKeyPairParams 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 NewGetSSHKeyPairParamsWithContext ¶
func NewGetSSHKeyPairParamsWithContext(ctx context.Context) *GetSSHKeyPairParams
NewGetSSHKeyPairParamsWithContext creates a new GetSSHKeyPairParams object with the ability to set a context for a request.
func NewGetSSHKeyPairParamsWithHTTPClient ¶
func NewGetSSHKeyPairParamsWithHTTPClient(client *http.Client) *GetSSHKeyPairParams
NewGetSSHKeyPairParamsWithHTTPClient creates a new GetSSHKeyPairParams object with the ability to set a custom HTTPClient for a request.
func NewGetSSHKeyPairParamsWithTimeout ¶
func NewGetSSHKeyPairParamsWithTimeout(timeout time.Duration) *GetSSHKeyPairParams
NewGetSSHKeyPairParamsWithTimeout creates a new GetSSHKeyPairParams object with the ability to set a timeout on a request.
func (*GetSSHKeyPairParams) SetContext ¶
func (o *GetSSHKeyPairParams) SetContext(ctx context.Context)
SetContext adds the context to the get SSH key pair params
func (*GetSSHKeyPairParams) SetDefaults ¶ added in v0.12.0
func (o *GetSSHKeyPairParams) SetDefaults()
SetDefaults hydrates default values in the get SSH key pair params (not the query body).
All values with no default are reset to their zero value.
func (*GetSSHKeyPairParams) SetHTTPClient ¶
func (o *GetSSHKeyPairParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get SSH key pair params
func (*GetSSHKeyPairParams) SetID ¶
func (o *GetSSHKeyPairParams) SetID(id string)
SetID adds the id to the get SSH key pair params
func (*GetSSHKeyPairParams) SetTimeout ¶
func (o *GetSSHKeyPairParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get SSH key pair params
func (*GetSSHKeyPairParams) WithContext ¶
func (o *GetSSHKeyPairParams) WithContext(ctx context.Context) *GetSSHKeyPairParams
WithContext adds the context to the get SSH key pair params
func (*GetSSHKeyPairParams) WithDefaults ¶ added in v0.12.0
func (o *GetSSHKeyPairParams) WithDefaults() *GetSSHKeyPairParams
WithDefaults hydrates default values in the get SSH key pair params (not the query body).
All values with no default are reset to their zero value.
func (*GetSSHKeyPairParams) WithHTTPClient ¶
func (o *GetSSHKeyPairParams) WithHTTPClient(client *http.Client) *GetSSHKeyPairParams
WithHTTPClient adds the HTTPClient to the get SSH key pair params
func (*GetSSHKeyPairParams) WithID ¶
func (o *GetSSHKeyPairParams) WithID(id string) *GetSSHKeyPairParams
WithID adds the id to the get SSH key pair params
func (*GetSSHKeyPairParams) WithTimeout ¶
func (o *GetSSHKeyPairParams) WithTimeout(timeout time.Duration) *GetSSHKeyPairParams
WithTimeout adds the timeout to the get SSH key pair params
func (*GetSSHKeyPairParams) WriteToRequest ¶
func (o *GetSSHKeyPairParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSSHKeyPairReader ¶
type GetSSHKeyPairReader struct {
// contains filtered or unexported fields
}
GetSSHKeyPairReader is a Reader for the GetSSHKeyPair structure.
func (*GetSSHKeyPairReader) ReadResponse ¶
func (o *GetSSHKeyPairReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListClustersDefault ¶
type ListClustersDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ListClustersDefault describes a response with status code -1, with default header values.
Error
func NewListClustersDefault ¶
func NewListClustersDefault(code int) *ListClustersDefault
NewListClustersDefault creates a ListClustersDefault with default headers values
func (*ListClustersDefault) Code ¶
func (o *ListClustersDefault) Code() int
Code gets the status code for the list clusters default response
func (*ListClustersDefault) Error ¶
func (o *ListClustersDefault) Error() string
func (*ListClustersDefault) GetPayload ¶ added in v0.9.1
func (o *ListClustersDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ListClustersDefault) IsClientError ¶ added in v0.19.0
func (o *ListClustersDefault) IsClientError() bool
IsClientError returns true when this list clusters default response has a 4xx status code
func (*ListClustersDefault) IsCode ¶ added in v0.19.0
func (o *ListClustersDefault) IsCode(code int) bool
IsCode returns true when this list clusters default response a status code equal to that given
func (*ListClustersDefault) IsRedirect ¶ added in v0.19.0
func (o *ListClustersDefault) IsRedirect() bool
IsRedirect returns true when this list clusters default response has a 3xx status code
func (*ListClustersDefault) IsServerError ¶ added in v0.19.0
func (o *ListClustersDefault) IsServerError() bool
IsServerError returns true when this list clusters default response has a 5xx status code
func (*ListClustersDefault) IsSuccess ¶ added in v0.19.0
func (o *ListClustersDefault) IsSuccess() bool
IsSuccess returns true when this list clusters default response has a 2xx status code
func (*ListClustersDefault) String ¶ added in v0.19.0
func (o *ListClustersDefault) String() string
type ListClustersOK ¶
type ListClustersOK struct {
Payload []*models.V1ClusterResponse
}
ListClustersOK describes a response with status code 200, with default header values.
OK
func NewListClustersOK ¶
func NewListClustersOK() *ListClustersOK
NewListClustersOK creates a ListClustersOK with default headers values
func (*ListClustersOK) Code ¶ added in v0.20.11
func (o *ListClustersOK) Code() int
Code gets the status code for the list clusters o k response
func (*ListClustersOK) Error ¶
func (o *ListClustersOK) Error() string
func (*ListClustersOK) GetPayload ¶ added in v0.9.1
func (o *ListClustersOK) GetPayload() []*models.V1ClusterResponse
func (*ListClustersOK) IsClientError ¶ added in v0.19.0
func (o *ListClustersOK) IsClientError() bool
IsClientError returns true when this list clusters o k response has a 4xx status code
func (*ListClustersOK) IsCode ¶ added in v0.19.0
func (o *ListClustersOK) IsCode(code int) bool
IsCode returns true when this list clusters o k response a status code equal to that given
func (*ListClustersOK) IsRedirect ¶ added in v0.19.0
func (o *ListClustersOK) IsRedirect() bool
IsRedirect returns true when this list clusters o k response has a 3xx status code
func (*ListClustersOK) IsServerError ¶ added in v0.19.0
func (o *ListClustersOK) IsServerError() bool
IsServerError returns true when this list clusters o k response has a 5xx status code
func (*ListClustersOK) IsSuccess ¶ added in v0.19.0
func (o *ListClustersOK) IsSuccess() bool
IsSuccess returns true when this list clusters o k response has a 2xx status code
func (*ListClustersOK) String ¶ added in v0.19.0
func (o *ListClustersOK) String() string
type ListClustersParams ¶
type ListClustersParams struct { /* ReturnMachines. returns machines in the response, which is disabled by default for list responses because it makes the request slower */ ReturnMachines *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListClustersParams contains all the parameters to send to the API endpoint
for the list clusters operation. Typically these are written to a http.Request.
func NewListClustersParams ¶
func NewListClustersParams() *ListClustersParams
NewListClustersParams creates a new ListClustersParams 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 NewListClustersParamsWithContext ¶
func NewListClustersParamsWithContext(ctx context.Context) *ListClustersParams
NewListClustersParamsWithContext creates a new ListClustersParams object with the ability to set a context for a request.
func NewListClustersParamsWithHTTPClient ¶
func NewListClustersParamsWithHTTPClient(client *http.Client) *ListClustersParams
NewListClustersParamsWithHTTPClient creates a new ListClustersParams object with the ability to set a custom HTTPClient for a request.
func NewListClustersParamsWithTimeout ¶
func NewListClustersParamsWithTimeout(timeout time.Duration) *ListClustersParams
NewListClustersParamsWithTimeout creates a new ListClustersParams object with the ability to set a timeout on a request.
func (*ListClustersParams) SetContext ¶
func (o *ListClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the list clusters params
func (*ListClustersParams) SetDefaults ¶ added in v0.12.0
func (o *ListClustersParams) SetDefaults()
SetDefaults hydrates default values in the list clusters params (not the query body).
All values with no default are reset to their zero value.
func (*ListClustersParams) SetHTTPClient ¶
func (o *ListClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list clusters params
func (*ListClustersParams) SetReturnMachines ¶ added in v0.9.1
func (o *ListClustersParams) SetReturnMachines(returnMachines *bool)
SetReturnMachines adds the returnMachines to the list clusters params
func (*ListClustersParams) SetTimeout ¶
func (o *ListClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list clusters params
func (*ListClustersParams) WithContext ¶
func (o *ListClustersParams) WithContext(ctx context.Context) *ListClustersParams
WithContext adds the context to the list clusters params
func (*ListClustersParams) WithDefaults ¶ added in v0.12.0
func (o *ListClustersParams) WithDefaults() *ListClustersParams
WithDefaults hydrates default values in the list clusters params (not the query body).
All values with no default are reset to their zero value.
func (*ListClustersParams) WithHTTPClient ¶
func (o *ListClustersParams) WithHTTPClient(client *http.Client) *ListClustersParams
WithHTTPClient adds the HTTPClient to the list clusters params
func (*ListClustersParams) WithReturnMachines ¶ added in v0.9.1
func (o *ListClustersParams) WithReturnMachines(returnMachines *bool) *ListClustersParams
WithReturnMachines adds the returnMachines to the list clusters params
func (*ListClustersParams) WithTimeout ¶
func (o *ListClustersParams) WithTimeout(timeout time.Duration) *ListClustersParams
WithTimeout adds the timeout to the list clusters params
func (*ListClustersParams) WriteToRequest ¶
func (o *ListClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListClustersReader ¶
type ListClustersReader struct {
// contains filtered or unexported fields
}
ListClustersReader is a Reader for the ListClusters structure.
func (*ListClustersReader) ReadResponse ¶
func (o *ListClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListConstraintsDefault ¶
type ListConstraintsDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ListConstraintsDefault describes a response with status code -1, with default header values.
Error
func NewListConstraintsDefault ¶
func NewListConstraintsDefault(code int) *ListConstraintsDefault
NewListConstraintsDefault creates a ListConstraintsDefault with default headers values
func (*ListConstraintsDefault) Code ¶
func (o *ListConstraintsDefault) Code() int
Code gets the status code for the list constraints default response
func (*ListConstraintsDefault) Error ¶
func (o *ListConstraintsDefault) Error() string
func (*ListConstraintsDefault) GetPayload ¶ added in v0.9.1
func (o *ListConstraintsDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ListConstraintsDefault) IsClientError ¶ added in v0.19.0
func (o *ListConstraintsDefault) IsClientError() bool
IsClientError returns true when this list constraints default response has a 4xx status code
func (*ListConstraintsDefault) IsCode ¶ added in v0.19.0
func (o *ListConstraintsDefault) IsCode(code int) bool
IsCode returns true when this list constraints default response a status code equal to that given
func (*ListConstraintsDefault) IsRedirect ¶ added in v0.19.0
func (o *ListConstraintsDefault) IsRedirect() bool
IsRedirect returns true when this list constraints default response has a 3xx status code
func (*ListConstraintsDefault) IsServerError ¶ added in v0.19.0
func (o *ListConstraintsDefault) IsServerError() bool
IsServerError returns true when this list constraints default response has a 5xx status code
func (*ListConstraintsDefault) IsSuccess ¶ added in v0.19.0
func (o *ListConstraintsDefault) IsSuccess() bool
IsSuccess returns true when this list constraints default response has a 2xx status code
func (*ListConstraintsDefault) String ¶ added in v0.19.0
func (o *ListConstraintsDefault) String() string
type ListConstraintsOK ¶
type ListConstraintsOK struct {
Payload *models.V1ShootConstraints
}
ListConstraintsOK describes a response with status code 200, with default header values.
OK
func NewListConstraintsOK ¶
func NewListConstraintsOK() *ListConstraintsOK
NewListConstraintsOK creates a ListConstraintsOK with default headers values
func (*ListConstraintsOK) Code ¶ added in v0.20.11
func (o *ListConstraintsOK) Code() int
Code gets the status code for the list constraints o k response
func (*ListConstraintsOK) Error ¶
func (o *ListConstraintsOK) Error() string
func (*ListConstraintsOK) GetPayload ¶ added in v0.9.1
func (o *ListConstraintsOK) GetPayload() *models.V1ShootConstraints
func (*ListConstraintsOK) IsClientError ¶ added in v0.19.0
func (o *ListConstraintsOK) IsClientError() bool
IsClientError returns true when this list constraints o k response has a 4xx status code
func (*ListConstraintsOK) IsCode ¶ added in v0.19.0
func (o *ListConstraintsOK) IsCode(code int) bool
IsCode returns true when this list constraints o k response a status code equal to that given
func (*ListConstraintsOK) IsRedirect ¶ added in v0.19.0
func (o *ListConstraintsOK) IsRedirect() bool
IsRedirect returns true when this list constraints o k response has a 3xx status code
func (*ListConstraintsOK) IsServerError ¶ added in v0.19.0
func (o *ListConstraintsOK) IsServerError() bool
IsServerError returns true when this list constraints o k response has a 5xx status code
func (*ListConstraintsOK) IsSuccess ¶ added in v0.19.0
func (o *ListConstraintsOK) IsSuccess() bool
IsSuccess returns true when this list constraints o k response has a 2xx status code
func (*ListConstraintsOK) String ¶ added in v0.19.0
func (o *ListConstraintsOK) String() string
type ListConstraintsParams ¶
type ListConstraintsParams struct { /* Partition. filter constraints for a certain partition */ Partition *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListConstraintsParams contains all the parameters to send to the API endpoint
for the list constraints operation. Typically these are written to a http.Request.
func NewListConstraintsParams ¶
func NewListConstraintsParams() *ListConstraintsParams
NewListConstraintsParams creates a new ListConstraintsParams 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 NewListConstraintsParamsWithContext ¶
func NewListConstraintsParamsWithContext(ctx context.Context) *ListConstraintsParams
NewListConstraintsParamsWithContext creates a new ListConstraintsParams object with the ability to set a context for a request.
func NewListConstraintsParamsWithHTTPClient ¶
func NewListConstraintsParamsWithHTTPClient(client *http.Client) *ListConstraintsParams
NewListConstraintsParamsWithHTTPClient creates a new ListConstraintsParams object with the ability to set a custom HTTPClient for a request.
func NewListConstraintsParamsWithTimeout ¶
func NewListConstraintsParamsWithTimeout(timeout time.Duration) *ListConstraintsParams
NewListConstraintsParamsWithTimeout creates a new ListConstraintsParams object with the ability to set a timeout on a request.
func (*ListConstraintsParams) SetContext ¶
func (o *ListConstraintsParams) SetContext(ctx context.Context)
SetContext adds the context to the list constraints params
func (*ListConstraintsParams) SetDefaults ¶ added in v0.12.0
func (o *ListConstraintsParams) SetDefaults()
SetDefaults hydrates default values in the list constraints params (not the query body).
All values with no default are reset to their zero value.
func (*ListConstraintsParams) SetHTTPClient ¶
func (o *ListConstraintsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list constraints params
func (*ListConstraintsParams) SetPartition ¶ added in v0.17.21
func (o *ListConstraintsParams) SetPartition(partition *string)
SetPartition adds the partition to the list constraints params
func (*ListConstraintsParams) SetTimeout ¶
func (o *ListConstraintsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list constraints params
func (*ListConstraintsParams) WithContext ¶
func (o *ListConstraintsParams) WithContext(ctx context.Context) *ListConstraintsParams
WithContext adds the context to the list constraints params
func (*ListConstraintsParams) WithDefaults ¶ added in v0.12.0
func (o *ListConstraintsParams) WithDefaults() *ListConstraintsParams
WithDefaults hydrates default values in the list constraints params (not the query body).
All values with no default are reset to their zero value.
func (*ListConstraintsParams) WithHTTPClient ¶
func (o *ListConstraintsParams) WithHTTPClient(client *http.Client) *ListConstraintsParams
WithHTTPClient adds the HTTPClient to the list constraints params
func (*ListConstraintsParams) WithPartition ¶ added in v0.17.21
func (o *ListConstraintsParams) WithPartition(partition *string) *ListConstraintsParams
WithPartition adds the partition to the list constraints params
func (*ListConstraintsParams) WithTimeout ¶
func (o *ListConstraintsParams) WithTimeout(timeout time.Duration) *ListConstraintsParams
WithTimeout adds the timeout to the list constraints params
func (*ListConstraintsParams) WriteToRequest ¶
func (o *ListConstraintsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListConstraintsReader ¶
type ListConstraintsReader struct {
// contains filtered or unexported fields
}
ListConstraintsReader is a Reader for the ListConstraints structure.
func (*ListConstraintsReader) ReadResponse ¶
func (o *ListConstraintsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReconcileClusterDefault ¶
type ReconcileClusterDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ReconcileClusterDefault describes a response with status code -1, with default header values.
Error
func NewReconcileClusterDefault ¶
func NewReconcileClusterDefault(code int) *ReconcileClusterDefault
NewReconcileClusterDefault creates a ReconcileClusterDefault with default headers values
func (*ReconcileClusterDefault) Code ¶
func (o *ReconcileClusterDefault) Code() int
Code gets the status code for the reconcile cluster default response
func (*ReconcileClusterDefault) Error ¶
func (o *ReconcileClusterDefault) Error() string
func (*ReconcileClusterDefault) GetPayload ¶ added in v0.9.1
func (o *ReconcileClusterDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ReconcileClusterDefault) IsClientError ¶ added in v0.19.0
func (o *ReconcileClusterDefault) IsClientError() bool
IsClientError returns true when this reconcile cluster default response has a 4xx status code
func (*ReconcileClusterDefault) IsCode ¶ added in v0.19.0
func (o *ReconcileClusterDefault) IsCode(code int) bool
IsCode returns true when this reconcile cluster default response a status code equal to that given
func (*ReconcileClusterDefault) IsRedirect ¶ added in v0.19.0
func (o *ReconcileClusterDefault) IsRedirect() bool
IsRedirect returns true when this reconcile cluster default response has a 3xx status code
func (*ReconcileClusterDefault) IsServerError ¶ added in v0.19.0
func (o *ReconcileClusterDefault) IsServerError() bool
IsServerError returns true when this reconcile cluster default response has a 5xx status code
func (*ReconcileClusterDefault) IsSuccess ¶ added in v0.19.0
func (o *ReconcileClusterDefault) IsSuccess() bool
IsSuccess returns true when this reconcile cluster default response has a 2xx status code
func (*ReconcileClusterDefault) String ¶ added in v0.19.0
func (o *ReconcileClusterDefault) String() string
type ReconcileClusterOK ¶
type ReconcileClusterOK struct {
Payload *models.V1ClusterResponse
}
ReconcileClusterOK describes a response with status code 200, with default header values.
OK
func NewReconcileClusterOK ¶
func NewReconcileClusterOK() *ReconcileClusterOK
NewReconcileClusterOK creates a ReconcileClusterOK with default headers values
func (*ReconcileClusterOK) Code ¶ added in v0.20.11
func (o *ReconcileClusterOK) Code() int
Code gets the status code for the reconcile cluster o k response
func (*ReconcileClusterOK) Error ¶
func (o *ReconcileClusterOK) Error() string
func (*ReconcileClusterOK) GetPayload ¶ added in v0.9.1
func (o *ReconcileClusterOK) GetPayload() *models.V1ClusterResponse
func (*ReconcileClusterOK) IsClientError ¶ added in v0.19.0
func (o *ReconcileClusterOK) IsClientError() bool
IsClientError returns true when this reconcile cluster o k response has a 4xx status code
func (*ReconcileClusterOK) IsCode ¶ added in v0.19.0
func (o *ReconcileClusterOK) IsCode(code int) bool
IsCode returns true when this reconcile cluster o k response a status code equal to that given
func (*ReconcileClusterOK) IsRedirect ¶ added in v0.19.0
func (o *ReconcileClusterOK) IsRedirect() bool
IsRedirect returns true when this reconcile cluster o k response has a 3xx status code
func (*ReconcileClusterOK) IsServerError ¶ added in v0.19.0
func (o *ReconcileClusterOK) IsServerError() bool
IsServerError returns true when this reconcile cluster o k response has a 5xx status code
func (*ReconcileClusterOK) IsSuccess ¶ added in v0.19.0
func (o *ReconcileClusterOK) IsSuccess() bool
IsSuccess returns true when this reconcile cluster o k response has a 2xx status code
func (*ReconcileClusterOK) String ¶ added in v0.19.0
func (o *ReconcileClusterOK) String() string
type ReconcileClusterParams ¶
type ReconcileClusterParams struct { // Body. Body *models.V1ClusterReconcileRequest /* ID. identifier of the cluster */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReconcileClusterParams contains all the parameters to send to the API endpoint
for the reconcile cluster operation. Typically these are written to a http.Request.
func NewReconcileClusterParams ¶
func NewReconcileClusterParams() *ReconcileClusterParams
NewReconcileClusterParams creates a new ReconcileClusterParams 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 NewReconcileClusterParamsWithContext ¶
func NewReconcileClusterParamsWithContext(ctx context.Context) *ReconcileClusterParams
NewReconcileClusterParamsWithContext creates a new ReconcileClusterParams object with the ability to set a context for a request.
func NewReconcileClusterParamsWithHTTPClient ¶
func NewReconcileClusterParamsWithHTTPClient(client *http.Client) *ReconcileClusterParams
NewReconcileClusterParamsWithHTTPClient creates a new ReconcileClusterParams object with the ability to set a custom HTTPClient for a request.
func NewReconcileClusterParamsWithTimeout ¶
func NewReconcileClusterParamsWithTimeout(timeout time.Duration) *ReconcileClusterParams
NewReconcileClusterParamsWithTimeout creates a new ReconcileClusterParams object with the ability to set a timeout on a request.
func (*ReconcileClusterParams) SetBody ¶ added in v0.8.1
func (o *ReconcileClusterParams) SetBody(body *models.V1ClusterReconcileRequest)
SetBody adds the body to the reconcile cluster params
func (*ReconcileClusterParams) SetContext ¶
func (o *ReconcileClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the reconcile cluster params
func (*ReconcileClusterParams) SetDefaults ¶ added in v0.12.0
func (o *ReconcileClusterParams) SetDefaults()
SetDefaults hydrates default values in the reconcile cluster params (not the query body).
All values with no default are reset to their zero value.
func (*ReconcileClusterParams) SetHTTPClient ¶
func (o *ReconcileClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reconcile cluster params
func (*ReconcileClusterParams) SetID ¶
func (o *ReconcileClusterParams) SetID(id string)
SetID adds the id to the reconcile cluster params
func (*ReconcileClusterParams) SetTimeout ¶
func (o *ReconcileClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reconcile cluster params
func (*ReconcileClusterParams) WithBody ¶ added in v0.8.1
func (o *ReconcileClusterParams) WithBody(body *models.V1ClusterReconcileRequest) *ReconcileClusterParams
WithBody adds the body to the reconcile cluster params
func (*ReconcileClusterParams) WithContext ¶
func (o *ReconcileClusterParams) WithContext(ctx context.Context) *ReconcileClusterParams
WithContext adds the context to the reconcile cluster params
func (*ReconcileClusterParams) WithDefaults ¶ added in v0.12.0
func (o *ReconcileClusterParams) WithDefaults() *ReconcileClusterParams
WithDefaults hydrates default values in the reconcile cluster params (not the query body).
All values with no default are reset to their zero value.
func (*ReconcileClusterParams) WithHTTPClient ¶
func (o *ReconcileClusterParams) WithHTTPClient(client *http.Client) *ReconcileClusterParams
WithHTTPClient adds the HTTPClient to the reconcile cluster params
func (*ReconcileClusterParams) WithID ¶
func (o *ReconcileClusterParams) WithID(id string) *ReconcileClusterParams
WithID adds the id to the reconcile cluster params
func (*ReconcileClusterParams) WithTimeout ¶
func (o *ReconcileClusterParams) WithTimeout(timeout time.Duration) *ReconcileClusterParams
WithTimeout adds the timeout to the reconcile cluster params
func (*ReconcileClusterParams) WriteToRequest ¶
func (o *ReconcileClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReconcileClusterReader ¶
type ReconcileClusterReader struct {
// contains filtered or unexported fields
}
ReconcileClusterReader is a Reader for the ReconcileCluster structure.
func (*ReconcileClusterReader) ReadResponse ¶
func (o *ReconcileClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReinstallMachineDefault ¶ added in v0.17.9
type ReinstallMachineDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ReinstallMachineDefault describes a response with status code -1, with default header values.
Error
func NewReinstallMachineDefault ¶ added in v0.17.9
func NewReinstallMachineDefault(code int) *ReinstallMachineDefault
NewReinstallMachineDefault creates a ReinstallMachineDefault with default headers values
func (*ReinstallMachineDefault) Code ¶ added in v0.17.9
func (o *ReinstallMachineDefault) Code() int
Code gets the status code for the reinstall machine default response
func (*ReinstallMachineDefault) Error ¶ added in v0.17.9
func (o *ReinstallMachineDefault) Error() string
func (*ReinstallMachineDefault) GetPayload ¶ added in v0.17.9
func (o *ReinstallMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ReinstallMachineDefault) IsClientError ¶ added in v0.19.0
func (o *ReinstallMachineDefault) IsClientError() bool
IsClientError returns true when this reinstall machine default response has a 4xx status code
func (*ReinstallMachineDefault) IsCode ¶ added in v0.19.0
func (o *ReinstallMachineDefault) IsCode(code int) bool
IsCode returns true when this reinstall machine default response a status code equal to that given
func (*ReinstallMachineDefault) IsRedirect ¶ added in v0.19.0
func (o *ReinstallMachineDefault) IsRedirect() bool
IsRedirect returns true when this reinstall machine default response has a 3xx status code
func (*ReinstallMachineDefault) IsServerError ¶ added in v0.19.0
func (o *ReinstallMachineDefault) IsServerError() bool
IsServerError returns true when this reinstall machine default response has a 5xx status code
func (*ReinstallMachineDefault) IsSuccess ¶ added in v0.19.0
func (o *ReinstallMachineDefault) IsSuccess() bool
IsSuccess returns true when this reinstall machine default response has a 2xx status code
func (*ReinstallMachineDefault) String ¶ added in v0.19.0
func (o *ReinstallMachineDefault) String() string
type ReinstallMachineOK ¶ added in v0.17.9
type ReinstallMachineOK struct {
Payload *models.V1ClusterResponse
}
ReinstallMachineOK describes a response with status code 200, with default header values.
OK
func NewReinstallMachineOK ¶ added in v0.17.9
func NewReinstallMachineOK() *ReinstallMachineOK
NewReinstallMachineOK creates a ReinstallMachineOK with default headers values
func (*ReinstallMachineOK) Code ¶ added in v0.20.11
func (o *ReinstallMachineOK) Code() int
Code gets the status code for the reinstall machine o k response
func (*ReinstallMachineOK) Error ¶ added in v0.17.9
func (o *ReinstallMachineOK) Error() string
func (*ReinstallMachineOK) GetPayload ¶ added in v0.17.9
func (o *ReinstallMachineOK) GetPayload() *models.V1ClusterResponse
func (*ReinstallMachineOK) IsClientError ¶ added in v0.19.0
func (o *ReinstallMachineOK) IsClientError() bool
IsClientError returns true when this reinstall machine o k response has a 4xx status code
func (*ReinstallMachineOK) IsCode ¶ added in v0.19.0
func (o *ReinstallMachineOK) IsCode(code int) bool
IsCode returns true when this reinstall machine o k response a status code equal to that given
func (*ReinstallMachineOK) IsRedirect ¶ added in v0.19.0
func (o *ReinstallMachineOK) IsRedirect() bool
IsRedirect returns true when this reinstall machine o k response has a 3xx status code
func (*ReinstallMachineOK) IsServerError ¶ added in v0.19.0
func (o *ReinstallMachineOK) IsServerError() bool
IsServerError returns true when this reinstall machine o k response has a 5xx status code
func (*ReinstallMachineOK) IsSuccess ¶ added in v0.19.0
func (o *ReinstallMachineOK) IsSuccess() bool
IsSuccess returns true when this reinstall machine o k response has a 2xx status code
func (*ReinstallMachineOK) String ¶ added in v0.19.0
func (o *ReinstallMachineOK) String() string
type ReinstallMachineParams ¶ added in v0.17.9
type ReinstallMachineParams struct { // Body. Body *models.V1ClusterMachineReinstallRequest /* ID. identifier of the cluster */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReinstallMachineParams contains all the parameters to send to the API endpoint
for the reinstall machine operation. Typically these are written to a http.Request.
func NewReinstallMachineParams ¶ added in v0.17.9
func NewReinstallMachineParams() *ReinstallMachineParams
NewReinstallMachineParams creates a new ReinstallMachineParams 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 NewReinstallMachineParamsWithContext ¶ added in v0.17.9
func NewReinstallMachineParamsWithContext(ctx context.Context) *ReinstallMachineParams
NewReinstallMachineParamsWithContext creates a new ReinstallMachineParams object with the ability to set a context for a request.
func NewReinstallMachineParamsWithHTTPClient ¶ added in v0.17.9
func NewReinstallMachineParamsWithHTTPClient(client *http.Client) *ReinstallMachineParams
NewReinstallMachineParamsWithHTTPClient creates a new ReinstallMachineParams object with the ability to set a custom HTTPClient for a request.
func NewReinstallMachineParamsWithTimeout ¶ added in v0.17.9
func NewReinstallMachineParamsWithTimeout(timeout time.Duration) *ReinstallMachineParams
NewReinstallMachineParamsWithTimeout creates a new ReinstallMachineParams object with the ability to set a timeout on a request.
func (*ReinstallMachineParams) SetBody ¶ added in v0.17.9
func (o *ReinstallMachineParams) SetBody(body *models.V1ClusterMachineReinstallRequest)
SetBody adds the body to the reinstall machine params
func (*ReinstallMachineParams) SetContext ¶ added in v0.17.9
func (o *ReinstallMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the reinstall machine params
func (*ReinstallMachineParams) SetDefaults ¶ added in v0.17.9
func (o *ReinstallMachineParams) SetDefaults()
SetDefaults hydrates default values in the reinstall machine params (not the query body).
All values with no default are reset to their zero value.
func (*ReinstallMachineParams) SetHTTPClient ¶ added in v0.17.9
func (o *ReinstallMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reinstall machine params
func (*ReinstallMachineParams) SetID ¶ added in v0.17.9
func (o *ReinstallMachineParams) SetID(id string)
SetID adds the id to the reinstall machine params
func (*ReinstallMachineParams) SetTimeout ¶ added in v0.17.9
func (o *ReinstallMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reinstall machine params
func (*ReinstallMachineParams) WithBody ¶ added in v0.17.9
func (o *ReinstallMachineParams) WithBody(body *models.V1ClusterMachineReinstallRequest) *ReinstallMachineParams
WithBody adds the body to the reinstall machine params
func (*ReinstallMachineParams) WithContext ¶ added in v0.17.9
func (o *ReinstallMachineParams) WithContext(ctx context.Context) *ReinstallMachineParams
WithContext adds the context to the reinstall machine params
func (*ReinstallMachineParams) WithDefaults ¶ added in v0.17.9
func (o *ReinstallMachineParams) WithDefaults() *ReinstallMachineParams
WithDefaults hydrates default values in the reinstall machine params (not the query body).
All values with no default are reset to their zero value.
func (*ReinstallMachineParams) WithHTTPClient ¶ added in v0.17.9
func (o *ReinstallMachineParams) WithHTTPClient(client *http.Client) *ReinstallMachineParams
WithHTTPClient adds the HTTPClient to the reinstall machine params
func (*ReinstallMachineParams) WithID ¶ added in v0.17.9
func (o *ReinstallMachineParams) WithID(id string) *ReinstallMachineParams
WithID adds the id to the reinstall machine params
func (*ReinstallMachineParams) WithTimeout ¶ added in v0.17.9
func (o *ReinstallMachineParams) WithTimeout(timeout time.Duration) *ReinstallMachineParams
WithTimeout adds the timeout to the reinstall machine params
func (*ReinstallMachineParams) WriteToRequest ¶ added in v0.17.9
func (o *ReinstallMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReinstallMachineReader ¶ added in v0.17.9
type ReinstallMachineReader struct {
// contains filtered or unexported fields
}
ReinstallMachineReader is a Reader for the ReinstallMachine structure.
func (*ReinstallMachineReader) ReadResponse ¶ added in v0.17.9
func (o *ReinstallMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetMachineDefault ¶ added in v0.17.9
type ResetMachineDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ResetMachineDefault describes a response with status code -1, with default header values.
Error
func NewResetMachineDefault ¶ added in v0.17.9
func NewResetMachineDefault(code int) *ResetMachineDefault
NewResetMachineDefault creates a ResetMachineDefault with default headers values
func (*ResetMachineDefault) Code ¶ added in v0.17.9
func (o *ResetMachineDefault) Code() int
Code gets the status code for the reset machine default response
func (*ResetMachineDefault) Error ¶ added in v0.17.9
func (o *ResetMachineDefault) Error() string
func (*ResetMachineDefault) GetPayload ¶ added in v0.17.9
func (o *ResetMachineDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ResetMachineDefault) IsClientError ¶ added in v0.19.0
func (o *ResetMachineDefault) IsClientError() bool
IsClientError returns true when this reset machine default response has a 4xx status code
func (*ResetMachineDefault) IsCode ¶ added in v0.19.0
func (o *ResetMachineDefault) IsCode(code int) bool
IsCode returns true when this reset machine default response a status code equal to that given
func (*ResetMachineDefault) IsRedirect ¶ added in v0.19.0
func (o *ResetMachineDefault) IsRedirect() bool
IsRedirect returns true when this reset machine default response has a 3xx status code
func (*ResetMachineDefault) IsServerError ¶ added in v0.19.0
func (o *ResetMachineDefault) IsServerError() bool
IsServerError returns true when this reset machine default response has a 5xx status code
func (*ResetMachineDefault) IsSuccess ¶ added in v0.19.0
func (o *ResetMachineDefault) IsSuccess() bool
IsSuccess returns true when this reset machine default response has a 2xx status code
func (*ResetMachineDefault) String ¶ added in v0.19.0
func (o *ResetMachineDefault) String() string
type ResetMachineOK ¶ added in v0.17.9
type ResetMachineOK struct {
Payload *models.V1ClusterResponse
}
ResetMachineOK describes a response with status code 200, with default header values.
OK
func NewResetMachineOK ¶ added in v0.17.9
func NewResetMachineOK() *ResetMachineOK
NewResetMachineOK creates a ResetMachineOK with default headers values
func (*ResetMachineOK) Code ¶ added in v0.20.11
func (o *ResetMachineOK) Code() int
Code gets the status code for the reset machine o k response
func (*ResetMachineOK) Error ¶ added in v0.17.9
func (o *ResetMachineOK) Error() string
func (*ResetMachineOK) GetPayload ¶ added in v0.17.9
func (o *ResetMachineOK) GetPayload() *models.V1ClusterResponse
func (*ResetMachineOK) IsClientError ¶ added in v0.19.0
func (o *ResetMachineOK) IsClientError() bool
IsClientError returns true when this reset machine o k response has a 4xx status code
func (*ResetMachineOK) IsCode ¶ added in v0.19.0
func (o *ResetMachineOK) IsCode(code int) bool
IsCode returns true when this reset machine o k response a status code equal to that given
func (*ResetMachineOK) IsRedirect ¶ added in v0.19.0
func (o *ResetMachineOK) IsRedirect() bool
IsRedirect returns true when this reset machine o k response has a 3xx status code
func (*ResetMachineOK) IsServerError ¶ added in v0.19.0
func (o *ResetMachineOK) IsServerError() bool
IsServerError returns true when this reset machine o k response has a 5xx status code
func (*ResetMachineOK) IsSuccess ¶ added in v0.19.0
func (o *ResetMachineOK) IsSuccess() bool
IsSuccess returns true when this reset machine o k response has a 2xx status code
func (*ResetMachineOK) String ¶ added in v0.19.0
func (o *ResetMachineOK) String() string
type ResetMachineParams ¶ added in v0.17.9
type ResetMachineParams struct { // Body. Body *models.V1ClusterMachineResetRequest /* ID. identifier of the cluster */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResetMachineParams contains all the parameters to send to the API endpoint
for the reset machine operation. Typically these are written to a http.Request.
func NewResetMachineParams ¶ added in v0.17.9
func NewResetMachineParams() *ResetMachineParams
NewResetMachineParams creates a new ResetMachineParams 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 NewResetMachineParamsWithContext ¶ added in v0.17.9
func NewResetMachineParamsWithContext(ctx context.Context) *ResetMachineParams
NewResetMachineParamsWithContext creates a new ResetMachineParams object with the ability to set a context for a request.
func NewResetMachineParamsWithHTTPClient ¶ added in v0.17.9
func NewResetMachineParamsWithHTTPClient(client *http.Client) *ResetMachineParams
NewResetMachineParamsWithHTTPClient creates a new ResetMachineParams object with the ability to set a custom HTTPClient for a request.
func NewResetMachineParamsWithTimeout ¶ added in v0.17.9
func NewResetMachineParamsWithTimeout(timeout time.Duration) *ResetMachineParams
NewResetMachineParamsWithTimeout creates a new ResetMachineParams object with the ability to set a timeout on a request.
func (*ResetMachineParams) SetBody ¶ added in v0.17.9
func (o *ResetMachineParams) SetBody(body *models.V1ClusterMachineResetRequest)
SetBody adds the body to the reset machine params
func (*ResetMachineParams) SetContext ¶ added in v0.17.9
func (o *ResetMachineParams) SetContext(ctx context.Context)
SetContext adds the context to the reset machine params
func (*ResetMachineParams) SetDefaults ¶ added in v0.17.9
func (o *ResetMachineParams) SetDefaults()
SetDefaults hydrates default values in the reset machine params (not the query body).
All values with no default are reset to their zero value.
func (*ResetMachineParams) SetHTTPClient ¶ added in v0.17.9
func (o *ResetMachineParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset machine params
func (*ResetMachineParams) SetID ¶ added in v0.17.9
func (o *ResetMachineParams) SetID(id string)
SetID adds the id to the reset machine params
func (*ResetMachineParams) SetTimeout ¶ added in v0.17.9
func (o *ResetMachineParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset machine params
func (*ResetMachineParams) WithBody ¶ added in v0.17.9
func (o *ResetMachineParams) WithBody(body *models.V1ClusterMachineResetRequest) *ResetMachineParams
WithBody adds the body to the reset machine params
func (*ResetMachineParams) WithContext ¶ added in v0.17.9
func (o *ResetMachineParams) WithContext(ctx context.Context) *ResetMachineParams
WithContext adds the context to the reset machine params
func (*ResetMachineParams) WithDefaults ¶ added in v0.17.9
func (o *ResetMachineParams) WithDefaults() *ResetMachineParams
WithDefaults hydrates default values in the reset machine params (not the query body).
All values with no default are reset to their zero value.
func (*ResetMachineParams) WithHTTPClient ¶ added in v0.17.9
func (o *ResetMachineParams) WithHTTPClient(client *http.Client) *ResetMachineParams
WithHTTPClient adds the HTTPClient to the reset machine params
func (*ResetMachineParams) WithID ¶ added in v0.17.9
func (o *ResetMachineParams) WithID(id string) *ResetMachineParams
WithID adds the id to the reset machine params
func (*ResetMachineParams) WithTimeout ¶ added in v0.17.9
func (o *ResetMachineParams) WithTimeout(timeout time.Duration) *ResetMachineParams
WithTimeout adds the timeout to the reset machine params
func (*ResetMachineParams) WriteToRequest ¶ added in v0.17.9
func (o *ResetMachineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetMachineReader ¶ added in v0.17.9
type ResetMachineReader struct {
// contains filtered or unexported fields
}
ResetMachineReader is a Reader for the ResetMachine structure.
func (*ResetMachineReader) ReadResponse ¶ added in v0.17.9
func (o *ResetMachineReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateClusterConflict ¶
type UpdateClusterConflict struct {
Payload *httperrors.HTTPErrorResponse
}
UpdateClusterConflict describes a response with status code 409, with default header values.
Conflict
func NewUpdateClusterConflict ¶
func NewUpdateClusterConflict() *UpdateClusterConflict
NewUpdateClusterConflict creates a UpdateClusterConflict with default headers values
func (*UpdateClusterConflict) Code ¶ added in v0.20.11
func (o *UpdateClusterConflict) Code() int
Code gets the status code for the update cluster conflict response
func (*UpdateClusterConflict) Error ¶
func (o *UpdateClusterConflict) Error() string
func (*UpdateClusterConflict) GetPayload ¶ added in v0.9.1
func (o *UpdateClusterConflict) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateClusterConflict) IsClientError ¶ added in v0.19.0
func (o *UpdateClusterConflict) IsClientError() bool
IsClientError returns true when this update cluster conflict response has a 4xx status code
func (*UpdateClusterConflict) IsCode ¶ added in v0.19.0
func (o *UpdateClusterConflict) IsCode(code int) bool
IsCode returns true when this update cluster conflict response a status code equal to that given
func (*UpdateClusterConflict) IsRedirect ¶ added in v0.19.0
func (o *UpdateClusterConflict) IsRedirect() bool
IsRedirect returns true when this update cluster conflict response has a 3xx status code
func (*UpdateClusterConflict) IsServerError ¶ added in v0.19.0
func (o *UpdateClusterConflict) IsServerError() bool
IsServerError returns true when this update cluster conflict response has a 5xx status code
func (*UpdateClusterConflict) IsSuccess ¶ added in v0.19.0
func (o *UpdateClusterConflict) IsSuccess() bool
IsSuccess returns true when this update cluster conflict response has a 2xx status code
func (*UpdateClusterConflict) String ¶ added in v0.19.0
func (o *UpdateClusterConflict) String() string
type UpdateClusterDefault ¶
type UpdateClusterDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
UpdateClusterDefault describes a response with status code -1, with default header values.
Error
func NewUpdateClusterDefault ¶
func NewUpdateClusterDefault(code int) *UpdateClusterDefault
NewUpdateClusterDefault creates a UpdateClusterDefault with default headers values
func (*UpdateClusterDefault) Code ¶
func (o *UpdateClusterDefault) Code() int
Code gets the status code for the update cluster default response
func (*UpdateClusterDefault) Error ¶
func (o *UpdateClusterDefault) Error() string
func (*UpdateClusterDefault) GetPayload ¶ added in v0.9.1
func (o *UpdateClusterDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateClusterDefault) IsClientError ¶ added in v0.19.0
func (o *UpdateClusterDefault) IsClientError() bool
IsClientError returns true when this update cluster default response has a 4xx status code
func (*UpdateClusterDefault) IsCode ¶ added in v0.19.0
func (o *UpdateClusterDefault) IsCode(code int) bool
IsCode returns true when this update cluster default response a status code equal to that given
func (*UpdateClusterDefault) IsRedirect ¶ added in v0.19.0
func (o *UpdateClusterDefault) IsRedirect() bool
IsRedirect returns true when this update cluster default response has a 3xx status code
func (*UpdateClusterDefault) IsServerError ¶ added in v0.19.0
func (o *UpdateClusterDefault) IsServerError() bool
IsServerError returns true when this update cluster default response has a 5xx status code
func (*UpdateClusterDefault) IsSuccess ¶ added in v0.19.0
func (o *UpdateClusterDefault) IsSuccess() bool
IsSuccess returns true when this update cluster default response has a 2xx status code
func (*UpdateClusterDefault) String ¶ added in v0.19.0
func (o *UpdateClusterDefault) String() string
type UpdateClusterOK ¶
type UpdateClusterOK struct {
Payload *models.V1ClusterResponse
}
UpdateClusterOK describes a response with status code 200, with default header values.
OK
func NewUpdateClusterOK ¶
func NewUpdateClusterOK() *UpdateClusterOK
NewUpdateClusterOK creates a UpdateClusterOK with default headers values
func (*UpdateClusterOK) Code ¶ added in v0.20.11
func (o *UpdateClusterOK) Code() int
Code gets the status code for the update cluster o k response
func (*UpdateClusterOK) Error ¶
func (o *UpdateClusterOK) Error() string
func (*UpdateClusterOK) GetPayload ¶ added in v0.9.1
func (o *UpdateClusterOK) GetPayload() *models.V1ClusterResponse
func (*UpdateClusterOK) IsClientError ¶ added in v0.19.0
func (o *UpdateClusterOK) IsClientError() bool
IsClientError returns true when this update cluster o k response has a 4xx status code
func (*UpdateClusterOK) IsCode ¶ added in v0.19.0
func (o *UpdateClusterOK) IsCode(code int) bool
IsCode returns true when this update cluster o k response a status code equal to that given
func (*UpdateClusterOK) IsRedirect ¶ added in v0.19.0
func (o *UpdateClusterOK) IsRedirect() bool
IsRedirect returns true when this update cluster o k response has a 3xx status code
func (*UpdateClusterOK) IsServerError ¶ added in v0.19.0
func (o *UpdateClusterOK) IsServerError() bool
IsServerError returns true when this update cluster o k response has a 5xx status code
func (*UpdateClusterOK) IsSuccess ¶ added in v0.19.0
func (o *UpdateClusterOK) IsSuccess() bool
IsSuccess returns true when this update cluster o k response has a 2xx status code
func (*UpdateClusterOK) String ¶ added in v0.19.0
func (o *UpdateClusterOK) String() string
type UpdateClusterParams ¶
type UpdateClusterParams struct { // Body. Body *models.V1ClusterUpdateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateClusterParams contains all the parameters to send to the API endpoint
for the update cluster operation. Typically these are written to a http.Request.
func NewUpdateClusterParams ¶
func NewUpdateClusterParams() *UpdateClusterParams
NewUpdateClusterParams creates a new UpdateClusterParams 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 NewUpdateClusterParamsWithContext ¶
func NewUpdateClusterParamsWithContext(ctx context.Context) *UpdateClusterParams
NewUpdateClusterParamsWithContext creates a new UpdateClusterParams object with the ability to set a context for a request.
func NewUpdateClusterParamsWithHTTPClient ¶
func NewUpdateClusterParamsWithHTTPClient(client *http.Client) *UpdateClusterParams
NewUpdateClusterParamsWithHTTPClient creates a new UpdateClusterParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateClusterParamsWithTimeout ¶
func NewUpdateClusterParamsWithTimeout(timeout time.Duration) *UpdateClusterParams
NewUpdateClusterParamsWithTimeout creates a new UpdateClusterParams object with the ability to set a timeout on a request.
func (*UpdateClusterParams) SetBody ¶
func (o *UpdateClusterParams) SetBody(body *models.V1ClusterUpdateRequest)
SetBody adds the body to the update cluster params
func (*UpdateClusterParams) SetContext ¶
func (o *UpdateClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the update cluster params
func (*UpdateClusterParams) SetDefaults ¶ added in v0.12.0
func (o *UpdateClusterParams) SetDefaults()
SetDefaults hydrates default values in the update cluster params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateClusterParams) SetHTTPClient ¶
func (o *UpdateClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update cluster params
func (*UpdateClusterParams) SetTimeout ¶
func (o *UpdateClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update cluster params
func (*UpdateClusterParams) WithBody ¶
func (o *UpdateClusterParams) WithBody(body *models.V1ClusterUpdateRequest) *UpdateClusterParams
WithBody adds the body to the update cluster params
func (*UpdateClusterParams) WithContext ¶
func (o *UpdateClusterParams) WithContext(ctx context.Context) *UpdateClusterParams
WithContext adds the context to the update cluster params
func (*UpdateClusterParams) WithDefaults ¶ added in v0.12.0
func (o *UpdateClusterParams) WithDefaults() *UpdateClusterParams
WithDefaults hydrates default values in the update cluster params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateClusterParams) WithHTTPClient ¶
func (o *UpdateClusterParams) WithHTTPClient(client *http.Client) *UpdateClusterParams
WithHTTPClient adds the HTTPClient to the update cluster params
func (*UpdateClusterParams) WithTimeout ¶
func (o *UpdateClusterParams) WithTimeout(timeout time.Duration) *UpdateClusterParams
WithTimeout adds the timeout to the update cluster params
func (*UpdateClusterParams) WriteToRequest ¶
func (o *UpdateClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateClusterReader ¶
type UpdateClusterReader struct {
// contains filtered or unexported fields
}
UpdateClusterReader is a Reader for the UpdateCluster structure.
func (*UpdateClusterReader) ReadResponse ¶
func (o *UpdateClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- cluster_client.go
- create_cluster_parameters.go
- create_cluster_responses.go
- cycle_machine_parameters.go
- cycle_machine_responses.go
- delete_cluster_parameters.go
- delete_cluster_responses.go
- find_cluster_parameters.go
- find_cluster_responses.go
- find_clusters_parameters.go
- find_clusters_responses.go
- get_audit_policy_parameters.go
- get_audit_policy_responses.go
- get_cluster_kubeconfig_tpl_parameters.go
- get_cluster_kubeconfig_tpl_responses.go
- get_monitoring_secret_parameters.go
- get_monitoring_secret_responses.go
- get_ssh_key_pair_parameters.go
- get_ssh_key_pair_responses.go
- list_clusters_parameters.go
- list_clusters_responses.go
- list_constraints_parameters.go
- list_constraints_responses.go
- reconcile_cluster_parameters.go
- reconcile_cluster_responses.go
- reinstall_machine_parameters.go
- reinstall_machine_responses.go
- reset_machine_parameters.go
- reset_machine_responses.go
- update_cluster_parameters.go
- update_cluster_responses.go