v1beta1

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 7

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CDIConfigExpansion

type CDIConfigExpansion interface{}

type CDIConfigInterface

type CDIConfigInterface interface {
	Create(ctx context.Context, cDIConfig *v1beta1.CDIConfig, opts v1.CreateOptions) (*v1beta1.CDIConfig, error)
	Update(ctx context.Context, cDIConfig *v1beta1.CDIConfig, opts v1.UpdateOptions) (*v1beta1.CDIConfig, error)
	UpdateStatus(ctx context.Context, cDIConfig *v1beta1.CDIConfig, opts v1.UpdateOptions) (*v1beta1.CDIConfig, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.CDIConfig, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.CDIConfigList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.CDIConfig, err error)
	CDIConfigExpansion
}

CDIConfigInterface has methods to work with CDIConfig resources.

type CDIConfigsGetter

type CDIConfigsGetter interface {
	CDIConfigs() CDIConfigInterface
}

CDIConfigsGetter has a method to return a CDIConfigInterface. A group's client should implement this interface.

type CDIExpansion

type CDIExpansion interface{}

type CDIInterface

type CDIInterface interface {
	Create(ctx context.Context, cDI *v1beta1.CDI, opts v1.CreateOptions) (*v1beta1.CDI, error)
	Update(ctx context.Context, cDI *v1beta1.CDI, opts v1.UpdateOptions) (*v1beta1.CDI, error)
	UpdateStatus(ctx context.Context, cDI *v1beta1.CDI, opts v1.UpdateOptions) (*v1beta1.CDI, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.CDI, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.CDIList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.CDI, err error)
	CDIExpansion
}

CDIInterface has methods to work with CDI resources.

type CDIsGetter

type CDIsGetter interface {
	CDIs() CDIInterface
}

CDIsGetter has a method to return a CDIInterface. A group's client should implement this interface.

type CdiV1beta1Client

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

CdiV1beta1Client is used to interact with features provided by the cdi.kubevirt.io group.

func New

New creates a new CdiV1beta1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*CdiV1beta1Client, error)

NewForConfig creates a new CdiV1beta1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *CdiV1beta1Client

NewForConfigOrDie creates a new CdiV1beta1Client for the given config and panics if there is an error in the config.

func (*CdiV1beta1Client) CDIConfigs

func (c *CdiV1beta1Client) CDIConfigs() CDIConfigInterface

func (*CdiV1beta1Client) CDIs

func (c *CdiV1beta1Client) CDIs() CDIInterface

func (*CdiV1beta1Client) DataImportCrons added in v0.44.1

func (c *CdiV1beta1Client) DataImportCrons(namespace string) DataImportCronInterface

func (*CdiV1beta1Client) DataSources added in v0.44.1

func (c *CdiV1beta1Client) DataSources(namespace string) DataSourceInterface

func (*CdiV1beta1Client) DataVolumes

func (c *CdiV1beta1Client) DataVolumes(namespace string) DataVolumeInterface

func (*CdiV1beta1Client) ObjectTransfers added in v0.40.0

func (c *CdiV1beta1Client) ObjectTransfers() ObjectTransferInterface

func (*CdiV1beta1Client) RESTClient

func (c *CdiV1beta1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*CdiV1beta1Client) StorageProfiles added in v0.40.0

func (c *CdiV1beta1Client) StorageProfiles() StorageProfileInterface

func (*CdiV1beta1Client) VolumeCloneSources added in v1.0.0

func (c *CdiV1beta1Client) VolumeCloneSources(namespace string) VolumeCloneSourceInterface

func (*CdiV1beta1Client) VolumeImportSources added in v1.0.0

func (c *CdiV1beta1Client) VolumeImportSources(namespace string) VolumeImportSourceInterface

func (*CdiV1beta1Client) VolumeUploadSources added in v1.0.0

func (c *CdiV1beta1Client) VolumeUploadSources(namespace string) VolumeUploadSourceInterface

type DataImportCronExpansion added in v0.44.1

type DataImportCronExpansion interface{}

type DataImportCronInterface added in v0.44.1

type DataImportCronInterface interface {
	Create(ctx context.Context, dataImportCron *v1beta1.DataImportCron, opts v1.CreateOptions) (*v1beta1.DataImportCron, error)
	Update(ctx context.Context, dataImportCron *v1beta1.DataImportCron, opts v1.UpdateOptions) (*v1beta1.DataImportCron, error)
	UpdateStatus(ctx context.Context, dataImportCron *v1beta1.DataImportCron, opts v1.UpdateOptions) (*v1beta1.DataImportCron, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.DataImportCron, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.DataImportCronList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.DataImportCron, err error)
	DataImportCronExpansion
}

DataImportCronInterface has methods to work with DataImportCron resources.

type DataImportCronsGetter added in v0.44.1

type DataImportCronsGetter interface {
	DataImportCrons(namespace string) DataImportCronInterface
}

DataImportCronsGetter has a method to return a DataImportCronInterface. A group's client should implement this interface.

type DataSourceExpansion added in v0.44.1

type DataSourceExpansion interface{}

type DataSourceInterface added in v0.44.1

type DataSourceInterface interface {
	Create(ctx context.Context, dataSource *v1beta1.DataSource, opts v1.CreateOptions) (*v1beta1.DataSource, error)
	Update(ctx context.Context, dataSource *v1beta1.DataSource, opts v1.UpdateOptions) (*v1beta1.DataSource, error)
	UpdateStatus(ctx context.Context, dataSource *v1beta1.DataSource, opts v1.UpdateOptions) (*v1beta1.DataSource, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.DataSource, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.DataSourceList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.DataSource, err error)
	DataSourceExpansion
}

DataSourceInterface has methods to work with DataSource resources.

type DataSourcesGetter added in v0.44.1

type DataSourcesGetter interface {
	DataSources(namespace string) DataSourceInterface
}

DataSourcesGetter has a method to return a DataSourceInterface. A group's client should implement this interface.

type DataVolumeExpansion

type DataVolumeExpansion interface{}

type DataVolumeInterface

type DataVolumeInterface interface {
	Create(ctx context.Context, dataVolume *v1beta1.DataVolume, opts v1.CreateOptions) (*v1beta1.DataVolume, error)
	Update(ctx context.Context, dataVolume *v1beta1.DataVolume, opts v1.UpdateOptions) (*v1beta1.DataVolume, error)
	UpdateStatus(ctx context.Context, dataVolume *v1beta1.DataVolume, opts v1.UpdateOptions) (*v1beta1.DataVolume, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.DataVolume, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.DataVolumeList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.DataVolume, err error)
	DataVolumeExpansion
}

DataVolumeInterface has methods to work with DataVolume resources.

type DataVolumesGetter

type DataVolumesGetter interface {
	DataVolumes(namespace string) DataVolumeInterface
}

DataVolumesGetter has a method to return a DataVolumeInterface. A group's client should implement this interface.

type ObjectTransferExpansion added in v0.40.0

type ObjectTransferExpansion interface{}

type ObjectTransferInterface added in v0.40.0

type ObjectTransferInterface interface {
	Create(ctx context.Context, objectTransfer *v1beta1.ObjectTransfer, opts v1.CreateOptions) (*v1beta1.ObjectTransfer, error)
	Update(ctx context.Context, objectTransfer *v1beta1.ObjectTransfer, opts v1.UpdateOptions) (*v1beta1.ObjectTransfer, error)
	UpdateStatus(ctx context.Context, objectTransfer *v1beta1.ObjectTransfer, opts v1.UpdateOptions) (*v1beta1.ObjectTransfer, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.ObjectTransfer, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ObjectTransferList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ObjectTransfer, err error)
	ObjectTransferExpansion
}

ObjectTransferInterface has methods to work with ObjectTransfer resources.

type ObjectTransfersGetter added in v0.40.0

type ObjectTransfersGetter interface {
	ObjectTransfers() ObjectTransferInterface
}

ObjectTransfersGetter has a method to return a ObjectTransferInterface. A group's client should implement this interface.

type StorageProfileExpansion added in v0.40.0

type StorageProfileExpansion interface{}

type StorageProfileInterface added in v0.40.0

type StorageProfileInterface interface {
	Create(ctx context.Context, storageProfile *v1beta1.StorageProfile, opts v1.CreateOptions) (*v1beta1.StorageProfile, error)
	Update(ctx context.Context, storageProfile *v1beta1.StorageProfile, opts v1.UpdateOptions) (*v1beta1.StorageProfile, error)
	UpdateStatus(ctx context.Context, storageProfile *v1beta1.StorageProfile, opts v1.UpdateOptions) (*v1beta1.StorageProfile, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.StorageProfile, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.StorageProfileList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.StorageProfile, err error)
	StorageProfileExpansion
}

StorageProfileInterface has methods to work with StorageProfile resources.

type StorageProfilesGetter added in v0.40.0

type StorageProfilesGetter interface {
	StorageProfiles() StorageProfileInterface
}

StorageProfilesGetter has a method to return a StorageProfileInterface. A group's client should implement this interface.

type VolumeCloneSourceExpansion added in v1.0.0

type VolumeCloneSourceExpansion interface{}

type VolumeCloneSourceInterface added in v1.0.0

type VolumeCloneSourceInterface interface {
	Create(ctx context.Context, volumeCloneSource *v1beta1.VolumeCloneSource, opts v1.CreateOptions) (*v1beta1.VolumeCloneSource, error)
	Update(ctx context.Context, volumeCloneSource *v1beta1.VolumeCloneSource, opts v1.UpdateOptions) (*v1beta1.VolumeCloneSource, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.VolumeCloneSource, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VolumeCloneSourceList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VolumeCloneSource, err error)
	VolumeCloneSourceExpansion
}

VolumeCloneSourceInterface has methods to work with VolumeCloneSource resources.

type VolumeCloneSourcesGetter added in v1.0.0

type VolumeCloneSourcesGetter interface {
	VolumeCloneSources(namespace string) VolumeCloneSourceInterface
}

VolumeCloneSourcesGetter has a method to return a VolumeCloneSourceInterface. A group's client should implement this interface.

type VolumeImportSourceExpansion added in v1.0.0

type VolumeImportSourceExpansion interface{}

type VolumeImportSourceInterface added in v1.0.0

type VolumeImportSourceInterface interface {
	Create(ctx context.Context, volumeImportSource *v1beta1.VolumeImportSource, opts v1.CreateOptions) (*v1beta1.VolumeImportSource, error)
	Update(ctx context.Context, volumeImportSource *v1beta1.VolumeImportSource, opts v1.UpdateOptions) (*v1beta1.VolumeImportSource, error)
	UpdateStatus(ctx context.Context, volumeImportSource *v1beta1.VolumeImportSource, opts v1.UpdateOptions) (*v1beta1.VolumeImportSource, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.VolumeImportSource, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VolumeImportSourceList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VolumeImportSource, err error)
	VolumeImportSourceExpansion
}

VolumeImportSourceInterface has methods to work with VolumeImportSource resources.

type VolumeImportSourcesGetter added in v1.0.0

type VolumeImportSourcesGetter interface {
	VolumeImportSources(namespace string) VolumeImportSourceInterface
}

VolumeImportSourcesGetter has a method to return a VolumeImportSourceInterface. A group's client should implement this interface.

type VolumeUploadSourceExpansion added in v1.0.0

type VolumeUploadSourceExpansion interface{}

type VolumeUploadSourceInterface added in v1.0.0

type VolumeUploadSourceInterface interface {
	Create(ctx context.Context, volumeUploadSource *v1beta1.VolumeUploadSource, opts v1.CreateOptions) (*v1beta1.VolumeUploadSource, error)
	Update(ctx context.Context, volumeUploadSource *v1beta1.VolumeUploadSource, opts v1.UpdateOptions) (*v1beta1.VolumeUploadSource, error)
	UpdateStatus(ctx context.Context, volumeUploadSource *v1beta1.VolumeUploadSource, opts v1.UpdateOptions) (*v1beta1.VolumeUploadSource, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.VolumeUploadSource, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VolumeUploadSourceList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VolumeUploadSource, err error)
	VolumeUploadSourceExpansion
}

VolumeUploadSourceInterface has methods to work with VolumeUploadSource resources.

type VolumeUploadSourcesGetter added in v1.0.0

type VolumeUploadSourcesGetter interface {
	VolumeUploadSources(namespace string) VolumeUploadSourceInterface
}

VolumeUploadSourcesGetter has a method to return a VolumeUploadSourceInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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