Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBlockDeviceClaims
- func (c *FakeBlockDeviceClaims) Create(ctx context.Context, blockDeviceClaim *v1alpha1.BlockDeviceClaim, ...) (result *v1alpha1.BlockDeviceClaim, err error)
- func (c *FakeBlockDeviceClaims) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBlockDeviceClaims) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBlockDeviceClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BlockDeviceClaim, err error)
- func (c *FakeBlockDeviceClaims) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BlockDeviceClaimList, err error)
- func (c *FakeBlockDeviceClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.BlockDeviceClaim, err error)
- func (c *FakeBlockDeviceClaims) Update(ctx context.Context, blockDeviceClaim *v1alpha1.BlockDeviceClaim, ...) (result *v1alpha1.BlockDeviceClaim, err error)
- func (c *FakeBlockDeviceClaims) UpdateStatus(ctx context.Context, blockDeviceClaim *v1alpha1.BlockDeviceClaim, ...) (*v1alpha1.BlockDeviceClaim, error)
- func (c *FakeBlockDeviceClaims) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBlockDevices
- func (c *FakeBlockDevices) Create(ctx context.Context, blockDevice *v1alpha1.BlockDevice, opts v1.CreateOptions) (result *v1alpha1.BlockDevice, err error)
- func (c *FakeBlockDevices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBlockDevices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBlockDevices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BlockDevice, err error)
- func (c *FakeBlockDevices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BlockDeviceList, err error)
- func (c *FakeBlockDevices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.BlockDevice, err error)
- func (c *FakeBlockDevices) Update(ctx context.Context, blockDevice *v1alpha1.BlockDevice, opts v1.UpdateOptions) (result *v1alpha1.BlockDevice, err error)
- func (c *FakeBlockDevices) UpdateStatus(ctx context.Context, blockDevice *v1alpha1.BlockDevice, opts v1.UpdateOptions) (*v1alpha1.BlockDevice, error)
- func (c *FakeBlockDevices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCStorBackups
- func (c *FakeCStorBackups) Create(ctx context.Context, cStorBackup *v1alpha1.CStorBackup, opts v1.CreateOptions) (result *v1alpha1.CStorBackup, err error)
- func (c *FakeCStorBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCStorBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCStorBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CStorBackup, err error)
- func (c *FakeCStorBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CStorBackupList, err error)
- func (c *FakeCStorBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CStorBackup, err error)
- func (c *FakeCStorBackups) Update(ctx context.Context, cStorBackup *v1alpha1.CStorBackup, opts v1.UpdateOptions) (result *v1alpha1.CStorBackup, err error)
- func (c *FakeCStorBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCStorCompletedBackups
- func (c *FakeCStorCompletedBackups) Create(ctx context.Context, cStorCompletedBackup *v1alpha1.CStorCompletedBackup, ...) (result *v1alpha1.CStorCompletedBackup, err error)
- func (c *FakeCStorCompletedBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCStorCompletedBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCStorCompletedBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CStorCompletedBackup, err error)
- func (c *FakeCStorCompletedBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CStorCompletedBackupList, err error)
- func (c *FakeCStorCompletedBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CStorCompletedBackup, err error)
- func (c *FakeCStorCompletedBackups) Update(ctx context.Context, cStorCompletedBackup *v1alpha1.CStorCompletedBackup, ...) (result *v1alpha1.CStorCompletedBackup, err error)
- func (c *FakeCStorCompletedBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCStorRestores
- func (c *FakeCStorRestores) Create(ctx context.Context, cStorRestore *v1alpha1.CStorRestore, ...) (result *v1alpha1.CStorRestore, err error)
- func (c *FakeCStorRestores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCStorRestores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCStorRestores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CStorRestore, err error)
- func (c *FakeCStorRestores) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CStorRestoreList, err error)
- func (c *FakeCStorRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CStorRestore, err error)
- func (c *FakeCStorRestores) Update(ctx context.Context, cStorRestore *v1alpha1.CStorRestore, ...) (result *v1alpha1.CStorRestore, err error)
- func (c *FakeCStorRestores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMigrationTasks
- func (c *FakeMigrationTasks) Create(ctx context.Context, migrationTask *v1alpha1.MigrationTask, ...) (result *v1alpha1.MigrationTask, err error)
- func (c *FakeMigrationTasks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMigrationTasks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMigrationTasks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MigrationTask, err error)
- func (c *FakeMigrationTasks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MigrationTaskList, err error)
- func (c *FakeMigrationTasks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MigrationTask, err error)
- func (c *FakeMigrationTasks) Update(ctx context.Context, migrationTask *v1alpha1.MigrationTask, ...) (result *v1alpha1.MigrationTask, err error)
- func (c *FakeMigrationTasks) UpdateStatus(ctx context.Context, migrationTask *v1alpha1.MigrationTask, ...) (*v1alpha1.MigrationTask, error)
- func (c *FakeMigrationTasks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOpenebsV1alpha1
- func (c *FakeOpenebsV1alpha1) BlockDeviceClaims(namespace string) v1alpha1.BlockDeviceClaimInterface
- func (c *FakeOpenebsV1alpha1) BlockDevices(namespace string) v1alpha1.BlockDeviceInterface
- func (c *FakeOpenebsV1alpha1) CStorBackups(namespace string) v1alpha1.CStorBackupInterface
- func (c *FakeOpenebsV1alpha1) CStorCompletedBackups(namespace string) v1alpha1.CStorCompletedBackupInterface
- func (c *FakeOpenebsV1alpha1) CStorRestores(namespace string) v1alpha1.CStorRestoreInterface
- func (c *FakeOpenebsV1alpha1) MigrationTasks(namespace string) v1alpha1.MigrationTaskInterface
- func (c *FakeOpenebsV1alpha1) RESTClient() rest.Interface
- func (c *FakeOpenebsV1alpha1) UpgradeTasks(namespace string) v1alpha1.UpgradeTaskInterface
- type FakeUpgradeTasks
- func (c *FakeUpgradeTasks) Create(ctx context.Context, upgradeTask *v1alpha1.UpgradeTask, opts v1.CreateOptions) (result *v1alpha1.UpgradeTask, err error)
- func (c *FakeUpgradeTasks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUpgradeTasks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUpgradeTasks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.UpgradeTask, err error)
- func (c *FakeUpgradeTasks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UpgradeTaskList, err error)
- func (c *FakeUpgradeTasks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.UpgradeTask, err error)
- func (c *FakeUpgradeTasks) Update(ctx context.Context, upgradeTask *v1alpha1.UpgradeTask, opts v1.UpdateOptions) (result *v1alpha1.UpgradeTask, err error)
- func (c *FakeUpgradeTasks) UpdateStatus(ctx context.Context, upgradeTask *v1alpha1.UpgradeTask, opts v1.UpdateOptions) (*v1alpha1.UpgradeTask, error)
- func (c *FakeUpgradeTasks) 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 FakeBlockDeviceClaims ¶
type FakeBlockDeviceClaims struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeBlockDeviceClaims implements BlockDeviceClaimInterface
func (*FakeBlockDeviceClaims) Create ¶
func (c *FakeBlockDeviceClaims) Create(ctx context.Context, blockDeviceClaim *v1alpha1.BlockDeviceClaim, opts v1.CreateOptions) (result *v1alpha1.BlockDeviceClaim, err error)
Create takes the representation of a blockDeviceClaim and creates it. Returns the server's representation of the blockDeviceClaim, and an error, if there is any.
func (*FakeBlockDeviceClaims) Delete ¶
func (c *FakeBlockDeviceClaims) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the blockDeviceClaim and deletes it. Returns an error if one occurs.
func (*FakeBlockDeviceClaims) DeleteCollection ¶
func (c *FakeBlockDeviceClaims) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBlockDeviceClaims) Get ¶
func (c *FakeBlockDeviceClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BlockDeviceClaim, err error)
Get takes name of the blockDeviceClaim, and returns the corresponding blockDeviceClaim object, and an error if there is any.
func (*FakeBlockDeviceClaims) List ¶
func (c *FakeBlockDeviceClaims) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BlockDeviceClaimList, err error)
List takes label and field selectors, and returns the list of BlockDeviceClaims that match those selectors.
func (*FakeBlockDeviceClaims) Patch ¶
func (c *FakeBlockDeviceClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BlockDeviceClaim, err error)
Patch applies the patch and returns the patched blockDeviceClaim.
func (*FakeBlockDeviceClaims) Update ¶
func (c *FakeBlockDeviceClaims) Update(ctx context.Context, blockDeviceClaim *v1alpha1.BlockDeviceClaim, opts v1.UpdateOptions) (result *v1alpha1.BlockDeviceClaim, err error)
Update takes the representation of a blockDeviceClaim and updates it. Returns the server's representation of the blockDeviceClaim, and an error, if there is any.
func (*FakeBlockDeviceClaims) UpdateStatus ¶
func (c *FakeBlockDeviceClaims) UpdateStatus(ctx context.Context, blockDeviceClaim *v1alpha1.BlockDeviceClaim, opts v1.UpdateOptions) (*v1alpha1.BlockDeviceClaim, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBlockDeviceClaims) Watch ¶
func (c *FakeBlockDeviceClaims) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested blockDeviceClaims.
type FakeBlockDevices ¶
type FakeBlockDevices struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeBlockDevices implements BlockDeviceInterface
func (*FakeBlockDevices) Create ¶
func (c *FakeBlockDevices) Create(ctx context.Context, blockDevice *v1alpha1.BlockDevice, opts v1.CreateOptions) (result *v1alpha1.BlockDevice, err error)
Create takes the representation of a blockDevice and creates it. Returns the server's representation of the blockDevice, and an error, if there is any.
func (*FakeBlockDevices) Delete ¶
func (c *FakeBlockDevices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the blockDevice and deletes it. Returns an error if one occurs.
func (*FakeBlockDevices) DeleteCollection ¶
func (c *FakeBlockDevices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBlockDevices) Get ¶
func (c *FakeBlockDevices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BlockDevice, err error)
Get takes name of the blockDevice, and returns the corresponding blockDevice object, and an error if there is any.
func (*FakeBlockDevices) List ¶
func (c *FakeBlockDevices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BlockDeviceList, err error)
List takes label and field selectors, and returns the list of BlockDevices that match those selectors.
func (*FakeBlockDevices) Patch ¶
func (c *FakeBlockDevices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BlockDevice, err error)
Patch applies the patch and returns the patched blockDevice.
func (*FakeBlockDevices) Update ¶
func (c *FakeBlockDevices) Update(ctx context.Context, blockDevice *v1alpha1.BlockDevice, opts v1.UpdateOptions) (result *v1alpha1.BlockDevice, err error)
Update takes the representation of a blockDevice and updates it. Returns the server's representation of the blockDevice, and an error, if there is any.
func (*FakeBlockDevices) UpdateStatus ¶
func (c *FakeBlockDevices) UpdateStatus(ctx context.Context, blockDevice *v1alpha1.BlockDevice, opts v1.UpdateOptions) (*v1alpha1.BlockDevice, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBlockDevices) Watch ¶
func (c *FakeBlockDevices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested blockDevices.
type FakeCStorBackups ¶
type FakeCStorBackups struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeCStorBackups implements CStorBackupInterface
func (*FakeCStorBackups) Create ¶
func (c *FakeCStorBackups) Create(ctx context.Context, cStorBackup *v1alpha1.CStorBackup, opts v1.CreateOptions) (result *v1alpha1.CStorBackup, err error)
Create takes the representation of a cStorBackup and creates it. Returns the server's representation of the cStorBackup, and an error, if there is any.
func (*FakeCStorBackups) Delete ¶
func (c *FakeCStorBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cStorBackup and deletes it. Returns an error if one occurs.
func (*FakeCStorBackups) DeleteCollection ¶
func (c *FakeCStorBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorBackups) Get ¶
func (c *FakeCStorBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CStorBackup, err error)
Get takes name of the cStorBackup, and returns the corresponding cStorBackup object, and an error if there is any.
func (*FakeCStorBackups) List ¶
func (c *FakeCStorBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CStorBackupList, err error)
List takes label and field selectors, and returns the list of CStorBackups that match those selectors.
func (*FakeCStorBackups) Patch ¶
func (c *FakeCStorBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CStorBackup, err error)
Patch applies the patch and returns the patched cStorBackup.
func (*FakeCStorBackups) Update ¶
func (c *FakeCStorBackups) Update(ctx context.Context, cStorBackup *v1alpha1.CStorBackup, opts v1.UpdateOptions) (result *v1alpha1.CStorBackup, err error)
Update takes the representation of a cStorBackup and updates it. Returns the server's representation of the cStorBackup, and an error, if there is any.
func (*FakeCStorBackups) Watch ¶
func (c *FakeCStorBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorBackups.
type FakeCStorCompletedBackups ¶
type FakeCStorCompletedBackups struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeCStorCompletedBackups implements CStorCompletedBackupInterface
func (*FakeCStorCompletedBackups) Create ¶
func (c *FakeCStorCompletedBackups) Create(ctx context.Context, cStorCompletedBackup *v1alpha1.CStorCompletedBackup, opts v1.CreateOptions) (result *v1alpha1.CStorCompletedBackup, err error)
Create takes the representation of a cStorCompletedBackup and creates it. Returns the server's representation of the cStorCompletedBackup, and an error, if there is any.
func (*FakeCStorCompletedBackups) Delete ¶
func (c *FakeCStorCompletedBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cStorCompletedBackup and deletes it. Returns an error if one occurs.
func (*FakeCStorCompletedBackups) DeleteCollection ¶
func (c *FakeCStorCompletedBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorCompletedBackups) Get ¶
func (c *FakeCStorCompletedBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CStorCompletedBackup, err error)
Get takes name of the cStorCompletedBackup, and returns the corresponding cStorCompletedBackup object, and an error if there is any.
func (*FakeCStorCompletedBackups) List ¶
func (c *FakeCStorCompletedBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CStorCompletedBackupList, err error)
List takes label and field selectors, and returns the list of CStorCompletedBackups that match those selectors.
func (*FakeCStorCompletedBackups) Patch ¶
func (c *FakeCStorCompletedBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CStorCompletedBackup, err error)
Patch applies the patch and returns the patched cStorCompletedBackup.
func (*FakeCStorCompletedBackups) Update ¶
func (c *FakeCStorCompletedBackups) Update(ctx context.Context, cStorCompletedBackup *v1alpha1.CStorCompletedBackup, opts v1.UpdateOptions) (result *v1alpha1.CStorCompletedBackup, err error)
Update takes the representation of a cStorCompletedBackup and updates it. Returns the server's representation of the cStorCompletedBackup, and an error, if there is any.
func (*FakeCStorCompletedBackups) Watch ¶
func (c *FakeCStorCompletedBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorCompletedBackups.
type FakeCStorRestores ¶
type FakeCStorRestores struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeCStorRestores implements CStorRestoreInterface
func (*FakeCStorRestores) Create ¶
func (c *FakeCStorRestores) Create(ctx context.Context, cStorRestore *v1alpha1.CStorRestore, opts v1.CreateOptions) (result *v1alpha1.CStorRestore, err error)
Create takes the representation of a cStorRestore and creates it. Returns the server's representation of the cStorRestore, and an error, if there is any.
func (*FakeCStorRestores) Delete ¶
func (c *FakeCStorRestores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cStorRestore and deletes it. Returns an error if one occurs.
func (*FakeCStorRestores) DeleteCollection ¶
func (c *FakeCStorRestores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCStorRestores) Get ¶
func (c *FakeCStorRestores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CStorRestore, err error)
Get takes name of the cStorRestore, and returns the corresponding cStorRestore object, and an error if there is any.
func (*FakeCStorRestores) List ¶
func (c *FakeCStorRestores) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CStorRestoreList, err error)
List takes label and field selectors, and returns the list of CStorRestores that match those selectors.
func (*FakeCStorRestores) Patch ¶
func (c *FakeCStorRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CStorRestore, err error)
Patch applies the patch and returns the patched cStorRestore.
func (*FakeCStorRestores) Update ¶
func (c *FakeCStorRestores) Update(ctx context.Context, cStorRestore *v1alpha1.CStorRestore, opts v1.UpdateOptions) (result *v1alpha1.CStorRestore, err error)
Update takes the representation of a cStorRestore and updates it. Returns the server's representation of the cStorRestore, and an error, if there is any.
func (*FakeCStorRestores) Watch ¶
func (c *FakeCStorRestores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cStorRestores.
type FakeMigrationTasks ¶
type FakeMigrationTasks struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeMigrationTasks implements MigrationTaskInterface
func (*FakeMigrationTasks) Create ¶
func (c *FakeMigrationTasks) Create(ctx context.Context, migrationTask *v1alpha1.MigrationTask, opts v1.CreateOptions) (result *v1alpha1.MigrationTask, err error)
Create takes the representation of a migrationTask and creates it. Returns the server's representation of the migrationTask, and an error, if there is any.
func (*FakeMigrationTasks) Delete ¶
func (c *FakeMigrationTasks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the migrationTask and deletes it. Returns an error if one occurs.
func (*FakeMigrationTasks) DeleteCollection ¶
func (c *FakeMigrationTasks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMigrationTasks) Get ¶
func (c *FakeMigrationTasks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MigrationTask, err error)
Get takes name of the migrationTask, and returns the corresponding migrationTask object, and an error if there is any.
func (*FakeMigrationTasks) List ¶
func (c *FakeMigrationTasks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MigrationTaskList, err error)
List takes label and field selectors, and returns the list of MigrationTasks that match those selectors.
func (*FakeMigrationTasks) Patch ¶
func (c *FakeMigrationTasks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MigrationTask, err error)
Patch applies the patch and returns the patched migrationTask.
func (*FakeMigrationTasks) Update ¶
func (c *FakeMigrationTasks) Update(ctx context.Context, migrationTask *v1alpha1.MigrationTask, opts v1.UpdateOptions) (result *v1alpha1.MigrationTask, err error)
Update takes the representation of a migrationTask and updates it. Returns the server's representation of the migrationTask, and an error, if there is any.
func (*FakeMigrationTasks) UpdateStatus ¶
func (c *FakeMigrationTasks) UpdateStatus(ctx context.Context, migrationTask *v1alpha1.MigrationTask, opts v1.UpdateOptions) (*v1alpha1.MigrationTask, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMigrationTasks) Watch ¶
func (c *FakeMigrationTasks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested migrationTasks.
type FakeOpenebsV1alpha1 ¶
func (*FakeOpenebsV1alpha1) BlockDeviceClaims ¶
func (c *FakeOpenebsV1alpha1) BlockDeviceClaims(namespace string) v1alpha1.BlockDeviceClaimInterface
func (*FakeOpenebsV1alpha1) BlockDevices ¶
func (c *FakeOpenebsV1alpha1) BlockDevices(namespace string) v1alpha1.BlockDeviceInterface
func (*FakeOpenebsV1alpha1) CStorBackups ¶
func (c *FakeOpenebsV1alpha1) CStorBackups(namespace string) v1alpha1.CStorBackupInterface
func (*FakeOpenebsV1alpha1) CStorCompletedBackups ¶
func (c *FakeOpenebsV1alpha1) CStorCompletedBackups(namespace string) v1alpha1.CStorCompletedBackupInterface
func (*FakeOpenebsV1alpha1) CStorRestores ¶
func (c *FakeOpenebsV1alpha1) CStorRestores(namespace string) v1alpha1.CStorRestoreInterface
func (*FakeOpenebsV1alpha1) MigrationTasks ¶
func (c *FakeOpenebsV1alpha1) MigrationTasks(namespace string) v1alpha1.MigrationTaskInterface
func (*FakeOpenebsV1alpha1) RESTClient ¶
func (c *FakeOpenebsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeOpenebsV1alpha1) UpgradeTasks ¶
func (c *FakeOpenebsV1alpha1) UpgradeTasks(namespace string) v1alpha1.UpgradeTaskInterface
type FakeUpgradeTasks ¶
type FakeUpgradeTasks struct { Fake *FakeOpenebsV1alpha1 // contains filtered or unexported fields }
FakeUpgradeTasks implements UpgradeTaskInterface
func (*FakeUpgradeTasks) Create ¶
func (c *FakeUpgradeTasks) Create(ctx context.Context, upgradeTask *v1alpha1.UpgradeTask, opts v1.CreateOptions) (result *v1alpha1.UpgradeTask, err error)
Create takes the representation of a upgradeTask and creates it. Returns the server's representation of the upgradeTask, and an error, if there is any.
func (*FakeUpgradeTasks) Delete ¶
func (c *FakeUpgradeTasks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the upgradeTask and deletes it. Returns an error if one occurs.
func (*FakeUpgradeTasks) DeleteCollection ¶
func (c *FakeUpgradeTasks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUpgradeTasks) Get ¶
func (c *FakeUpgradeTasks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.UpgradeTask, err error)
Get takes name of the upgradeTask, and returns the corresponding upgradeTask object, and an error if there is any.
func (*FakeUpgradeTasks) List ¶
func (c *FakeUpgradeTasks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UpgradeTaskList, err error)
List takes label and field selectors, and returns the list of UpgradeTasks that match those selectors.
func (*FakeUpgradeTasks) Patch ¶
func (c *FakeUpgradeTasks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.UpgradeTask, err error)
Patch applies the patch and returns the patched upgradeTask.
func (*FakeUpgradeTasks) Update ¶
func (c *FakeUpgradeTasks) Update(ctx context.Context, upgradeTask *v1alpha1.UpgradeTask, opts v1.UpdateOptions) (result *v1alpha1.UpgradeTask, err error)
Update takes the representation of a upgradeTask and updates it. Returns the server's representation of the upgradeTask, and an error, if there is any.
func (*FakeUpgradeTasks) UpdateStatus ¶
func (c *FakeUpgradeTasks) UpdateStatus(ctx context.Context, upgradeTask *v1alpha1.UpgradeTask, opts v1.UpdateOptions) (*v1alpha1.UpgradeTask, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeUpgradeTasks) Watch ¶
func (c *FakeUpgradeTasks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested upgradeTasks.