fake

package
v2.6.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 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 FakeApplicationBackupSchedules

type FakeApplicationBackupSchedules struct {
	Fake *FakeStorkV1alpha1
	// contains filtered or unexported fields
}

FakeApplicationBackupSchedules implements ApplicationBackupScheduleInterface

func (*FakeApplicationBackupSchedules) Create

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

func (*FakeApplicationBackupSchedules) Delete

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

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

func (*FakeApplicationBackupSchedules) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApplicationBackupSchedules) Get

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

func (*FakeApplicationBackupSchedules) List

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

func (*FakeApplicationBackupSchedules) Patch

func (c *FakeApplicationBackupSchedules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ApplicationBackupSchedule, err error)

Patch applies the patch and returns the patched applicationBackupSchedule.

func (*FakeApplicationBackupSchedules) Update

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

func (*FakeApplicationBackupSchedules) UpdateStatus

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

func (*FakeApplicationBackupSchedules) Watch

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

type FakeApplicationBackups

type FakeApplicationBackups struct {
	Fake *FakeStorkV1alpha1
	// contains filtered or unexported fields
}

FakeApplicationBackups implements ApplicationBackupInterface

func (*FakeApplicationBackups) Create

func (c *FakeApplicationBackups) Create(applicationBackup *v1alpha1.ApplicationBackup) (result *v1alpha1.ApplicationBackup, err error)

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

func (*FakeApplicationBackups) Delete

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

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

func (*FakeApplicationBackups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApplicationBackups) Get

func (c *FakeApplicationBackups) Get(name string, options v1.GetOptions) (result *v1alpha1.ApplicationBackup, err error)

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

func (*FakeApplicationBackups) List

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

func (*FakeApplicationBackups) Patch

func (c *FakeApplicationBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ApplicationBackup, err error)

Patch applies the patch and returns the patched applicationBackup.

func (*FakeApplicationBackups) Update

func (c *FakeApplicationBackups) Update(applicationBackup *v1alpha1.ApplicationBackup) (result *v1alpha1.ApplicationBackup, err error)

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

func (*FakeApplicationBackups) UpdateStatus

func (c *FakeApplicationBackups) UpdateStatus(applicationBackup *v1alpha1.ApplicationBackup) (*v1alpha1.ApplicationBackup, error)

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

func (*FakeApplicationBackups) Watch

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

type FakeApplicationClones

type FakeApplicationClones struct {
	Fake *FakeStorkV1alpha1
	// contains filtered or unexported fields
}

FakeApplicationClones implements ApplicationCloneInterface

func (*FakeApplicationClones) Create

func (c *FakeApplicationClones) Create(applicationClone *v1alpha1.ApplicationClone) (result *v1alpha1.ApplicationClone, err error)

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

func (*FakeApplicationClones) Delete

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

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

func (*FakeApplicationClones) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApplicationClones) Get

func (c *FakeApplicationClones) Get(name string, options v1.GetOptions) (result *v1alpha1.ApplicationClone, err error)

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

func (*FakeApplicationClones) List

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

func (*FakeApplicationClones) Patch

func (c *FakeApplicationClones) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ApplicationClone, err error)

Patch applies the patch and returns the patched applicationClone.

func (*FakeApplicationClones) Update

func (c *FakeApplicationClones) Update(applicationClone *v1alpha1.ApplicationClone) (result *v1alpha1.ApplicationClone, err error)

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

func (*FakeApplicationClones) UpdateStatus

func (c *FakeApplicationClones) UpdateStatus(applicationClone *v1alpha1.ApplicationClone) (*v1alpha1.ApplicationClone, error)

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

func (*FakeApplicationClones) Watch

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

type FakeApplicationRegistrations

type FakeApplicationRegistrations struct {
	Fake *FakeStorkV1alpha1
}

FakeApplicationRegistrations implements ApplicationRegistrationInterface

func (*FakeApplicationRegistrations) Create

func (c *FakeApplicationRegistrations) Create(applicationRegistration *v1alpha1.ApplicationRegistration) (result *v1alpha1.ApplicationRegistration, err error)

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

func (*FakeApplicationRegistrations) Delete

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

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

func (*FakeApplicationRegistrations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApplicationRegistrations) Get

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

func (*FakeApplicationRegistrations) List

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

func (*FakeApplicationRegistrations) Patch

func (c *FakeApplicationRegistrations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ApplicationRegistration, err error)

Patch applies the patch and returns the patched applicationRegistration.

func (*FakeApplicationRegistrations) Update

func (c *FakeApplicationRegistrations) Update(applicationRegistration *v1alpha1.ApplicationRegistration) (result *v1alpha1.ApplicationRegistration, err error)

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

func (*FakeApplicationRegistrations) Watch

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

type FakeApplicationRestores

type FakeApplicationRestores struct {
	Fake *FakeStorkV1alpha1
	// contains filtered or unexported fields
}

FakeApplicationRestores implements ApplicationRestoreInterface

func (*FakeApplicationRestores) Create

func (c *FakeApplicationRestores) Create(applicationRestore *v1alpha1.ApplicationRestore) (result *v1alpha1.ApplicationRestore, err error)

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

func (*FakeApplicationRestores) Delete

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

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

func (*FakeApplicationRestores) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApplicationRestores) Get

func (c *FakeApplicationRestores) Get(name string, options v1.GetOptions) (result *v1alpha1.ApplicationRestore, err error)

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

func (*FakeApplicationRestores) List

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

func (*FakeApplicationRestores) Patch

func (c *FakeApplicationRestores) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ApplicationRestore, err error)

Patch applies the patch and returns the patched applicationRestore.

func (*FakeApplicationRestores) Update

func (c *FakeApplicationRestores) Update(applicationRestore *v1alpha1.ApplicationRestore) (result *v1alpha1.ApplicationRestore, err error)

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

func (*FakeApplicationRestores) UpdateStatus

func (c *FakeApplicationRestores) UpdateStatus(applicationRestore *v1alpha1.ApplicationRestore) (*v1alpha1.ApplicationRestore, error)

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

func (*FakeApplicationRestores) Watch

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

type FakeBackupLocations

type FakeBackupLocations struct {
	Fake *FakeStorkV1alpha1
	// contains filtered or unexported fields
}

FakeBackupLocations implements BackupLocationInterface

func (*FakeBackupLocations) Create

func (c *FakeBackupLocations) Create(backupLocation *v1alpha1.BackupLocation) (result *v1alpha1.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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBackupLocations) Get

func (c *FakeBackupLocations) Get(name string, options v1.GetOptions) (result *v1alpha1.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(opts v1.ListOptions) (result *v1alpha1.BackupLocationList, err error)

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

func (*FakeBackupLocations) Patch

func (c *FakeBackupLocations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BackupLocation, err error)

Patch applies the patch and returns the patched backupLocation.

func (*FakeBackupLocations) Update

func (c *FakeBackupLocations) Update(backupLocation *v1alpha1.BackupLocation) (result *v1alpha1.BackupLocation, err error)

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

func (*FakeBackupLocations) Watch

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

type FakeClusterDomainUpdates

type FakeClusterDomainUpdates struct {
	Fake *FakeStorkV1alpha1
}

FakeClusterDomainUpdates implements ClusterDomainUpdateInterface

func (*FakeClusterDomainUpdates) Create

func (c *FakeClusterDomainUpdates) Create(clusterDomainUpdate *v1alpha1.ClusterDomainUpdate) (result *v1alpha1.ClusterDomainUpdate, err error)

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

func (*FakeClusterDomainUpdates) Delete

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

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

func (*FakeClusterDomainUpdates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterDomainUpdates) Get

func (c *FakeClusterDomainUpdates) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterDomainUpdate, err error)

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

func (*FakeClusterDomainUpdates) List

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

func (*FakeClusterDomainUpdates) Patch

func (c *FakeClusterDomainUpdates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterDomainUpdate, err error)

Patch applies the patch and returns the patched clusterDomainUpdate.

func (*FakeClusterDomainUpdates) Update

func (c *FakeClusterDomainUpdates) Update(clusterDomainUpdate *v1alpha1.ClusterDomainUpdate) (result *v1alpha1.ClusterDomainUpdate, err error)

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

func (*FakeClusterDomainUpdates) UpdateStatus

func (c *FakeClusterDomainUpdates) UpdateStatus(clusterDomainUpdate *v1alpha1.ClusterDomainUpdate) (*v1alpha1.ClusterDomainUpdate, error)

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

func (*FakeClusterDomainUpdates) Watch

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

type FakeClusterDomainsStatuses

type FakeClusterDomainsStatuses struct {
	Fake *FakeStorkV1alpha1
}

FakeClusterDomainsStatuses implements ClusterDomainsStatusInterface

func (*FakeClusterDomainsStatuses) Create

func (c *FakeClusterDomainsStatuses) Create(clusterDomainsStatus *v1alpha1.ClusterDomainsStatus) (result *v1alpha1.ClusterDomainsStatus, err error)

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

func (*FakeClusterDomainsStatuses) Delete

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

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

func (*FakeClusterDomainsStatuses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterDomainsStatuses) Get

func (c *FakeClusterDomainsStatuses) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterDomainsStatus, err error)

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

func (*FakeClusterDomainsStatuses) List

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

func (*FakeClusterDomainsStatuses) Patch

func (c *FakeClusterDomainsStatuses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterDomainsStatus, err error)

Patch applies the patch and returns the patched clusterDomainsStatus.

func (*FakeClusterDomainsStatuses) Update

func (c *FakeClusterDomainsStatuses) Update(clusterDomainsStatus *v1alpha1.ClusterDomainsStatus) (result *v1alpha1.ClusterDomainsStatus, err error)

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

func (*FakeClusterDomainsStatuses) UpdateStatus

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

func (*FakeClusterDomainsStatuses) Watch

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

type FakeClusterPairs

type FakeClusterPairs struct {
	Fake *FakeStorkV1alpha1
	// contains filtered or unexported fields
}

FakeClusterPairs implements ClusterPairInterface

func (*FakeClusterPairs) Create

func (c *FakeClusterPairs) Create(clusterPair *v1alpha1.ClusterPair) (result *v1alpha1.ClusterPair, err error)

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

func (*FakeClusterPairs) Delete

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

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

func (*FakeClusterPairs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterPairs) Get

func (c *FakeClusterPairs) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterPair, err error)

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

func (*FakeClusterPairs) List

func (c *FakeClusterPairs) List(opts v1.ListOptions) (result *v1alpha1.ClusterPairList, err error)

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

func (*FakeClusterPairs) Patch

func (c *FakeClusterPairs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterPair, err error)

Patch applies the patch and returns the patched clusterPair.

func (*FakeClusterPairs) Update

func (c *FakeClusterPairs) Update(clusterPair *v1alpha1.ClusterPair) (result *v1alpha1.ClusterPair, err error)

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

func (*FakeClusterPairs) UpdateStatus

func (c *FakeClusterPairs) UpdateStatus(clusterPair *v1alpha1.ClusterPair) (*v1alpha1.ClusterPair, error)

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

func (*FakeClusterPairs) Watch

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

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

type FakeDataExports

type FakeDataExports struct {
	Fake *FakeStorkV1alpha1
	// contains filtered or unexported fields
}

FakeDataExports implements DataExportInterface

func (*FakeDataExports) Create

func (c *FakeDataExports) Create(dataExport *v1alpha1.DataExport) (result *v1alpha1.DataExport, err error)

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

func (*FakeDataExports) Delete

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

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

func (*FakeDataExports) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDataExports) Get

func (c *FakeDataExports) Get(name string, options v1.GetOptions) (result *v1alpha1.DataExport, err error)

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

func (*FakeDataExports) List

func (c *FakeDataExports) List(opts v1.ListOptions) (result *v1alpha1.DataExportList, err error)

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

func (*FakeDataExports) Patch

func (c *FakeDataExports) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DataExport, err error)

Patch applies the patch and returns the patched dataExport.

func (*FakeDataExports) Update

func (c *FakeDataExports) Update(dataExport *v1alpha1.DataExport) (result *v1alpha1.DataExport, err error)

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

func (*FakeDataExports) UpdateStatus

func (c *FakeDataExports) UpdateStatus(dataExport *v1alpha1.DataExport) (*v1alpha1.DataExport, error)

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

func (*FakeDataExports) Watch

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

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

type FakeGroupVolumeSnapshots

type FakeGroupVolumeSnapshots struct {
	Fake *FakeStorkV1alpha1
	// contains filtered or unexported fields
}

FakeGroupVolumeSnapshots implements GroupVolumeSnapshotInterface

func (*FakeGroupVolumeSnapshots) Create

func (c *FakeGroupVolumeSnapshots) Create(groupVolumeSnapshot *v1alpha1.GroupVolumeSnapshot) (result *v1alpha1.GroupVolumeSnapshot, err error)

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

func (*FakeGroupVolumeSnapshots) Delete

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

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

func (*FakeGroupVolumeSnapshots) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGroupVolumeSnapshots) Get

func (c *FakeGroupVolumeSnapshots) Get(name string, options v1.GetOptions) (result *v1alpha1.GroupVolumeSnapshot, err error)

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

func (*FakeGroupVolumeSnapshots) List

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

func (*FakeGroupVolumeSnapshots) Patch

func (c *FakeGroupVolumeSnapshots) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.GroupVolumeSnapshot, err error)

Patch applies the patch and returns the patched groupVolumeSnapshot.

func (*FakeGroupVolumeSnapshots) Update

func (c *FakeGroupVolumeSnapshots) Update(groupVolumeSnapshot *v1alpha1.GroupVolumeSnapshot) (result *v1alpha1.GroupVolumeSnapshot, err error)

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

func (*FakeGroupVolumeSnapshots) Watch

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

type FakeMigrationSchedules

type FakeMigrationSchedules struct {
	Fake *FakeStorkV1alpha1
	// contains filtered or unexported fields
}

FakeMigrationSchedules implements MigrationScheduleInterface

func (*FakeMigrationSchedules) Create

func (c *FakeMigrationSchedules) Create(migrationSchedule *v1alpha1.MigrationSchedule) (result *v1alpha1.MigrationSchedule, err error)

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

func (*FakeMigrationSchedules) Delete

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

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

func (*FakeMigrationSchedules) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMigrationSchedules) Get

func (c *FakeMigrationSchedules) Get(name string, options v1.GetOptions) (result *v1alpha1.MigrationSchedule, err error)

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

func (*FakeMigrationSchedules) List

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

func (*FakeMigrationSchedules) Patch

func (c *FakeMigrationSchedules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.MigrationSchedule, err error)

Patch applies the patch and returns the patched migrationSchedule.

func (*FakeMigrationSchedules) Update

func (c *FakeMigrationSchedules) Update(migrationSchedule *v1alpha1.MigrationSchedule) (result *v1alpha1.MigrationSchedule, err error)

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

func (*FakeMigrationSchedules) UpdateStatus

func (c *FakeMigrationSchedules) UpdateStatus(migrationSchedule *v1alpha1.MigrationSchedule) (*v1alpha1.MigrationSchedule, error)

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

func (*FakeMigrationSchedules) Watch

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

type FakeMigrations

type FakeMigrations struct {
	Fake *FakeStorkV1alpha1
	// contains filtered or unexported fields
}

FakeMigrations implements MigrationInterface

func (*FakeMigrations) Create

func (c *FakeMigrations) Create(migration *v1alpha1.Migration) (result *v1alpha1.Migration, err error)

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

func (*FakeMigrations) Delete

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

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

func (*FakeMigrations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMigrations) Get

func (c *FakeMigrations) Get(name string, options v1.GetOptions) (result *v1alpha1.Migration, err error)

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

func (*FakeMigrations) List

func (c *FakeMigrations) List(opts v1.ListOptions) (result *v1alpha1.MigrationList, err error)

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

func (*FakeMigrations) Patch

func (c *FakeMigrations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Migration, err error)

Patch applies the patch and returns the patched migration.

func (*FakeMigrations) Update

func (c *FakeMigrations) Update(migration *v1alpha1.Migration) (result *v1alpha1.Migration, err error)

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

func (*FakeMigrations) UpdateStatus

func (c *FakeMigrations) UpdateStatus(migration *v1alpha1.Migration) (*v1alpha1.Migration, error)

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

func (*FakeMigrations) Watch

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

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

type FakeRules

type FakeRules struct {
	Fake *FakeStorkV1alpha1
	// contains filtered or unexported fields
}

FakeRules implements RuleInterface

func (*FakeRules) Create

func (c *FakeRules) Create(rule *v1alpha1.Rule) (result *v1alpha1.Rule, err error)

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

func (*FakeRules) Delete

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

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

func (*FakeRules) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRules) Get

func (c *FakeRules) Get(name string, options v1.GetOptions) (result *v1alpha1.Rule, err error)

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

func (*FakeRules) List

func (c *FakeRules) List(opts v1.ListOptions) (result *v1alpha1.RuleList, err error)

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

func (*FakeRules) Patch

func (c *FakeRules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Rule, err error)

Patch applies the patch and returns the patched rule.

func (*FakeRules) Update

func (c *FakeRules) Update(rule *v1alpha1.Rule) (result *v1alpha1.Rule, err error)

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

func (*FakeRules) Watch

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

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

type FakeSchedulePolicies

type FakeSchedulePolicies struct {
	Fake *FakeStorkV1alpha1
}

FakeSchedulePolicies implements SchedulePolicyInterface

func (*FakeSchedulePolicies) Create

func (c *FakeSchedulePolicies) Create(schedulePolicy *v1alpha1.SchedulePolicy) (result *v1alpha1.SchedulePolicy, err error)

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

func (*FakeSchedulePolicies) Delete

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

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

func (*FakeSchedulePolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSchedulePolicies) Get

func (c *FakeSchedulePolicies) Get(name string, options v1.GetOptions) (result *v1alpha1.SchedulePolicy, err error)

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

func (*FakeSchedulePolicies) List

func (c *FakeSchedulePolicies) List(opts v1.ListOptions) (result *v1alpha1.SchedulePolicyList, err error)

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

func (*FakeSchedulePolicies) Patch

func (c *FakeSchedulePolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SchedulePolicy, err error)

Patch applies the patch and returns the patched schedulePolicy.

func (*FakeSchedulePolicies) Update

func (c *FakeSchedulePolicies) Update(schedulePolicy *v1alpha1.SchedulePolicy) (result *v1alpha1.SchedulePolicy, err error)

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

func (*FakeSchedulePolicies) Watch

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

type FakeStorkV1alpha1

type FakeStorkV1alpha1 struct {
	*testing.Fake
}

func (*FakeStorkV1alpha1) ApplicationBackupSchedules

func (c *FakeStorkV1alpha1) ApplicationBackupSchedules(namespace string) v1alpha1.ApplicationBackupScheduleInterface

func (*FakeStorkV1alpha1) ApplicationBackups

func (c *FakeStorkV1alpha1) ApplicationBackups(namespace string) v1alpha1.ApplicationBackupInterface

func (*FakeStorkV1alpha1) ApplicationClones

func (c *FakeStorkV1alpha1) ApplicationClones(namespace string) v1alpha1.ApplicationCloneInterface

func (*FakeStorkV1alpha1) ApplicationRegistrations

func (c *FakeStorkV1alpha1) ApplicationRegistrations() v1alpha1.ApplicationRegistrationInterface

func (*FakeStorkV1alpha1) ApplicationRestores

func (c *FakeStorkV1alpha1) ApplicationRestores(namespace string) v1alpha1.ApplicationRestoreInterface

func (*FakeStorkV1alpha1) BackupLocations

func (c *FakeStorkV1alpha1) BackupLocations(namespace string) v1alpha1.BackupLocationInterface

func (*FakeStorkV1alpha1) ClusterDomainUpdates

func (c *FakeStorkV1alpha1) ClusterDomainUpdates() v1alpha1.ClusterDomainUpdateInterface

func (*FakeStorkV1alpha1) ClusterDomainsStatuses

func (c *FakeStorkV1alpha1) ClusterDomainsStatuses() v1alpha1.ClusterDomainsStatusInterface

func (*FakeStorkV1alpha1) ClusterPairs

func (c *FakeStorkV1alpha1) ClusterPairs(namespace string) v1alpha1.ClusterPairInterface

func (*FakeStorkV1alpha1) DataExports

func (c *FakeStorkV1alpha1) DataExports(namespace string) v1alpha1.DataExportInterface

func (*FakeStorkV1alpha1) GroupVolumeSnapshots

func (c *FakeStorkV1alpha1) GroupVolumeSnapshots(namespace string) v1alpha1.GroupVolumeSnapshotInterface

func (*FakeStorkV1alpha1) MigrationSchedules

func (c *FakeStorkV1alpha1) MigrationSchedules(namespace string) v1alpha1.MigrationScheduleInterface

func (*FakeStorkV1alpha1) Migrations

func (c *FakeStorkV1alpha1) Migrations(namespace string) v1alpha1.MigrationInterface

func (*FakeStorkV1alpha1) RESTClient

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

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

func (*FakeStorkV1alpha1) Rules

func (c *FakeStorkV1alpha1) Rules(namespace string) v1alpha1.RuleInterface

func (*FakeStorkV1alpha1) SchedulePolicies

func (c *FakeStorkV1alpha1) SchedulePolicies() v1alpha1.SchedulePolicyInterface

func (*FakeStorkV1alpha1) VolumeSnapshotRestores

func (c *FakeStorkV1alpha1) VolumeSnapshotRestores(namespace string) v1alpha1.VolumeSnapshotRestoreInterface

func (*FakeStorkV1alpha1) VolumeSnapshotSchedules

func (c *FakeStorkV1alpha1) VolumeSnapshotSchedules(namespace string) v1alpha1.VolumeSnapshotScheduleInterface

type FakeVolumeSnapshotRestores

type FakeVolumeSnapshotRestores struct {
	Fake *FakeStorkV1alpha1
	// contains filtered or unexported fields
}

FakeVolumeSnapshotRestores implements VolumeSnapshotRestoreInterface

func (*FakeVolumeSnapshotRestores) Create

func (c *FakeVolumeSnapshotRestores) Create(volumeSnapshotRestore *v1alpha1.VolumeSnapshotRestore) (result *v1alpha1.VolumeSnapshotRestore, err error)

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

func (*FakeVolumeSnapshotRestores) Delete

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

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

func (*FakeVolumeSnapshotRestores) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVolumeSnapshotRestores) Get

func (c *FakeVolumeSnapshotRestores) Get(name string, options v1.GetOptions) (result *v1alpha1.VolumeSnapshotRestore, err error)

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

func (*FakeVolumeSnapshotRestores) List

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

func (*FakeVolumeSnapshotRestores) Patch

func (c *FakeVolumeSnapshotRestores) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.VolumeSnapshotRestore, err error)

Patch applies the patch and returns the patched volumeSnapshotRestore.

func (*FakeVolumeSnapshotRestores) Update

func (c *FakeVolumeSnapshotRestores) Update(volumeSnapshotRestore *v1alpha1.VolumeSnapshotRestore) (result *v1alpha1.VolumeSnapshotRestore, err error)

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

func (*FakeVolumeSnapshotRestores) UpdateStatus

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

func (*FakeVolumeSnapshotRestores) Watch

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

type FakeVolumeSnapshotSchedules

type FakeVolumeSnapshotSchedules struct {
	Fake *FakeStorkV1alpha1
	// contains filtered or unexported fields
}

FakeVolumeSnapshotSchedules implements VolumeSnapshotScheduleInterface

func (*FakeVolumeSnapshotSchedules) Create

func (c *FakeVolumeSnapshotSchedules) Create(volumeSnapshotSchedule *v1alpha1.VolumeSnapshotSchedule) (result *v1alpha1.VolumeSnapshotSchedule, err error)

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

func (*FakeVolumeSnapshotSchedules) Delete

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

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

func (*FakeVolumeSnapshotSchedules) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVolumeSnapshotSchedules) Get

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

func (*FakeVolumeSnapshotSchedules) List

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

func (*FakeVolumeSnapshotSchedules) Patch

func (c *FakeVolumeSnapshotSchedules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.VolumeSnapshotSchedule, err error)

Patch applies the patch and returns the patched volumeSnapshotSchedule.

func (*FakeVolumeSnapshotSchedules) Update

func (c *FakeVolumeSnapshotSchedules) Update(volumeSnapshotSchedule *v1alpha1.VolumeSnapshotSchedule) (result *v1alpha1.VolumeSnapshotSchedule, err error)

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

func (*FakeVolumeSnapshotSchedules) UpdateStatus

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

func (*FakeVolumeSnapshotSchedules) Watch

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

Jump to

Keyboard shortcuts

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