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 added in v1.2.0

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

FakeBackingImageDataSources implements BackingImageDataSourceInterface

func (*FakeBackingImageDataSources) Create added in v1.2.0

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 added in v1.2.0

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

func (*FakeBackingImageDataSources) DeleteCollection added in v1.2.0

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

DeleteCollection deletes a collection of objects.

func (*FakeBackingImageDataSources) Get added in v1.2.0

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

func (*FakeBackingImageDataSources) List added in v1.2.0

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

func (*FakeBackingImageDataSources) Patch added in v1.2.0

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

Patch applies the patch and returns the patched backingImageDataSource.

func (*FakeBackingImageDataSources) Update added in v1.2.0

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 added in v1.2.0

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 added in v1.2.0

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

type FakeBackingImageManagers added in v1.1.1

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

FakeBackingImageManagers implements BackingImageManagerInterface

func (*FakeBackingImageManagers) Create added in v1.1.1

func (c *FakeBackingImageManagers) Create(ctx context.Context, backingImageManager *v1beta1.BackingImageManager, opts v1.CreateOptions) (result *v1beta1.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 added in v1.1.1

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

func (*FakeBackingImageManagers) DeleteCollection added in v1.1.1

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

DeleteCollection deletes a collection of objects.

func (*FakeBackingImageManagers) Get added in v1.1.1

func (c *FakeBackingImageManagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.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 added in v1.1.1

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

func (*FakeBackingImageManagers) Patch added in v1.1.1

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

Patch applies the patch and returns the patched backingImageManager.

func (*FakeBackingImageManagers) Update added in v1.1.1

func (c *FakeBackingImageManagers) Update(ctx context.Context, backingImageManager *v1beta1.BackingImageManager, opts v1.UpdateOptions) (result *v1beta1.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 added in v1.1.1

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 added in v1.1.1

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

type FakeBackingImages added in v1.1.1

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

FakeBackingImages implements BackingImageInterface

func (*FakeBackingImages) Create added in v1.1.1

func (c *FakeBackingImages) Create(ctx context.Context, backingImage *v1beta1.BackingImage, opts v1.CreateOptions) (result *v1beta1.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 added in v1.1.1

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 added in v1.1.1

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

DeleteCollection deletes a collection of objects.

func (*FakeBackingImages) Get added in v1.1.1

func (c *FakeBackingImages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.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 added in v1.1.1

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

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

func (*FakeBackingImages) Patch added in v1.1.1

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

Patch applies the patch and returns the patched backingImage.

func (*FakeBackingImages) Update added in v1.1.1

func (c *FakeBackingImages) Update(ctx context.Context, backingImage *v1beta1.BackingImage, opts v1.UpdateOptions) (result *v1beta1.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 added in v1.1.1

func (c *FakeBackingImages) UpdateStatus(ctx context.Context, backingImage *v1beta1.BackingImage, opts v1.UpdateOptions) (*v1beta1.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 added in v1.1.1

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

type FakeBackupTargets added in v1.2.0

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

FakeBackupTargets implements BackupTargetInterface

func (*FakeBackupTargets) Create added in v1.2.0

func (c *FakeBackupTargets) Create(ctx context.Context, backupTarget *v1beta1.BackupTarget, opts v1.CreateOptions) (result *v1beta1.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 added in v1.2.0

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 added in v1.2.0

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

DeleteCollection deletes a collection of objects.

func (*FakeBackupTargets) Get added in v1.2.0

func (c *FakeBackupTargets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.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 added in v1.2.0

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

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

func (*FakeBackupTargets) Patch added in v1.2.0

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

Patch applies the patch and returns the patched backupTarget.

func (*FakeBackupTargets) Update added in v1.2.0

func (c *FakeBackupTargets) Update(ctx context.Context, backupTarget *v1beta1.BackupTarget, opts v1.UpdateOptions) (result *v1beta1.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 added in v1.2.0

func (c *FakeBackupTargets) UpdateStatus(ctx context.Context, backupTarget *v1beta1.BackupTarget, opts v1.UpdateOptions) (*v1beta1.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 added in v1.2.0

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

type FakeBackupVolumes added in v1.2.0

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

FakeBackupVolumes implements BackupVolumeInterface

func (*FakeBackupVolumes) Create added in v1.2.0

func (c *FakeBackupVolumes) Create(ctx context.Context, backupVolume *v1beta1.BackupVolume, opts v1.CreateOptions) (result *v1beta1.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 added in v1.2.0

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 added in v1.2.0

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

DeleteCollection deletes a collection of objects.

func (*FakeBackupVolumes) Get added in v1.2.0

func (c *FakeBackupVolumes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.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 added in v1.2.0

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

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

func (*FakeBackupVolumes) Patch added in v1.2.0

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

Patch applies the patch and returns the patched backupVolume.

func (*FakeBackupVolumes) Update added in v1.2.0

func (c *FakeBackupVolumes) Update(ctx context.Context, backupVolume *v1beta1.BackupVolume, opts v1.UpdateOptions) (result *v1beta1.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 added in v1.2.0

func (c *FakeBackupVolumes) UpdateStatus(ctx context.Context, backupVolume *v1beta1.BackupVolume, opts v1.UpdateOptions) (*v1beta1.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 added in v1.2.0

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

type FakeBackups added in v1.2.0

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

FakeBackups implements BackupInterface

func (*FakeBackups) Create added in v1.2.0

func (c *FakeBackups) Create(ctx context.Context, backup *v1beta1.Backup, opts v1.CreateOptions) (result *v1beta1.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 added in v1.2.0

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 added in v1.2.0

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

DeleteCollection deletes a collection of objects.

func (*FakeBackups) Get added in v1.2.0

func (c *FakeBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.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 added in v1.2.0

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

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

func (*FakeBackups) Patch added in v1.2.0

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

Patch applies the patch and returns the patched backup.

func (*FakeBackups) Update added in v1.2.0

func (c *FakeBackups) Update(ctx context.Context, backup *v1beta1.Backup, opts v1.UpdateOptions) (result *v1beta1.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 added in v1.2.0

func (c *FakeBackups) UpdateStatus(ctx context.Context, backup *v1beta1.Backup, opts v1.UpdateOptions) (*v1beta1.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 added in v1.2.0

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 *FakeLonghornV1beta1
	// contains filtered or unexported fields
}

FakeEngineImages implements EngineImageInterface

func (*FakeEngineImages) Create

func (c *FakeEngineImages) Create(ctx context.Context, engineImage *v1beta1.EngineImage, opts v1.CreateOptions) (result *v1beta1.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 *v1beta1.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 *v1beta1.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 *v1beta1.EngineImage, err error)

Patch applies the patch and returns the patched engineImage.

func (*FakeEngineImages) Update

func (c *FakeEngineImages) Update(ctx context.Context, engineImage *v1beta1.EngineImage, opts v1.UpdateOptions) (result *v1beta1.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 *v1beta1.EngineImage, opts v1.UpdateOptions) (*v1beta1.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 *FakeLonghornV1beta1
	// contains filtered or unexported fields
}

FakeEngines implements EngineInterface

func (*FakeEngines) Create

func (c *FakeEngines) Create(ctx context.Context, engine *v1beta1.Engine, opts v1.CreateOptions) (result *v1beta1.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 *v1beta1.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 *v1beta1.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 *v1beta1.Engine, err error)

Patch applies the patch and returns the patched engine.

func (*FakeEngines) Update

func (c *FakeEngines) Update(ctx context.Context, engine *v1beta1.Engine, opts v1.UpdateOptions) (result *v1beta1.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 *v1beta1.Engine, opts v1.UpdateOptions) (*v1beta1.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 *FakeLonghornV1beta1
	// contains filtered or unexported fields
}

FakeInstanceManagers implements InstanceManagerInterface

func (*FakeInstanceManagers) Create

func (c *FakeInstanceManagers) Create(ctx context.Context, instanceManager *v1beta1.InstanceManager, opts v1.CreateOptions) (result *v1beta1.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 *v1beta1.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 *v1beta1.InstanceManager, err error)

Patch applies the patch and returns the patched instanceManager.

func (*FakeInstanceManagers) Update

func (c *FakeInstanceManagers) Update(ctx context.Context, instanceManager *v1beta1.InstanceManager, opts v1.UpdateOptions) (result *v1beta1.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 *v1beta1.InstanceManager, opts v1.UpdateOptions) (*v1beta1.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 FakeLonghornV1beta1

type FakeLonghornV1beta1 struct {
	*testing.Fake
}

func (*FakeLonghornV1beta1) BackingImageDataSources added in v1.2.0

func (c *FakeLonghornV1beta1) BackingImageDataSources(namespace string) v1beta1.BackingImageDataSourceInterface

func (*FakeLonghornV1beta1) BackingImageManagers added in v1.1.1

func (c *FakeLonghornV1beta1) BackingImageManagers(namespace string) v1beta1.BackingImageManagerInterface

func (*FakeLonghornV1beta1) BackingImages added in v1.1.1

func (c *FakeLonghornV1beta1) BackingImages(namespace string) v1beta1.BackingImageInterface

func (*FakeLonghornV1beta1) BackupTargets added in v1.2.0

func (c *FakeLonghornV1beta1) BackupTargets(namespace string) v1beta1.BackupTargetInterface

func (*FakeLonghornV1beta1) BackupVolumes added in v1.2.0

func (c *FakeLonghornV1beta1) BackupVolumes(namespace string) v1beta1.BackupVolumeInterface

func (*FakeLonghornV1beta1) Backups added in v1.2.0

func (c *FakeLonghornV1beta1) Backups(namespace string) v1beta1.BackupInterface

func (*FakeLonghornV1beta1) EngineImages

func (c *FakeLonghornV1beta1) EngineImages(namespace string) v1beta1.EngineImageInterface

func (*FakeLonghornV1beta1) Engines

func (c *FakeLonghornV1beta1) Engines(namespace string) v1beta1.EngineInterface

func (*FakeLonghornV1beta1) InstanceManagers

func (c *FakeLonghornV1beta1) InstanceManagers(namespace string) v1beta1.InstanceManagerInterface

func (*FakeLonghornV1beta1) Nodes

func (c *FakeLonghornV1beta1) Nodes(namespace string) v1beta1.NodeInterface

func (*FakeLonghornV1beta1) RESTClient

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

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

func (*FakeLonghornV1beta1) RecurringJobs added in v1.2.0

func (c *FakeLonghornV1beta1) RecurringJobs(namespace string) v1beta1.RecurringJobInterface

func (*FakeLonghornV1beta1) Replicas

func (c *FakeLonghornV1beta1) Replicas(namespace string) v1beta1.ReplicaInterface

func (*FakeLonghornV1beta1) Settings

func (c *FakeLonghornV1beta1) Settings(namespace string) v1beta1.SettingInterface

func (*FakeLonghornV1beta1) ShareManagers added in v1.1.0

func (c *FakeLonghornV1beta1) ShareManagers(namespace string) v1beta1.ShareManagerInterface

func (*FakeLonghornV1beta1) Volumes

func (c *FakeLonghornV1beta1) Volumes(namespace string) v1beta1.VolumeInterface

type FakeNodes

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

FakeNodes implements NodeInterface

func (*FakeNodes) Create

func (c *FakeNodes) Create(ctx context.Context, node *v1beta1.Node, opts v1.CreateOptions) (result *v1beta1.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 *v1beta1.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 *v1beta1.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 *v1beta1.Node, err error)

Patch applies the patch and returns the patched node.

func (*FakeNodes) Update

func (c *FakeNodes) Update(ctx context.Context, node *v1beta1.Node, opts v1.UpdateOptions) (result *v1beta1.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 *v1beta1.Node, opts v1.UpdateOptions) (*v1beta1.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 FakeRecurringJobs added in v1.2.0

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

FakeRecurringJobs implements RecurringJobInterface

func (*FakeRecurringJobs) Create added in v1.2.0

func (c *FakeRecurringJobs) Create(ctx context.Context, recurringJob *v1beta1.RecurringJob, opts v1.CreateOptions) (result *v1beta1.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 added in v1.2.0

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 added in v1.2.0

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

DeleteCollection deletes a collection of objects.

func (*FakeRecurringJobs) Get added in v1.2.0

func (c *FakeRecurringJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.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 added in v1.2.0

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

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

func (*FakeRecurringJobs) Patch added in v1.2.0

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

Patch applies the patch and returns the patched recurringJob.

func (*FakeRecurringJobs) Update added in v1.2.0

func (c *FakeRecurringJobs) Update(ctx context.Context, recurringJob *v1beta1.RecurringJob, opts v1.UpdateOptions) (result *v1beta1.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 added in v1.2.0

func (c *FakeRecurringJobs) UpdateStatus(ctx context.Context, recurringJob *v1beta1.RecurringJob, opts v1.UpdateOptions) (*v1beta1.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 added in v1.2.0

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

type FakeReplicas

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

FakeReplicas implements ReplicaInterface

func (*FakeReplicas) Create

func (c *FakeReplicas) Create(ctx context.Context, replica *v1beta1.Replica, opts v1.CreateOptions) (result *v1beta1.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 *v1beta1.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 *v1beta1.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 *v1beta1.Replica, err error)

Patch applies the patch and returns the patched replica.

func (*FakeReplicas) Update

func (c *FakeReplicas) Update(ctx context.Context, replica *v1beta1.Replica, opts v1.UpdateOptions) (result *v1beta1.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 *v1beta1.Replica, opts v1.UpdateOptions) (*v1beta1.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 *FakeLonghornV1beta1
	// contains filtered or unexported fields
}

FakeSettings implements SettingInterface

func (*FakeSettings) Create

func (c *FakeSettings) Create(ctx context.Context, setting *v1beta1.Setting, opts v1.CreateOptions) (result *v1beta1.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 *v1beta1.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 *v1beta1.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 *v1beta1.Setting, err error)

Patch applies the patch and returns the patched setting.

func (*FakeSettings) Update

func (c *FakeSettings) Update(ctx context.Context, setting *v1beta1.Setting, opts v1.UpdateOptions) (result *v1beta1.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 added in v1.1.0

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

FakeShareManagers implements ShareManagerInterface

func (*FakeShareManagers) Create added in v1.1.0

func (c *FakeShareManagers) Create(ctx context.Context, shareManager *v1beta1.ShareManager, opts v1.CreateOptions) (result *v1beta1.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 added in v1.1.0

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 added in v1.1.0

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

DeleteCollection deletes a collection of objects.

func (*FakeShareManagers) Get added in v1.1.0

func (c *FakeShareManagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.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 added in v1.1.0

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

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

func (*FakeShareManagers) Patch added in v1.1.0

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

Patch applies the patch and returns the patched shareManager.

func (*FakeShareManagers) Update added in v1.1.0

func (c *FakeShareManagers) Update(ctx context.Context, shareManager *v1beta1.ShareManager, opts v1.UpdateOptions) (result *v1beta1.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 added in v1.1.0

func (c *FakeShareManagers) UpdateStatus(ctx context.Context, shareManager *v1beta1.ShareManager, opts v1.UpdateOptions) (*v1beta1.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 added in v1.1.0

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

type FakeVolumes

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

FakeVolumes implements VolumeInterface

func (*FakeVolumes) Create

func (c *FakeVolumes) Create(ctx context.Context, volume *v1beta1.Volume, opts v1.CreateOptions) (result *v1beta1.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 *v1beta1.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 *v1beta1.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 *v1beta1.Volume, err error)

Patch applies the patch and returns the patched volume.

func (*FakeVolumes) Update

func (c *FakeVolumes) Update(ctx context.Context, volume *v1beta1.Volume, opts v1.UpdateOptions) (result *v1beta1.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 *v1beta1.Volume, opts v1.UpdateOptions) (*v1beta1.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