kubevirt

package
v0.0.0-...-b339f66 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

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

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

Code gets the status code for the list kube virt instancetypes default response

func (*ListKubeVirtInstancetypesDefault) Error

func (*ListKubeVirtInstancetypesDefault) GetPayload

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

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

Code gets the status code for the list kube virt instancetypes no credentials default response

func (*ListKubeVirtInstancetypesNoCredentialsDefault) Error

func (*ListKubeVirtInstancetypesNoCredentialsDefault) GetPayload

func (*ListKubeVirtInstancetypesNoCredentialsDefault) IsClientError

IsClientError returns true when this list kube virt instancetypes no credentials default response has a 4xx status code

func (*ListKubeVirtInstancetypesNoCredentialsDefault) IsCode

IsCode returns true when this list kube virt instancetypes no credentials default response a status code equal to that given

func (*ListKubeVirtInstancetypesNoCredentialsDefault) IsRedirect

IsRedirect returns true when this list kube virt instancetypes no credentials default response has a 3xx status code

func (*ListKubeVirtInstancetypesNoCredentialsDefault) IsServerError

IsServerError returns true when this list kube virt instancetypes no credentials default response has a 5xx status code

func (*ListKubeVirtInstancetypesNoCredentialsDefault) IsSuccess

IsSuccess returns true when this list kube virt instancetypes no credentials default response has a 2xx status code

func (*ListKubeVirtInstancetypesNoCredentialsDefault) 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 (*ListKubeVirtInstancetypesNoCredentialsOK) GetPayload

func (*ListKubeVirtInstancetypesNoCredentialsOK) IsClientError

IsClientError returns true when this list kube virt instancetypes no credentials o k response has a 4xx status code

func (*ListKubeVirtInstancetypesNoCredentialsOK) IsCode

IsCode returns true when this list kube virt instancetypes no credentials o k response a status code equal to that given

func (*ListKubeVirtInstancetypesNoCredentialsOK) IsRedirect

IsRedirect returns true when this list kube virt instancetypes no credentials o k response has a 3xx status code

func (*ListKubeVirtInstancetypesNoCredentialsOK) IsServerError

IsServerError returns true when this list kube virt instancetypes no credentials o k response has a 5xx status code

func (*ListKubeVirtInstancetypesNoCredentialsOK) IsSuccess

IsSuccess returns true when this list kube virt instancetypes no credentials o k response has a 2xx status code

func (*ListKubeVirtInstancetypesNoCredentialsOK) 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

SetContext adds the context to the list kube virt instancetypes no credentials params

func (*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

SetTimeout adds the timeout to the list kube virt instancetypes no credentials params

func (*ListKubeVirtInstancetypesNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list kube virt instancetypes no credentials params

func (*ListKubeVirtInstancetypesNoCredentialsParams) WithContext

WithContext adds the context to the list kube virt instancetypes no credentials params

func (*ListKubeVirtInstancetypesNoCredentialsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the list kube virt instancetypes no credentials params

func (*ListKubeVirtInstancetypesNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list kube virt instancetypes no credentials params

func (*ListKubeVirtInstancetypesNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list kube virt instancetypes no credentials params

func (*ListKubeVirtInstancetypesNoCredentialsParams) WriteToRequest

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 (*ListKubeVirtInstancetypesOK) GetPayload

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

WithContext adds the context to the list kube virt instancetypes params

func (*ListKubeVirtInstancetypesParams) WithCredential

WithCredential adds the credential to the list kube virt instancetypes params

func (*ListKubeVirtInstancetypesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the list kube virt instancetypes params

func (*ListKubeVirtInstancetypesParams) WithKubeconfig

WithKubeconfig adds the kubeconfig to the list kube virt instancetypes params

func (*ListKubeVirtInstancetypesParams) WithTimeout

WithTimeout adds the timeout to the list kube virt instancetypes params

func (*ListKubeVirtInstancetypesParams) WriteToRequest

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

Code gets the status code for the list kube virt preferences default response

func (*ListKubeVirtPreferencesDefault) Error

func (*ListKubeVirtPreferencesDefault) GetPayload

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

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

Code gets the status code for the list kube virt preferences no credentials default response

func (*ListKubeVirtPreferencesNoCredentialsDefault) Error

func (*ListKubeVirtPreferencesNoCredentialsDefault) GetPayload

func (*ListKubeVirtPreferencesNoCredentialsDefault) IsClientError

IsClientError returns true when this list kube virt preferences no credentials default response has a 4xx status code

func (*ListKubeVirtPreferencesNoCredentialsDefault) IsCode

IsCode returns true when this list kube virt preferences no credentials default response a status code equal to that given

func (*ListKubeVirtPreferencesNoCredentialsDefault) IsRedirect

IsRedirect returns true when this list kube virt preferences no credentials default response has a 3xx status code

func (*ListKubeVirtPreferencesNoCredentialsDefault) IsServerError

IsServerError returns true when this list kube virt preferences no credentials default response has a 5xx status code

func (*ListKubeVirtPreferencesNoCredentialsDefault) IsSuccess

IsSuccess returns true when this list kube virt preferences no credentials default response has a 2xx status code

func (*ListKubeVirtPreferencesNoCredentialsDefault) 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 (*ListKubeVirtPreferencesNoCredentialsOK) GetPayload

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

IsCode returns true when this list kube virt preferences no credentials o k response a status code equal to that given

func (*ListKubeVirtPreferencesNoCredentialsOK) IsRedirect

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

IsSuccess returns true when this list kube virt preferences no credentials o k response has a 2xx status code

func (*ListKubeVirtPreferencesNoCredentialsOK) 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

SetContext adds the context to the list kube virt preferences no credentials params

func (*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

SetTimeout adds the timeout to the list kube virt preferences no credentials params

func (*ListKubeVirtPreferencesNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list kube virt preferences no credentials params

func (*ListKubeVirtPreferencesNoCredentialsParams) WithContext

WithContext adds the context to the list kube virt preferences no credentials params

func (*ListKubeVirtPreferencesNoCredentialsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the list kube virt preferences no credentials params

func (*ListKubeVirtPreferencesNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list kube virt preferences no credentials params

func (*ListKubeVirtPreferencesNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list kube virt preferences no credentials params

func (*ListKubeVirtPreferencesNoCredentialsParams) WriteToRequest

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 (*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

WithContext adds the context to the list kube virt preferences params

func (*ListKubeVirtPreferencesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the list kube virt preferences params

func (*ListKubeVirtPreferencesParams) WithTimeout

WithTimeout adds the timeout to the list kube virt preferences params

func (*ListKubeVirtPreferencesParams) WriteToRequest

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

Code gets the status code for the list kube virt VM i presets default response

func (*ListKubeVirtVMIPresetsDefault) Error

func (*ListKubeVirtVMIPresetsDefault) GetPayload

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

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

Code gets the status code for the list kube virt VM i presets no credentials default response

func (*ListKubeVirtVMIPresetsNoCredentialsDefault) Error

func (*ListKubeVirtVMIPresetsNoCredentialsDefault) GetPayload

func (*ListKubeVirtVMIPresetsNoCredentialsDefault) IsClientError

IsClientError returns true when this list kube virt VM i presets no credentials default response has a 4xx status code

func (*ListKubeVirtVMIPresetsNoCredentialsDefault) IsCode

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

IsRedirect returns true when this list kube virt VM i presets no credentials default response has a 3xx status code

func (*ListKubeVirtVMIPresetsNoCredentialsDefault) IsServerError

IsServerError returns true when this list kube virt VM i presets no credentials default response has a 5xx status code

func (*ListKubeVirtVMIPresetsNoCredentialsDefault) IsSuccess

IsSuccess returns true when this list kube virt VM i presets no credentials default response has a 2xx status code

func (*ListKubeVirtVMIPresetsNoCredentialsDefault) 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 (*ListKubeVirtVMIPresetsNoCredentialsOK) GetPayload

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

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

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

IsSuccess returns true when this list kube virt Vm i presets no credentials o k response has a 2xx status code

func (*ListKubeVirtVMIPresetsNoCredentialsOK) 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

SetContext adds the context to the list kube virt VM i presets no credentials params

func (*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

SetTimeout adds the timeout to the list kube virt VM i presets no credentials params

func (*ListKubeVirtVMIPresetsNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list kube virt VM i presets no credentials params

func (*ListKubeVirtVMIPresetsNoCredentialsParams) WithContext

WithContext adds the context to the list kube virt VM i presets no credentials params

func (*ListKubeVirtVMIPresetsNoCredentialsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the list kube virt VM i presets no credentials params

func (*ListKubeVirtVMIPresetsNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list kube virt VM i presets no credentials params

func (*ListKubeVirtVMIPresetsNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list kube virt VM i presets no credentials params

func (*ListKubeVirtVMIPresetsNoCredentialsParams) WriteToRequest

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 (*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

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

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

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

WithTimeout adds the timeout to the list kube virt VM i presets params

func (*ListKubeVirtVMIPresetsParams) WriteToRequest

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

Code gets the status code for the list kubevirt storage classes default response

func (*ListKubevirtStorageClassesDefault) Error

func (*ListKubevirtStorageClassesDefault) GetPayload

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

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

Code gets the status code for the list kubevirt storage classes no credentials default response

func (*ListKubevirtStorageClassesNoCredentialsDefault) Error

func (*ListKubevirtStorageClassesNoCredentialsDefault) GetPayload

func (*ListKubevirtStorageClassesNoCredentialsDefault) IsClientError

IsClientError returns true when this list kubevirt storage classes no credentials default response has a 4xx status code

func (*ListKubevirtStorageClassesNoCredentialsDefault) IsCode

IsCode returns true when this list kubevirt storage classes no credentials default response a status code equal to that given

func (*ListKubevirtStorageClassesNoCredentialsDefault) IsRedirect

IsRedirect returns true when this list kubevirt storage classes no credentials default response has a 3xx status code

func (*ListKubevirtStorageClassesNoCredentialsDefault) IsServerError

IsServerError returns true when this list kubevirt storage classes no credentials default response has a 5xx status code

func (*ListKubevirtStorageClassesNoCredentialsDefault) IsSuccess

IsSuccess returns true when this list kubevirt storage classes no credentials default response has a 2xx status code

func (*ListKubevirtStorageClassesNoCredentialsDefault) 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 (*ListKubevirtStorageClassesNoCredentialsOK) GetPayload

func (*ListKubevirtStorageClassesNoCredentialsOK) IsClientError

IsClientError returns true when this list kubevirt storage classes no credentials o k response has a 4xx status code

func (*ListKubevirtStorageClassesNoCredentialsOK) IsCode

IsCode returns true when this list kubevirt storage classes no credentials o k response a status code equal to that given

func (*ListKubevirtStorageClassesNoCredentialsOK) IsRedirect

IsRedirect returns true when this list kubevirt storage classes no credentials o k response has a 3xx status code

func (*ListKubevirtStorageClassesNoCredentialsOK) IsServerError

IsServerError returns true when this list kubevirt storage classes no credentials o k response has a 5xx status code

func (*ListKubevirtStorageClassesNoCredentialsOK) IsSuccess

IsSuccess returns true when this list kubevirt storage classes no credentials o k response has a 2xx status code

func (*ListKubevirtStorageClassesNoCredentialsOK) 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

SetContext adds the context to the list kubevirt storage classes no credentials params

func (*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

SetTimeout adds the timeout to the list kubevirt storage classes no credentials params

func (*ListKubevirtStorageClassesNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list kubevirt storage classes no credentials params

func (*ListKubevirtStorageClassesNoCredentialsParams) WithContext

WithContext adds the context to the list kubevirt storage classes no credentials params

func (*ListKubevirtStorageClassesNoCredentialsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the list kubevirt storage classes no credentials params

func (*ListKubevirtStorageClassesNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list kubevirt storage classes no credentials params

func (*ListKubevirtStorageClassesNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list kubevirt storage classes no credentials params

func (*ListKubevirtStorageClassesNoCredentialsParams) WriteToRequest

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 (*ListKubevirtStorageClassesOK) GetPayload

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

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

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

WithContext adds the context to the list kubevirt storage classes params

func (*ListKubevirtStorageClassesParams) WithCredential

WithCredential adds the credential to the list kubevirt storage classes params

func (*ListKubevirtStorageClassesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the list kubevirt storage classes params

func (*ListKubevirtStorageClassesParams) WithKubeconfig

WithKubeconfig adds the kubeconfig to the list kubevirt storage classes params

func (*ListKubevirtStorageClassesParams) WithTimeout

WithTimeout adds the timeout to the list kubevirt storage classes params

func (*ListKubevirtStorageClassesParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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