Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBackingImageDataSources
- func (c *FakeBackingImageDataSources) Create(ctx context.Context, backingImageDataSource *v1beta2.BackingImageDataSource, ...) (result *v1beta2.BackingImageDataSource, err error)
- func (c *FakeBackingImageDataSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackingImageDataSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackingImageDataSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.BackingImageDataSource, err error)
- func (c *FakeBackingImageDataSources) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.BackingImageDataSourceList, err error)
- func (c *FakeBackingImageDataSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.BackingImageDataSource, err error)
- func (c *FakeBackingImageDataSources) Update(ctx context.Context, backingImageDataSource *v1beta2.BackingImageDataSource, ...) (result *v1beta2.BackingImageDataSource, err error)
- func (c *FakeBackingImageDataSources) UpdateStatus(ctx context.Context, backingImageDataSource *v1beta2.BackingImageDataSource, ...) (*v1beta2.BackingImageDataSource, error)
- func (c *FakeBackingImageDataSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBackingImageManagers
- func (c *FakeBackingImageManagers) Create(ctx context.Context, backingImageManager *v1beta2.BackingImageManager, ...) (result *v1beta2.BackingImageManager, err error)
- func (c *FakeBackingImageManagers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackingImageManagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackingImageManagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.BackingImageManager, err error)
- func (c *FakeBackingImageManagers) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.BackingImageManagerList, err error)
- func (c *FakeBackingImageManagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.BackingImageManager, err error)
- func (c *FakeBackingImageManagers) Update(ctx context.Context, backingImageManager *v1beta2.BackingImageManager, ...) (result *v1beta2.BackingImageManager, err error)
- func (c *FakeBackingImageManagers) UpdateStatus(ctx context.Context, backingImageManager *v1beta2.BackingImageManager, ...) (*v1beta2.BackingImageManager, error)
- func (c *FakeBackingImageManagers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBackingImages
- func (c *FakeBackingImages) Create(ctx context.Context, backingImage *v1beta2.BackingImage, opts v1.CreateOptions) (result *v1beta2.BackingImage, err error)
- func (c *FakeBackingImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackingImages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackingImages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.BackingImage, err error)
- func (c *FakeBackingImages) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.BackingImageList, err error)
- func (c *FakeBackingImages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.BackingImage, err error)
- func (c *FakeBackingImages) Update(ctx context.Context, backingImage *v1beta2.BackingImage, opts v1.UpdateOptions) (result *v1beta2.BackingImage, err error)
- func (c *FakeBackingImages) UpdateStatus(ctx context.Context, backingImage *v1beta2.BackingImage, opts v1.UpdateOptions) (*v1beta2.BackingImage, error)
- func (c *FakeBackingImages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBackupTargets
- func (c *FakeBackupTargets) Create(ctx context.Context, backupTarget *v1beta2.BackupTarget, opts v1.CreateOptions) (result *v1beta2.BackupTarget, err error)
- func (c *FakeBackupTargets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackupTargets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackupTargets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.BackupTarget, err error)
- func (c *FakeBackupTargets) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.BackupTargetList, err error)
- func (c *FakeBackupTargets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.BackupTarget, err error)
- func (c *FakeBackupTargets) Update(ctx context.Context, backupTarget *v1beta2.BackupTarget, opts v1.UpdateOptions) (result *v1beta2.BackupTarget, err error)
- func (c *FakeBackupTargets) UpdateStatus(ctx context.Context, backupTarget *v1beta2.BackupTarget, opts v1.UpdateOptions) (*v1beta2.BackupTarget, error)
- func (c *FakeBackupTargets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBackupVolumes
- func (c *FakeBackupVolumes) Create(ctx context.Context, backupVolume *v1beta2.BackupVolume, opts v1.CreateOptions) (result *v1beta2.BackupVolume, err error)
- func (c *FakeBackupVolumes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackupVolumes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackupVolumes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.BackupVolume, err error)
- func (c *FakeBackupVolumes) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.BackupVolumeList, err error)
- func (c *FakeBackupVolumes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.BackupVolume, err error)
- func (c *FakeBackupVolumes) Update(ctx context.Context, backupVolume *v1beta2.BackupVolume, opts v1.UpdateOptions) (result *v1beta2.BackupVolume, err error)
- func (c *FakeBackupVolumes) UpdateStatus(ctx context.Context, backupVolume *v1beta2.BackupVolume, opts v1.UpdateOptions) (*v1beta2.BackupVolume, error)
- func (c *FakeBackupVolumes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBackups
- func (c *FakeBackups) Create(ctx context.Context, backup *v1beta2.Backup, opts v1.CreateOptions) (result *v1beta2.Backup, err error)
- func (c *FakeBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Backup, err error)
- func (c *FakeBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.BackupList, err error)
- func (c *FakeBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.Backup, err error)
- func (c *FakeBackups) Update(ctx context.Context, backup *v1beta2.Backup, opts v1.UpdateOptions) (result *v1beta2.Backup, err error)
- func (c *FakeBackups) UpdateStatus(ctx context.Context, backup *v1beta2.Backup, opts v1.UpdateOptions) (*v1beta2.Backup, error)
- func (c *FakeBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEngineImages
- func (c *FakeEngineImages) Create(ctx context.Context, engineImage *v1beta2.EngineImage, opts v1.CreateOptions) (result *v1beta2.EngineImage, err error)
- func (c *FakeEngineImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEngineImages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEngineImages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.EngineImage, err error)
- func (c *FakeEngineImages) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.EngineImageList, err error)
- func (c *FakeEngineImages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.EngineImage, err error)
- func (c *FakeEngineImages) Update(ctx context.Context, engineImage *v1beta2.EngineImage, opts v1.UpdateOptions) (result *v1beta2.EngineImage, err error)
- func (c *FakeEngineImages) UpdateStatus(ctx context.Context, engineImage *v1beta2.EngineImage, opts v1.UpdateOptions) (*v1beta2.EngineImage, error)
- func (c *FakeEngineImages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeEngines
- func (c *FakeEngines) Create(ctx context.Context, engine *v1beta2.Engine, opts v1.CreateOptions) (result *v1beta2.Engine, err error)
- func (c *FakeEngines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEngines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEngines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Engine, err error)
- func (c *FakeEngines) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.EngineList, err error)
- func (c *FakeEngines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.Engine, err error)
- func (c *FakeEngines) Update(ctx context.Context, engine *v1beta2.Engine, opts v1.UpdateOptions) (result *v1beta2.Engine, err error)
- func (c *FakeEngines) UpdateStatus(ctx context.Context, engine *v1beta2.Engine, opts v1.UpdateOptions) (*v1beta2.Engine, error)
- func (c *FakeEngines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeInstanceManagers
- func (c *FakeInstanceManagers) Create(ctx context.Context, instanceManager *v1beta2.InstanceManager, ...) (result *v1beta2.InstanceManager, err error)
- func (c *FakeInstanceManagers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeInstanceManagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeInstanceManagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.InstanceManager, err error)
- func (c *FakeInstanceManagers) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.InstanceManagerList, err error)
- func (c *FakeInstanceManagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.InstanceManager, err error)
- func (c *FakeInstanceManagers) Update(ctx context.Context, instanceManager *v1beta2.InstanceManager, ...) (result *v1beta2.InstanceManager, err error)
- func (c *FakeInstanceManagers) UpdateStatus(ctx context.Context, instanceManager *v1beta2.InstanceManager, ...) (*v1beta2.InstanceManager, error)
- func (c *FakeInstanceManagers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLonghornV1beta2
- func (c *FakeLonghornV1beta2) BackingImageDataSources(namespace string) v1beta2.BackingImageDataSourceInterface
- func (c *FakeLonghornV1beta2) BackingImageManagers(namespace string) v1beta2.BackingImageManagerInterface
- func (c *FakeLonghornV1beta2) BackingImages(namespace string) v1beta2.BackingImageInterface
- func (c *FakeLonghornV1beta2) BackupTargets(namespace string) v1beta2.BackupTargetInterface
- func (c *FakeLonghornV1beta2) BackupVolumes(namespace string) v1beta2.BackupVolumeInterface
- func (c *FakeLonghornV1beta2) Backups(namespace string) v1beta2.BackupInterface
- func (c *FakeLonghornV1beta2) EngineImages(namespace string) v1beta2.EngineImageInterface
- func (c *FakeLonghornV1beta2) Engines(namespace string) v1beta2.EngineInterface
- func (c *FakeLonghornV1beta2) InstanceManagers(namespace string) v1beta2.InstanceManagerInterface
- func (c *FakeLonghornV1beta2) Nodes(namespace string) v1beta2.NodeInterface
- func (c *FakeLonghornV1beta2) Orphans(namespace string) v1beta2.OrphanInterface
- func (c *FakeLonghornV1beta2) RESTClient() rest.Interface
- func (c *FakeLonghornV1beta2) RecurringJobs(namespace string) v1beta2.RecurringJobInterface
- func (c *FakeLonghornV1beta2) Replicas(namespace string) v1beta2.ReplicaInterface
- func (c *FakeLonghornV1beta2) Settings(namespace string) v1beta2.SettingInterface
- func (c *FakeLonghornV1beta2) ShareManagers(namespace string) v1beta2.ShareManagerInterface
- func (c *FakeLonghornV1beta2) Snapshots(namespace string) v1beta2.SnapshotInterface
- func (c *FakeLonghornV1beta2) SupportBundles(namespace string) v1beta2.SupportBundleInterface
- func (c *FakeLonghornV1beta2) SystemBackups(namespace string) v1beta2.SystemBackupInterface
- func (c *FakeLonghornV1beta2) SystemRestores(namespace string) v1beta2.SystemRestoreInterface
- func (c *FakeLonghornV1beta2) VolumeAttachments(namespace string) v1beta2.VolumeAttachmentInterface
- func (c *FakeLonghornV1beta2) Volumes(namespace string) v1beta2.VolumeInterface
- type FakeNodes
- func (c *FakeNodes) Create(ctx context.Context, node *v1beta2.Node, opts v1.CreateOptions) (result *v1beta2.Node, err error)
- func (c *FakeNodes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Node, err error)
- func (c *FakeNodes) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.NodeList, err error)
- func (c *FakeNodes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.Node, err error)
- func (c *FakeNodes) Update(ctx context.Context, node *v1beta2.Node, opts v1.UpdateOptions) (result *v1beta2.Node, err error)
- func (c *FakeNodes) UpdateStatus(ctx context.Context, node *v1beta2.Node, opts v1.UpdateOptions) (*v1beta2.Node, error)
- func (c *FakeNodes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOrphans
- func (c *FakeOrphans) Create(ctx context.Context, orphan *v1beta2.Orphan, opts v1.CreateOptions) (result *v1beta2.Orphan, err error)
- func (c *FakeOrphans) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeOrphans) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeOrphans) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Orphan, err error)
- func (c *FakeOrphans) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.OrphanList, err error)
- func (c *FakeOrphans) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.Orphan, err error)
- func (c *FakeOrphans) Update(ctx context.Context, orphan *v1beta2.Orphan, opts v1.UpdateOptions) (result *v1beta2.Orphan, err error)
- func (c *FakeOrphans) UpdateStatus(ctx context.Context, orphan *v1beta2.Orphan, opts v1.UpdateOptions) (*v1beta2.Orphan, error)
- func (c *FakeOrphans) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRecurringJobs
- func (c *FakeRecurringJobs) Create(ctx context.Context, recurringJob *v1beta2.RecurringJob, opts v1.CreateOptions) (result *v1beta2.RecurringJob, err error)
- func (c *FakeRecurringJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRecurringJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRecurringJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.RecurringJob, err error)
- func (c *FakeRecurringJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.RecurringJobList, err error)
- func (c *FakeRecurringJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.RecurringJob, err error)
- func (c *FakeRecurringJobs) Update(ctx context.Context, recurringJob *v1beta2.RecurringJob, opts v1.UpdateOptions) (result *v1beta2.RecurringJob, err error)
- func (c *FakeRecurringJobs) UpdateStatus(ctx context.Context, recurringJob *v1beta2.RecurringJob, opts v1.UpdateOptions) (*v1beta2.RecurringJob, error)
- func (c *FakeRecurringJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeReplicas
- func (c *FakeReplicas) Create(ctx context.Context, replica *v1beta2.Replica, opts v1.CreateOptions) (result *v1beta2.Replica, err error)
- func (c *FakeReplicas) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeReplicas) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeReplicas) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Replica, err error)
- func (c *FakeReplicas) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.ReplicaList, err error)
- func (c *FakeReplicas) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.Replica, err error)
- func (c *FakeReplicas) Update(ctx context.Context, replica *v1beta2.Replica, opts v1.UpdateOptions) (result *v1beta2.Replica, err error)
- func (c *FakeReplicas) UpdateStatus(ctx context.Context, replica *v1beta2.Replica, opts v1.UpdateOptions) (*v1beta2.Replica, error)
- func (c *FakeReplicas) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSettings
- func (c *FakeSettings) Create(ctx context.Context, setting *v1beta2.Setting, opts v1.CreateOptions) (result *v1beta2.Setting, err error)
- func (c *FakeSettings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSettings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSettings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Setting, err error)
- func (c *FakeSettings) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.SettingList, err error)
- func (c *FakeSettings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.Setting, err error)
- func (c *FakeSettings) Update(ctx context.Context, setting *v1beta2.Setting, opts v1.UpdateOptions) (result *v1beta2.Setting, err error)
- func (c *FakeSettings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeShareManagers
- func (c *FakeShareManagers) Create(ctx context.Context, shareManager *v1beta2.ShareManager, opts v1.CreateOptions) (result *v1beta2.ShareManager, err error)
- func (c *FakeShareManagers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeShareManagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeShareManagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.ShareManager, err error)
- func (c *FakeShareManagers) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.ShareManagerList, err error)
- func (c *FakeShareManagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.ShareManager, err error)
- func (c *FakeShareManagers) Update(ctx context.Context, shareManager *v1beta2.ShareManager, opts v1.UpdateOptions) (result *v1beta2.ShareManager, err error)
- func (c *FakeShareManagers) UpdateStatus(ctx context.Context, shareManager *v1beta2.ShareManager, opts v1.UpdateOptions) (*v1beta2.ShareManager, error)
- func (c *FakeShareManagers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSnapshots
- func (c *FakeSnapshots) Create(ctx context.Context, snapshot *v1beta2.Snapshot, opts v1.CreateOptions) (result *v1beta2.Snapshot, err error)
- func (c *FakeSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Snapshot, err error)
- func (c *FakeSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.SnapshotList, err error)
- func (c *FakeSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.Snapshot, err error)
- func (c *FakeSnapshots) Update(ctx context.Context, snapshot *v1beta2.Snapshot, opts v1.UpdateOptions) (result *v1beta2.Snapshot, err error)
- func (c *FakeSnapshots) UpdateStatus(ctx context.Context, snapshot *v1beta2.Snapshot, opts v1.UpdateOptions) (*v1beta2.Snapshot, error)
- func (c *FakeSnapshots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSupportBundles
- func (c *FakeSupportBundles) Create(ctx context.Context, supportBundle *v1beta2.SupportBundle, ...) (result *v1beta2.SupportBundle, err error)
- func (c *FakeSupportBundles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSupportBundles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSupportBundles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.SupportBundle, err error)
- func (c *FakeSupportBundles) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.SupportBundleList, err error)
- func (c *FakeSupportBundles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.SupportBundle, err error)
- func (c *FakeSupportBundles) Update(ctx context.Context, supportBundle *v1beta2.SupportBundle, ...) (result *v1beta2.SupportBundle, err error)
- func (c *FakeSupportBundles) UpdateStatus(ctx context.Context, supportBundle *v1beta2.SupportBundle, ...) (*v1beta2.SupportBundle, error)
- func (c *FakeSupportBundles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSystemBackups
- func (c *FakeSystemBackups) Create(ctx context.Context, systemBackup *v1beta2.SystemBackup, opts v1.CreateOptions) (result *v1beta2.SystemBackup, err error)
- func (c *FakeSystemBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSystemBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSystemBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.SystemBackup, err error)
- func (c *FakeSystemBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.SystemBackupList, err error)
- func (c *FakeSystemBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.SystemBackup, err error)
- func (c *FakeSystemBackups) Update(ctx context.Context, systemBackup *v1beta2.SystemBackup, opts v1.UpdateOptions) (result *v1beta2.SystemBackup, err error)
- func (c *FakeSystemBackups) UpdateStatus(ctx context.Context, systemBackup *v1beta2.SystemBackup, opts v1.UpdateOptions) (*v1beta2.SystemBackup, error)
- func (c *FakeSystemBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSystemRestores
- func (c *FakeSystemRestores) Create(ctx context.Context, systemRestore *v1beta2.SystemRestore, ...) (result *v1beta2.SystemRestore, err error)
- func (c *FakeSystemRestores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSystemRestores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSystemRestores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.SystemRestore, err error)
- func (c *FakeSystemRestores) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.SystemRestoreList, err error)
- func (c *FakeSystemRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.SystemRestore, err error)
- func (c *FakeSystemRestores) Update(ctx context.Context, systemRestore *v1beta2.SystemRestore, ...) (result *v1beta2.SystemRestore, err error)
- func (c *FakeSystemRestores) UpdateStatus(ctx context.Context, systemRestore *v1beta2.SystemRestore, ...) (*v1beta2.SystemRestore, error)
- func (c *FakeSystemRestores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumeAttachments
- func (c *FakeVolumeAttachments) Create(ctx context.Context, volumeAttachment *v1beta2.VolumeAttachment, ...) (result *v1beta2.VolumeAttachment, err error)
- func (c *FakeVolumeAttachments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVolumeAttachments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVolumeAttachments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.VolumeAttachment, err error)
- func (c *FakeVolumeAttachments) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.VolumeAttachmentList, err error)
- func (c *FakeVolumeAttachments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.VolumeAttachment, err error)
- func (c *FakeVolumeAttachments) Update(ctx context.Context, volumeAttachment *v1beta2.VolumeAttachment, ...) (result *v1beta2.VolumeAttachment, err error)
- func (c *FakeVolumeAttachments) UpdateStatus(ctx context.Context, volumeAttachment *v1beta2.VolumeAttachment, ...) (*v1beta2.VolumeAttachment, error)
- func (c *FakeVolumeAttachments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumes
- func (c *FakeVolumes) Create(ctx context.Context, volume *v1beta2.Volume, opts v1.CreateOptions) (result *v1beta2.Volume, err error)
- func (c *FakeVolumes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVolumes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVolumes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.Volume, err error)
- func (c *FakeVolumes) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.VolumeList, err error)
- func (c *FakeVolumes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta2.Volume, err error)
- func (c *FakeVolumes) Update(ctx context.Context, volume *v1beta2.Volume, opts v1.UpdateOptions) (result *v1beta2.Volume, err error)
- func (c *FakeVolumes) UpdateStatus(ctx context.Context, volume *v1beta2.Volume, opts v1.UpdateOptions) (*v1beta2.Volume, error)
- func (c *FakeVolumes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeBackingImageDataSources) Create(ctx context.Context, backingImageDataSource *v1beta2.BackingImageDataSource, opts v1.CreateOptions) (result *v1beta2.BackingImageDataSource, err error)
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 ¶
func (c *FakeBackingImageDataSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeBackingImageDataSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta2.BackingImageDataSource, err error)
Get takes name of the backingImageDataSource, and returns the corresponding backingImageDataSource object, and an error if there is any.
func (*FakeBackingImageDataSources) List ¶
func (c *FakeBackingImageDataSources) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.BackingImageDataSourceList, err error)
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 ¶
func (c *FakeBackingImageDataSources) Update(ctx context.Context, backingImageDataSource *v1beta2.BackingImageDataSource, opts v1.UpdateOptions) (result *v1beta2.BackingImageDataSource, err error)
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 ¶
func (c *FakeBackingImageDataSources) UpdateStatus(ctx context.Context, backingImageDataSource *v1beta2.BackingImageDataSource, opts v1.UpdateOptions) (*v1beta2.BackingImageDataSource, error)
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 ¶
func (c *FakeBackingImageDataSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeBackingImageManagers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
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 ¶
func (c *FakeBackingImageManagers) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.BackingImageManagerList, err error)
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 ¶
func (c *FakeBackingImageManagers) UpdateStatus(ctx context.Context, backingImageManager *v1beta2.BackingImageManager, opts v1.UpdateOptions) (*v1beta2.BackingImageManager, error)
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 ¶
func (c *FakeBackingImageManagers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeBackingImages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backingImages.
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 ¶
func (c *FakeBackupTargets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeBackupVolumes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeEngineImages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeInstanceManagers) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.InstanceManagerList, err error)
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 ¶
func (c *FakeInstanceManagers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested instanceManagers.
type FakeLonghornV1beta2 ¶
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) 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 ¶
func (c *FakeLonghornV1beta2) SupportBundles(namespace string) v1beta2.SupportBundleInterface
func (*FakeLonghornV1beta2) SystemBackups ¶
func (c *FakeLonghornV1beta2) SystemBackups(namespace string) v1beta2.SystemBackupInterface
func (*FakeLonghornV1beta2) SystemRestores ¶
func (c *FakeLonghornV1beta2) SystemRestores(namespace string) v1beta2.SystemRestoreInterface
func (*FakeLonghornV1beta2) VolumeAttachments ¶ added in v0.5.4
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 ¶
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().
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 ¶
func (c *FakeRecurringJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 { // 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 ¶
func (c *FakeShareManagers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeSnapshots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested snapshots.
type FakeSupportBundles ¶
type FakeSupportBundles struct { Fake *FakeLonghornV1beta2 // contains filtered or unexported fields }
FakeSupportBundles implements SupportBundleInterface
func (*FakeSupportBundles) Create ¶
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 ¶
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 ¶
func (c *FakeSupportBundles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSupportBundles) Get ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (c *FakeSupportBundles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested supportBundles.
type FakeSystemBackups ¶
type FakeSystemBackups struct { Fake *FakeLonghornV1beta2 // contains filtered or unexported fields }
FakeSystemBackups implements SystemBackupInterface
func (*FakeSystemBackups) Create ¶
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 ¶
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 ¶
func (c *FakeSystemBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSystemBackups) Get ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (c *FakeSystemBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested systemBackups.
type FakeSystemRestores ¶
type FakeSystemRestores struct { Fake *FakeLonghornV1beta2 // contains filtered or unexported fields }
FakeSystemRestores implements SystemRestoreInterface
func (*FakeSystemRestores) Create ¶
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 ¶
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 ¶
func (c *FakeSystemRestores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSystemRestores) Get ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (c *FakeSystemRestores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested systemRestores.
type FakeVolumeAttachments ¶ added in v0.5.4
type FakeVolumeAttachments struct { Fake *FakeLonghornV1beta2 // contains filtered or unexported fields }
FakeVolumeAttachments implements VolumeAttachmentInterface
func (*FakeVolumeAttachments) Create ¶ added in v0.5.4
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 v0.5.4
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 v0.5.4
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 v0.5.4
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 v0.5.4
func (c *FakeVolumeAttachments) List(ctx context.Context, opts v1.ListOptions) (result *v1beta2.VolumeAttachmentList, err error)
List takes label and field selectors, and returns the list of VolumeAttachments that match those selectors.
func (*FakeVolumeAttachments) Patch ¶ added in v0.5.4
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 v0.5.4
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 v0.5.4
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 v0.5.4
func (c *FakeVolumeAttachments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
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.
Source Files ¶
- doc.go
- fake_backingimage.go
- fake_backingimagedatasource.go
- fake_backingimagemanager.go
- fake_backup.go
- fake_backuptarget.go
- fake_backupvolume.go
- fake_engine.go
- fake_engineimage.go
- fake_instancemanager.go
- fake_longhorn.io_client.go
- fake_node.go
- fake_orphan.go
- fake_recurringjob.go
- fake_replica.go
- fake_setting.go
- fake_sharemanager.go
- fake_snapshot.go
- fake_supportbundle.go
- fake_systembackup.go
- fake_systemrestore.go
- fake_volume.go
- fake_volumeattachment.go