Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBackupLocations
- func (c *FakeBackupLocations) Create(ctx context.Context, backupLocation *v1beta1.BackupLocation, ...) (result *v1beta1.BackupLocation, err error)
- func (c *FakeBackupLocations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackupLocations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackupLocations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.BackupLocation, err error)
- func (c *FakeBackupLocations) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.BackupLocationList, err error)
- func (c *FakeBackupLocations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBackups
- func (c *FakeBackups) Create(ctx context.Context, backup *v1beta1.Backup, opts v1.CreateOptions) (result *v1beta1.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 *v1beta1.Backup, err error)
- func (c *FakeBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.BackupList, err error)
- func (c *FakeBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Backup, err error)
- func (c *FakeBackups) Update(ctx context.Context, backup *v1beta1.Backup, opts v1.UpdateOptions) (result *v1beta1.Backup, err error)
- func (c *FakeBackups) UpdateStatus(ctx context.Context, backup *v1beta1.Backup, opts v1.UpdateOptions) (*v1beta1.Backup, error)
- func (c *FakeBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKahuV1beta1
- func (c *FakeKahuV1beta1) BackupLocations() v1beta1.BackupLocationInterface
- func (c *FakeKahuV1beta1) Backups() v1beta1.BackupInterface
- func (c *FakeKahuV1beta1) Providers() v1beta1.ProviderInterface
- func (c *FakeKahuV1beta1) RESTClient() rest.Interface
- func (c *FakeKahuV1beta1) Restores() v1beta1.RestoreInterface
- func (c *FakeKahuV1beta1) VolumeBackupContents() v1beta1.VolumeBackupContentInterface
- func (c *FakeKahuV1beta1) VolumeGroups() v1beta1.VolumeGroupInterface
- func (c *FakeKahuV1beta1) VolumeRestoreContents() v1beta1.VolumeRestoreContentInterface
- func (c *FakeKahuV1beta1) VolumeSnapshots() v1beta1.VolumeSnapshotInterface
- type FakeProviders
- func (c *FakeProviders) Create(ctx context.Context, provider *v1beta1.Provider, opts v1.CreateOptions) (result *v1beta1.Provider, err error)
- func (c *FakeProviders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProviders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProviders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Provider, err error)
- func (c *FakeProviders) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ProviderList, err error)
- func (c *FakeProviders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Provider, err error)
- func (c *FakeProviders) UpdateStatus(ctx context.Context, provider *v1beta1.Provider, opts v1.UpdateOptions) (*v1beta1.Provider, error)
- func (c *FakeProviders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRestores
- func (c *FakeRestores) Create(ctx context.Context, restore *v1beta1.Restore, opts v1.CreateOptions) (result *v1beta1.Restore, err error)
- func (c *FakeRestores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRestores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRestores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Restore, err error)
- func (c *FakeRestores) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.RestoreList, err error)
- func (c *FakeRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Restore, err error)
- func (c *FakeRestores) Update(ctx context.Context, restore *v1beta1.Restore, opts v1.UpdateOptions) (result *v1beta1.Restore, err error)
- func (c *FakeRestores) UpdateStatus(ctx context.Context, restore *v1beta1.Restore, opts v1.UpdateOptions) (*v1beta1.Restore, error)
- func (c *FakeRestores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumeBackupContents
- func (c *FakeVolumeBackupContents) Create(ctx context.Context, volumeBackupContent *v1beta1.VolumeBackupContent, ...) (result *v1beta1.VolumeBackupContent, err error)
- func (c *FakeVolumeBackupContents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVolumeBackupContents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVolumeBackupContents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VolumeBackupContent, err error)
- func (c *FakeVolumeBackupContents) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VolumeBackupContentList, err error)
- func (c *FakeVolumeBackupContents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.VolumeBackupContent, err error)
- func (c *FakeVolumeBackupContents) UpdateStatus(ctx context.Context, volumeBackupContent *v1beta1.VolumeBackupContent, ...) (*v1beta1.VolumeBackupContent, error)
- func (c *FakeVolumeBackupContents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumeGroups
- func (c *FakeVolumeGroups) Create(ctx context.Context, volumeGroup *v1beta1.VolumeGroup, opts v1.CreateOptions) (result *v1beta1.VolumeGroup, err error)
- func (c *FakeVolumeGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVolumeGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVolumeGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VolumeGroup, err error)
- func (c *FakeVolumeGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VolumeGroupList, err error)
- func (c *FakeVolumeGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.VolumeGroup, err error)
- func (c *FakeVolumeGroups) Update(ctx context.Context, volumeGroup *v1beta1.VolumeGroup, opts v1.UpdateOptions) (result *v1beta1.VolumeGroup, err error)
- func (c *FakeVolumeGroups) UpdateStatus(ctx context.Context, volumeGroup *v1beta1.VolumeGroup, opts v1.UpdateOptions) (*v1beta1.VolumeGroup, error)
- func (c *FakeVolumeGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumeRestoreContents
- func (c *FakeVolumeRestoreContents) Create(ctx context.Context, volumeRestoreContent *v1beta1.VolumeRestoreContent, ...) (result *v1beta1.VolumeRestoreContent, err error)
- func (c *FakeVolumeRestoreContents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVolumeRestoreContents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVolumeRestoreContents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VolumeRestoreContent, err error)
- func (c *FakeVolumeRestoreContents) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VolumeRestoreContentList, err error)
- func (c *FakeVolumeRestoreContents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.VolumeRestoreContent, err error)
- func (c *FakeVolumeRestoreContents) UpdateStatus(ctx context.Context, volumeRestoreContent *v1beta1.VolumeRestoreContent, ...) (*v1beta1.VolumeRestoreContent, error)
- func (c *FakeVolumeRestoreContents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVolumeSnapshots
- func (c *FakeVolumeSnapshots) Create(ctx context.Context, volumeSnapshot *v1beta1.VolumeSnapshot, ...) (result *v1beta1.VolumeSnapshot, err error)
- func (c *FakeVolumeSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVolumeSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVolumeSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VolumeSnapshot, err error)
- func (c *FakeVolumeSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VolumeSnapshotList, err error)
- func (c *FakeVolumeSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.VolumeSnapshot, err error)
- func (c *FakeVolumeSnapshots) Update(ctx context.Context, volumeSnapshot *v1beta1.VolumeSnapshot, ...) (result *v1beta1.VolumeSnapshot, err error)
- func (c *FakeVolumeSnapshots) UpdateStatus(ctx context.Context, volumeSnapshot *v1beta1.VolumeSnapshot, ...) (*v1beta1.VolumeSnapshot, error)
- func (c *FakeVolumeSnapshots) 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 FakeBackupLocations ¶
type FakeBackupLocations struct {
Fake *FakeKahuV1beta1
}
FakeBackupLocations implements BackupLocationInterface
func (*FakeBackupLocations) Create ¶
func (c *FakeBackupLocations) Create(ctx context.Context, backupLocation *v1beta1.BackupLocation, opts v1.CreateOptions) (result *v1beta1.BackupLocation, err error)
Create takes the representation of a backupLocation and creates it. Returns the server's representation of the backupLocation, and an error, if there is any.
func (*FakeBackupLocations) Delete ¶
func (c *FakeBackupLocations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the backupLocation and deletes it. Returns an error if one occurs.
func (*FakeBackupLocations) DeleteCollection ¶
func (c *FakeBackupLocations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackupLocations) Get ¶
func (c *FakeBackupLocations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.BackupLocation, err error)
Get takes name of the backupLocation, and returns the corresponding backupLocation object, and an error if there is any.
func (*FakeBackupLocations) List ¶
func (c *FakeBackupLocations) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.BackupLocationList, err error)
List takes label and field selectors, and returns the list of BackupLocations that match those selectors.
func (*FakeBackupLocations) Watch ¶
func (c *FakeBackupLocations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backupLocations.
type FakeBackups ¶
type FakeBackups struct {
Fake *FakeKahuV1beta1
}
FakeBackups implements BackupInterface
func (*FakeBackups) Create ¶
func (c *FakeBackups) Create(ctx context.Context, backup *v1beta1.Backup, opts v1.CreateOptions) (result *v1beta1.Backup, err error)
Create takes the representation of a backup and creates it. Returns the server's representation of the backup, and an error, if there is any.
func (*FakeBackups) Delete ¶
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 *v1beta1.Backup, err error)
Get takes name of the backup, and returns the corresponding backup object, and an error if there is any.
func (*FakeBackups) List ¶
func (c *FakeBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.BackupList, err error)
List takes label and field selectors, and returns the list of Backups that match those selectors.
func (*FakeBackups) Patch ¶
func (c *FakeBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Backup, err error)
Patch applies the patch and returns the patched backup.
func (*FakeBackups) Update ¶
func (c *FakeBackups) Update(ctx context.Context, backup *v1beta1.Backup, opts v1.UpdateOptions) (result *v1beta1.Backup, err error)
Update takes the representation of a backup and updates it. Returns the server's representation of the backup, and an error, if there is any.
func (*FakeBackups) UpdateStatus ¶
func (c *FakeBackups) UpdateStatus(ctx context.Context, backup *v1beta1.Backup, opts v1.UpdateOptions) (*v1beta1.Backup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBackups) Watch ¶
func (c *FakeBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backups.
type FakeKahuV1beta1 ¶
func (*FakeKahuV1beta1) BackupLocations ¶
func (c *FakeKahuV1beta1) BackupLocations() v1beta1.BackupLocationInterface
func (*FakeKahuV1beta1) Backups ¶
func (c *FakeKahuV1beta1) Backups() v1beta1.BackupInterface
func (*FakeKahuV1beta1) Providers ¶
func (c *FakeKahuV1beta1) Providers() v1beta1.ProviderInterface
func (*FakeKahuV1beta1) RESTClient ¶
func (c *FakeKahuV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeKahuV1beta1) Restores ¶
func (c *FakeKahuV1beta1) Restores() v1beta1.RestoreInterface
func (*FakeKahuV1beta1) VolumeBackupContents ¶
func (c *FakeKahuV1beta1) VolumeBackupContents() v1beta1.VolumeBackupContentInterface
func (*FakeKahuV1beta1) VolumeGroups ¶ added in v1.0.0
func (c *FakeKahuV1beta1) VolumeGroups() v1beta1.VolumeGroupInterface
func (*FakeKahuV1beta1) VolumeRestoreContents ¶
func (c *FakeKahuV1beta1) VolumeRestoreContents() v1beta1.VolumeRestoreContentInterface
func (*FakeKahuV1beta1) VolumeSnapshots ¶ added in v1.0.0
func (c *FakeKahuV1beta1) VolumeSnapshots() v1beta1.VolumeSnapshotInterface
type FakeProviders ¶
type FakeProviders struct {
Fake *FakeKahuV1beta1
}
FakeProviders implements ProviderInterface
func (*FakeProviders) Create ¶
func (c *FakeProviders) Create(ctx context.Context, provider *v1beta1.Provider, opts v1.CreateOptions) (result *v1beta1.Provider, err error)
Create takes the representation of a provider and creates it. Returns the server's representation of the provider, and an error, if there is any.
func (*FakeProviders) Delete ¶
func (c *FakeProviders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the provider and deletes it. Returns an error if one occurs.
func (*FakeProviders) DeleteCollection ¶
func (c *FakeProviders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProviders) Get ¶
func (c *FakeProviders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Provider, err error)
Get takes name of the provider, and returns the corresponding provider object, and an error if there is any.
func (*FakeProviders) List ¶
func (c *FakeProviders) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ProviderList, err error)
List takes label and field selectors, and returns the list of Providers that match those selectors.
func (*FakeProviders) Patch ¶
func (c *FakeProviders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Provider, err error)
Patch applies the patch and returns the patched provider.
func (*FakeProviders) UpdateStatus ¶
func (c *FakeProviders) UpdateStatus(ctx context.Context, provider *v1beta1.Provider, opts v1.UpdateOptions) (*v1beta1.Provider, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProviders) Watch ¶
func (c *FakeProviders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested providers.
type FakeRestores ¶
type FakeRestores struct {
Fake *FakeKahuV1beta1
}
FakeRestores implements RestoreInterface
func (*FakeRestores) Create ¶
func (c *FakeRestores) Create(ctx context.Context, restore *v1beta1.Restore, opts v1.CreateOptions) (result *v1beta1.Restore, err error)
Create takes the representation of a restore and creates it. Returns the server's representation of the restore, and an error, if there is any.
func (*FakeRestores) Delete ¶
func (c *FakeRestores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the restore and deletes it. Returns an error if one occurs.
func (*FakeRestores) DeleteCollection ¶
func (c *FakeRestores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRestores) Get ¶
func (c *FakeRestores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Restore, err error)
Get takes name of the restore, and returns the corresponding restore object, and an error if there is any.
func (*FakeRestores) List ¶
func (c *FakeRestores) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.RestoreList, err error)
List takes label and field selectors, and returns the list of Restores that match those selectors.
func (*FakeRestores) Patch ¶
func (c *FakeRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Restore, err error)
Patch applies the patch and returns the patched restore.
func (*FakeRestores) Update ¶
func (c *FakeRestores) Update(ctx context.Context, restore *v1beta1.Restore, opts v1.UpdateOptions) (result *v1beta1.Restore, err error)
Update takes the representation of a restore and updates it. Returns the server's representation of the restore, and an error, if there is any.
func (*FakeRestores) UpdateStatus ¶
func (c *FakeRestores) UpdateStatus(ctx context.Context, restore *v1beta1.Restore, opts v1.UpdateOptions) (*v1beta1.Restore, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRestores) Watch ¶
func (c *FakeRestores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested restores.
type FakeVolumeBackupContents ¶
type FakeVolumeBackupContents struct {
Fake *FakeKahuV1beta1
}
FakeVolumeBackupContents implements VolumeBackupContentInterface
func (*FakeVolumeBackupContents) Create ¶
func (c *FakeVolumeBackupContents) Create(ctx context.Context, volumeBackupContent *v1beta1.VolumeBackupContent, opts v1.CreateOptions) (result *v1beta1.VolumeBackupContent, err error)
Create takes the representation of a volumeBackupContent and creates it. Returns the server's representation of the volumeBackupContent, and an error, if there is any.
func (*FakeVolumeBackupContents) Delete ¶
func (c *FakeVolumeBackupContents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the volumeBackupContent and deletes it. Returns an error if one occurs.
func (*FakeVolumeBackupContents) DeleteCollection ¶
func (c *FakeVolumeBackupContents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVolumeBackupContents) Get ¶
func (c *FakeVolumeBackupContents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VolumeBackupContent, err error)
Get takes name of the volumeBackupContent, and returns the corresponding volumeBackupContent object, and an error if there is any.
func (*FakeVolumeBackupContents) List ¶
func (c *FakeVolumeBackupContents) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VolumeBackupContentList, err error)
List takes label and field selectors, and returns the list of VolumeBackupContents that match those selectors.
func (*FakeVolumeBackupContents) Patch ¶
func (c *FakeVolumeBackupContents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VolumeBackupContent, err error)
Patch applies the patch and returns the patched volumeBackupContent.
func (*FakeVolumeBackupContents) UpdateStatus ¶
func (c *FakeVolumeBackupContents) UpdateStatus(ctx context.Context, volumeBackupContent *v1beta1.VolumeBackupContent, opts v1.UpdateOptions) (*v1beta1.VolumeBackupContent, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVolumeBackupContents) Watch ¶
func (c *FakeVolumeBackupContents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumeBackupContents.
type FakeVolumeGroups ¶ added in v1.0.0
type FakeVolumeGroups struct {
Fake *FakeKahuV1beta1
}
FakeVolumeGroups implements VolumeGroupInterface
func (*FakeVolumeGroups) Create ¶ added in v1.0.0
func (c *FakeVolumeGroups) Create(ctx context.Context, volumeGroup *v1beta1.VolumeGroup, opts v1.CreateOptions) (result *v1beta1.VolumeGroup, err error)
Create takes the representation of a volumeGroup and creates it. Returns the server's representation of the volumeGroup, and an error, if there is any.
func (*FakeVolumeGroups) Delete ¶ added in v1.0.0
func (c *FakeVolumeGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the volumeGroup and deletes it. Returns an error if one occurs.
func (*FakeVolumeGroups) DeleteCollection ¶ added in v1.0.0
func (c *FakeVolumeGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVolumeGroups) Get ¶ added in v1.0.0
func (c *FakeVolumeGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VolumeGroup, err error)
Get takes name of the volumeGroup, and returns the corresponding volumeGroup object, and an error if there is any.
func (*FakeVolumeGroups) List ¶ added in v1.0.0
func (c *FakeVolumeGroups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VolumeGroupList, err error)
List takes label and field selectors, and returns the list of VolumeGroups that match those selectors.
func (*FakeVolumeGroups) Patch ¶ added in v1.0.0
func (c *FakeVolumeGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VolumeGroup, err error)
Patch applies the patch and returns the patched volumeGroup.
func (*FakeVolumeGroups) Update ¶ added in v1.0.0
func (c *FakeVolumeGroups) Update(ctx context.Context, volumeGroup *v1beta1.VolumeGroup, opts v1.UpdateOptions) (result *v1beta1.VolumeGroup, err error)
Update takes the representation of a volumeGroup and updates it. Returns the server's representation of the volumeGroup, and an error, if there is any.
func (*FakeVolumeGroups) UpdateStatus ¶ added in v1.0.0
func (c *FakeVolumeGroups) UpdateStatus(ctx context.Context, volumeGroup *v1beta1.VolumeGroup, opts v1.UpdateOptions) (*v1beta1.VolumeGroup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVolumeGroups) Watch ¶ added in v1.0.0
func (c *FakeVolumeGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumeGroups.
type FakeVolumeRestoreContents ¶
type FakeVolumeRestoreContents struct {
Fake *FakeKahuV1beta1
}
FakeVolumeRestoreContents implements VolumeRestoreContentInterface
func (*FakeVolumeRestoreContents) Create ¶
func (c *FakeVolumeRestoreContents) Create(ctx context.Context, volumeRestoreContent *v1beta1.VolumeRestoreContent, opts v1.CreateOptions) (result *v1beta1.VolumeRestoreContent, err error)
Create takes the representation of a volumeRestoreContent and creates it. Returns the server's representation of the volumeRestoreContent, and an error, if there is any.
func (*FakeVolumeRestoreContents) Delete ¶
func (c *FakeVolumeRestoreContents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the volumeRestoreContent and deletes it. Returns an error if one occurs.
func (*FakeVolumeRestoreContents) DeleteCollection ¶
func (c *FakeVolumeRestoreContents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVolumeRestoreContents) Get ¶
func (c *FakeVolumeRestoreContents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VolumeRestoreContent, err error)
Get takes name of the volumeRestoreContent, and returns the corresponding volumeRestoreContent object, and an error if there is any.
func (*FakeVolumeRestoreContents) List ¶
func (c *FakeVolumeRestoreContents) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VolumeRestoreContentList, err error)
List takes label and field selectors, and returns the list of VolumeRestoreContents that match those selectors.
func (*FakeVolumeRestoreContents) Patch ¶
func (c *FakeVolumeRestoreContents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VolumeRestoreContent, err error)
Patch applies the patch and returns the patched volumeRestoreContent.
func (*FakeVolumeRestoreContents) UpdateStatus ¶
func (c *FakeVolumeRestoreContents) UpdateStatus(ctx context.Context, volumeRestoreContent *v1beta1.VolumeRestoreContent, opts v1.UpdateOptions) (*v1beta1.VolumeRestoreContent, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVolumeRestoreContents) Watch ¶
func (c *FakeVolumeRestoreContents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumeRestoreContents.
type FakeVolumeSnapshots ¶ added in v1.0.0
type FakeVolumeSnapshots struct {
Fake *FakeKahuV1beta1
}
FakeVolumeSnapshots implements VolumeSnapshotInterface
func (*FakeVolumeSnapshots) Create ¶ added in v1.0.0
func (c *FakeVolumeSnapshots) Create(ctx context.Context, volumeSnapshot *v1beta1.VolumeSnapshot, opts v1.CreateOptions) (result *v1beta1.VolumeSnapshot, err error)
Create takes the representation of a volumeSnapshot and creates it. Returns the server's representation of the volumeSnapshot, and an error, if there is any.
func (*FakeVolumeSnapshots) Delete ¶ added in v1.0.0
func (c *FakeVolumeSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the volumeSnapshot and deletes it. Returns an error if one occurs.
func (*FakeVolumeSnapshots) DeleteCollection ¶ added in v1.0.0
func (c *FakeVolumeSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVolumeSnapshots) Get ¶ added in v1.0.0
func (c *FakeVolumeSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VolumeSnapshot, err error)
Get takes name of the volumeSnapshot, and returns the corresponding volumeSnapshot object, and an error if there is any.
func (*FakeVolumeSnapshots) List ¶ added in v1.0.0
func (c *FakeVolumeSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VolumeSnapshotList, err error)
List takes label and field selectors, and returns the list of VolumeSnapshots that match those selectors.
func (*FakeVolumeSnapshots) Patch ¶ added in v1.0.0
func (c *FakeVolumeSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VolumeSnapshot, err error)
Patch applies the patch and returns the patched volumeSnapshot.
func (*FakeVolumeSnapshots) Update ¶ added in v1.0.0
func (c *FakeVolumeSnapshots) Update(ctx context.Context, volumeSnapshot *v1beta1.VolumeSnapshot, opts v1.UpdateOptions) (result *v1beta1.VolumeSnapshot, err error)
Update takes the representation of a volumeSnapshot and updates it. Returns the server's representation of the volumeSnapshot, and an error, if there is any.
func (*FakeVolumeSnapshots) UpdateStatus ¶ added in v1.0.0
func (c *FakeVolumeSnapshots) UpdateStatus(ctx context.Context, volumeSnapshot *v1beta1.VolumeSnapshot, opts v1.UpdateOptions) (*v1beta1.VolumeSnapshot, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVolumeSnapshots) Watch ¶ added in v1.0.0
func (c *FakeVolumeSnapshots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumeSnapshots.