Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBackupSchedules
- func (c *FakeBackupSchedules) Create(backupSchedule *v1alpha1.BackupSchedule) (result *v1alpha1.BackupSchedule, err error)
- func (c *FakeBackupSchedules) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBackupSchedules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBackupSchedules) Get(name string, options v1.GetOptions) (result *v1alpha1.BackupSchedule, err error)
- func (c *FakeBackupSchedules) List(opts v1.ListOptions) (result *v1alpha1.BackupScheduleList, err error)
- func (c *FakeBackupSchedules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BackupSchedule, err error)
- func (c *FakeBackupSchedules) Update(backupSchedule *v1alpha1.BackupSchedule) (result *v1alpha1.BackupSchedule, err error)
- func (c *FakeBackupSchedules) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeBackups
- func (c *FakeBackups) Create(backup *v1alpha1.Backup) (result *v1alpha1.Backup, err error)
- func (c *FakeBackups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBackups) Get(name string, options v1.GetOptions) (result *v1alpha1.Backup, err error)
- func (c *FakeBackups) List(opts v1.ListOptions) (result *v1alpha1.BackupList, err error)
- func (c *FakeBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Backup, err error)
- func (c *FakeBackups) Update(backup *v1alpha1.Backup) (result *v1alpha1.Backup, err error)
- func (c *FakeBackups) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeClusters
- func (c *FakeClusters) Create(cluster *v1alpha1.Cluster) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) List(opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)
- func (c *FakeClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Update(cluster *v1alpha1.Cluster) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMySQLV1alpha1
- func (c *FakeMySQLV1alpha1) BackupSchedules(namespace string) v1alpha1.BackupScheduleInterface
- func (c *FakeMySQLV1alpha1) Backups(namespace string) v1alpha1.BackupInterface
- func (c *FakeMySQLV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface
- func (c *FakeMySQLV1alpha1) RESTClient() rest.Interface
- func (c *FakeMySQLV1alpha1) Restores(namespace string) v1alpha1.RestoreInterface
- type FakeRestores
- func (c *FakeRestores) Create(restore *v1alpha1.Restore) (result *v1alpha1.Restore, err error)
- func (c *FakeRestores) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRestores) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRestores) Get(name string, options v1.GetOptions) (result *v1alpha1.Restore, err error)
- func (c *FakeRestores) List(opts v1.ListOptions) (result *v1alpha1.RestoreList, err error)
- func (c *FakeRestores) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Restore, err error)
- func (c *FakeRestores) Update(restore *v1alpha1.Restore) (result *v1alpha1.Restore, err error)
- func (c *FakeRestores) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBackupSchedules ¶
type FakeBackupSchedules struct { Fake *FakeMySQLV1alpha1 // contains filtered or unexported fields }
FakeBackupSchedules implements BackupScheduleInterface
func (*FakeBackupSchedules) Create ¶
func (c *FakeBackupSchedules) Create(backupSchedule *v1alpha1.BackupSchedule) (result *v1alpha1.BackupSchedule, err error)
Create takes the representation of a backupSchedule and creates it. Returns the server's representation of the backupSchedule, and an error, if there is any.
func (*FakeBackupSchedules) Delete ¶
func (c *FakeBackupSchedules) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the backupSchedule and deletes it. Returns an error if one occurs.
func (*FakeBackupSchedules) DeleteCollection ¶
func (c *FakeBackupSchedules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackupSchedules) Get ¶
func (c *FakeBackupSchedules) Get(name string, options v1.GetOptions) (result *v1alpha1.BackupSchedule, err error)
Get takes name of the backupSchedule, and returns the corresponding backupSchedule object, and an error if there is any.
func (*FakeBackupSchedules) List ¶
func (c *FakeBackupSchedules) List(opts v1.ListOptions) (result *v1alpha1.BackupScheduleList, err error)
List takes label and field selectors, and returns the list of BackupSchedules that match those selectors.
func (*FakeBackupSchedules) Patch ¶
func (c *FakeBackupSchedules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BackupSchedule, err error)
Patch applies the patch and returns the patched backupSchedule.
func (*FakeBackupSchedules) Update ¶
func (c *FakeBackupSchedules) Update(backupSchedule *v1alpha1.BackupSchedule) (result *v1alpha1.BackupSchedule, err error)
Update takes the representation of a backupSchedule and updates it. Returns the server's representation of the backupSchedule, and an error, if there is any.
func (*FakeBackupSchedules) Watch ¶
func (c *FakeBackupSchedules) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backupSchedules.
type FakeBackups ¶
type FakeBackups struct { Fake *FakeMySQLV1alpha1 // contains filtered or unexported fields }
FakeBackups implements BackupInterface
func (*FakeBackups) Create ¶
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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.Backup, err error)
Patch applies the patch and returns the patched backup.
func (*FakeBackups) Update ¶
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) Watch ¶
func (c *FakeBackups) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backups.
type FakeClusters ¶
type FakeClusters struct { Fake *FakeMySQLV1alpha1 // contains filtered or unexported fields }
FakeClusters implements ClusterInterface
func (*FakeClusters) Create ¶
Create takes the representation of a cluster and creates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) Delete ¶
func (c *FakeClusters) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cluster and deletes it. Returns an error if one occurs.
func (*FakeClusters) DeleteCollection ¶
func (c *FakeClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusters) Get ¶
func (c *FakeClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)
Get takes name of the cluster, and returns the corresponding cluster object, and an error if there is any.
func (*FakeClusters) List ¶
func (c *FakeClusters) List(opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)
List takes label and field selectors, and returns the list of Clusters that match those selectors.
func (*FakeClusters) Patch ¶
func (c *FakeClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Cluster, err error)
Patch applies the patch and returns the patched cluster.
func (*FakeClusters) Update ¶
Update takes the representation of a cluster and updates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) Watch ¶
func (c *FakeClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusters.
type FakeMySQLV1alpha1 ¶
func (*FakeMySQLV1alpha1) BackupSchedules ¶
func (c *FakeMySQLV1alpha1) BackupSchedules(namespace string) v1alpha1.BackupScheduleInterface
func (*FakeMySQLV1alpha1) Backups ¶
func (c *FakeMySQLV1alpha1) Backups(namespace string) v1alpha1.BackupInterface
func (*FakeMySQLV1alpha1) Clusters ¶
func (c *FakeMySQLV1alpha1) Clusters(namespace string) v1alpha1.ClusterInterface
func (*FakeMySQLV1alpha1) RESTClient ¶
func (c *FakeMySQLV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeMySQLV1alpha1) Restores ¶
func (c *FakeMySQLV1alpha1) Restores(namespace string) v1alpha1.RestoreInterface
type FakeRestores ¶
type FakeRestores struct { Fake *FakeMySQLV1alpha1 // contains filtered or unexported fields }
FakeRestores implements RestoreInterface
func (*FakeRestores) Create ¶
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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.Restore, err error)
Patch applies the patch and returns the patched restore.
func (*FakeRestores) Update ¶
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) Watch ¶
func (c *FakeRestores) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested restores.