fake

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeBackingImageDataSources

type FakeBackingImageDataSources struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeBackingImageDataSources implements BackingImageDataSourceInterface

func (*FakeBackingImageDataSources) Create

Create takes the representation of a backingImageDataSource and creates it. Returns the server's representation of the backingImageDataSource, and an error, if there is any.

func (*FakeBackingImageDataSources) Delete

Delete takes name of the backingImageDataSource and deletes it. Returns an error if one occurs.

func (*FakeBackingImageDataSources) DeleteCollection

func (c *FakeBackingImageDataSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBackingImageDataSources) Get

Get takes name of the backingImageDataSource, and returns the corresponding backingImageDataSource object, and an error if there is any.

func (*FakeBackingImageDataSources) List

List takes label and field selectors, and returns the list of BackingImageDataSources that match those selectors.

func (*FakeBackingImageDataSources) Patch

func (c *FakeBackingImageDataSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.BackingImageDataSource, err error)

Patch applies the patch and returns the patched backingImageDataSource.

func (*FakeBackingImageDataSources) Update

Update takes the representation of a backingImageDataSource and updates it. Returns the server's representation of the backingImageDataSource, and an error, if there is any.

func (*FakeBackingImageDataSources) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeBackingImageDataSources) Watch

Watch returns a watch.Interface that watches the requested backingImageDataSources.

type FakeBackingImageManagers

type FakeBackingImageManagers struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeBackingImageManagers implements BackingImageManagerInterface

func (*FakeBackingImageManagers) Create

func (c *FakeBackingImageManagers) Create(ctx context.Context, backingImageManager *v1beta2.BackingImageManager, opts v1.CreateOptions) (result *v1beta2.BackingImageManager, err error)

Create takes the representation of a backingImageManager and creates it. Returns the server's representation of the backingImageManager, and an error, if there is any.

func (*FakeBackingImageManagers) Delete

Delete takes name of the backingImageManager and deletes it. Returns an error if one occurs.

func (*FakeBackingImageManagers) DeleteCollection

func (c *FakeBackingImageManagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBackingImageManagers) Get

func (c *FakeBackingImageManagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.BackingImageManager, err error)

Get takes name of the backingImageManager, and returns the corresponding backingImageManager object, and an error if there is any.

func (*FakeBackingImageManagers) List

List takes label and field selectors, and returns the list of BackingImageManagers that match those selectors.

func (*FakeBackingImageManagers) Patch

func (c *FakeBackingImageManagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.BackingImageManager, err error)

Patch applies the patch and returns the patched backingImageManager.

func (*FakeBackingImageManagers) Update

func (c *FakeBackingImageManagers) Update(ctx context.Context, backingImageManager *v1beta2.BackingImageManager, opts v1.UpdateOptions) (result *v1beta2.BackingImageManager, err error)

Update takes the representation of a backingImageManager and updates it. Returns the server's representation of the backingImageManager, and an error, if there is any.

func (*FakeBackingImageManagers) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeBackingImageManagers) Watch

Watch returns a watch.Interface that watches the requested backingImageManagers.

type FakeBackingImages

type FakeBackingImages struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeBackingImages implements BackingImageInterface

func (*FakeBackingImages) Create

func (c *FakeBackingImages) Create(ctx context.Context, backingImage *v1beta2.BackingImage, opts v1.CreateOptions) (result *v1beta2.BackingImage, err error)

Create takes the representation of a backingImage and creates it. Returns the server's representation of the backingImage, and an error, if there is any.

func (*FakeBackingImages) Delete

func (c *FakeBackingImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the backingImage and deletes it. Returns an error if one occurs.

func (*FakeBackingImages) DeleteCollection

func (c *FakeBackingImages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBackingImages) Get

func (c *FakeBackingImages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.BackingImage, err error)

Get takes name of the backingImage, and returns the corresponding backingImage object, and an error if there is any.

func (*FakeBackingImages) List

func (c *FakeBackingImages) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.BackingImageList, err error)

List takes label and field selectors, and returns the list of BackingImages that match those selectors.

func (*FakeBackingImages) Patch

func (c *FakeBackingImages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.BackingImage, err error)

Patch applies the patch and returns the patched backingImage.

func (*FakeBackingImages) Update

func (c *FakeBackingImages) Update(ctx context.Context, backingImage *v1beta2.BackingImage, opts v1.UpdateOptions) (result *v1beta2.BackingImage, err error)

Update takes the representation of a backingImage and updates it. Returns the server's representation of the backingImage, and an error, if there is any.

func (*FakeBackingImages) UpdateStatus

func (c *FakeBackingImages) UpdateStatus(ctx context.Context, backingImage *v1beta2.BackingImage, opts v1.UpdateOptions) (*v1beta2.BackingImage, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeBackingImages) Watch

Watch returns a watch.Interface that watches the requested backingImages.

type FakeBackupBackingImages added in v1.6.0

type FakeBackupBackingImages struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeBackupBackingImages implements BackupBackingImageInterface

func (*FakeBackupBackingImages) Create added in v1.6.0

func (c *FakeBackupBackingImages) Create(ctx context.Context, backupBackingImage *v1beta2.BackupBackingImage, opts v1.CreateOptions) (result *v1beta2.BackupBackingImage, err error)

Create takes the representation of a backupBackingImage and creates it. Returns the server's representation of the backupBackingImage, and an error, if there is any.

func (*FakeBackupBackingImages) Delete added in v1.6.0

func (c *FakeBackupBackingImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the backupBackingImage and deletes it. Returns an error if one occurs.

func (*FakeBackupBackingImages) DeleteCollection added in v1.6.0

func (c *FakeBackupBackingImages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBackupBackingImages) Get added in v1.6.0

func (c *FakeBackupBackingImages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.BackupBackingImage, err error)

Get takes name of the backupBackingImage, and returns the corresponding backupBackingImage object, and an error if there is any.

func (*FakeBackupBackingImages) List added in v1.6.0

List takes label and field selectors, and returns the list of BackupBackingImages that match those selectors.

func (*FakeBackupBackingImages) Patch added in v1.6.0

func (c *FakeBackupBackingImages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.BackupBackingImage, err error)

Patch applies the patch and returns the patched backupBackingImage.

func (*FakeBackupBackingImages) Update added in v1.6.0

func (c *FakeBackupBackingImages) Update(ctx context.Context, backupBackingImage *v1beta2.BackupBackingImage, opts v1.UpdateOptions) (result *v1beta2.BackupBackingImage, err error)

Update takes the representation of a backupBackingImage and updates it. Returns the server's representation of the backupBackingImage, and an error, if there is any.

func (*FakeBackupBackingImages) UpdateStatus added in v1.6.0

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeBackupBackingImages) Watch added in v1.6.0

Watch returns a watch.Interface that watches the requested backupBackingImages.

type FakeBackupTargets

type FakeBackupTargets struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeBackupTargets implements BackupTargetInterface

func (*FakeBackupTargets) Create

func (c *FakeBackupTargets) Create(ctx context.Context, backupTarget *v1beta2.BackupTarget, opts v1.CreateOptions) (result *v1beta2.BackupTarget, err error)

Create takes the representation of a backupTarget and creates it. Returns the server's representation of the backupTarget, and an error, if there is any.

func (*FakeBackupTargets) Delete

func (c *FakeBackupTargets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the backupTarget and deletes it. Returns an error if one occurs.

func (*FakeBackupTargets) DeleteCollection

func (c *FakeBackupTargets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBackupTargets) Get

func (c *FakeBackupTargets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.BackupTarget, err error)

Get takes name of the backupTarget, and returns the corresponding backupTarget object, and an error if there is any.

func (*FakeBackupTargets) List

func (c *FakeBackupTargets) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.BackupTargetList, err error)

List takes label and field selectors, and returns the list of BackupTargets that match those selectors.

func (*FakeBackupTargets) Patch

func (c *FakeBackupTargets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.BackupTarget, err error)

Patch applies the patch and returns the patched backupTarget.

func (*FakeBackupTargets) Update

func (c *FakeBackupTargets) Update(ctx context.Context, backupTarget *v1beta2.BackupTarget, opts v1.UpdateOptions) (result *v1beta2.BackupTarget, err error)

Update takes the representation of a backupTarget and updates it. Returns the server's representation of the backupTarget, and an error, if there is any.

func (*FakeBackupTargets) UpdateStatus

func (c *FakeBackupTargets) UpdateStatus(ctx context.Context, backupTarget *v1beta2.BackupTarget, opts v1.UpdateOptions) (*v1beta2.BackupTarget, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeBackupTargets) Watch

Watch returns a watch.Interface that watches the requested backupTargets.

type FakeBackupVolumes

type FakeBackupVolumes struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeBackupVolumes implements BackupVolumeInterface

func (*FakeBackupVolumes) Create

func (c *FakeBackupVolumes) Create(ctx context.Context, backupVolume *v1beta2.BackupVolume, opts v1.CreateOptions) (result *v1beta2.BackupVolume, err error)

Create takes the representation of a backupVolume and creates it. Returns the server's representation of the backupVolume, and an error, if there is any.

func (*FakeBackupVolumes) Delete

func (c *FakeBackupVolumes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the backupVolume and deletes it. Returns an error if one occurs.

func (*FakeBackupVolumes) DeleteCollection

func (c *FakeBackupVolumes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBackupVolumes) Get

func (c *FakeBackupVolumes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.BackupVolume, err error)

Get takes name of the backupVolume, and returns the corresponding backupVolume object, and an error if there is any.

func (*FakeBackupVolumes) List

func (c *FakeBackupVolumes) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.BackupVolumeList, err error)

List takes label and field selectors, and returns the list of BackupVolumes that match those selectors.

func (*FakeBackupVolumes) Patch

func (c *FakeBackupVolumes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.BackupVolume, err error)

Patch applies the patch and returns the patched backupVolume.

func (*FakeBackupVolumes) Update

func (c *FakeBackupVolumes) Update(ctx context.Context, backupVolume *v1beta2.BackupVolume, opts v1.UpdateOptions) (result *v1beta2.BackupVolume, err error)

Update takes the representation of a backupVolume and updates it. Returns the server's representation of the backupVolume, and an error, if there is any.

func (*FakeBackupVolumes) UpdateStatus

func (c *FakeBackupVolumes) UpdateStatus(ctx context.Context, backupVolume *v1beta2.BackupVolume, opts v1.UpdateOptions) (*v1beta2.BackupVolume, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeBackupVolumes) Watch

Watch returns a watch.Interface that watches the requested backupVolumes.

type FakeBackups

type FakeBackups struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeBackups implements BackupInterface

func (*FakeBackups) Create

func (c *FakeBackups) Create(ctx context.Context, backup *v1beta2.Backup, opts v1.CreateOptions) (result *v1beta2.Backup, err error)

Create takes the representation of a backup and creates it. Returns the server's representation of the backup, and an error, if there is any.

func (*FakeBackups) Delete

func (c *FakeBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the backup and deletes it. Returns an error if one occurs.

func (*FakeBackups) DeleteCollection

func (c *FakeBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBackups) Get

func (c *FakeBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Backup, err error)

Get takes name of the backup, and returns the corresponding backup object, and an error if there is any.

func (*FakeBackups) List

func (c *FakeBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.BackupList, err error)

List takes label and field selectors, and returns the list of Backups that match those selectors.

func (*FakeBackups) Patch

func (c *FakeBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Backup, err error)

Patch applies the patch and returns the patched backup.

func (*FakeBackups) Update

func (c *FakeBackups) Update(ctx context.Context, backup *v1beta2.Backup, opts v1.UpdateOptions) (result *v1beta2.Backup, err error)

Update takes the representation of a backup and updates it. Returns the server's representation of the backup, and an error, if there is any.

func (*FakeBackups) UpdateStatus

func (c *FakeBackups) UpdateStatus(ctx context.Context, backup *v1beta2.Backup, opts v1.UpdateOptions) (*v1beta2.Backup, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeBackups) Watch

func (c *FakeBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested backups.

type FakeEngineImages

type FakeEngineImages struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeEngineImages implements EngineImageInterface

func (*FakeEngineImages) Create

func (c *FakeEngineImages) Create(ctx context.Context, engineImage *v1beta2.EngineImage, opts v1.CreateOptions) (result *v1beta2.EngineImage, err error)

Create takes the representation of a engineImage and creates it. Returns the server's representation of the engineImage, and an error, if there is any.

func (*FakeEngineImages) Delete

func (c *FakeEngineImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the engineImage and deletes it. Returns an error if one occurs.

func (*FakeEngineImages) DeleteCollection

func (c *FakeEngineImages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEngineImages) Get

func (c *FakeEngineImages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.EngineImage, err error)

Get takes name of the engineImage, and returns the corresponding engineImage object, and an error if there is any.

func (*FakeEngineImages) List

func (c *FakeEngineImages) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.EngineImageList, err error)

List takes label and field selectors, and returns the list of EngineImages that match those selectors.

func (*FakeEngineImages) Patch

func (c *FakeEngineImages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.EngineImage, err error)

Patch applies the patch and returns the patched engineImage.

func (*FakeEngineImages) Update

func (c *FakeEngineImages) Update(ctx context.Context, engineImage *v1beta2.EngineImage, opts v1.UpdateOptions) (result *v1beta2.EngineImage, err error)

Update takes the representation of a engineImage and updates it. Returns the server's representation of the engineImage, and an error, if there is any.

func (*FakeEngineImages) UpdateStatus

func (c *FakeEngineImages) UpdateStatus(ctx context.Context, engineImage *v1beta2.EngineImage, opts v1.UpdateOptions) (*v1beta2.EngineImage, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEngineImages) Watch

Watch returns a watch.Interface that watches the requested engineImages.

type FakeEngines

type FakeEngines struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeEngines implements EngineInterface

func (*FakeEngines) Create

func (c *FakeEngines) Create(ctx context.Context, engine *v1beta2.Engine, opts v1.CreateOptions) (result *v1beta2.Engine, err error)

Create takes the representation of a engine and creates it. Returns the server's representation of the engine, and an error, if there is any.

func (*FakeEngines) Delete

func (c *FakeEngines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the engine and deletes it. Returns an error if one occurs.

func (*FakeEngines) DeleteCollection

func (c *FakeEngines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeEngines) Get

func (c *FakeEngines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Engine, err error)

Get takes name of the engine, and returns the corresponding engine object, and an error if there is any.

func (*FakeEngines) List

func (c *FakeEngines) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.EngineList, err error)

List takes label and field selectors, and returns the list of Engines that match those selectors.

func (*FakeEngines) Patch

func (c *FakeEngines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Engine, err error)

Patch applies the patch and returns the patched engine.

func (*FakeEngines) Update

func (c *FakeEngines) Update(ctx context.Context, engine *v1beta2.Engine, opts v1.UpdateOptions) (result *v1beta2.Engine, err error)

Update takes the representation of a engine and updates it. Returns the server's representation of the engine, and an error, if there is any.

func (*FakeEngines) UpdateStatus

func (c *FakeEngines) UpdateStatus(ctx context.Context, engine *v1beta2.Engine, opts v1.UpdateOptions) (*v1beta2.Engine, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeEngines) Watch

func (c *FakeEngines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested engines.

type FakeInstanceManagers

type FakeInstanceManagers struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeInstanceManagers implements InstanceManagerInterface

func (*FakeInstanceManagers) Create

func (c *FakeInstanceManagers) Create(ctx context.Context, instanceManager *v1beta2.InstanceManager, opts v1.CreateOptions) (result *v1beta2.InstanceManager, err error)

Create takes the representation of a instanceManager and creates it. Returns the server's representation of the instanceManager, and an error, if there is any.

func (*FakeInstanceManagers) Delete

func (c *FakeInstanceManagers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the instanceManager and deletes it. Returns an error if one occurs.

func (*FakeInstanceManagers) DeleteCollection

func (c *FakeInstanceManagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeInstanceManagers) Get

func (c *FakeInstanceManagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.InstanceManager, err error)

Get takes name of the instanceManager, and returns the corresponding instanceManager object, and an error if there is any.

func (*FakeInstanceManagers) List

List takes label and field selectors, and returns the list of InstanceManagers that match those selectors.

func (*FakeInstanceManagers) Patch

func (c *FakeInstanceManagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.InstanceManager, err error)

Patch applies the patch and returns the patched instanceManager.

func (*FakeInstanceManagers) Update

func (c *FakeInstanceManagers) Update(ctx context.Context, instanceManager *v1beta2.InstanceManager, opts v1.UpdateOptions) (result *v1beta2.InstanceManager, err error)

Update takes the representation of a instanceManager and updates it. Returns the server's representation of the instanceManager, and an error, if there is any.

func (*FakeInstanceManagers) UpdateStatus

func (c *FakeInstanceManagers) UpdateStatus(ctx context.Context, instanceManager *v1beta2.InstanceManager, opts v1.UpdateOptions) (*v1beta2.InstanceManager, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeInstanceManagers) Watch

Watch returns a watch.Interface that watches the requested instanceManagers.

type FakeLonghornV1beta2

type FakeLonghornV1beta2 struct {
	*testing.Fake
}

func (*FakeLonghornV1beta2) BackingImageDataSources

func (c *FakeLonghornV1beta2) BackingImageDataSources(namespace string) v1beta2.BackingImageDataSourceInterface

func (*FakeLonghornV1beta2) BackingImageManagers

func (c *FakeLonghornV1beta2) BackingImageManagers(namespace string) v1beta2.BackingImageManagerInterface

func (*FakeLonghornV1beta2) BackingImages

func (c *FakeLonghornV1beta2) BackingImages(namespace string) v1beta2.BackingImageInterface

func (*FakeLonghornV1beta2) BackupBackingImages added in v1.6.0

func (c *FakeLonghornV1beta2) BackupBackingImages(namespace string) v1beta2.BackupBackingImageInterface

func (*FakeLonghornV1beta2) BackupTargets

func (c *FakeLonghornV1beta2) BackupTargets(namespace string) v1beta2.BackupTargetInterface

func (*FakeLonghornV1beta2) BackupVolumes

func (c *FakeLonghornV1beta2) BackupVolumes(namespace string) v1beta2.BackupVolumeInterface

func (*FakeLonghornV1beta2) Backups

func (c *FakeLonghornV1beta2) Backups(namespace string) v1beta2.BackupInterface

func (*FakeLonghornV1beta2) EngineImages

func (c *FakeLonghornV1beta2) EngineImages(namespace string) v1beta2.EngineImageInterface

func (*FakeLonghornV1beta2) Engines

func (c *FakeLonghornV1beta2) Engines(namespace string) v1beta2.EngineInterface

func (*FakeLonghornV1beta2) InstanceManagers

func (c *FakeLonghornV1beta2) InstanceManagers(namespace string) v1beta2.InstanceManagerInterface

func (*FakeLonghornV1beta2) Nodes

func (c *FakeLonghornV1beta2) Nodes(namespace string) v1beta2.NodeInterface

func (*FakeLonghornV1beta2) Orphans

func (c *FakeLonghornV1beta2) Orphans(namespace string) v1beta2.OrphanInterface

func (*FakeLonghornV1beta2) RESTClient

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

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

func (*FakeLonghornV1beta2) RecurringJobs

func (c *FakeLonghornV1beta2) RecurringJobs(namespace string) v1beta2.RecurringJobInterface

func (*FakeLonghornV1beta2) Replicas

func (c *FakeLonghornV1beta2) Replicas(namespace string) v1beta2.ReplicaInterface

func (*FakeLonghornV1beta2) Settings

func (c *FakeLonghornV1beta2) Settings(namespace string) v1beta2.SettingInterface

func (*FakeLonghornV1beta2) ShareManagers

func (c *FakeLonghornV1beta2) ShareManagers(namespace string) v1beta2.ShareManagerInterface

func (*FakeLonghornV1beta2) Snapshots

func (c *FakeLonghornV1beta2) Snapshots(namespace string) v1beta2.SnapshotInterface

func (*FakeLonghornV1beta2) SupportBundles added in v1.4.0

func (c *FakeLonghornV1beta2) SupportBundles(namespace string) v1beta2.SupportBundleInterface

func (*FakeLonghornV1beta2) SystemBackups added in v1.4.0

func (c *FakeLonghornV1beta2) SystemBackups(namespace string) v1beta2.SystemBackupInterface

func (*FakeLonghornV1beta2) SystemRestores added in v1.4.0

func (c *FakeLonghornV1beta2) SystemRestores(namespace string) v1beta2.SystemRestoreInterface

func (*FakeLonghornV1beta2) VolumeAttachments added in v1.5.0

func (c *FakeLonghornV1beta2) VolumeAttachments(namespace string) v1beta2.VolumeAttachmentInterface

func (*FakeLonghornV1beta2) Volumes

func (c *FakeLonghornV1beta2) Volumes(namespace string) v1beta2.VolumeInterface

type FakeNodes

type FakeNodes struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeNodes implements NodeInterface

func (*FakeNodes) Create

func (c *FakeNodes) Create(ctx context.Context, node *v1beta2.Node, opts v1.CreateOptions) (result *v1beta2.Node, err error)

Create takes the representation of a node and creates it. Returns the server's representation of the node, and an error, if there is any.

func (*FakeNodes) Delete

func (c *FakeNodes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the node and deletes it. Returns an error if one occurs.

func (*FakeNodes) DeleteCollection

func (c *FakeNodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeNodes) Get

func (c *FakeNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Node, err error)

Get takes name of the node, and returns the corresponding node object, and an error if there is any.

func (*FakeNodes) List

func (c *FakeNodes) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.NodeList, err error)

List takes label and field selectors, and returns the list of Nodes that match those selectors.

func (*FakeNodes) Patch

func (c *FakeNodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Node, err error)

Patch applies the patch and returns the patched node.

func (*FakeNodes) Update

func (c *FakeNodes) Update(ctx context.Context, node *v1beta2.Node, opts v1.UpdateOptions) (result *v1beta2.Node, err error)

Update takes the representation of a node and updates it. Returns the server's representation of the node, and an error, if there is any.

func (*FakeNodes) UpdateStatus

func (c *FakeNodes) UpdateStatus(ctx context.Context, node *v1beta2.Node, opts v1.UpdateOptions) (*v1beta2.Node, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeNodes) Watch

func (c *FakeNodes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested nodes.

type FakeOrphans

type FakeOrphans struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeOrphans implements OrphanInterface

func (*FakeOrphans) Create

func (c *FakeOrphans) Create(ctx context.Context, orphan *v1beta2.Orphan, opts v1.CreateOptions) (result *v1beta2.Orphan, err error)

Create takes the representation of a orphan and creates it. Returns the server's representation of the orphan, and an error, if there is any.

func (*FakeOrphans) Delete

func (c *FakeOrphans) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the orphan and deletes it. Returns an error if one occurs.

func (*FakeOrphans) DeleteCollection

func (c *FakeOrphans) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeOrphans) Get

func (c *FakeOrphans) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Orphan, err error)

Get takes name of the orphan, and returns the corresponding orphan object, and an error if there is any.

func (*FakeOrphans) List

func (c *FakeOrphans) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.OrphanList, err error)

List takes label and field selectors, and returns the list of Orphans that match those selectors.

func (*FakeOrphans) Patch

func (c *FakeOrphans) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Orphan, err error)

Patch applies the patch and returns the patched orphan.

func (*FakeOrphans) Update

func (c *FakeOrphans) Update(ctx context.Context, orphan *v1beta2.Orphan, opts v1.UpdateOptions) (result *v1beta2.Orphan, err error)

Update takes the representation of a orphan and updates it. Returns the server's representation of the orphan, and an error, if there is any.

func (*FakeOrphans) UpdateStatus

func (c *FakeOrphans) UpdateStatus(ctx context.Context, orphan *v1beta2.Orphan, opts v1.UpdateOptions) (*v1beta2.Orphan, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeOrphans) Watch

func (c *FakeOrphans) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested orphans.

type FakeRecurringJobs

type FakeRecurringJobs struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeRecurringJobs implements RecurringJobInterface

func (*FakeRecurringJobs) Create

func (c *FakeRecurringJobs) Create(ctx context.Context, recurringJob *v1beta2.RecurringJob, opts v1.CreateOptions) (result *v1beta2.RecurringJob, err error)

Create takes the representation of a recurringJob and creates it. Returns the server's representation of the recurringJob, and an error, if there is any.

func (*FakeRecurringJobs) Delete

func (c *FakeRecurringJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the recurringJob and deletes it. Returns an error if one occurs.

func (*FakeRecurringJobs) DeleteCollection

func (c *FakeRecurringJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeRecurringJobs) Get

func (c *FakeRecurringJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.RecurringJob, err error)

Get takes name of the recurringJob, and returns the corresponding recurringJob object, and an error if there is any.

func (*FakeRecurringJobs) List

func (c *FakeRecurringJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.RecurringJobList, err error)

List takes label and field selectors, and returns the list of RecurringJobs that match those selectors.

func (*FakeRecurringJobs) Patch

func (c *FakeRecurringJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.RecurringJob, err error)

Patch applies the patch and returns the patched recurringJob.

func (*FakeRecurringJobs) Update

func (c *FakeRecurringJobs) Update(ctx context.Context, recurringJob *v1beta2.RecurringJob, opts v1.UpdateOptions) (result *v1beta2.RecurringJob, err error)

Update takes the representation of a recurringJob and updates it. Returns the server's representation of the recurringJob, and an error, if there is any.

func (*FakeRecurringJobs) UpdateStatus

func (c *FakeRecurringJobs) UpdateStatus(ctx context.Context, recurringJob *v1beta2.RecurringJob, opts v1.UpdateOptions) (*v1beta2.RecurringJob, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeRecurringJobs) Watch

Watch returns a watch.Interface that watches the requested recurringJobs.

type FakeReplicas

type FakeReplicas struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeReplicas implements ReplicaInterface

func (*FakeReplicas) Create

func (c *FakeReplicas) Create(ctx context.Context, replica *v1beta2.Replica, opts v1.CreateOptions) (result *v1beta2.Replica, err error)

Create takes the representation of a replica and creates it. Returns the server's representation of the replica, and an error, if there is any.

func (*FakeReplicas) Delete

func (c *FakeReplicas) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the replica and deletes it. Returns an error if one occurs.

func (*FakeReplicas) DeleteCollection

func (c *FakeReplicas) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeReplicas) Get

func (c *FakeReplicas) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Replica, err error)

Get takes name of the replica, and returns the corresponding replica object, and an error if there is any.

func (*FakeReplicas) List

func (c *FakeReplicas) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.ReplicaList, err error)

List takes label and field selectors, and returns the list of Replicas that match those selectors.

func (*FakeReplicas) Patch

func (c *FakeReplicas) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Replica, err error)

Patch applies the patch and returns the patched replica.

func (*FakeReplicas) Update

func (c *FakeReplicas) Update(ctx context.Context, replica *v1beta2.Replica, opts v1.UpdateOptions) (result *v1beta2.Replica, err error)

Update takes the representation of a replica and updates it. Returns the server's representation of the replica, and an error, if there is any.

func (*FakeReplicas) UpdateStatus

func (c *FakeReplicas) UpdateStatus(ctx context.Context, replica *v1beta2.Replica, opts v1.UpdateOptions) (*v1beta2.Replica, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeReplicas) Watch

func (c *FakeReplicas) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested replicas.

type FakeSettings

type FakeSettings struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeSettings implements SettingInterface

func (*FakeSettings) Create

func (c *FakeSettings) Create(ctx context.Context, setting *v1beta2.Setting, opts v1.CreateOptions) (result *v1beta2.Setting, err error)

Create takes the representation of a setting and creates it. Returns the server's representation of the setting, and an error, if there is any.

func (*FakeSettings) Delete

func (c *FakeSettings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the setting and deletes it. Returns an error if one occurs.

func (*FakeSettings) DeleteCollection

func (c *FakeSettings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSettings) Get

func (c *FakeSettings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Setting, err error)

Get takes name of the setting, and returns the corresponding setting object, and an error if there is any.

func (*FakeSettings) List

func (c *FakeSettings) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.SettingList, err error)

List takes label and field selectors, and returns the list of Settings that match those selectors.

func (*FakeSettings) Patch

func (c *FakeSettings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Setting, err error)

Patch applies the patch and returns the patched setting.

func (*FakeSettings) Update

func (c *FakeSettings) Update(ctx context.Context, setting *v1beta2.Setting, opts v1.UpdateOptions) (result *v1beta2.Setting, err error)

Update takes the representation of a setting and updates it. Returns the server's representation of the setting, and an error, if there is any.

func (*FakeSettings) Watch

func (c *FakeSettings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested settings.

type FakeShareManagers

type FakeShareManagers struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeShareManagers implements ShareManagerInterface

func (*FakeShareManagers) Create

func (c *FakeShareManagers) Create(ctx context.Context, shareManager *v1beta2.ShareManager, opts v1.CreateOptions) (result *v1beta2.ShareManager, err error)

Create takes the representation of a shareManager and creates it. Returns the server's representation of the shareManager, and an error, if there is any.

func (*FakeShareManagers) Delete

func (c *FakeShareManagers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the shareManager and deletes it. Returns an error if one occurs.

func (*FakeShareManagers) DeleteCollection

func (c *FakeShareManagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeShareManagers) Get

func (c *FakeShareManagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.ShareManager, err error)

Get takes name of the shareManager, and returns the corresponding shareManager object, and an error if there is any.

func (*FakeShareManagers) List

func (c *FakeShareManagers) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.ShareManagerList, err error)

List takes label and field selectors, and returns the list of ShareManagers that match those selectors.

func (*FakeShareManagers) Patch

func (c *FakeShareManagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.ShareManager, err error)

Patch applies the patch and returns the patched shareManager.

func (*FakeShareManagers) Update

func (c *FakeShareManagers) Update(ctx context.Context, shareManager *v1beta2.ShareManager, opts v1.UpdateOptions) (result *v1beta2.ShareManager, err error)

Update takes the representation of a shareManager and updates it. Returns the server's representation of the shareManager, and an error, if there is any.

func (*FakeShareManagers) UpdateStatus

func (c *FakeShareManagers) UpdateStatus(ctx context.Context, shareManager *v1beta2.ShareManager, opts v1.UpdateOptions) (*v1beta2.ShareManager, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeShareManagers) Watch

Watch returns a watch.Interface that watches the requested shareManagers.

type FakeSnapshots

type FakeSnapshots struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeSnapshots implements SnapshotInterface

func (*FakeSnapshots) Create

func (c *FakeSnapshots) Create(ctx context.Context, snapshot *v1beta2.Snapshot, opts v1.CreateOptions) (result *v1beta2.Snapshot, err error)

Create takes the representation of a snapshot and creates it. Returns the server's representation of the snapshot, and an error, if there is any.

func (*FakeSnapshots) Delete

func (c *FakeSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the snapshot and deletes it. Returns an error if one occurs.

func (*FakeSnapshots) DeleteCollection

func (c *FakeSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSnapshots) Get

func (c *FakeSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Snapshot, err error)

Get takes name of the snapshot, and returns the corresponding snapshot object, and an error if there is any.

func (*FakeSnapshots) List

func (c *FakeSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.SnapshotList, err error)

List takes label and field selectors, and returns the list of Snapshots that match those selectors.

func (*FakeSnapshots) Patch

func (c *FakeSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Snapshot, err error)

Patch applies the patch and returns the patched snapshot.

func (*FakeSnapshots) Update

func (c *FakeSnapshots) Update(ctx context.Context, snapshot *v1beta2.Snapshot, opts v1.UpdateOptions) (result *v1beta2.Snapshot, err error)

Update takes the representation of a snapshot and updates it. Returns the server's representation of the snapshot, and an error, if there is any.

func (*FakeSnapshots) UpdateStatus

func (c *FakeSnapshots) UpdateStatus(ctx context.Context, snapshot *v1beta2.Snapshot, opts v1.UpdateOptions) (*v1beta2.Snapshot, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSnapshots) Watch

Watch returns a watch.Interface that watches the requested snapshots.

type FakeSupportBundles added in v1.4.0

type FakeSupportBundles struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeSupportBundles implements SupportBundleInterface

func (*FakeSupportBundles) Create added in v1.4.0

func (c *FakeSupportBundles) Create(ctx context.Context, supportBundle *v1beta2.SupportBundle, opts v1.CreateOptions) (result *v1beta2.SupportBundle, err error)

Create takes the representation of a supportBundle and creates it. Returns the server's representation of the supportBundle, and an error, if there is any.

func (*FakeSupportBundles) Delete added in v1.4.0

func (c *FakeSupportBundles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the supportBundle and deletes it. Returns an error if one occurs.

func (*FakeSupportBundles) DeleteCollection added in v1.4.0

func (c *FakeSupportBundles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSupportBundles) Get added in v1.4.0

func (c *FakeSupportBundles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.SupportBundle, err error)

Get takes name of the supportBundle, and returns the corresponding supportBundle object, and an error if there is any.

func (*FakeSupportBundles) List added in v1.4.0

func (c *FakeSupportBundles) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.SupportBundleList, err error)

List takes label and field selectors, and returns the list of SupportBundles that match those selectors.

func (*FakeSupportBundles) Patch added in v1.4.0

func (c *FakeSupportBundles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.SupportBundle, err error)

Patch applies the patch and returns the patched supportBundle.

func (*FakeSupportBundles) Update added in v1.4.0

func (c *FakeSupportBundles) Update(ctx context.Context, supportBundle *v1beta2.SupportBundle, opts v1.UpdateOptions) (result *v1beta2.SupportBundle, err error)

Update takes the representation of a supportBundle and updates it. Returns the server's representation of the supportBundle, and an error, if there is any.

func (*FakeSupportBundles) UpdateStatus added in v1.4.0

func (c *FakeSupportBundles) UpdateStatus(ctx context.Context, supportBundle *v1beta2.SupportBundle, opts v1.UpdateOptions) (*v1beta2.SupportBundle, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSupportBundles) Watch added in v1.4.0

Watch returns a watch.Interface that watches the requested supportBundles.

type FakeSystemBackups added in v1.4.0

type FakeSystemBackups struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeSystemBackups implements SystemBackupInterface

func (*FakeSystemBackups) Create added in v1.4.0

func (c *FakeSystemBackups) Create(ctx context.Context, systemBackup *v1beta2.SystemBackup, opts v1.CreateOptions) (result *v1beta2.SystemBackup, err error)

Create takes the representation of a systemBackup and creates it. Returns the server's representation of the systemBackup, and an error, if there is any.

func (*FakeSystemBackups) Delete added in v1.4.0

func (c *FakeSystemBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the systemBackup and deletes it. Returns an error if one occurs.

func (*FakeSystemBackups) DeleteCollection added in v1.4.0

func (c *FakeSystemBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSystemBackups) Get added in v1.4.0

func (c *FakeSystemBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.SystemBackup, err error)

Get takes name of the systemBackup, and returns the corresponding systemBackup object, and an error if there is any.

func (*FakeSystemBackups) List added in v1.4.0

func (c *FakeSystemBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.SystemBackupList, err error)

List takes label and field selectors, and returns the list of SystemBackups that match those selectors.

func (*FakeSystemBackups) Patch added in v1.4.0

func (c *FakeSystemBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.SystemBackup, err error)

Patch applies the patch and returns the patched systemBackup.

func (*FakeSystemBackups) Update added in v1.4.0

func (c *FakeSystemBackups) Update(ctx context.Context, systemBackup *v1beta2.SystemBackup, opts v1.UpdateOptions) (result *v1beta2.SystemBackup, err error)

Update takes the representation of a systemBackup and updates it. Returns the server's representation of the systemBackup, and an error, if there is any.

func (*FakeSystemBackups) UpdateStatus added in v1.4.0

func (c *FakeSystemBackups) UpdateStatus(ctx context.Context, systemBackup *v1beta2.SystemBackup, opts v1.UpdateOptions) (*v1beta2.SystemBackup, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSystemBackups) Watch added in v1.4.0

Watch returns a watch.Interface that watches the requested systemBackups.

type FakeSystemRestores added in v1.4.0

type FakeSystemRestores struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeSystemRestores implements SystemRestoreInterface

func (*FakeSystemRestores) Create added in v1.4.0

func (c *FakeSystemRestores) Create(ctx context.Context, systemRestore *v1beta2.SystemRestore, opts v1.CreateOptions) (result *v1beta2.SystemRestore, err error)

Create takes the representation of a systemRestore and creates it. Returns the server's representation of the systemRestore, and an error, if there is any.

func (*FakeSystemRestores) Delete added in v1.4.0

func (c *FakeSystemRestores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the systemRestore and deletes it. Returns an error if one occurs.

func (*FakeSystemRestores) DeleteCollection added in v1.4.0

func (c *FakeSystemRestores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSystemRestores) Get added in v1.4.0

func (c *FakeSystemRestores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.SystemRestore, err error)

Get takes name of the systemRestore, and returns the corresponding systemRestore object, and an error if there is any.

func (*FakeSystemRestores) List added in v1.4.0

func (c *FakeSystemRestores) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.SystemRestoreList, err error)

List takes label and field selectors, and returns the list of SystemRestores that match those selectors.

func (*FakeSystemRestores) Patch added in v1.4.0

func (c *FakeSystemRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.SystemRestore, err error)

Patch applies the patch and returns the patched systemRestore.

func (*FakeSystemRestores) Update added in v1.4.0

func (c *FakeSystemRestores) Update(ctx context.Context, systemRestore *v1beta2.SystemRestore, opts v1.UpdateOptions) (result *v1beta2.SystemRestore, err error)

Update takes the representation of a systemRestore and updates it. Returns the server's representation of the systemRestore, and an error, if there is any.

func (*FakeSystemRestores) UpdateStatus added in v1.4.0

func (c *FakeSystemRestores) UpdateStatus(ctx context.Context, systemRestore *v1beta2.SystemRestore, opts v1.UpdateOptions) (*v1beta2.SystemRestore, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSystemRestores) Watch added in v1.4.0

Watch returns a watch.Interface that watches the requested systemRestores.

type FakeVolumeAttachments added in v1.5.0

type FakeVolumeAttachments struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeVolumeAttachments implements VolumeAttachmentInterface

func (*FakeVolumeAttachments) Create added in v1.5.0

func (c *FakeVolumeAttachments) Create(ctx context.Context, volumeAttachment *v1beta2.VolumeAttachment, opts v1.CreateOptions) (result *v1beta2.VolumeAttachment, err error)

Create takes the representation of a volumeAttachment and creates it. Returns the server's representation of the volumeAttachment, and an error, if there is any.

func (*FakeVolumeAttachments) Delete added in v1.5.0

func (c *FakeVolumeAttachments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the volumeAttachment and deletes it. Returns an error if one occurs.

func (*FakeVolumeAttachments) DeleteCollection added in v1.5.0

func (c *FakeVolumeAttachments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeVolumeAttachments) Get added in v1.5.0

func (c *FakeVolumeAttachments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.VolumeAttachment, err error)

Get takes name of the volumeAttachment, and returns the corresponding volumeAttachment object, and an error if there is any.

func (*FakeVolumeAttachments) List added in v1.5.0

List takes label and field selectors, and returns the list of VolumeAttachments that match those selectors.

func (*FakeVolumeAttachments) Patch added in v1.5.0

func (c *FakeVolumeAttachments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.VolumeAttachment, err error)

Patch applies the patch and returns the patched volumeAttachment.

func (*FakeVolumeAttachments) Update added in v1.5.0

func (c *FakeVolumeAttachments) Update(ctx context.Context, volumeAttachment *v1beta2.VolumeAttachment, opts v1.UpdateOptions) (result *v1beta2.VolumeAttachment, err error)

Update takes the representation of a volumeAttachment and updates it. Returns the server's representation of the volumeAttachment, and an error, if there is any.

func (*FakeVolumeAttachments) UpdateStatus added in v1.5.0

func (c *FakeVolumeAttachments) UpdateStatus(ctx context.Context, volumeAttachment *v1beta2.VolumeAttachment, opts v1.UpdateOptions) (*v1beta2.VolumeAttachment, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeVolumeAttachments) Watch added in v1.5.0

Watch returns a watch.Interface that watches the requested volumeAttachments.

type FakeVolumes

type FakeVolumes struct {
	Fake *FakeLonghornV1beta2
	// contains filtered or unexported fields
}

FakeVolumes implements VolumeInterface

func (*FakeVolumes) Create

func (c *FakeVolumes) Create(ctx context.Context, volume *v1beta2.Volume, opts v1.CreateOptions) (result *v1beta2.Volume, err error)

Create takes the representation of a volume and creates it. Returns the server's representation of the volume, and an error, if there is any.

func (*FakeVolumes) Delete

func (c *FakeVolumes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the volume and deletes it. Returns an error if one occurs.

func (*FakeVolumes) DeleteCollection

func (c *FakeVolumes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeVolumes) Get

func (c *FakeVolumes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Volume, err error)

Get takes name of the volume, and returns the corresponding volume object, and an error if there is any.

func (*FakeVolumes) List

func (c *FakeVolumes) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.VolumeList, err error)

List takes label and field selectors, and returns the list of Volumes that match those selectors.

func (*FakeVolumes) Patch

func (c *FakeVolumes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta2.Volume, err error)

Patch applies the patch and returns the patched volume.

func (*FakeVolumes) Update

func (c *FakeVolumes) Update(ctx context.Context, volume *v1beta2.Volume, opts v1.UpdateOptions) (result *v1beta2.Volume, err error)

Update takes the representation of a volume and updates it. Returns the server's representation of the volume, and an error, if there is any.

func (*FakeVolumes) UpdateStatus

func (c *FakeVolumes) UpdateStatus(ctx context.Context, volume *v1beta2.Volume, opts v1.UpdateOptions) (*v1beta2.Volume, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeVolumes) Watch

func (c *FakeVolumes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested volumes.

Jump to

Keyboard shortcuts

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