fake

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeArkV1

type FakeArkV1 struct {
	*testing.Fake
}

func (*FakeArkV1) BackupStorageLocations added in v0.10.0

func (c *FakeArkV1) BackupStorageLocations(namespace string) v1.BackupStorageLocationInterface

func (*FakeArkV1) Backups

func (c *FakeArkV1) Backups(namespace string) v1.BackupInterface

func (*FakeArkV1) DeleteBackupRequests added in v0.8.0

func (c *FakeArkV1) DeleteBackupRequests(namespace string) v1.DeleteBackupRequestInterface

func (*FakeArkV1) DownloadRequests

func (c *FakeArkV1) DownloadRequests(namespace string) v1.DownloadRequestInterface

func (*FakeArkV1) PodVolumeBackups added in v0.9.0

func (c *FakeArkV1) PodVolumeBackups(namespace string) v1.PodVolumeBackupInterface

func (*FakeArkV1) PodVolumeRestores added in v0.9.0

func (c *FakeArkV1) PodVolumeRestores(namespace string) v1.PodVolumeRestoreInterface

func (*FakeArkV1) RESTClient

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

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

func (*FakeArkV1) ResticRepositories added in v0.9.0

func (c *FakeArkV1) ResticRepositories(namespace string) v1.ResticRepositoryInterface

func (*FakeArkV1) Restores

func (c *FakeArkV1) Restores(namespace string) v1.RestoreInterface

func (*FakeArkV1) Schedules

func (c *FakeArkV1) Schedules(namespace string) v1.ScheduleInterface

func (*FakeArkV1) VolumeSnapshotLocations added in v0.10.0

func (c *FakeArkV1) VolumeSnapshotLocations(namespace string) v1.VolumeSnapshotLocationInterface

type FakeBackupStorageLocations added in v0.10.0

type FakeBackupStorageLocations struct {
	Fake *FakeArkV1
	// contains filtered or unexported fields
}

FakeBackupStorageLocations implements BackupStorageLocationInterface

func (*FakeBackupStorageLocations) Create added in v0.10.0

func (c *FakeBackupStorageLocations) Create(backupStorageLocation *ark_v1.BackupStorageLocation) (result *ark_v1.BackupStorageLocation, err error)

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

func (*FakeBackupStorageLocations) Delete added in v0.10.0

func (c *FakeBackupStorageLocations) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeBackupStorageLocations) DeleteCollection added in v0.10.0

func (c *FakeBackupStorageLocations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBackupStorageLocations) Get added in v0.10.0

func (c *FakeBackupStorageLocations) Get(name string, options v1.GetOptions) (result *ark_v1.BackupStorageLocation, err error)

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

func (*FakeBackupStorageLocations) List added in v0.10.0

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

func (*FakeBackupStorageLocations) Patch added in v0.10.0

func (c *FakeBackupStorageLocations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ark_v1.BackupStorageLocation, err error)

Patch applies the patch and returns the patched backupStorageLocation.

func (*FakeBackupStorageLocations) Update added in v0.10.0

func (c *FakeBackupStorageLocations) Update(backupStorageLocation *ark_v1.BackupStorageLocation) (result *ark_v1.BackupStorageLocation, err error)

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

func (*FakeBackupStorageLocations) UpdateStatus added in v0.10.0

func (c *FakeBackupStorageLocations) UpdateStatus(backupStorageLocation *ark_v1.BackupStorageLocation) (*ark_v1.BackupStorageLocation, error)

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

func (*FakeBackupStorageLocations) Watch added in v0.10.0

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

type FakeBackups

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

FakeBackups implements BackupInterface

func (*FakeBackups) Create

func (c *FakeBackups) Create(backup *ark_v1.Backup) (result *ark_v1.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBackups) Get

func (c *FakeBackups) Get(name string, options v1.GetOptions) (result *ark_v1.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(opts v1.ListOptions) (result *ark_v1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *ark_v1.Backup, err error)

Patch applies the patch and returns the patched backup.

func (*FakeBackups) Update

func (c *FakeBackups) Update(backup *ark_v1.Backup) (result *ark_v1.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(backup *ark_v1.Backup) (*ark_v1.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(opts v1.ListOptions) (watch.Interface, error)

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

type FakeDeleteBackupRequests added in v0.8.0

type FakeDeleteBackupRequests struct {
	Fake *FakeArkV1
	// contains filtered or unexported fields
}

FakeDeleteBackupRequests implements DeleteBackupRequestInterface

func (*FakeDeleteBackupRequests) Create added in v0.8.0

func (c *FakeDeleteBackupRequests) Create(deleteBackupRequest *ark_v1.DeleteBackupRequest) (result *ark_v1.DeleteBackupRequest, err error)

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

func (*FakeDeleteBackupRequests) Delete added in v0.8.0

func (c *FakeDeleteBackupRequests) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeDeleteBackupRequests) DeleteCollection added in v0.8.0

func (c *FakeDeleteBackupRequests) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDeleteBackupRequests) Get added in v0.8.0

func (c *FakeDeleteBackupRequests) Get(name string, options v1.GetOptions) (result *ark_v1.DeleteBackupRequest, err error)

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

func (*FakeDeleteBackupRequests) List added in v0.8.0

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

func (*FakeDeleteBackupRequests) Patch added in v0.8.0

func (c *FakeDeleteBackupRequests) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ark_v1.DeleteBackupRequest, err error)

Patch applies the patch and returns the patched deleteBackupRequest.

func (*FakeDeleteBackupRequests) Update added in v0.8.0

func (c *FakeDeleteBackupRequests) Update(deleteBackupRequest *ark_v1.DeleteBackupRequest) (result *ark_v1.DeleteBackupRequest, err error)

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

func (*FakeDeleteBackupRequests) UpdateStatus added in v0.8.0

func (c *FakeDeleteBackupRequests) UpdateStatus(deleteBackupRequest *ark_v1.DeleteBackupRequest) (*ark_v1.DeleteBackupRequest, error)

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

func (*FakeDeleteBackupRequests) Watch added in v0.8.0

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

type FakeDownloadRequests

type FakeDownloadRequests struct {
	Fake *FakeArkV1
	// contains filtered or unexported fields
}

FakeDownloadRequests implements DownloadRequestInterface

func (*FakeDownloadRequests) Create

func (c *FakeDownloadRequests) Create(downloadRequest *ark_v1.DownloadRequest) (result *ark_v1.DownloadRequest, err error)

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

func (*FakeDownloadRequests) Delete

func (c *FakeDownloadRequests) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeDownloadRequests) DeleteCollection

func (c *FakeDownloadRequests) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDownloadRequests) Get

func (c *FakeDownloadRequests) Get(name string, options v1.GetOptions) (result *ark_v1.DownloadRequest, err error)

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

func (*FakeDownloadRequests) List

func (c *FakeDownloadRequests) List(opts v1.ListOptions) (result *ark_v1.DownloadRequestList, err error)

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

func (*FakeDownloadRequests) Patch

func (c *FakeDownloadRequests) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ark_v1.DownloadRequest, err error)

Patch applies the patch and returns the patched downloadRequest.

func (*FakeDownloadRequests) Update

func (c *FakeDownloadRequests) Update(downloadRequest *ark_v1.DownloadRequest) (result *ark_v1.DownloadRequest, err error)

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

func (*FakeDownloadRequests) UpdateStatus

func (c *FakeDownloadRequests) UpdateStatus(downloadRequest *ark_v1.DownloadRequest) (*ark_v1.DownloadRequest, error)

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

func (*FakeDownloadRequests) Watch

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

type FakePodVolumeBackups added in v0.9.0

type FakePodVolumeBackups struct {
	Fake *FakeArkV1
	// contains filtered or unexported fields
}

FakePodVolumeBackups implements PodVolumeBackupInterface

func (*FakePodVolumeBackups) Create added in v0.9.0

func (c *FakePodVolumeBackups) Create(podVolumeBackup *ark_v1.PodVolumeBackup) (result *ark_v1.PodVolumeBackup, err error)

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

func (*FakePodVolumeBackups) Delete added in v0.9.0

func (c *FakePodVolumeBackups) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakePodVolumeBackups) DeleteCollection added in v0.9.0

func (c *FakePodVolumeBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePodVolumeBackups) Get added in v0.9.0

func (c *FakePodVolumeBackups) Get(name string, options v1.GetOptions) (result *ark_v1.PodVolumeBackup, err error)

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

func (*FakePodVolumeBackups) List added in v0.9.0

func (c *FakePodVolumeBackups) List(opts v1.ListOptions) (result *ark_v1.PodVolumeBackupList, err error)

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

func (*FakePodVolumeBackups) Patch added in v0.9.0

func (c *FakePodVolumeBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ark_v1.PodVolumeBackup, err error)

Patch applies the patch and returns the patched podVolumeBackup.

func (*FakePodVolumeBackups) Update added in v0.9.0

func (c *FakePodVolumeBackups) Update(podVolumeBackup *ark_v1.PodVolumeBackup) (result *ark_v1.PodVolumeBackup, err error)

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

func (*FakePodVolumeBackups) UpdateStatus added in v0.9.0

func (c *FakePodVolumeBackups) UpdateStatus(podVolumeBackup *ark_v1.PodVolumeBackup) (*ark_v1.PodVolumeBackup, error)

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

func (*FakePodVolumeBackups) Watch added in v0.9.0

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

type FakePodVolumeRestores added in v0.9.0

type FakePodVolumeRestores struct {
	Fake *FakeArkV1
	// contains filtered or unexported fields
}

FakePodVolumeRestores implements PodVolumeRestoreInterface

func (*FakePodVolumeRestores) Create added in v0.9.0

func (c *FakePodVolumeRestores) Create(podVolumeRestore *ark_v1.PodVolumeRestore) (result *ark_v1.PodVolumeRestore, err error)

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

func (*FakePodVolumeRestores) Delete added in v0.9.0

func (c *FakePodVolumeRestores) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakePodVolumeRestores) DeleteCollection added in v0.9.0

func (c *FakePodVolumeRestores) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePodVolumeRestores) Get added in v0.9.0

func (c *FakePodVolumeRestores) Get(name string, options v1.GetOptions) (result *ark_v1.PodVolumeRestore, err error)

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

func (*FakePodVolumeRestores) List added in v0.9.0

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

func (*FakePodVolumeRestores) Patch added in v0.9.0

func (c *FakePodVolumeRestores) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ark_v1.PodVolumeRestore, err error)

Patch applies the patch and returns the patched podVolumeRestore.

func (*FakePodVolumeRestores) Update added in v0.9.0

func (c *FakePodVolumeRestores) Update(podVolumeRestore *ark_v1.PodVolumeRestore) (result *ark_v1.PodVolumeRestore, err error)

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

func (*FakePodVolumeRestores) UpdateStatus added in v0.9.0

func (c *FakePodVolumeRestores) UpdateStatus(podVolumeRestore *ark_v1.PodVolumeRestore) (*ark_v1.PodVolumeRestore, error)

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

func (*FakePodVolumeRestores) Watch added in v0.9.0

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

type FakeResticRepositories added in v0.9.0

type FakeResticRepositories struct {
	Fake *FakeArkV1
	// contains filtered or unexported fields
}

FakeResticRepositories implements ResticRepositoryInterface

func (*FakeResticRepositories) Create added in v0.9.0

func (c *FakeResticRepositories) Create(resticRepository *ark_v1.ResticRepository) (result *ark_v1.ResticRepository, err error)

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

func (*FakeResticRepositories) Delete added in v0.9.0

func (c *FakeResticRepositories) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeResticRepositories) DeleteCollection added in v0.9.0

func (c *FakeResticRepositories) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeResticRepositories) Get added in v0.9.0

func (c *FakeResticRepositories) Get(name string, options v1.GetOptions) (result *ark_v1.ResticRepository, err error)

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

func (*FakeResticRepositories) List added in v0.9.0

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

func (*FakeResticRepositories) Patch added in v0.9.0

func (c *FakeResticRepositories) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ark_v1.ResticRepository, err error)

Patch applies the patch and returns the patched resticRepository.

func (*FakeResticRepositories) Update added in v0.9.0

func (c *FakeResticRepositories) Update(resticRepository *ark_v1.ResticRepository) (result *ark_v1.ResticRepository, err error)

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

func (*FakeResticRepositories) UpdateStatus added in v0.9.0

func (c *FakeResticRepositories) UpdateStatus(resticRepository *ark_v1.ResticRepository) (*ark_v1.ResticRepository, error)

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

func (*FakeResticRepositories) Watch added in v0.9.0

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

type FakeRestores

type FakeRestores struct {
	Fake *FakeArkV1
	// contains filtered or unexported fields
}

FakeRestores implements RestoreInterface

func (*FakeRestores) Create

func (c *FakeRestores) Create(restore *ark_v1.Restore) (result *ark_v1.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeRestores) Get

func (c *FakeRestores) Get(name string, options v1.GetOptions) (result *ark_v1.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(opts v1.ListOptions) (result *ark_v1.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(name string, pt types.PatchType, data []byte, subresources ...string) (result *ark_v1.Restore, err error)

Patch applies the patch and returns the patched restore.

func (*FakeRestores) Update

func (c *FakeRestores) Update(restore *ark_v1.Restore) (result *ark_v1.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(restore *ark_v1.Restore) (*ark_v1.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(opts v1.ListOptions) (watch.Interface, error)

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

type FakeSchedules

type FakeSchedules struct {
	Fake *FakeArkV1
	// contains filtered or unexported fields
}

FakeSchedules implements ScheduleInterface

func (*FakeSchedules) Create

func (c *FakeSchedules) Create(schedule *ark_v1.Schedule) (result *ark_v1.Schedule, err error)

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

func (*FakeSchedules) Delete

func (c *FakeSchedules) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeSchedules) DeleteCollection

func (c *FakeSchedules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSchedules) Get

func (c *FakeSchedules) Get(name string, options v1.GetOptions) (result *ark_v1.Schedule, err error)

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

func (*FakeSchedules) List

func (c *FakeSchedules) List(opts v1.ListOptions) (result *ark_v1.ScheduleList, err error)

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

func (*FakeSchedules) Patch

func (c *FakeSchedules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ark_v1.Schedule, err error)

Patch applies the patch and returns the patched schedule.

func (*FakeSchedules) Update

func (c *FakeSchedules) Update(schedule *ark_v1.Schedule) (result *ark_v1.Schedule, err error)

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

func (*FakeSchedules) UpdateStatus

func (c *FakeSchedules) UpdateStatus(schedule *ark_v1.Schedule) (*ark_v1.Schedule, error)

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

func (*FakeSchedules) Watch

func (c *FakeSchedules) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeVolumeSnapshotLocations added in v0.10.0

type FakeVolumeSnapshotLocations struct {
	Fake *FakeArkV1
	// contains filtered or unexported fields
}

FakeVolumeSnapshotLocations implements VolumeSnapshotLocationInterface

func (*FakeVolumeSnapshotLocations) Create added in v0.10.0

func (c *FakeVolumeSnapshotLocations) Create(volumeSnapshotLocation *ark_v1.VolumeSnapshotLocation) (result *ark_v1.VolumeSnapshotLocation, err error)

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

func (*FakeVolumeSnapshotLocations) Delete added in v0.10.0

func (c *FakeVolumeSnapshotLocations) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeVolumeSnapshotLocations) DeleteCollection added in v0.10.0

func (c *FakeVolumeSnapshotLocations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeVolumeSnapshotLocations) Get added in v0.10.0

func (c *FakeVolumeSnapshotLocations) Get(name string, options v1.GetOptions) (result *ark_v1.VolumeSnapshotLocation, err error)

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

func (*FakeVolumeSnapshotLocations) List added in v0.10.0

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

func (*FakeVolumeSnapshotLocations) Patch added in v0.10.0

func (c *FakeVolumeSnapshotLocations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ark_v1.VolumeSnapshotLocation, err error)

Patch applies the patch and returns the patched volumeSnapshotLocation.

func (*FakeVolumeSnapshotLocations) Update added in v0.10.0

func (c *FakeVolumeSnapshotLocations) Update(volumeSnapshotLocation *ark_v1.VolumeSnapshotLocation) (result *ark_v1.VolumeSnapshotLocation, err error)

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

func (*FakeVolumeSnapshotLocations) UpdateStatus added in v0.10.0

func (c *FakeVolumeSnapshotLocations) UpdateStatus(volumeSnapshotLocation *ark_v1.VolumeSnapshotLocation) (*ark_v1.VolumeSnapshotLocation, error)

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

func (*FakeVolumeSnapshotLocations) Watch added in v0.10.0

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

Jump to

Keyboard shortcuts

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