Documentation ¶
Index ¶
- type Client
- func (a *Client) ListKubeVirtInstancetypes(params *ListKubeVirtInstancetypesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListKubeVirtInstancetypesOK, error)
- func (a *Client) ListKubeVirtInstancetypesNoCredentials(params *ListKubeVirtInstancetypesNoCredentialsParams, ...) (*ListKubeVirtInstancetypesNoCredentialsOK, error)
- func (a *Client) ListKubeVirtPreferences(params *ListKubeVirtPreferencesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListKubeVirtPreferencesOK, error)
- func (a *Client) ListKubeVirtPreferencesNoCredentials(params *ListKubeVirtPreferencesNoCredentialsParams, ...) (*ListKubeVirtPreferencesNoCredentialsOK, error)
- func (a *Client) ListKubeVirtVMIPresets(params *ListKubeVirtVMIPresetsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListKubeVirtVMIPresetsOK, error)
- func (a *Client) ListKubeVirtVMIPresetsNoCredentials(params *ListKubeVirtVMIPresetsNoCredentialsParams, ...) (*ListKubeVirtVMIPresetsNoCredentialsOK, error)
- func (a *Client) ListKubevirtStorageClasses(params *ListKubevirtStorageClassesParams, ...) (*ListKubevirtStorageClassesOK, error)
- func (a *Client) ListKubevirtStorageClassesNoCredentials(params *ListKubevirtStorageClassesNoCredentialsParams, ...) (*ListKubevirtStorageClassesNoCredentialsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ListKubeVirtInstancetypesDefault
- func (o *ListKubeVirtInstancetypesDefault) Code() int
- func (o *ListKubeVirtInstancetypesDefault) Error() string
- func (o *ListKubeVirtInstancetypesDefault) GetPayload() *models.ErrorResponse
- func (o *ListKubeVirtInstancetypesDefault) IsClientError() bool
- func (o *ListKubeVirtInstancetypesDefault) IsCode(code int) bool
- func (o *ListKubeVirtInstancetypesDefault) IsRedirect() bool
- func (o *ListKubeVirtInstancetypesDefault) IsServerError() bool
- func (o *ListKubeVirtInstancetypesDefault) IsSuccess() bool
- func (o *ListKubeVirtInstancetypesDefault) String() string
- type ListKubeVirtInstancetypesNoCredentialsDefault
- func (o *ListKubeVirtInstancetypesNoCredentialsDefault) Code() int
- func (o *ListKubeVirtInstancetypesNoCredentialsDefault) Error() string
- func (o *ListKubeVirtInstancetypesNoCredentialsDefault) GetPayload() *models.ErrorResponse
- func (o *ListKubeVirtInstancetypesNoCredentialsDefault) IsClientError() bool
- func (o *ListKubeVirtInstancetypesNoCredentialsDefault) IsCode(code int) bool
- func (o *ListKubeVirtInstancetypesNoCredentialsDefault) IsRedirect() bool
- func (o *ListKubeVirtInstancetypesNoCredentialsDefault) IsServerError() bool
- func (o *ListKubeVirtInstancetypesNoCredentialsDefault) IsSuccess() bool
- func (o *ListKubeVirtInstancetypesNoCredentialsDefault) String() string
- type ListKubeVirtInstancetypesNoCredentialsOK
- func (o *ListKubeVirtInstancetypesNoCredentialsOK) Error() string
- func (o *ListKubeVirtInstancetypesNoCredentialsOK) GetPayload() *models.VirtualMachineInstancetypeList
- func (o *ListKubeVirtInstancetypesNoCredentialsOK) IsClientError() bool
- func (o *ListKubeVirtInstancetypesNoCredentialsOK) IsCode(code int) bool
- func (o *ListKubeVirtInstancetypesNoCredentialsOK) IsRedirect() bool
- func (o *ListKubeVirtInstancetypesNoCredentialsOK) IsServerError() bool
- func (o *ListKubeVirtInstancetypesNoCredentialsOK) IsSuccess() bool
- func (o *ListKubeVirtInstancetypesNoCredentialsOK) String() string
- type ListKubeVirtInstancetypesNoCredentialsParams
- func NewListKubeVirtInstancetypesNoCredentialsParams() *ListKubeVirtInstancetypesNoCredentialsParams
- func NewListKubeVirtInstancetypesNoCredentialsParamsWithContext(ctx context.Context) *ListKubeVirtInstancetypesNoCredentialsParams
- func NewListKubeVirtInstancetypesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListKubeVirtInstancetypesNoCredentialsParams
- func NewListKubeVirtInstancetypesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListKubeVirtInstancetypesNoCredentialsParams
- func (o *ListKubeVirtInstancetypesNoCredentialsParams) SetClusterID(clusterID string)
- func (o *ListKubeVirtInstancetypesNoCredentialsParams) SetContext(ctx context.Context)
- func (o *ListKubeVirtInstancetypesNoCredentialsParams) SetDefaults()
- func (o *ListKubeVirtInstancetypesNoCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *ListKubeVirtInstancetypesNoCredentialsParams) SetProjectID(projectID string)
- func (o *ListKubeVirtInstancetypesNoCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *ListKubeVirtInstancetypesNoCredentialsParams) WithClusterID(clusterID string) *ListKubeVirtInstancetypesNoCredentialsParams
- func (o *ListKubeVirtInstancetypesNoCredentialsParams) WithContext(ctx context.Context) *ListKubeVirtInstancetypesNoCredentialsParams
- func (o *ListKubeVirtInstancetypesNoCredentialsParams) WithDefaults() *ListKubeVirtInstancetypesNoCredentialsParams
- func (o *ListKubeVirtInstancetypesNoCredentialsParams) WithHTTPClient(client *http.Client) *ListKubeVirtInstancetypesNoCredentialsParams
- func (o *ListKubeVirtInstancetypesNoCredentialsParams) WithProjectID(projectID string) *ListKubeVirtInstancetypesNoCredentialsParams
- func (o *ListKubeVirtInstancetypesNoCredentialsParams) WithTimeout(timeout time.Duration) *ListKubeVirtInstancetypesNoCredentialsParams
- func (o *ListKubeVirtInstancetypesNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListKubeVirtInstancetypesNoCredentialsReader
- type ListKubeVirtInstancetypesOK
- func (o *ListKubeVirtInstancetypesOK) Error() string
- func (o *ListKubeVirtInstancetypesOK) GetPayload() *models.VirtualMachineInstancetypeList
- func (o *ListKubeVirtInstancetypesOK) IsClientError() bool
- func (o *ListKubeVirtInstancetypesOK) IsCode(code int) bool
- func (o *ListKubeVirtInstancetypesOK) IsRedirect() bool
- func (o *ListKubeVirtInstancetypesOK) IsServerError() bool
- func (o *ListKubeVirtInstancetypesOK) IsSuccess() bool
- func (o *ListKubeVirtInstancetypesOK) String() string
- type ListKubeVirtInstancetypesParams
- func NewListKubeVirtInstancetypesParams() *ListKubeVirtInstancetypesParams
- func NewListKubeVirtInstancetypesParamsWithContext(ctx context.Context) *ListKubeVirtInstancetypesParams
- func NewListKubeVirtInstancetypesParamsWithHTTPClient(client *http.Client) *ListKubeVirtInstancetypesParams
- func NewListKubeVirtInstancetypesParamsWithTimeout(timeout time.Duration) *ListKubeVirtInstancetypesParams
- func (o *ListKubeVirtInstancetypesParams) SetContext(ctx context.Context)
- func (o *ListKubeVirtInstancetypesParams) SetCredential(credential *string)
- func (o *ListKubeVirtInstancetypesParams) SetDefaults()
- func (o *ListKubeVirtInstancetypesParams) SetHTTPClient(client *http.Client)
- func (o *ListKubeVirtInstancetypesParams) SetKubeconfig(kubeconfig *string)
- func (o *ListKubeVirtInstancetypesParams) SetTimeout(timeout time.Duration)
- func (o *ListKubeVirtInstancetypesParams) WithContext(ctx context.Context) *ListKubeVirtInstancetypesParams
- func (o *ListKubeVirtInstancetypesParams) WithCredential(credential *string) *ListKubeVirtInstancetypesParams
- func (o *ListKubeVirtInstancetypesParams) WithDefaults() *ListKubeVirtInstancetypesParams
- func (o *ListKubeVirtInstancetypesParams) WithHTTPClient(client *http.Client) *ListKubeVirtInstancetypesParams
- func (o *ListKubeVirtInstancetypesParams) WithKubeconfig(kubeconfig *string) *ListKubeVirtInstancetypesParams
- func (o *ListKubeVirtInstancetypesParams) WithTimeout(timeout time.Duration) *ListKubeVirtInstancetypesParams
- func (o *ListKubeVirtInstancetypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListKubeVirtInstancetypesReader
- type ListKubeVirtPreferencesDefault
- func (o *ListKubeVirtPreferencesDefault) Code() int
- func (o *ListKubeVirtPreferencesDefault) Error() string
- func (o *ListKubeVirtPreferencesDefault) GetPayload() *models.ErrorResponse
- func (o *ListKubeVirtPreferencesDefault) IsClientError() bool
- func (o *ListKubeVirtPreferencesDefault) IsCode(code int) bool
- func (o *ListKubeVirtPreferencesDefault) IsRedirect() bool
- func (o *ListKubeVirtPreferencesDefault) IsServerError() bool
- func (o *ListKubeVirtPreferencesDefault) IsSuccess() bool
- func (o *ListKubeVirtPreferencesDefault) String() string
- type ListKubeVirtPreferencesNoCredentialsDefault
- func (o *ListKubeVirtPreferencesNoCredentialsDefault) Code() int
- func (o *ListKubeVirtPreferencesNoCredentialsDefault) Error() string
- func (o *ListKubeVirtPreferencesNoCredentialsDefault) GetPayload() *models.ErrorResponse
- func (o *ListKubeVirtPreferencesNoCredentialsDefault) IsClientError() bool
- func (o *ListKubeVirtPreferencesNoCredentialsDefault) IsCode(code int) bool
- func (o *ListKubeVirtPreferencesNoCredentialsDefault) IsRedirect() bool
- func (o *ListKubeVirtPreferencesNoCredentialsDefault) IsServerError() bool
- func (o *ListKubeVirtPreferencesNoCredentialsDefault) IsSuccess() bool
- func (o *ListKubeVirtPreferencesNoCredentialsDefault) String() string
- type ListKubeVirtPreferencesNoCredentialsOK
- func (o *ListKubeVirtPreferencesNoCredentialsOK) Error() string
- func (o *ListKubeVirtPreferencesNoCredentialsOK) GetPayload() *models.VirtualMachinePreferenceList
- func (o *ListKubeVirtPreferencesNoCredentialsOK) IsClientError() bool
- func (o *ListKubeVirtPreferencesNoCredentialsOK) IsCode(code int) bool
- func (o *ListKubeVirtPreferencesNoCredentialsOK) IsRedirect() bool
- func (o *ListKubeVirtPreferencesNoCredentialsOK) IsServerError() bool
- func (o *ListKubeVirtPreferencesNoCredentialsOK) IsSuccess() bool
- func (o *ListKubeVirtPreferencesNoCredentialsOK) String() string
- type ListKubeVirtPreferencesNoCredentialsParams
- func NewListKubeVirtPreferencesNoCredentialsParams() *ListKubeVirtPreferencesNoCredentialsParams
- func NewListKubeVirtPreferencesNoCredentialsParamsWithContext(ctx context.Context) *ListKubeVirtPreferencesNoCredentialsParams
- func NewListKubeVirtPreferencesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListKubeVirtPreferencesNoCredentialsParams
- func NewListKubeVirtPreferencesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListKubeVirtPreferencesNoCredentialsParams
- func (o *ListKubeVirtPreferencesNoCredentialsParams) SetClusterID(clusterID string)
- func (o *ListKubeVirtPreferencesNoCredentialsParams) SetContext(ctx context.Context)
- func (o *ListKubeVirtPreferencesNoCredentialsParams) SetDefaults()
- func (o *ListKubeVirtPreferencesNoCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *ListKubeVirtPreferencesNoCredentialsParams) SetProjectID(projectID string)
- func (o *ListKubeVirtPreferencesNoCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *ListKubeVirtPreferencesNoCredentialsParams) WithClusterID(clusterID string) *ListKubeVirtPreferencesNoCredentialsParams
- func (o *ListKubeVirtPreferencesNoCredentialsParams) WithContext(ctx context.Context) *ListKubeVirtPreferencesNoCredentialsParams
- func (o *ListKubeVirtPreferencesNoCredentialsParams) WithDefaults() *ListKubeVirtPreferencesNoCredentialsParams
- func (o *ListKubeVirtPreferencesNoCredentialsParams) WithHTTPClient(client *http.Client) *ListKubeVirtPreferencesNoCredentialsParams
- func (o *ListKubeVirtPreferencesNoCredentialsParams) WithProjectID(projectID string) *ListKubeVirtPreferencesNoCredentialsParams
- func (o *ListKubeVirtPreferencesNoCredentialsParams) WithTimeout(timeout time.Duration) *ListKubeVirtPreferencesNoCredentialsParams
- func (o *ListKubeVirtPreferencesNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListKubeVirtPreferencesNoCredentialsReader
- type ListKubeVirtPreferencesOK
- func (o *ListKubeVirtPreferencesOK) Error() string
- func (o *ListKubeVirtPreferencesOK) GetPayload() *models.VirtualMachinePreferenceList
- func (o *ListKubeVirtPreferencesOK) IsClientError() bool
- func (o *ListKubeVirtPreferencesOK) IsCode(code int) bool
- func (o *ListKubeVirtPreferencesOK) IsRedirect() bool
- func (o *ListKubeVirtPreferencesOK) IsServerError() bool
- func (o *ListKubeVirtPreferencesOK) IsSuccess() bool
- func (o *ListKubeVirtPreferencesOK) String() string
- type ListKubeVirtPreferencesParams
- func NewListKubeVirtPreferencesParams() *ListKubeVirtPreferencesParams
- func NewListKubeVirtPreferencesParamsWithContext(ctx context.Context) *ListKubeVirtPreferencesParams
- func NewListKubeVirtPreferencesParamsWithHTTPClient(client *http.Client) *ListKubeVirtPreferencesParams
- func NewListKubeVirtPreferencesParamsWithTimeout(timeout time.Duration) *ListKubeVirtPreferencesParams
- func (o *ListKubeVirtPreferencesParams) SetContext(ctx context.Context)
- func (o *ListKubeVirtPreferencesParams) SetDefaults()
- func (o *ListKubeVirtPreferencesParams) SetHTTPClient(client *http.Client)
- func (o *ListKubeVirtPreferencesParams) SetTimeout(timeout time.Duration)
- func (o *ListKubeVirtPreferencesParams) WithContext(ctx context.Context) *ListKubeVirtPreferencesParams
- func (o *ListKubeVirtPreferencesParams) WithDefaults() *ListKubeVirtPreferencesParams
- func (o *ListKubeVirtPreferencesParams) WithHTTPClient(client *http.Client) *ListKubeVirtPreferencesParams
- func (o *ListKubeVirtPreferencesParams) WithTimeout(timeout time.Duration) *ListKubeVirtPreferencesParams
- func (o *ListKubeVirtPreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListKubeVirtPreferencesReader
- type ListKubeVirtVMIPresetsDefault
- func (o *ListKubeVirtVMIPresetsDefault) Code() int
- func (o *ListKubeVirtVMIPresetsDefault) Error() string
- func (o *ListKubeVirtVMIPresetsDefault) GetPayload() *models.ErrorResponse
- func (o *ListKubeVirtVMIPresetsDefault) IsClientError() bool
- func (o *ListKubeVirtVMIPresetsDefault) IsCode(code int) bool
- func (o *ListKubeVirtVMIPresetsDefault) IsRedirect() bool
- func (o *ListKubeVirtVMIPresetsDefault) IsServerError() bool
- func (o *ListKubeVirtVMIPresetsDefault) IsSuccess() bool
- func (o *ListKubeVirtVMIPresetsDefault) String() string
- type ListKubeVirtVMIPresetsNoCredentialsDefault
- func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) Code() int
- func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) Error() string
- func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) GetPayload() *models.ErrorResponse
- func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) IsClientError() bool
- func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) IsCode(code int) bool
- func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) IsRedirect() bool
- func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) IsServerError() bool
- func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) IsSuccess() bool
- func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) String() string
- type ListKubeVirtVMIPresetsNoCredentialsOK
- func (o *ListKubeVirtVMIPresetsNoCredentialsOK) Error() string
- func (o *ListKubeVirtVMIPresetsNoCredentialsOK) GetPayload() models.VirtualMachineInstancePresetList
- func (o *ListKubeVirtVMIPresetsNoCredentialsOK) IsClientError() bool
- func (o *ListKubeVirtVMIPresetsNoCredentialsOK) IsCode(code int) bool
- func (o *ListKubeVirtVMIPresetsNoCredentialsOK) IsRedirect() bool
- func (o *ListKubeVirtVMIPresetsNoCredentialsOK) IsServerError() bool
- func (o *ListKubeVirtVMIPresetsNoCredentialsOK) IsSuccess() bool
- func (o *ListKubeVirtVMIPresetsNoCredentialsOK) String() string
- type ListKubeVirtVMIPresetsNoCredentialsParams
- func NewListKubeVirtVMIPresetsNoCredentialsParams() *ListKubeVirtVMIPresetsNoCredentialsParams
- func NewListKubeVirtVMIPresetsNoCredentialsParamsWithContext(ctx context.Context) *ListKubeVirtVMIPresetsNoCredentialsParams
- func NewListKubeVirtVMIPresetsNoCredentialsParamsWithHTTPClient(client *http.Client) *ListKubeVirtVMIPresetsNoCredentialsParams
- func NewListKubeVirtVMIPresetsNoCredentialsParamsWithTimeout(timeout time.Duration) *ListKubeVirtVMIPresetsNoCredentialsParams
- func (o *ListKubeVirtVMIPresetsNoCredentialsParams) SetClusterID(clusterID string)
- func (o *ListKubeVirtVMIPresetsNoCredentialsParams) SetContext(ctx context.Context)
- func (o *ListKubeVirtVMIPresetsNoCredentialsParams) SetDefaults()
- func (o *ListKubeVirtVMIPresetsNoCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *ListKubeVirtVMIPresetsNoCredentialsParams) SetProjectID(projectID string)
- func (o *ListKubeVirtVMIPresetsNoCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *ListKubeVirtVMIPresetsNoCredentialsParams) WithClusterID(clusterID string) *ListKubeVirtVMIPresetsNoCredentialsParams
- func (o *ListKubeVirtVMIPresetsNoCredentialsParams) WithContext(ctx context.Context) *ListKubeVirtVMIPresetsNoCredentialsParams
- func (o *ListKubeVirtVMIPresetsNoCredentialsParams) WithDefaults() *ListKubeVirtVMIPresetsNoCredentialsParams
- func (o *ListKubeVirtVMIPresetsNoCredentialsParams) WithHTTPClient(client *http.Client) *ListKubeVirtVMIPresetsNoCredentialsParams
- func (o *ListKubeVirtVMIPresetsNoCredentialsParams) WithProjectID(projectID string) *ListKubeVirtVMIPresetsNoCredentialsParams
- func (o *ListKubeVirtVMIPresetsNoCredentialsParams) WithTimeout(timeout time.Duration) *ListKubeVirtVMIPresetsNoCredentialsParams
- func (o *ListKubeVirtVMIPresetsNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListKubeVirtVMIPresetsNoCredentialsReader
- type ListKubeVirtVMIPresetsOK
- func (o *ListKubeVirtVMIPresetsOK) Error() string
- func (o *ListKubeVirtVMIPresetsOK) GetPayload() models.VirtualMachineInstancePresetList
- func (o *ListKubeVirtVMIPresetsOK) IsClientError() bool
- func (o *ListKubeVirtVMIPresetsOK) IsCode(code int) bool
- func (o *ListKubeVirtVMIPresetsOK) IsRedirect() bool
- func (o *ListKubeVirtVMIPresetsOK) IsServerError() bool
- func (o *ListKubeVirtVMIPresetsOK) IsSuccess() bool
- func (o *ListKubeVirtVMIPresetsOK) String() string
- type ListKubeVirtVMIPresetsParams
- func NewListKubeVirtVMIPresetsParams() *ListKubeVirtVMIPresetsParams
- func NewListKubeVirtVMIPresetsParamsWithContext(ctx context.Context) *ListKubeVirtVMIPresetsParams
- func NewListKubeVirtVMIPresetsParamsWithHTTPClient(client *http.Client) *ListKubeVirtVMIPresetsParams
- func NewListKubeVirtVMIPresetsParamsWithTimeout(timeout time.Duration) *ListKubeVirtVMIPresetsParams
- func (o *ListKubeVirtVMIPresetsParams) SetContext(ctx context.Context)
- func (o *ListKubeVirtVMIPresetsParams) SetCredential(credential *string)
- func (o *ListKubeVirtVMIPresetsParams) SetDefaults()
- func (o *ListKubeVirtVMIPresetsParams) SetHTTPClient(client *http.Client)
- func (o *ListKubeVirtVMIPresetsParams) SetKubeconfig(kubeconfig *string)
- func (o *ListKubeVirtVMIPresetsParams) SetTimeout(timeout time.Duration)
- func (o *ListKubeVirtVMIPresetsParams) WithContext(ctx context.Context) *ListKubeVirtVMIPresetsParams
- func (o *ListKubeVirtVMIPresetsParams) WithCredential(credential *string) *ListKubeVirtVMIPresetsParams
- func (o *ListKubeVirtVMIPresetsParams) WithDefaults() *ListKubeVirtVMIPresetsParams
- func (o *ListKubeVirtVMIPresetsParams) WithHTTPClient(client *http.Client) *ListKubeVirtVMIPresetsParams
- func (o *ListKubeVirtVMIPresetsParams) WithKubeconfig(kubeconfig *string) *ListKubeVirtVMIPresetsParams
- func (o *ListKubeVirtVMIPresetsParams) WithTimeout(timeout time.Duration) *ListKubeVirtVMIPresetsParams
- func (o *ListKubeVirtVMIPresetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListKubeVirtVMIPresetsReader
- type ListKubevirtStorageClassesDefault
- func (o *ListKubevirtStorageClassesDefault) Code() int
- func (o *ListKubevirtStorageClassesDefault) Error() string
- func (o *ListKubevirtStorageClassesDefault) GetPayload() *models.ErrorResponse
- func (o *ListKubevirtStorageClassesDefault) IsClientError() bool
- func (o *ListKubevirtStorageClassesDefault) IsCode(code int) bool
- func (o *ListKubevirtStorageClassesDefault) IsRedirect() bool
- func (o *ListKubevirtStorageClassesDefault) IsServerError() bool
- func (o *ListKubevirtStorageClassesDefault) IsSuccess() bool
- func (o *ListKubevirtStorageClassesDefault) String() string
- type ListKubevirtStorageClassesNoCredentialsDefault
- func (o *ListKubevirtStorageClassesNoCredentialsDefault) Code() int
- func (o *ListKubevirtStorageClassesNoCredentialsDefault) Error() string
- func (o *ListKubevirtStorageClassesNoCredentialsDefault) GetPayload() *models.ErrorResponse
- func (o *ListKubevirtStorageClassesNoCredentialsDefault) IsClientError() bool
- func (o *ListKubevirtStorageClassesNoCredentialsDefault) IsCode(code int) bool
- func (o *ListKubevirtStorageClassesNoCredentialsDefault) IsRedirect() bool
- func (o *ListKubevirtStorageClassesNoCredentialsDefault) IsServerError() bool
- func (o *ListKubevirtStorageClassesNoCredentialsDefault) IsSuccess() bool
- func (o *ListKubevirtStorageClassesNoCredentialsDefault) String() string
- type ListKubevirtStorageClassesNoCredentialsOK
- func (o *ListKubevirtStorageClassesNoCredentialsOK) Error() string
- func (o *ListKubevirtStorageClassesNoCredentialsOK) GetPayload() models.StorageClassList
- func (o *ListKubevirtStorageClassesNoCredentialsOK) IsClientError() bool
- func (o *ListKubevirtStorageClassesNoCredentialsOK) IsCode(code int) bool
- func (o *ListKubevirtStorageClassesNoCredentialsOK) IsRedirect() bool
- func (o *ListKubevirtStorageClassesNoCredentialsOK) IsServerError() bool
- func (o *ListKubevirtStorageClassesNoCredentialsOK) IsSuccess() bool
- func (o *ListKubevirtStorageClassesNoCredentialsOK) String() string
- type ListKubevirtStorageClassesNoCredentialsParams
- func NewListKubevirtStorageClassesNoCredentialsParams() *ListKubevirtStorageClassesNoCredentialsParams
- func NewListKubevirtStorageClassesNoCredentialsParamsWithContext(ctx context.Context) *ListKubevirtStorageClassesNoCredentialsParams
- func NewListKubevirtStorageClassesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListKubevirtStorageClassesNoCredentialsParams
- func NewListKubevirtStorageClassesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListKubevirtStorageClassesNoCredentialsParams
- func (o *ListKubevirtStorageClassesNoCredentialsParams) SetClusterID(clusterID string)
- func (o *ListKubevirtStorageClassesNoCredentialsParams) SetContext(ctx context.Context)
- func (o *ListKubevirtStorageClassesNoCredentialsParams) SetDefaults()
- func (o *ListKubevirtStorageClassesNoCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *ListKubevirtStorageClassesNoCredentialsParams) SetProjectID(projectID string)
- func (o *ListKubevirtStorageClassesNoCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *ListKubevirtStorageClassesNoCredentialsParams) WithClusterID(clusterID string) *ListKubevirtStorageClassesNoCredentialsParams
- func (o *ListKubevirtStorageClassesNoCredentialsParams) WithContext(ctx context.Context) *ListKubevirtStorageClassesNoCredentialsParams
- func (o *ListKubevirtStorageClassesNoCredentialsParams) WithDefaults() *ListKubevirtStorageClassesNoCredentialsParams
- func (o *ListKubevirtStorageClassesNoCredentialsParams) WithHTTPClient(client *http.Client) *ListKubevirtStorageClassesNoCredentialsParams
- func (o *ListKubevirtStorageClassesNoCredentialsParams) WithProjectID(projectID string) *ListKubevirtStorageClassesNoCredentialsParams
- func (o *ListKubevirtStorageClassesNoCredentialsParams) WithTimeout(timeout time.Duration) *ListKubevirtStorageClassesNoCredentialsParams
- func (o *ListKubevirtStorageClassesNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListKubevirtStorageClassesNoCredentialsReader
- type ListKubevirtStorageClassesOK
- func (o *ListKubevirtStorageClassesOK) Error() string
- func (o *ListKubevirtStorageClassesOK) GetPayload() models.StorageClassList
- func (o *ListKubevirtStorageClassesOK) IsClientError() bool
- func (o *ListKubevirtStorageClassesOK) IsCode(code int) bool
- func (o *ListKubevirtStorageClassesOK) IsRedirect() bool
- func (o *ListKubevirtStorageClassesOK) IsServerError() bool
- func (o *ListKubevirtStorageClassesOK) IsSuccess() bool
- func (o *ListKubevirtStorageClassesOK) String() string
- type ListKubevirtStorageClassesParams
- func NewListKubevirtStorageClassesParams() *ListKubevirtStorageClassesParams
- func NewListKubevirtStorageClassesParamsWithContext(ctx context.Context) *ListKubevirtStorageClassesParams
- func NewListKubevirtStorageClassesParamsWithHTTPClient(client *http.Client) *ListKubevirtStorageClassesParams
- func NewListKubevirtStorageClassesParamsWithTimeout(timeout time.Duration) *ListKubevirtStorageClassesParams
- func (o *ListKubevirtStorageClassesParams) SetContext(ctx context.Context)
- func (o *ListKubevirtStorageClassesParams) SetCredential(credential *string)
- func (o *ListKubevirtStorageClassesParams) SetDefaults()
- func (o *ListKubevirtStorageClassesParams) SetHTTPClient(client *http.Client)
- func (o *ListKubevirtStorageClassesParams) SetKubeconfig(kubeconfig *string)
- func (o *ListKubevirtStorageClassesParams) SetTimeout(timeout time.Duration)
- func (o *ListKubevirtStorageClassesParams) WithContext(ctx context.Context) *ListKubevirtStorageClassesParams
- func (o *ListKubevirtStorageClassesParams) WithCredential(credential *string) *ListKubevirtStorageClassesParams
- func (o *ListKubevirtStorageClassesParams) WithDefaults() *ListKubevirtStorageClassesParams
- func (o *ListKubevirtStorageClassesParams) WithHTTPClient(client *http.Client) *ListKubevirtStorageClassesParams
- func (o *ListKubevirtStorageClassesParams) WithKubeconfig(kubeconfig *string) *ListKubevirtStorageClassesParams
- func (o *ListKubevirtStorageClassesParams) WithTimeout(timeout time.Duration) *ListKubevirtStorageClassesParams
- func (o *ListKubevirtStorageClassesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListKubevirtStorageClassesReader
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 kubevirt API
func (*Client) ListKubeVirtInstancetypes ¶
func (a *Client) ListKubeVirtInstancetypes(params *ListKubeVirtInstancetypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKubeVirtInstancetypesOK, error)
ListKubeVirtInstancetypes lists available kube virt virtual machine instancetype
func (*Client) ListKubeVirtInstancetypesNoCredentials ¶
func (a *Client) ListKubeVirtInstancetypesNoCredentials(params *ListKubeVirtInstancetypesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKubeVirtInstancetypesNoCredentialsOK, error)
ListKubeVirtInstancetypesNoCredentials Lists available VirtualMachineInstancetype
func (*Client) ListKubeVirtPreferences ¶
func (a *Client) ListKubeVirtPreferences(params *ListKubeVirtPreferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKubeVirtPreferencesOK, error)
ListKubeVirtPreferences lists available kube virt virtual machine preference
func (*Client) ListKubeVirtPreferencesNoCredentials ¶
func (a *Client) ListKubeVirtPreferencesNoCredentials(params *ListKubeVirtPreferencesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKubeVirtPreferencesNoCredentialsOK, error)
ListKubeVirtPreferencesNoCredentials Lists available VirtualMachinePreference
func (*Client) ListKubeVirtVMIPresets ¶
func (a *Client) ListKubeVirtVMIPresets(params *ListKubeVirtVMIPresetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKubeVirtVMIPresetsOK, error)
ListKubeVirtVMIPresets lists available kube virt virtual machine instance preset
func (*Client) ListKubeVirtVMIPresetsNoCredentials ¶
func (a *Client) ListKubeVirtVMIPresetsNoCredentials(params *ListKubeVirtVMIPresetsNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKubeVirtVMIPresetsNoCredentialsOK, error)
ListKubeVirtVMIPresetsNoCredentials Lists available VirtualMachineInstancePreset
func (*Client) ListKubevirtStorageClasses ¶
func (a *Client) ListKubevirtStorageClasses(params *ListKubevirtStorageClassesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKubevirtStorageClassesOK, error)
ListKubevirtStorageClasses lists available k8s storage classes in the kubevirt cluster
func (*Client) ListKubevirtStorageClassesNoCredentials ¶
func (a *Client) ListKubevirtStorageClassesNoCredentials(params *ListKubevirtStorageClassesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKubevirtStorageClassesNoCredentialsOK, error)
ListKubevirtStorageClassesNoCredentials List Storage Classes
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ListKubeVirtInstancetypes(params *ListKubeVirtInstancetypesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKubeVirtInstancetypesOK, error) ListKubeVirtInstancetypesNoCredentials(params *ListKubeVirtInstancetypesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKubeVirtInstancetypesNoCredentialsOK, error) ListKubeVirtPreferences(params *ListKubeVirtPreferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKubeVirtPreferencesOK, error) ListKubeVirtPreferencesNoCredentials(params *ListKubeVirtPreferencesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKubeVirtPreferencesNoCredentialsOK, error) ListKubeVirtVMIPresets(params *ListKubeVirtVMIPresetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKubeVirtVMIPresetsOK, error) ListKubeVirtVMIPresetsNoCredentials(params *ListKubeVirtVMIPresetsNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKubeVirtVMIPresetsNoCredentialsOK, error) ListKubevirtStorageClasses(params *ListKubevirtStorageClassesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKubevirtStorageClassesOK, error) ListKubevirtStorageClassesNoCredentials(params *ListKubevirtStorageClassesNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListKubevirtStorageClassesNoCredentialsOK, 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 kubevirt API client.
type ListKubeVirtInstancetypesDefault ¶
type ListKubeVirtInstancetypesDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListKubeVirtInstancetypesDefault describes a response with status code -1, with default header values.
errorResponse
func NewListKubeVirtInstancetypesDefault ¶
func NewListKubeVirtInstancetypesDefault(code int) *ListKubeVirtInstancetypesDefault
NewListKubeVirtInstancetypesDefault creates a ListKubeVirtInstancetypesDefault with default headers values
func (*ListKubeVirtInstancetypesDefault) Code ¶
func (o *ListKubeVirtInstancetypesDefault) Code() int
Code gets the status code for the list kube virt instancetypes default response
func (*ListKubeVirtInstancetypesDefault) Error ¶
func (o *ListKubeVirtInstancetypesDefault) Error() string
func (*ListKubeVirtInstancetypesDefault) GetPayload ¶
func (o *ListKubeVirtInstancetypesDefault) GetPayload() *models.ErrorResponse
func (*ListKubeVirtInstancetypesDefault) IsClientError ¶
func (o *ListKubeVirtInstancetypesDefault) IsClientError() bool
IsClientError returns true when this list kube virt instancetypes default response has a 4xx status code
func (*ListKubeVirtInstancetypesDefault) IsCode ¶
func (o *ListKubeVirtInstancetypesDefault) IsCode(code int) bool
IsCode returns true when this list kube virt instancetypes default response a status code equal to that given
func (*ListKubeVirtInstancetypesDefault) IsRedirect ¶
func (o *ListKubeVirtInstancetypesDefault) IsRedirect() bool
IsRedirect returns true when this list kube virt instancetypes default response has a 3xx status code
func (*ListKubeVirtInstancetypesDefault) IsServerError ¶
func (o *ListKubeVirtInstancetypesDefault) IsServerError() bool
IsServerError returns true when this list kube virt instancetypes default response has a 5xx status code
func (*ListKubeVirtInstancetypesDefault) IsSuccess ¶
func (o *ListKubeVirtInstancetypesDefault) IsSuccess() bool
IsSuccess returns true when this list kube virt instancetypes default response has a 2xx status code
func (*ListKubeVirtInstancetypesDefault) String ¶
func (o *ListKubeVirtInstancetypesDefault) String() string
type ListKubeVirtInstancetypesNoCredentialsDefault ¶
type ListKubeVirtInstancetypesNoCredentialsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListKubeVirtInstancetypesNoCredentialsDefault describes a response with status code -1, with default header values.
errorResponse
func NewListKubeVirtInstancetypesNoCredentialsDefault ¶
func NewListKubeVirtInstancetypesNoCredentialsDefault(code int) *ListKubeVirtInstancetypesNoCredentialsDefault
NewListKubeVirtInstancetypesNoCredentialsDefault creates a ListKubeVirtInstancetypesNoCredentialsDefault with default headers values
func (*ListKubeVirtInstancetypesNoCredentialsDefault) Code ¶
func (o *ListKubeVirtInstancetypesNoCredentialsDefault) Code() int
Code gets the status code for the list kube virt instancetypes no credentials default response
func (*ListKubeVirtInstancetypesNoCredentialsDefault) Error ¶
func (o *ListKubeVirtInstancetypesNoCredentialsDefault) Error() string
func (*ListKubeVirtInstancetypesNoCredentialsDefault) GetPayload ¶
func (o *ListKubeVirtInstancetypesNoCredentialsDefault) GetPayload() *models.ErrorResponse
func (*ListKubeVirtInstancetypesNoCredentialsDefault) IsClientError ¶
func (o *ListKubeVirtInstancetypesNoCredentialsDefault) IsClientError() bool
IsClientError returns true when this list kube virt instancetypes no credentials default response has a 4xx status code
func (*ListKubeVirtInstancetypesNoCredentialsDefault) IsCode ¶
func (o *ListKubeVirtInstancetypesNoCredentialsDefault) IsCode(code int) bool
IsCode returns true when this list kube virt instancetypes no credentials default response a status code equal to that given
func (*ListKubeVirtInstancetypesNoCredentialsDefault) IsRedirect ¶
func (o *ListKubeVirtInstancetypesNoCredentialsDefault) IsRedirect() bool
IsRedirect returns true when this list kube virt instancetypes no credentials default response has a 3xx status code
func (*ListKubeVirtInstancetypesNoCredentialsDefault) IsServerError ¶
func (o *ListKubeVirtInstancetypesNoCredentialsDefault) IsServerError() bool
IsServerError returns true when this list kube virt instancetypes no credentials default response has a 5xx status code
func (*ListKubeVirtInstancetypesNoCredentialsDefault) IsSuccess ¶
func (o *ListKubeVirtInstancetypesNoCredentialsDefault) IsSuccess() bool
IsSuccess returns true when this list kube virt instancetypes no credentials default response has a 2xx status code
func (*ListKubeVirtInstancetypesNoCredentialsDefault) String ¶
func (o *ListKubeVirtInstancetypesNoCredentialsDefault) String() string
type ListKubeVirtInstancetypesNoCredentialsOK ¶
type ListKubeVirtInstancetypesNoCredentialsOK struct {
Payload *models.VirtualMachineInstancetypeList
}
ListKubeVirtInstancetypesNoCredentialsOK describes a response with status code 200, with default header values.
VirtualMachineInstancetypeList
func NewListKubeVirtInstancetypesNoCredentialsOK ¶
func NewListKubeVirtInstancetypesNoCredentialsOK() *ListKubeVirtInstancetypesNoCredentialsOK
NewListKubeVirtInstancetypesNoCredentialsOK creates a ListKubeVirtInstancetypesNoCredentialsOK with default headers values
func (*ListKubeVirtInstancetypesNoCredentialsOK) Error ¶
func (o *ListKubeVirtInstancetypesNoCredentialsOK) Error() string
func (*ListKubeVirtInstancetypesNoCredentialsOK) GetPayload ¶
func (o *ListKubeVirtInstancetypesNoCredentialsOK) GetPayload() *models.VirtualMachineInstancetypeList
func (*ListKubeVirtInstancetypesNoCredentialsOK) IsClientError ¶
func (o *ListKubeVirtInstancetypesNoCredentialsOK) IsClientError() bool
IsClientError returns true when this list kube virt instancetypes no credentials o k response has a 4xx status code
func (*ListKubeVirtInstancetypesNoCredentialsOK) IsCode ¶
func (o *ListKubeVirtInstancetypesNoCredentialsOK) IsCode(code int) bool
IsCode returns true when this list kube virt instancetypes no credentials o k response a status code equal to that given
func (*ListKubeVirtInstancetypesNoCredentialsOK) IsRedirect ¶
func (o *ListKubeVirtInstancetypesNoCredentialsOK) IsRedirect() bool
IsRedirect returns true when this list kube virt instancetypes no credentials o k response has a 3xx status code
func (*ListKubeVirtInstancetypesNoCredentialsOK) IsServerError ¶
func (o *ListKubeVirtInstancetypesNoCredentialsOK) IsServerError() bool
IsServerError returns true when this list kube virt instancetypes no credentials o k response has a 5xx status code
func (*ListKubeVirtInstancetypesNoCredentialsOK) IsSuccess ¶
func (o *ListKubeVirtInstancetypesNoCredentialsOK) IsSuccess() bool
IsSuccess returns true when this list kube virt instancetypes no credentials o k response has a 2xx status code
func (*ListKubeVirtInstancetypesNoCredentialsOK) String ¶
func (o *ListKubeVirtInstancetypesNoCredentialsOK) String() string
type ListKubeVirtInstancetypesNoCredentialsParams ¶
type ListKubeVirtInstancetypesNoCredentialsParams struct { // ClusterID. ClusterID string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListKubeVirtInstancetypesNoCredentialsParams contains all the parameters to send to the API endpoint
for the list kube virt instancetypes no credentials operation. Typically these are written to a http.Request.
func NewListKubeVirtInstancetypesNoCredentialsParams ¶
func NewListKubeVirtInstancetypesNoCredentialsParams() *ListKubeVirtInstancetypesNoCredentialsParams
NewListKubeVirtInstancetypesNoCredentialsParams creates a new ListKubeVirtInstancetypesNoCredentialsParams 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 NewListKubeVirtInstancetypesNoCredentialsParamsWithContext ¶
func NewListKubeVirtInstancetypesNoCredentialsParamsWithContext(ctx context.Context) *ListKubeVirtInstancetypesNoCredentialsParams
NewListKubeVirtInstancetypesNoCredentialsParamsWithContext creates a new ListKubeVirtInstancetypesNoCredentialsParams object with the ability to set a context for a request.
func NewListKubeVirtInstancetypesNoCredentialsParamsWithHTTPClient ¶
func NewListKubeVirtInstancetypesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListKubeVirtInstancetypesNoCredentialsParams
NewListKubeVirtInstancetypesNoCredentialsParamsWithHTTPClient creates a new ListKubeVirtInstancetypesNoCredentialsParams object with the ability to set a custom HTTPClient for a request.
func NewListKubeVirtInstancetypesNoCredentialsParamsWithTimeout ¶
func NewListKubeVirtInstancetypesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListKubeVirtInstancetypesNoCredentialsParams
NewListKubeVirtInstancetypesNoCredentialsParamsWithTimeout creates a new ListKubeVirtInstancetypesNoCredentialsParams object with the ability to set a timeout on a request.
func (*ListKubeVirtInstancetypesNoCredentialsParams) SetClusterID ¶
func (o *ListKubeVirtInstancetypesNoCredentialsParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the list kube virt instancetypes no credentials params
func (*ListKubeVirtInstancetypesNoCredentialsParams) SetContext ¶
func (o *ListKubeVirtInstancetypesNoCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the list kube virt instancetypes no credentials params
func (*ListKubeVirtInstancetypesNoCredentialsParams) SetDefaults ¶
func (o *ListKubeVirtInstancetypesNoCredentialsParams) SetDefaults()
SetDefaults hydrates default values in the list kube virt instancetypes no credentials params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubeVirtInstancetypesNoCredentialsParams) SetHTTPClient ¶
func (o *ListKubeVirtInstancetypesNoCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list kube virt instancetypes no credentials params
func (*ListKubeVirtInstancetypesNoCredentialsParams) SetProjectID ¶
func (o *ListKubeVirtInstancetypesNoCredentialsParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the list kube virt instancetypes no credentials params
func (*ListKubeVirtInstancetypesNoCredentialsParams) SetTimeout ¶
func (o *ListKubeVirtInstancetypesNoCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list kube virt instancetypes no credentials params
func (*ListKubeVirtInstancetypesNoCredentialsParams) WithClusterID ¶
func (o *ListKubeVirtInstancetypesNoCredentialsParams) WithClusterID(clusterID string) *ListKubeVirtInstancetypesNoCredentialsParams
WithClusterID adds the clusterID to the list kube virt instancetypes no credentials params
func (*ListKubeVirtInstancetypesNoCredentialsParams) WithContext ¶
func (o *ListKubeVirtInstancetypesNoCredentialsParams) WithContext(ctx context.Context) *ListKubeVirtInstancetypesNoCredentialsParams
WithContext adds the context to the list kube virt instancetypes no credentials params
func (*ListKubeVirtInstancetypesNoCredentialsParams) WithDefaults ¶
func (o *ListKubeVirtInstancetypesNoCredentialsParams) WithDefaults() *ListKubeVirtInstancetypesNoCredentialsParams
WithDefaults hydrates default values in the list kube virt instancetypes no credentials params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubeVirtInstancetypesNoCredentialsParams) WithHTTPClient ¶
func (o *ListKubeVirtInstancetypesNoCredentialsParams) WithHTTPClient(client *http.Client) *ListKubeVirtInstancetypesNoCredentialsParams
WithHTTPClient adds the HTTPClient to the list kube virt instancetypes no credentials params
func (*ListKubeVirtInstancetypesNoCredentialsParams) WithProjectID ¶
func (o *ListKubeVirtInstancetypesNoCredentialsParams) WithProjectID(projectID string) *ListKubeVirtInstancetypesNoCredentialsParams
WithProjectID adds the projectID to the list kube virt instancetypes no credentials params
func (*ListKubeVirtInstancetypesNoCredentialsParams) WithTimeout ¶
func (o *ListKubeVirtInstancetypesNoCredentialsParams) WithTimeout(timeout time.Duration) *ListKubeVirtInstancetypesNoCredentialsParams
WithTimeout adds the timeout to the list kube virt instancetypes no credentials params
func (*ListKubeVirtInstancetypesNoCredentialsParams) WriteToRequest ¶
func (o *ListKubeVirtInstancetypesNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListKubeVirtInstancetypesNoCredentialsReader ¶
type ListKubeVirtInstancetypesNoCredentialsReader struct {
// contains filtered or unexported fields
}
ListKubeVirtInstancetypesNoCredentialsReader is a Reader for the ListKubeVirtInstancetypesNoCredentials structure.
func (*ListKubeVirtInstancetypesNoCredentialsReader) ReadResponse ¶
func (o *ListKubeVirtInstancetypesNoCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListKubeVirtInstancetypesOK ¶
type ListKubeVirtInstancetypesOK struct {
Payload *models.VirtualMachineInstancetypeList
}
ListKubeVirtInstancetypesOK describes a response with status code 200, with default header values.
VirtualMachineInstancetypeList
func NewListKubeVirtInstancetypesOK ¶
func NewListKubeVirtInstancetypesOK() *ListKubeVirtInstancetypesOK
NewListKubeVirtInstancetypesOK creates a ListKubeVirtInstancetypesOK with default headers values
func (*ListKubeVirtInstancetypesOK) Error ¶
func (o *ListKubeVirtInstancetypesOK) Error() string
func (*ListKubeVirtInstancetypesOK) GetPayload ¶
func (o *ListKubeVirtInstancetypesOK) GetPayload() *models.VirtualMachineInstancetypeList
func (*ListKubeVirtInstancetypesOK) IsClientError ¶
func (o *ListKubeVirtInstancetypesOK) IsClientError() bool
IsClientError returns true when this list kube virt instancetypes o k response has a 4xx status code
func (*ListKubeVirtInstancetypesOK) IsCode ¶
func (o *ListKubeVirtInstancetypesOK) IsCode(code int) bool
IsCode returns true when this list kube virt instancetypes o k response a status code equal to that given
func (*ListKubeVirtInstancetypesOK) IsRedirect ¶
func (o *ListKubeVirtInstancetypesOK) IsRedirect() bool
IsRedirect returns true when this list kube virt instancetypes o k response has a 3xx status code
func (*ListKubeVirtInstancetypesOK) IsServerError ¶
func (o *ListKubeVirtInstancetypesOK) IsServerError() bool
IsServerError returns true when this list kube virt instancetypes o k response has a 5xx status code
func (*ListKubeVirtInstancetypesOK) IsSuccess ¶
func (o *ListKubeVirtInstancetypesOK) IsSuccess() bool
IsSuccess returns true when this list kube virt instancetypes o k response has a 2xx status code
func (*ListKubeVirtInstancetypesOK) String ¶
func (o *ListKubeVirtInstancetypesOK) String() string
type ListKubeVirtInstancetypesParams ¶
type ListKubeVirtInstancetypesParams struct { // Credential. Credential *string // Kubeconfig. Kubeconfig *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListKubeVirtInstancetypesParams contains all the parameters to send to the API endpoint
for the list kube virt instancetypes operation. Typically these are written to a http.Request.
func NewListKubeVirtInstancetypesParams ¶
func NewListKubeVirtInstancetypesParams() *ListKubeVirtInstancetypesParams
NewListKubeVirtInstancetypesParams creates a new ListKubeVirtInstancetypesParams 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 NewListKubeVirtInstancetypesParamsWithContext ¶
func NewListKubeVirtInstancetypesParamsWithContext(ctx context.Context) *ListKubeVirtInstancetypesParams
NewListKubeVirtInstancetypesParamsWithContext creates a new ListKubeVirtInstancetypesParams object with the ability to set a context for a request.
func NewListKubeVirtInstancetypesParamsWithHTTPClient ¶
func NewListKubeVirtInstancetypesParamsWithHTTPClient(client *http.Client) *ListKubeVirtInstancetypesParams
NewListKubeVirtInstancetypesParamsWithHTTPClient creates a new ListKubeVirtInstancetypesParams object with the ability to set a custom HTTPClient for a request.
func NewListKubeVirtInstancetypesParamsWithTimeout ¶
func NewListKubeVirtInstancetypesParamsWithTimeout(timeout time.Duration) *ListKubeVirtInstancetypesParams
NewListKubeVirtInstancetypesParamsWithTimeout creates a new ListKubeVirtInstancetypesParams object with the ability to set a timeout on a request.
func (*ListKubeVirtInstancetypesParams) SetContext ¶
func (o *ListKubeVirtInstancetypesParams) SetContext(ctx context.Context)
SetContext adds the context to the list kube virt instancetypes params
func (*ListKubeVirtInstancetypesParams) SetCredential ¶
func (o *ListKubeVirtInstancetypesParams) SetCredential(credential *string)
SetCredential adds the credential to the list kube virt instancetypes params
func (*ListKubeVirtInstancetypesParams) SetDefaults ¶
func (o *ListKubeVirtInstancetypesParams) SetDefaults()
SetDefaults hydrates default values in the list kube virt instancetypes params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubeVirtInstancetypesParams) SetHTTPClient ¶
func (o *ListKubeVirtInstancetypesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list kube virt instancetypes params
func (*ListKubeVirtInstancetypesParams) SetKubeconfig ¶
func (o *ListKubeVirtInstancetypesParams) SetKubeconfig(kubeconfig *string)
SetKubeconfig adds the kubeconfig to the list kube virt instancetypes params
func (*ListKubeVirtInstancetypesParams) SetTimeout ¶
func (o *ListKubeVirtInstancetypesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list kube virt instancetypes params
func (*ListKubeVirtInstancetypesParams) WithContext ¶
func (o *ListKubeVirtInstancetypesParams) WithContext(ctx context.Context) *ListKubeVirtInstancetypesParams
WithContext adds the context to the list kube virt instancetypes params
func (*ListKubeVirtInstancetypesParams) WithCredential ¶
func (o *ListKubeVirtInstancetypesParams) WithCredential(credential *string) *ListKubeVirtInstancetypesParams
WithCredential adds the credential to the list kube virt instancetypes params
func (*ListKubeVirtInstancetypesParams) WithDefaults ¶
func (o *ListKubeVirtInstancetypesParams) WithDefaults() *ListKubeVirtInstancetypesParams
WithDefaults hydrates default values in the list kube virt instancetypes params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubeVirtInstancetypesParams) WithHTTPClient ¶
func (o *ListKubeVirtInstancetypesParams) WithHTTPClient(client *http.Client) *ListKubeVirtInstancetypesParams
WithHTTPClient adds the HTTPClient to the list kube virt instancetypes params
func (*ListKubeVirtInstancetypesParams) WithKubeconfig ¶
func (o *ListKubeVirtInstancetypesParams) WithKubeconfig(kubeconfig *string) *ListKubeVirtInstancetypesParams
WithKubeconfig adds the kubeconfig to the list kube virt instancetypes params
func (*ListKubeVirtInstancetypesParams) WithTimeout ¶
func (o *ListKubeVirtInstancetypesParams) WithTimeout(timeout time.Duration) *ListKubeVirtInstancetypesParams
WithTimeout adds the timeout to the list kube virt instancetypes params
func (*ListKubeVirtInstancetypesParams) WriteToRequest ¶
func (o *ListKubeVirtInstancetypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListKubeVirtInstancetypesReader ¶
type ListKubeVirtInstancetypesReader struct {
// contains filtered or unexported fields
}
ListKubeVirtInstancetypesReader is a Reader for the ListKubeVirtInstancetypes structure.
func (*ListKubeVirtInstancetypesReader) ReadResponse ¶
func (o *ListKubeVirtInstancetypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListKubeVirtPreferencesDefault ¶
type ListKubeVirtPreferencesDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListKubeVirtPreferencesDefault describes a response with status code -1, with default header values.
errorResponse
func NewListKubeVirtPreferencesDefault ¶
func NewListKubeVirtPreferencesDefault(code int) *ListKubeVirtPreferencesDefault
NewListKubeVirtPreferencesDefault creates a ListKubeVirtPreferencesDefault with default headers values
func (*ListKubeVirtPreferencesDefault) Code ¶
func (o *ListKubeVirtPreferencesDefault) Code() int
Code gets the status code for the list kube virt preferences default response
func (*ListKubeVirtPreferencesDefault) Error ¶
func (o *ListKubeVirtPreferencesDefault) Error() string
func (*ListKubeVirtPreferencesDefault) GetPayload ¶
func (o *ListKubeVirtPreferencesDefault) GetPayload() *models.ErrorResponse
func (*ListKubeVirtPreferencesDefault) IsClientError ¶
func (o *ListKubeVirtPreferencesDefault) IsClientError() bool
IsClientError returns true when this list kube virt preferences default response has a 4xx status code
func (*ListKubeVirtPreferencesDefault) IsCode ¶
func (o *ListKubeVirtPreferencesDefault) IsCode(code int) bool
IsCode returns true when this list kube virt preferences default response a status code equal to that given
func (*ListKubeVirtPreferencesDefault) IsRedirect ¶
func (o *ListKubeVirtPreferencesDefault) IsRedirect() bool
IsRedirect returns true when this list kube virt preferences default response has a 3xx status code
func (*ListKubeVirtPreferencesDefault) IsServerError ¶
func (o *ListKubeVirtPreferencesDefault) IsServerError() bool
IsServerError returns true when this list kube virt preferences default response has a 5xx status code
func (*ListKubeVirtPreferencesDefault) IsSuccess ¶
func (o *ListKubeVirtPreferencesDefault) IsSuccess() bool
IsSuccess returns true when this list kube virt preferences default response has a 2xx status code
func (*ListKubeVirtPreferencesDefault) String ¶
func (o *ListKubeVirtPreferencesDefault) String() string
type ListKubeVirtPreferencesNoCredentialsDefault ¶
type ListKubeVirtPreferencesNoCredentialsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListKubeVirtPreferencesNoCredentialsDefault describes a response with status code -1, with default header values.
errorResponse
func NewListKubeVirtPreferencesNoCredentialsDefault ¶
func NewListKubeVirtPreferencesNoCredentialsDefault(code int) *ListKubeVirtPreferencesNoCredentialsDefault
NewListKubeVirtPreferencesNoCredentialsDefault creates a ListKubeVirtPreferencesNoCredentialsDefault with default headers values
func (*ListKubeVirtPreferencesNoCredentialsDefault) Code ¶
func (o *ListKubeVirtPreferencesNoCredentialsDefault) Code() int
Code gets the status code for the list kube virt preferences no credentials default response
func (*ListKubeVirtPreferencesNoCredentialsDefault) Error ¶
func (o *ListKubeVirtPreferencesNoCredentialsDefault) Error() string
func (*ListKubeVirtPreferencesNoCredentialsDefault) GetPayload ¶
func (o *ListKubeVirtPreferencesNoCredentialsDefault) GetPayload() *models.ErrorResponse
func (*ListKubeVirtPreferencesNoCredentialsDefault) IsClientError ¶
func (o *ListKubeVirtPreferencesNoCredentialsDefault) IsClientError() bool
IsClientError returns true when this list kube virt preferences no credentials default response has a 4xx status code
func (*ListKubeVirtPreferencesNoCredentialsDefault) IsCode ¶
func (o *ListKubeVirtPreferencesNoCredentialsDefault) IsCode(code int) bool
IsCode returns true when this list kube virt preferences no credentials default response a status code equal to that given
func (*ListKubeVirtPreferencesNoCredentialsDefault) IsRedirect ¶
func (o *ListKubeVirtPreferencesNoCredentialsDefault) IsRedirect() bool
IsRedirect returns true when this list kube virt preferences no credentials default response has a 3xx status code
func (*ListKubeVirtPreferencesNoCredentialsDefault) IsServerError ¶
func (o *ListKubeVirtPreferencesNoCredentialsDefault) IsServerError() bool
IsServerError returns true when this list kube virt preferences no credentials default response has a 5xx status code
func (*ListKubeVirtPreferencesNoCredentialsDefault) IsSuccess ¶
func (o *ListKubeVirtPreferencesNoCredentialsDefault) IsSuccess() bool
IsSuccess returns true when this list kube virt preferences no credentials default response has a 2xx status code
func (*ListKubeVirtPreferencesNoCredentialsDefault) String ¶
func (o *ListKubeVirtPreferencesNoCredentialsDefault) String() string
type ListKubeVirtPreferencesNoCredentialsOK ¶
type ListKubeVirtPreferencesNoCredentialsOK struct {
Payload *models.VirtualMachinePreferenceList
}
ListKubeVirtPreferencesNoCredentialsOK describes a response with status code 200, with default header values.
VirtualMachinePreferenceList
func NewListKubeVirtPreferencesNoCredentialsOK ¶
func NewListKubeVirtPreferencesNoCredentialsOK() *ListKubeVirtPreferencesNoCredentialsOK
NewListKubeVirtPreferencesNoCredentialsOK creates a ListKubeVirtPreferencesNoCredentialsOK with default headers values
func (*ListKubeVirtPreferencesNoCredentialsOK) Error ¶
func (o *ListKubeVirtPreferencesNoCredentialsOK) Error() string
func (*ListKubeVirtPreferencesNoCredentialsOK) GetPayload ¶
func (o *ListKubeVirtPreferencesNoCredentialsOK) GetPayload() *models.VirtualMachinePreferenceList
func (*ListKubeVirtPreferencesNoCredentialsOK) IsClientError ¶
func (o *ListKubeVirtPreferencesNoCredentialsOK) IsClientError() bool
IsClientError returns true when this list kube virt preferences no credentials o k response has a 4xx status code
func (*ListKubeVirtPreferencesNoCredentialsOK) IsCode ¶
func (o *ListKubeVirtPreferencesNoCredentialsOK) IsCode(code int) bool
IsCode returns true when this list kube virt preferences no credentials o k response a status code equal to that given
func (*ListKubeVirtPreferencesNoCredentialsOK) IsRedirect ¶
func (o *ListKubeVirtPreferencesNoCredentialsOK) IsRedirect() bool
IsRedirect returns true when this list kube virt preferences no credentials o k response has a 3xx status code
func (*ListKubeVirtPreferencesNoCredentialsOK) IsServerError ¶
func (o *ListKubeVirtPreferencesNoCredentialsOK) IsServerError() bool
IsServerError returns true when this list kube virt preferences no credentials o k response has a 5xx status code
func (*ListKubeVirtPreferencesNoCredentialsOK) IsSuccess ¶
func (o *ListKubeVirtPreferencesNoCredentialsOK) IsSuccess() bool
IsSuccess returns true when this list kube virt preferences no credentials o k response has a 2xx status code
func (*ListKubeVirtPreferencesNoCredentialsOK) String ¶
func (o *ListKubeVirtPreferencesNoCredentialsOK) String() string
type ListKubeVirtPreferencesNoCredentialsParams ¶
type ListKubeVirtPreferencesNoCredentialsParams struct { // ClusterID. ClusterID string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListKubeVirtPreferencesNoCredentialsParams contains all the parameters to send to the API endpoint
for the list kube virt preferences no credentials operation. Typically these are written to a http.Request.
func NewListKubeVirtPreferencesNoCredentialsParams ¶
func NewListKubeVirtPreferencesNoCredentialsParams() *ListKubeVirtPreferencesNoCredentialsParams
NewListKubeVirtPreferencesNoCredentialsParams creates a new ListKubeVirtPreferencesNoCredentialsParams 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 NewListKubeVirtPreferencesNoCredentialsParamsWithContext ¶
func NewListKubeVirtPreferencesNoCredentialsParamsWithContext(ctx context.Context) *ListKubeVirtPreferencesNoCredentialsParams
NewListKubeVirtPreferencesNoCredentialsParamsWithContext creates a new ListKubeVirtPreferencesNoCredentialsParams object with the ability to set a context for a request.
func NewListKubeVirtPreferencesNoCredentialsParamsWithHTTPClient ¶
func NewListKubeVirtPreferencesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListKubeVirtPreferencesNoCredentialsParams
NewListKubeVirtPreferencesNoCredentialsParamsWithHTTPClient creates a new ListKubeVirtPreferencesNoCredentialsParams object with the ability to set a custom HTTPClient for a request.
func NewListKubeVirtPreferencesNoCredentialsParamsWithTimeout ¶
func NewListKubeVirtPreferencesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListKubeVirtPreferencesNoCredentialsParams
NewListKubeVirtPreferencesNoCredentialsParamsWithTimeout creates a new ListKubeVirtPreferencesNoCredentialsParams object with the ability to set a timeout on a request.
func (*ListKubeVirtPreferencesNoCredentialsParams) SetClusterID ¶
func (o *ListKubeVirtPreferencesNoCredentialsParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the list kube virt preferences no credentials params
func (*ListKubeVirtPreferencesNoCredentialsParams) SetContext ¶
func (o *ListKubeVirtPreferencesNoCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the list kube virt preferences no credentials params
func (*ListKubeVirtPreferencesNoCredentialsParams) SetDefaults ¶
func (o *ListKubeVirtPreferencesNoCredentialsParams) SetDefaults()
SetDefaults hydrates default values in the list kube virt preferences no credentials params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubeVirtPreferencesNoCredentialsParams) SetHTTPClient ¶
func (o *ListKubeVirtPreferencesNoCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list kube virt preferences no credentials params
func (*ListKubeVirtPreferencesNoCredentialsParams) SetProjectID ¶
func (o *ListKubeVirtPreferencesNoCredentialsParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the list kube virt preferences no credentials params
func (*ListKubeVirtPreferencesNoCredentialsParams) SetTimeout ¶
func (o *ListKubeVirtPreferencesNoCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list kube virt preferences no credentials params
func (*ListKubeVirtPreferencesNoCredentialsParams) WithClusterID ¶
func (o *ListKubeVirtPreferencesNoCredentialsParams) WithClusterID(clusterID string) *ListKubeVirtPreferencesNoCredentialsParams
WithClusterID adds the clusterID to the list kube virt preferences no credentials params
func (*ListKubeVirtPreferencesNoCredentialsParams) WithContext ¶
func (o *ListKubeVirtPreferencesNoCredentialsParams) WithContext(ctx context.Context) *ListKubeVirtPreferencesNoCredentialsParams
WithContext adds the context to the list kube virt preferences no credentials params
func (*ListKubeVirtPreferencesNoCredentialsParams) WithDefaults ¶
func (o *ListKubeVirtPreferencesNoCredentialsParams) WithDefaults() *ListKubeVirtPreferencesNoCredentialsParams
WithDefaults hydrates default values in the list kube virt preferences no credentials params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubeVirtPreferencesNoCredentialsParams) WithHTTPClient ¶
func (o *ListKubeVirtPreferencesNoCredentialsParams) WithHTTPClient(client *http.Client) *ListKubeVirtPreferencesNoCredentialsParams
WithHTTPClient adds the HTTPClient to the list kube virt preferences no credentials params
func (*ListKubeVirtPreferencesNoCredentialsParams) WithProjectID ¶
func (o *ListKubeVirtPreferencesNoCredentialsParams) WithProjectID(projectID string) *ListKubeVirtPreferencesNoCredentialsParams
WithProjectID adds the projectID to the list kube virt preferences no credentials params
func (*ListKubeVirtPreferencesNoCredentialsParams) WithTimeout ¶
func (o *ListKubeVirtPreferencesNoCredentialsParams) WithTimeout(timeout time.Duration) *ListKubeVirtPreferencesNoCredentialsParams
WithTimeout adds the timeout to the list kube virt preferences no credentials params
func (*ListKubeVirtPreferencesNoCredentialsParams) WriteToRequest ¶
func (o *ListKubeVirtPreferencesNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListKubeVirtPreferencesNoCredentialsReader ¶
type ListKubeVirtPreferencesNoCredentialsReader struct {
// contains filtered or unexported fields
}
ListKubeVirtPreferencesNoCredentialsReader is a Reader for the ListKubeVirtPreferencesNoCredentials structure.
func (*ListKubeVirtPreferencesNoCredentialsReader) ReadResponse ¶
func (o *ListKubeVirtPreferencesNoCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListKubeVirtPreferencesOK ¶
type ListKubeVirtPreferencesOK struct {
Payload *models.VirtualMachinePreferenceList
}
ListKubeVirtPreferencesOK describes a response with status code 200, with default header values.
VirtualMachinePreferenceList
func NewListKubeVirtPreferencesOK ¶
func NewListKubeVirtPreferencesOK() *ListKubeVirtPreferencesOK
NewListKubeVirtPreferencesOK creates a ListKubeVirtPreferencesOK with default headers values
func (*ListKubeVirtPreferencesOK) Error ¶
func (o *ListKubeVirtPreferencesOK) Error() string
func (*ListKubeVirtPreferencesOK) GetPayload ¶
func (o *ListKubeVirtPreferencesOK) GetPayload() *models.VirtualMachinePreferenceList
func (*ListKubeVirtPreferencesOK) IsClientError ¶
func (o *ListKubeVirtPreferencesOK) IsClientError() bool
IsClientError returns true when this list kube virt preferences o k response has a 4xx status code
func (*ListKubeVirtPreferencesOK) IsCode ¶
func (o *ListKubeVirtPreferencesOK) IsCode(code int) bool
IsCode returns true when this list kube virt preferences o k response a status code equal to that given
func (*ListKubeVirtPreferencesOK) IsRedirect ¶
func (o *ListKubeVirtPreferencesOK) IsRedirect() bool
IsRedirect returns true when this list kube virt preferences o k response has a 3xx status code
func (*ListKubeVirtPreferencesOK) IsServerError ¶
func (o *ListKubeVirtPreferencesOK) IsServerError() bool
IsServerError returns true when this list kube virt preferences o k response has a 5xx status code
func (*ListKubeVirtPreferencesOK) IsSuccess ¶
func (o *ListKubeVirtPreferencesOK) IsSuccess() bool
IsSuccess returns true when this list kube virt preferences o k response has a 2xx status code
func (*ListKubeVirtPreferencesOK) String ¶
func (o *ListKubeVirtPreferencesOK) String() string
type ListKubeVirtPreferencesParams ¶
type ListKubeVirtPreferencesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListKubeVirtPreferencesParams contains all the parameters to send to the API endpoint
for the list kube virt preferences operation. Typically these are written to a http.Request.
func NewListKubeVirtPreferencesParams ¶
func NewListKubeVirtPreferencesParams() *ListKubeVirtPreferencesParams
NewListKubeVirtPreferencesParams creates a new ListKubeVirtPreferencesParams 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 NewListKubeVirtPreferencesParamsWithContext ¶
func NewListKubeVirtPreferencesParamsWithContext(ctx context.Context) *ListKubeVirtPreferencesParams
NewListKubeVirtPreferencesParamsWithContext creates a new ListKubeVirtPreferencesParams object with the ability to set a context for a request.
func NewListKubeVirtPreferencesParamsWithHTTPClient ¶
func NewListKubeVirtPreferencesParamsWithHTTPClient(client *http.Client) *ListKubeVirtPreferencesParams
NewListKubeVirtPreferencesParamsWithHTTPClient creates a new ListKubeVirtPreferencesParams object with the ability to set a custom HTTPClient for a request.
func NewListKubeVirtPreferencesParamsWithTimeout ¶
func NewListKubeVirtPreferencesParamsWithTimeout(timeout time.Duration) *ListKubeVirtPreferencesParams
NewListKubeVirtPreferencesParamsWithTimeout creates a new ListKubeVirtPreferencesParams object with the ability to set a timeout on a request.
func (*ListKubeVirtPreferencesParams) SetContext ¶
func (o *ListKubeVirtPreferencesParams) SetContext(ctx context.Context)
SetContext adds the context to the list kube virt preferences params
func (*ListKubeVirtPreferencesParams) SetDefaults ¶
func (o *ListKubeVirtPreferencesParams) SetDefaults()
SetDefaults hydrates default values in the list kube virt preferences params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubeVirtPreferencesParams) SetHTTPClient ¶
func (o *ListKubeVirtPreferencesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list kube virt preferences params
func (*ListKubeVirtPreferencesParams) SetTimeout ¶
func (o *ListKubeVirtPreferencesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list kube virt preferences params
func (*ListKubeVirtPreferencesParams) WithContext ¶
func (o *ListKubeVirtPreferencesParams) WithContext(ctx context.Context) *ListKubeVirtPreferencesParams
WithContext adds the context to the list kube virt preferences params
func (*ListKubeVirtPreferencesParams) WithDefaults ¶
func (o *ListKubeVirtPreferencesParams) WithDefaults() *ListKubeVirtPreferencesParams
WithDefaults hydrates default values in the list kube virt preferences params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubeVirtPreferencesParams) WithHTTPClient ¶
func (o *ListKubeVirtPreferencesParams) WithHTTPClient(client *http.Client) *ListKubeVirtPreferencesParams
WithHTTPClient adds the HTTPClient to the list kube virt preferences params
func (*ListKubeVirtPreferencesParams) WithTimeout ¶
func (o *ListKubeVirtPreferencesParams) WithTimeout(timeout time.Duration) *ListKubeVirtPreferencesParams
WithTimeout adds the timeout to the list kube virt preferences params
func (*ListKubeVirtPreferencesParams) WriteToRequest ¶
func (o *ListKubeVirtPreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListKubeVirtPreferencesReader ¶
type ListKubeVirtPreferencesReader struct {
// contains filtered or unexported fields
}
ListKubeVirtPreferencesReader is a Reader for the ListKubeVirtPreferences structure.
func (*ListKubeVirtPreferencesReader) ReadResponse ¶
func (o *ListKubeVirtPreferencesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListKubeVirtVMIPresetsDefault ¶
type ListKubeVirtVMIPresetsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListKubeVirtVMIPresetsDefault describes a response with status code -1, with default header values.
errorResponse
func NewListKubeVirtVMIPresetsDefault ¶
func NewListKubeVirtVMIPresetsDefault(code int) *ListKubeVirtVMIPresetsDefault
NewListKubeVirtVMIPresetsDefault creates a ListKubeVirtVMIPresetsDefault with default headers values
func (*ListKubeVirtVMIPresetsDefault) Code ¶
func (o *ListKubeVirtVMIPresetsDefault) Code() int
Code gets the status code for the list kube virt VM i presets default response
func (*ListKubeVirtVMIPresetsDefault) Error ¶
func (o *ListKubeVirtVMIPresetsDefault) Error() string
func (*ListKubeVirtVMIPresetsDefault) GetPayload ¶
func (o *ListKubeVirtVMIPresetsDefault) GetPayload() *models.ErrorResponse
func (*ListKubeVirtVMIPresetsDefault) IsClientError ¶
func (o *ListKubeVirtVMIPresetsDefault) IsClientError() bool
IsClientError returns true when this list kube virt VM i presets default response has a 4xx status code
func (*ListKubeVirtVMIPresetsDefault) IsCode ¶
func (o *ListKubeVirtVMIPresetsDefault) IsCode(code int) bool
IsCode returns true when this list kube virt VM i presets default response a status code equal to that given
func (*ListKubeVirtVMIPresetsDefault) IsRedirect ¶
func (o *ListKubeVirtVMIPresetsDefault) IsRedirect() bool
IsRedirect returns true when this list kube virt VM i presets default response has a 3xx status code
func (*ListKubeVirtVMIPresetsDefault) IsServerError ¶
func (o *ListKubeVirtVMIPresetsDefault) IsServerError() bool
IsServerError returns true when this list kube virt VM i presets default response has a 5xx status code
func (*ListKubeVirtVMIPresetsDefault) IsSuccess ¶
func (o *ListKubeVirtVMIPresetsDefault) IsSuccess() bool
IsSuccess returns true when this list kube virt VM i presets default response has a 2xx status code
func (*ListKubeVirtVMIPresetsDefault) String ¶
func (o *ListKubeVirtVMIPresetsDefault) String() string
type ListKubeVirtVMIPresetsNoCredentialsDefault ¶
type ListKubeVirtVMIPresetsNoCredentialsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListKubeVirtVMIPresetsNoCredentialsDefault describes a response with status code -1, with default header values.
errorResponse
func NewListKubeVirtVMIPresetsNoCredentialsDefault ¶
func NewListKubeVirtVMIPresetsNoCredentialsDefault(code int) *ListKubeVirtVMIPresetsNoCredentialsDefault
NewListKubeVirtVMIPresetsNoCredentialsDefault creates a ListKubeVirtVMIPresetsNoCredentialsDefault with default headers values
func (*ListKubeVirtVMIPresetsNoCredentialsDefault) Code ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) Code() int
Code gets the status code for the list kube virt VM i presets no credentials default response
func (*ListKubeVirtVMIPresetsNoCredentialsDefault) Error ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) Error() string
func (*ListKubeVirtVMIPresetsNoCredentialsDefault) GetPayload ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) GetPayload() *models.ErrorResponse
func (*ListKubeVirtVMIPresetsNoCredentialsDefault) IsClientError ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) IsClientError() bool
IsClientError returns true when this list kube virt VM i presets no credentials default response has a 4xx status code
func (*ListKubeVirtVMIPresetsNoCredentialsDefault) IsCode ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) IsCode(code int) bool
IsCode returns true when this list kube virt VM i presets no credentials default response a status code equal to that given
func (*ListKubeVirtVMIPresetsNoCredentialsDefault) IsRedirect ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) IsRedirect() bool
IsRedirect returns true when this list kube virt VM i presets no credentials default response has a 3xx status code
func (*ListKubeVirtVMIPresetsNoCredentialsDefault) IsServerError ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) IsServerError() bool
IsServerError returns true when this list kube virt VM i presets no credentials default response has a 5xx status code
func (*ListKubeVirtVMIPresetsNoCredentialsDefault) IsSuccess ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) IsSuccess() bool
IsSuccess returns true when this list kube virt VM i presets no credentials default response has a 2xx status code
func (*ListKubeVirtVMIPresetsNoCredentialsDefault) String ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsDefault) String() string
type ListKubeVirtVMIPresetsNoCredentialsOK ¶
type ListKubeVirtVMIPresetsNoCredentialsOK struct {
Payload models.VirtualMachineInstancePresetList
}
ListKubeVirtVMIPresetsNoCredentialsOK describes a response with status code 200, with default header values.
VirtualMachineInstancePresetList
func NewListKubeVirtVMIPresetsNoCredentialsOK ¶
func NewListKubeVirtVMIPresetsNoCredentialsOK() *ListKubeVirtVMIPresetsNoCredentialsOK
NewListKubeVirtVMIPresetsNoCredentialsOK creates a ListKubeVirtVMIPresetsNoCredentialsOK with default headers values
func (*ListKubeVirtVMIPresetsNoCredentialsOK) Error ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsOK) Error() string
func (*ListKubeVirtVMIPresetsNoCredentialsOK) GetPayload ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsOK) GetPayload() models.VirtualMachineInstancePresetList
func (*ListKubeVirtVMIPresetsNoCredentialsOK) IsClientError ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsOK) IsClientError() bool
IsClientError returns true when this list kube virt Vm i presets no credentials o k response has a 4xx status code
func (*ListKubeVirtVMIPresetsNoCredentialsOK) IsCode ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsOK) IsCode(code int) bool
IsCode returns true when this list kube virt Vm i presets no credentials o k response a status code equal to that given
func (*ListKubeVirtVMIPresetsNoCredentialsOK) IsRedirect ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsOK) IsRedirect() bool
IsRedirect returns true when this list kube virt Vm i presets no credentials o k response has a 3xx status code
func (*ListKubeVirtVMIPresetsNoCredentialsOK) IsServerError ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsOK) IsServerError() bool
IsServerError returns true when this list kube virt Vm i presets no credentials o k response has a 5xx status code
func (*ListKubeVirtVMIPresetsNoCredentialsOK) IsSuccess ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsOK) IsSuccess() bool
IsSuccess returns true when this list kube virt Vm i presets no credentials o k response has a 2xx status code
func (*ListKubeVirtVMIPresetsNoCredentialsOK) String ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsOK) String() string
type ListKubeVirtVMIPresetsNoCredentialsParams ¶
type ListKubeVirtVMIPresetsNoCredentialsParams struct { // ClusterID. ClusterID string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListKubeVirtVMIPresetsNoCredentialsParams contains all the parameters to send to the API endpoint
for the list kube virt VM i presets no credentials operation. Typically these are written to a http.Request.
func NewListKubeVirtVMIPresetsNoCredentialsParams ¶
func NewListKubeVirtVMIPresetsNoCredentialsParams() *ListKubeVirtVMIPresetsNoCredentialsParams
NewListKubeVirtVMIPresetsNoCredentialsParams creates a new ListKubeVirtVMIPresetsNoCredentialsParams 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 NewListKubeVirtVMIPresetsNoCredentialsParamsWithContext ¶
func NewListKubeVirtVMIPresetsNoCredentialsParamsWithContext(ctx context.Context) *ListKubeVirtVMIPresetsNoCredentialsParams
NewListKubeVirtVMIPresetsNoCredentialsParamsWithContext creates a new ListKubeVirtVMIPresetsNoCredentialsParams object with the ability to set a context for a request.
func NewListKubeVirtVMIPresetsNoCredentialsParamsWithHTTPClient ¶
func NewListKubeVirtVMIPresetsNoCredentialsParamsWithHTTPClient(client *http.Client) *ListKubeVirtVMIPresetsNoCredentialsParams
NewListKubeVirtVMIPresetsNoCredentialsParamsWithHTTPClient creates a new ListKubeVirtVMIPresetsNoCredentialsParams object with the ability to set a custom HTTPClient for a request.
func NewListKubeVirtVMIPresetsNoCredentialsParamsWithTimeout ¶
func NewListKubeVirtVMIPresetsNoCredentialsParamsWithTimeout(timeout time.Duration) *ListKubeVirtVMIPresetsNoCredentialsParams
NewListKubeVirtVMIPresetsNoCredentialsParamsWithTimeout creates a new ListKubeVirtVMIPresetsNoCredentialsParams object with the ability to set a timeout on a request.
func (*ListKubeVirtVMIPresetsNoCredentialsParams) SetClusterID ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the list kube virt VM i presets no credentials params
func (*ListKubeVirtVMIPresetsNoCredentialsParams) SetContext ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the list kube virt VM i presets no credentials params
func (*ListKubeVirtVMIPresetsNoCredentialsParams) SetDefaults ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsParams) SetDefaults()
SetDefaults hydrates default values in the list kube virt VM i presets no credentials params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubeVirtVMIPresetsNoCredentialsParams) SetHTTPClient ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list kube virt VM i presets no credentials params
func (*ListKubeVirtVMIPresetsNoCredentialsParams) SetProjectID ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the list kube virt VM i presets no credentials params
func (*ListKubeVirtVMIPresetsNoCredentialsParams) SetTimeout ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list kube virt VM i presets no credentials params
func (*ListKubeVirtVMIPresetsNoCredentialsParams) WithClusterID ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsParams) WithClusterID(clusterID string) *ListKubeVirtVMIPresetsNoCredentialsParams
WithClusterID adds the clusterID to the list kube virt VM i presets no credentials params
func (*ListKubeVirtVMIPresetsNoCredentialsParams) WithContext ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsParams) WithContext(ctx context.Context) *ListKubeVirtVMIPresetsNoCredentialsParams
WithContext adds the context to the list kube virt VM i presets no credentials params
func (*ListKubeVirtVMIPresetsNoCredentialsParams) WithDefaults ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsParams) WithDefaults() *ListKubeVirtVMIPresetsNoCredentialsParams
WithDefaults hydrates default values in the list kube virt VM i presets no credentials params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubeVirtVMIPresetsNoCredentialsParams) WithHTTPClient ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsParams) WithHTTPClient(client *http.Client) *ListKubeVirtVMIPresetsNoCredentialsParams
WithHTTPClient adds the HTTPClient to the list kube virt VM i presets no credentials params
func (*ListKubeVirtVMIPresetsNoCredentialsParams) WithProjectID ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsParams) WithProjectID(projectID string) *ListKubeVirtVMIPresetsNoCredentialsParams
WithProjectID adds the projectID to the list kube virt VM i presets no credentials params
func (*ListKubeVirtVMIPresetsNoCredentialsParams) WithTimeout ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsParams) WithTimeout(timeout time.Duration) *ListKubeVirtVMIPresetsNoCredentialsParams
WithTimeout adds the timeout to the list kube virt VM i presets no credentials params
func (*ListKubeVirtVMIPresetsNoCredentialsParams) WriteToRequest ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListKubeVirtVMIPresetsNoCredentialsReader ¶
type ListKubeVirtVMIPresetsNoCredentialsReader struct {
// contains filtered or unexported fields
}
ListKubeVirtVMIPresetsNoCredentialsReader is a Reader for the ListKubeVirtVMIPresetsNoCredentials structure.
func (*ListKubeVirtVMIPresetsNoCredentialsReader) ReadResponse ¶
func (o *ListKubeVirtVMIPresetsNoCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListKubeVirtVMIPresetsOK ¶
type ListKubeVirtVMIPresetsOK struct {
Payload models.VirtualMachineInstancePresetList
}
ListKubeVirtVMIPresetsOK describes a response with status code 200, with default header values.
VirtualMachineInstancePresetList
func NewListKubeVirtVMIPresetsOK ¶
func NewListKubeVirtVMIPresetsOK() *ListKubeVirtVMIPresetsOK
NewListKubeVirtVMIPresetsOK creates a ListKubeVirtVMIPresetsOK with default headers values
func (*ListKubeVirtVMIPresetsOK) Error ¶
func (o *ListKubeVirtVMIPresetsOK) Error() string
func (*ListKubeVirtVMIPresetsOK) GetPayload ¶
func (o *ListKubeVirtVMIPresetsOK) GetPayload() models.VirtualMachineInstancePresetList
func (*ListKubeVirtVMIPresetsOK) IsClientError ¶
func (o *ListKubeVirtVMIPresetsOK) IsClientError() bool
IsClientError returns true when this list kube virt Vm i presets o k response has a 4xx status code
func (*ListKubeVirtVMIPresetsOK) IsCode ¶
func (o *ListKubeVirtVMIPresetsOK) IsCode(code int) bool
IsCode returns true when this list kube virt Vm i presets o k response a status code equal to that given
func (*ListKubeVirtVMIPresetsOK) IsRedirect ¶
func (o *ListKubeVirtVMIPresetsOK) IsRedirect() bool
IsRedirect returns true when this list kube virt Vm i presets o k response has a 3xx status code
func (*ListKubeVirtVMIPresetsOK) IsServerError ¶
func (o *ListKubeVirtVMIPresetsOK) IsServerError() bool
IsServerError returns true when this list kube virt Vm i presets o k response has a 5xx status code
func (*ListKubeVirtVMIPresetsOK) IsSuccess ¶
func (o *ListKubeVirtVMIPresetsOK) IsSuccess() bool
IsSuccess returns true when this list kube virt Vm i presets o k response has a 2xx status code
func (*ListKubeVirtVMIPresetsOK) String ¶
func (o *ListKubeVirtVMIPresetsOK) String() string
type ListKubeVirtVMIPresetsParams ¶
type ListKubeVirtVMIPresetsParams struct { // Credential. Credential *string // Kubeconfig. Kubeconfig *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListKubeVirtVMIPresetsParams contains all the parameters to send to the API endpoint
for the list kube virt VM i presets operation. Typically these are written to a http.Request.
func NewListKubeVirtVMIPresetsParams ¶
func NewListKubeVirtVMIPresetsParams() *ListKubeVirtVMIPresetsParams
NewListKubeVirtVMIPresetsParams creates a new ListKubeVirtVMIPresetsParams 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 NewListKubeVirtVMIPresetsParamsWithContext ¶
func NewListKubeVirtVMIPresetsParamsWithContext(ctx context.Context) *ListKubeVirtVMIPresetsParams
NewListKubeVirtVMIPresetsParamsWithContext creates a new ListKubeVirtVMIPresetsParams object with the ability to set a context for a request.
func NewListKubeVirtVMIPresetsParamsWithHTTPClient ¶
func NewListKubeVirtVMIPresetsParamsWithHTTPClient(client *http.Client) *ListKubeVirtVMIPresetsParams
NewListKubeVirtVMIPresetsParamsWithHTTPClient creates a new ListKubeVirtVMIPresetsParams object with the ability to set a custom HTTPClient for a request.
func NewListKubeVirtVMIPresetsParamsWithTimeout ¶
func NewListKubeVirtVMIPresetsParamsWithTimeout(timeout time.Duration) *ListKubeVirtVMIPresetsParams
NewListKubeVirtVMIPresetsParamsWithTimeout creates a new ListKubeVirtVMIPresetsParams object with the ability to set a timeout on a request.
func (*ListKubeVirtVMIPresetsParams) SetContext ¶
func (o *ListKubeVirtVMIPresetsParams) SetContext(ctx context.Context)
SetContext adds the context to the list kube virt VM i presets params
func (*ListKubeVirtVMIPresetsParams) SetCredential ¶
func (o *ListKubeVirtVMIPresetsParams) SetCredential(credential *string)
SetCredential adds the credential to the list kube virt VM i presets params
func (*ListKubeVirtVMIPresetsParams) SetDefaults ¶
func (o *ListKubeVirtVMIPresetsParams) SetDefaults()
SetDefaults hydrates default values in the list kube virt VM i presets params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubeVirtVMIPresetsParams) SetHTTPClient ¶
func (o *ListKubeVirtVMIPresetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list kube virt VM i presets params
func (*ListKubeVirtVMIPresetsParams) SetKubeconfig ¶
func (o *ListKubeVirtVMIPresetsParams) SetKubeconfig(kubeconfig *string)
SetKubeconfig adds the kubeconfig to the list kube virt VM i presets params
func (*ListKubeVirtVMIPresetsParams) SetTimeout ¶
func (o *ListKubeVirtVMIPresetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list kube virt VM i presets params
func (*ListKubeVirtVMIPresetsParams) WithContext ¶
func (o *ListKubeVirtVMIPresetsParams) WithContext(ctx context.Context) *ListKubeVirtVMIPresetsParams
WithContext adds the context to the list kube virt VM i presets params
func (*ListKubeVirtVMIPresetsParams) WithCredential ¶
func (o *ListKubeVirtVMIPresetsParams) WithCredential(credential *string) *ListKubeVirtVMIPresetsParams
WithCredential adds the credential to the list kube virt VM i presets params
func (*ListKubeVirtVMIPresetsParams) WithDefaults ¶
func (o *ListKubeVirtVMIPresetsParams) WithDefaults() *ListKubeVirtVMIPresetsParams
WithDefaults hydrates default values in the list kube virt VM i presets params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubeVirtVMIPresetsParams) WithHTTPClient ¶
func (o *ListKubeVirtVMIPresetsParams) WithHTTPClient(client *http.Client) *ListKubeVirtVMIPresetsParams
WithHTTPClient adds the HTTPClient to the list kube virt VM i presets params
func (*ListKubeVirtVMIPresetsParams) WithKubeconfig ¶
func (o *ListKubeVirtVMIPresetsParams) WithKubeconfig(kubeconfig *string) *ListKubeVirtVMIPresetsParams
WithKubeconfig adds the kubeconfig to the list kube virt VM i presets params
func (*ListKubeVirtVMIPresetsParams) WithTimeout ¶
func (o *ListKubeVirtVMIPresetsParams) WithTimeout(timeout time.Duration) *ListKubeVirtVMIPresetsParams
WithTimeout adds the timeout to the list kube virt VM i presets params
func (*ListKubeVirtVMIPresetsParams) WriteToRequest ¶
func (o *ListKubeVirtVMIPresetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListKubeVirtVMIPresetsReader ¶
type ListKubeVirtVMIPresetsReader struct {
// contains filtered or unexported fields
}
ListKubeVirtVMIPresetsReader is a Reader for the ListKubeVirtVMIPresets structure.
func (*ListKubeVirtVMIPresetsReader) ReadResponse ¶
func (o *ListKubeVirtVMIPresetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListKubevirtStorageClassesDefault ¶
type ListKubevirtStorageClassesDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListKubevirtStorageClassesDefault describes a response with status code -1, with default header values.
errorResponse
func NewListKubevirtStorageClassesDefault ¶
func NewListKubevirtStorageClassesDefault(code int) *ListKubevirtStorageClassesDefault
NewListKubevirtStorageClassesDefault creates a ListKubevirtStorageClassesDefault with default headers values
func (*ListKubevirtStorageClassesDefault) Code ¶
func (o *ListKubevirtStorageClassesDefault) Code() int
Code gets the status code for the list kubevirt storage classes default response
func (*ListKubevirtStorageClassesDefault) Error ¶
func (o *ListKubevirtStorageClassesDefault) Error() string
func (*ListKubevirtStorageClassesDefault) GetPayload ¶
func (o *ListKubevirtStorageClassesDefault) GetPayload() *models.ErrorResponse
func (*ListKubevirtStorageClassesDefault) IsClientError ¶
func (o *ListKubevirtStorageClassesDefault) IsClientError() bool
IsClientError returns true when this list kubevirt storage classes default response has a 4xx status code
func (*ListKubevirtStorageClassesDefault) IsCode ¶
func (o *ListKubevirtStorageClassesDefault) IsCode(code int) bool
IsCode returns true when this list kubevirt storage classes default response a status code equal to that given
func (*ListKubevirtStorageClassesDefault) IsRedirect ¶
func (o *ListKubevirtStorageClassesDefault) IsRedirect() bool
IsRedirect returns true when this list kubevirt storage classes default response has a 3xx status code
func (*ListKubevirtStorageClassesDefault) IsServerError ¶
func (o *ListKubevirtStorageClassesDefault) IsServerError() bool
IsServerError returns true when this list kubevirt storage classes default response has a 5xx status code
func (*ListKubevirtStorageClassesDefault) IsSuccess ¶
func (o *ListKubevirtStorageClassesDefault) IsSuccess() bool
IsSuccess returns true when this list kubevirt storage classes default response has a 2xx status code
func (*ListKubevirtStorageClassesDefault) String ¶
func (o *ListKubevirtStorageClassesDefault) String() string
type ListKubevirtStorageClassesNoCredentialsDefault ¶
type ListKubevirtStorageClassesNoCredentialsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListKubevirtStorageClassesNoCredentialsDefault describes a response with status code -1, with default header values.
errorResponse
func NewListKubevirtStorageClassesNoCredentialsDefault ¶
func NewListKubevirtStorageClassesNoCredentialsDefault(code int) *ListKubevirtStorageClassesNoCredentialsDefault
NewListKubevirtStorageClassesNoCredentialsDefault creates a ListKubevirtStorageClassesNoCredentialsDefault with default headers values
func (*ListKubevirtStorageClassesNoCredentialsDefault) Code ¶
func (o *ListKubevirtStorageClassesNoCredentialsDefault) Code() int
Code gets the status code for the list kubevirt storage classes no credentials default response
func (*ListKubevirtStorageClassesNoCredentialsDefault) Error ¶
func (o *ListKubevirtStorageClassesNoCredentialsDefault) Error() string
func (*ListKubevirtStorageClassesNoCredentialsDefault) GetPayload ¶
func (o *ListKubevirtStorageClassesNoCredentialsDefault) GetPayload() *models.ErrorResponse
func (*ListKubevirtStorageClassesNoCredentialsDefault) IsClientError ¶
func (o *ListKubevirtStorageClassesNoCredentialsDefault) IsClientError() bool
IsClientError returns true when this list kubevirt storage classes no credentials default response has a 4xx status code
func (*ListKubevirtStorageClassesNoCredentialsDefault) IsCode ¶
func (o *ListKubevirtStorageClassesNoCredentialsDefault) IsCode(code int) bool
IsCode returns true when this list kubevirt storage classes no credentials default response a status code equal to that given
func (*ListKubevirtStorageClassesNoCredentialsDefault) IsRedirect ¶
func (o *ListKubevirtStorageClassesNoCredentialsDefault) IsRedirect() bool
IsRedirect returns true when this list kubevirt storage classes no credentials default response has a 3xx status code
func (*ListKubevirtStorageClassesNoCredentialsDefault) IsServerError ¶
func (o *ListKubevirtStorageClassesNoCredentialsDefault) IsServerError() bool
IsServerError returns true when this list kubevirt storage classes no credentials default response has a 5xx status code
func (*ListKubevirtStorageClassesNoCredentialsDefault) IsSuccess ¶
func (o *ListKubevirtStorageClassesNoCredentialsDefault) IsSuccess() bool
IsSuccess returns true when this list kubevirt storage classes no credentials default response has a 2xx status code
func (*ListKubevirtStorageClassesNoCredentialsDefault) String ¶
func (o *ListKubevirtStorageClassesNoCredentialsDefault) String() string
type ListKubevirtStorageClassesNoCredentialsOK ¶
type ListKubevirtStorageClassesNoCredentialsOK struct {
Payload models.StorageClassList
}
ListKubevirtStorageClassesNoCredentialsOK describes a response with status code 200, with default header values.
StorageClassList
func NewListKubevirtStorageClassesNoCredentialsOK ¶
func NewListKubevirtStorageClassesNoCredentialsOK() *ListKubevirtStorageClassesNoCredentialsOK
NewListKubevirtStorageClassesNoCredentialsOK creates a ListKubevirtStorageClassesNoCredentialsOK with default headers values
func (*ListKubevirtStorageClassesNoCredentialsOK) Error ¶
func (o *ListKubevirtStorageClassesNoCredentialsOK) Error() string
func (*ListKubevirtStorageClassesNoCredentialsOK) GetPayload ¶
func (o *ListKubevirtStorageClassesNoCredentialsOK) GetPayload() models.StorageClassList
func (*ListKubevirtStorageClassesNoCredentialsOK) IsClientError ¶
func (o *ListKubevirtStorageClassesNoCredentialsOK) IsClientError() bool
IsClientError returns true when this list kubevirt storage classes no credentials o k response has a 4xx status code
func (*ListKubevirtStorageClassesNoCredentialsOK) IsCode ¶
func (o *ListKubevirtStorageClassesNoCredentialsOK) IsCode(code int) bool
IsCode returns true when this list kubevirt storage classes no credentials o k response a status code equal to that given
func (*ListKubevirtStorageClassesNoCredentialsOK) IsRedirect ¶
func (o *ListKubevirtStorageClassesNoCredentialsOK) IsRedirect() bool
IsRedirect returns true when this list kubevirt storage classes no credentials o k response has a 3xx status code
func (*ListKubevirtStorageClassesNoCredentialsOK) IsServerError ¶
func (o *ListKubevirtStorageClassesNoCredentialsOK) IsServerError() bool
IsServerError returns true when this list kubevirt storage classes no credentials o k response has a 5xx status code
func (*ListKubevirtStorageClassesNoCredentialsOK) IsSuccess ¶
func (o *ListKubevirtStorageClassesNoCredentialsOK) IsSuccess() bool
IsSuccess returns true when this list kubevirt storage classes no credentials o k response has a 2xx status code
func (*ListKubevirtStorageClassesNoCredentialsOK) String ¶
func (o *ListKubevirtStorageClassesNoCredentialsOK) String() string
type ListKubevirtStorageClassesNoCredentialsParams ¶
type ListKubevirtStorageClassesNoCredentialsParams struct { // ClusterID. ClusterID string // ProjectID. ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListKubevirtStorageClassesNoCredentialsParams contains all the parameters to send to the API endpoint
for the list kubevirt storage classes no credentials operation. Typically these are written to a http.Request.
func NewListKubevirtStorageClassesNoCredentialsParams ¶
func NewListKubevirtStorageClassesNoCredentialsParams() *ListKubevirtStorageClassesNoCredentialsParams
NewListKubevirtStorageClassesNoCredentialsParams creates a new ListKubevirtStorageClassesNoCredentialsParams 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 NewListKubevirtStorageClassesNoCredentialsParamsWithContext ¶
func NewListKubevirtStorageClassesNoCredentialsParamsWithContext(ctx context.Context) *ListKubevirtStorageClassesNoCredentialsParams
NewListKubevirtStorageClassesNoCredentialsParamsWithContext creates a new ListKubevirtStorageClassesNoCredentialsParams object with the ability to set a context for a request.
func NewListKubevirtStorageClassesNoCredentialsParamsWithHTTPClient ¶
func NewListKubevirtStorageClassesNoCredentialsParamsWithHTTPClient(client *http.Client) *ListKubevirtStorageClassesNoCredentialsParams
NewListKubevirtStorageClassesNoCredentialsParamsWithHTTPClient creates a new ListKubevirtStorageClassesNoCredentialsParams object with the ability to set a custom HTTPClient for a request.
func NewListKubevirtStorageClassesNoCredentialsParamsWithTimeout ¶
func NewListKubevirtStorageClassesNoCredentialsParamsWithTimeout(timeout time.Duration) *ListKubevirtStorageClassesNoCredentialsParams
NewListKubevirtStorageClassesNoCredentialsParamsWithTimeout creates a new ListKubevirtStorageClassesNoCredentialsParams object with the ability to set a timeout on a request.
func (*ListKubevirtStorageClassesNoCredentialsParams) SetClusterID ¶
func (o *ListKubevirtStorageClassesNoCredentialsParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the list kubevirt storage classes no credentials params
func (*ListKubevirtStorageClassesNoCredentialsParams) SetContext ¶
func (o *ListKubevirtStorageClassesNoCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the list kubevirt storage classes no credentials params
func (*ListKubevirtStorageClassesNoCredentialsParams) SetDefaults ¶
func (o *ListKubevirtStorageClassesNoCredentialsParams) SetDefaults()
SetDefaults hydrates default values in the list kubevirt storage classes no credentials params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubevirtStorageClassesNoCredentialsParams) SetHTTPClient ¶
func (o *ListKubevirtStorageClassesNoCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list kubevirt storage classes no credentials params
func (*ListKubevirtStorageClassesNoCredentialsParams) SetProjectID ¶
func (o *ListKubevirtStorageClassesNoCredentialsParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the list kubevirt storage classes no credentials params
func (*ListKubevirtStorageClassesNoCredentialsParams) SetTimeout ¶
func (o *ListKubevirtStorageClassesNoCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list kubevirt storage classes no credentials params
func (*ListKubevirtStorageClassesNoCredentialsParams) WithClusterID ¶
func (o *ListKubevirtStorageClassesNoCredentialsParams) WithClusterID(clusterID string) *ListKubevirtStorageClassesNoCredentialsParams
WithClusterID adds the clusterID to the list kubevirt storage classes no credentials params
func (*ListKubevirtStorageClassesNoCredentialsParams) WithContext ¶
func (o *ListKubevirtStorageClassesNoCredentialsParams) WithContext(ctx context.Context) *ListKubevirtStorageClassesNoCredentialsParams
WithContext adds the context to the list kubevirt storage classes no credentials params
func (*ListKubevirtStorageClassesNoCredentialsParams) WithDefaults ¶
func (o *ListKubevirtStorageClassesNoCredentialsParams) WithDefaults() *ListKubevirtStorageClassesNoCredentialsParams
WithDefaults hydrates default values in the list kubevirt storage classes no credentials params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubevirtStorageClassesNoCredentialsParams) WithHTTPClient ¶
func (o *ListKubevirtStorageClassesNoCredentialsParams) WithHTTPClient(client *http.Client) *ListKubevirtStorageClassesNoCredentialsParams
WithHTTPClient adds the HTTPClient to the list kubevirt storage classes no credentials params
func (*ListKubevirtStorageClassesNoCredentialsParams) WithProjectID ¶
func (o *ListKubevirtStorageClassesNoCredentialsParams) WithProjectID(projectID string) *ListKubevirtStorageClassesNoCredentialsParams
WithProjectID adds the projectID to the list kubevirt storage classes no credentials params
func (*ListKubevirtStorageClassesNoCredentialsParams) WithTimeout ¶
func (o *ListKubevirtStorageClassesNoCredentialsParams) WithTimeout(timeout time.Duration) *ListKubevirtStorageClassesNoCredentialsParams
WithTimeout adds the timeout to the list kubevirt storage classes no credentials params
func (*ListKubevirtStorageClassesNoCredentialsParams) WriteToRequest ¶
func (o *ListKubevirtStorageClassesNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListKubevirtStorageClassesNoCredentialsReader ¶
type ListKubevirtStorageClassesNoCredentialsReader struct {
// contains filtered or unexported fields
}
ListKubevirtStorageClassesNoCredentialsReader is a Reader for the ListKubevirtStorageClassesNoCredentials structure.
func (*ListKubevirtStorageClassesNoCredentialsReader) ReadResponse ¶
func (o *ListKubevirtStorageClassesNoCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListKubevirtStorageClassesOK ¶
type ListKubevirtStorageClassesOK struct {
Payload models.StorageClassList
}
ListKubevirtStorageClassesOK describes a response with status code 200, with default header values.
StorageClassList
func NewListKubevirtStorageClassesOK ¶
func NewListKubevirtStorageClassesOK() *ListKubevirtStorageClassesOK
NewListKubevirtStorageClassesOK creates a ListKubevirtStorageClassesOK with default headers values
func (*ListKubevirtStorageClassesOK) Error ¶
func (o *ListKubevirtStorageClassesOK) Error() string
func (*ListKubevirtStorageClassesOK) GetPayload ¶
func (o *ListKubevirtStorageClassesOK) GetPayload() models.StorageClassList
func (*ListKubevirtStorageClassesOK) IsClientError ¶
func (o *ListKubevirtStorageClassesOK) IsClientError() bool
IsClientError returns true when this list kubevirt storage classes o k response has a 4xx status code
func (*ListKubevirtStorageClassesOK) IsCode ¶
func (o *ListKubevirtStorageClassesOK) IsCode(code int) bool
IsCode returns true when this list kubevirt storage classes o k response a status code equal to that given
func (*ListKubevirtStorageClassesOK) IsRedirect ¶
func (o *ListKubevirtStorageClassesOK) IsRedirect() bool
IsRedirect returns true when this list kubevirt storage classes o k response has a 3xx status code
func (*ListKubevirtStorageClassesOK) IsServerError ¶
func (o *ListKubevirtStorageClassesOK) IsServerError() bool
IsServerError returns true when this list kubevirt storage classes o k response has a 5xx status code
func (*ListKubevirtStorageClassesOK) IsSuccess ¶
func (o *ListKubevirtStorageClassesOK) IsSuccess() bool
IsSuccess returns true when this list kubevirt storage classes o k response has a 2xx status code
func (*ListKubevirtStorageClassesOK) String ¶
func (o *ListKubevirtStorageClassesOK) String() string
type ListKubevirtStorageClassesParams ¶
type ListKubevirtStorageClassesParams struct { // Credential. Credential *string // Kubeconfig. Kubeconfig *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListKubevirtStorageClassesParams contains all the parameters to send to the API endpoint
for the list kubevirt storage classes operation. Typically these are written to a http.Request.
func NewListKubevirtStorageClassesParams ¶
func NewListKubevirtStorageClassesParams() *ListKubevirtStorageClassesParams
NewListKubevirtStorageClassesParams creates a new ListKubevirtStorageClassesParams 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 NewListKubevirtStorageClassesParamsWithContext ¶
func NewListKubevirtStorageClassesParamsWithContext(ctx context.Context) *ListKubevirtStorageClassesParams
NewListKubevirtStorageClassesParamsWithContext creates a new ListKubevirtStorageClassesParams object with the ability to set a context for a request.
func NewListKubevirtStorageClassesParamsWithHTTPClient ¶
func NewListKubevirtStorageClassesParamsWithHTTPClient(client *http.Client) *ListKubevirtStorageClassesParams
NewListKubevirtStorageClassesParamsWithHTTPClient creates a new ListKubevirtStorageClassesParams object with the ability to set a custom HTTPClient for a request.
func NewListKubevirtStorageClassesParamsWithTimeout ¶
func NewListKubevirtStorageClassesParamsWithTimeout(timeout time.Duration) *ListKubevirtStorageClassesParams
NewListKubevirtStorageClassesParamsWithTimeout creates a new ListKubevirtStorageClassesParams object with the ability to set a timeout on a request.
func (*ListKubevirtStorageClassesParams) SetContext ¶
func (o *ListKubevirtStorageClassesParams) SetContext(ctx context.Context)
SetContext adds the context to the list kubevirt storage classes params
func (*ListKubevirtStorageClassesParams) SetCredential ¶
func (o *ListKubevirtStorageClassesParams) SetCredential(credential *string)
SetCredential adds the credential to the list kubevirt storage classes params
func (*ListKubevirtStorageClassesParams) SetDefaults ¶
func (o *ListKubevirtStorageClassesParams) SetDefaults()
SetDefaults hydrates default values in the list kubevirt storage classes params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubevirtStorageClassesParams) SetHTTPClient ¶
func (o *ListKubevirtStorageClassesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list kubevirt storage classes params
func (*ListKubevirtStorageClassesParams) SetKubeconfig ¶
func (o *ListKubevirtStorageClassesParams) SetKubeconfig(kubeconfig *string)
SetKubeconfig adds the kubeconfig to the list kubevirt storage classes params
func (*ListKubevirtStorageClassesParams) SetTimeout ¶
func (o *ListKubevirtStorageClassesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list kubevirt storage classes params
func (*ListKubevirtStorageClassesParams) WithContext ¶
func (o *ListKubevirtStorageClassesParams) WithContext(ctx context.Context) *ListKubevirtStorageClassesParams
WithContext adds the context to the list kubevirt storage classes params
func (*ListKubevirtStorageClassesParams) WithCredential ¶
func (o *ListKubevirtStorageClassesParams) WithCredential(credential *string) *ListKubevirtStorageClassesParams
WithCredential adds the credential to the list kubevirt storage classes params
func (*ListKubevirtStorageClassesParams) WithDefaults ¶
func (o *ListKubevirtStorageClassesParams) WithDefaults() *ListKubevirtStorageClassesParams
WithDefaults hydrates default values in the list kubevirt storage classes params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubevirtStorageClassesParams) WithHTTPClient ¶
func (o *ListKubevirtStorageClassesParams) WithHTTPClient(client *http.Client) *ListKubevirtStorageClassesParams
WithHTTPClient adds the HTTPClient to the list kubevirt storage classes params
func (*ListKubevirtStorageClassesParams) WithKubeconfig ¶
func (o *ListKubevirtStorageClassesParams) WithKubeconfig(kubeconfig *string) *ListKubevirtStorageClassesParams
WithKubeconfig adds the kubeconfig to the list kubevirt storage classes params
func (*ListKubevirtStorageClassesParams) WithTimeout ¶
func (o *ListKubevirtStorageClassesParams) WithTimeout(timeout time.Duration) *ListKubevirtStorageClassesParams
WithTimeout adds the timeout to the list kubevirt storage classes params
func (*ListKubevirtStorageClassesParams) WriteToRequest ¶
func (o *ListKubevirtStorageClassesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListKubevirtStorageClassesReader ¶
type ListKubevirtStorageClassesReader struct {
// contains filtered or unexported fields
}
ListKubevirtStorageClassesReader is a Reader for the ListKubevirtStorageClasses structure.
func (*ListKubevirtStorageClassesReader) ReadResponse ¶
func (o *ListKubevirtStorageClassesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- kubevirt_client.go
- list_kube_virt_instancetypes_no_credentials_parameters.go
- list_kube_virt_instancetypes_no_credentials_responses.go
- list_kube_virt_instancetypes_parameters.go
- list_kube_virt_instancetypes_responses.go
- list_kube_virt_preferences_no_credentials_parameters.go
- list_kube_virt_preferences_no_credentials_responses.go
- list_kube_virt_preferences_parameters.go
- list_kube_virt_preferences_responses.go
- list_kube_virt_vm_i_presets_no_credentials_parameters.go
- list_kube_virt_vm_i_presets_no_credentials_responses.go
- list_kube_virt_vm_i_presets_parameters.go
- list_kube_virt_vm_i_presets_responses.go
- list_kubevirt_storage_classes_no_credentials_parameters.go
- list_kubevirt_storage_classes_no_credentials_responses.go
- list_kubevirt_storage_classes_parameters.go
- list_kubevirt_storage_classes_responses.go