Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeMySQLBackupSchedules
- func (c *FakeMySQLBackupSchedules) Create(mySQLBackupSchedule *mysql_v1.MySQLBackupSchedule) (result *mysql_v1.MySQLBackupSchedule, err error)
- func (c *FakeMySQLBackupSchedules) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMySQLBackupSchedules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMySQLBackupSchedules) Get(name string, options v1.GetOptions) (result *mysql_v1.MySQLBackupSchedule, err error)
- func (c *FakeMySQLBackupSchedules) List(opts v1.ListOptions) (result *mysql_v1.MySQLBackupScheduleList, err error)
- func (c *FakeMySQLBackupSchedules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *mysql_v1.MySQLBackupSchedule, err error)
- func (c *FakeMySQLBackupSchedules) Update(mySQLBackupSchedule *mysql_v1.MySQLBackupSchedule) (result *mysql_v1.MySQLBackupSchedule, err error)
- func (c *FakeMySQLBackupSchedules) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMySQLBackups
- func (c *FakeMySQLBackups) Create(mySQLBackup *mysql_v1.MySQLBackup) (result *mysql_v1.MySQLBackup, err error)
- func (c *FakeMySQLBackups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMySQLBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMySQLBackups) Get(name string, options v1.GetOptions) (result *mysql_v1.MySQLBackup, err error)
- func (c *FakeMySQLBackups) List(opts v1.ListOptions) (result *mysql_v1.MySQLBackupList, err error)
- func (c *FakeMySQLBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *mysql_v1.MySQLBackup, err error)
- func (c *FakeMySQLBackups) Update(mySQLBackup *mysql_v1.MySQLBackup) (result *mysql_v1.MySQLBackup, err error)
- func (c *FakeMySQLBackups) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMySQLClusters
- func (c *FakeMySQLClusters) Create(mySQLCluster *mysql_v1.MySQLCluster) (result *mysql_v1.MySQLCluster, err error)
- func (c *FakeMySQLClusters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMySQLClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMySQLClusters) Get(name string, options v1.GetOptions) (result *mysql_v1.MySQLCluster, err error)
- func (c *FakeMySQLClusters) List(opts v1.ListOptions) (result *mysql_v1.MySQLClusterList, err error)
- func (c *FakeMySQLClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *mysql_v1.MySQLCluster, err error)
- func (c *FakeMySQLClusters) Update(mySQLCluster *mysql_v1.MySQLCluster) (result *mysql_v1.MySQLCluster, err error)
- func (c *FakeMySQLClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMySQLRestores
- func (c *FakeMySQLRestores) Create(mySQLRestore *mysql_v1.MySQLRestore) (result *mysql_v1.MySQLRestore, err error)
- func (c *FakeMySQLRestores) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMySQLRestores) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMySQLRestores) Get(name string, options v1.GetOptions) (result *mysql_v1.MySQLRestore, err error)
- func (c *FakeMySQLRestores) List(opts v1.ListOptions) (result *mysql_v1.MySQLRestoreList, err error)
- func (c *FakeMySQLRestores) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *mysql_v1.MySQLRestore, err error)
- func (c *FakeMySQLRestores) Update(mySQLRestore *mysql_v1.MySQLRestore) (result *mysql_v1.MySQLRestore, err error)
- func (c *FakeMySQLRestores) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMysqlV1
- func (c *FakeMysqlV1) MySQLBackupSchedules(namespace string) v1.MySQLBackupScheduleInterface
- func (c *FakeMysqlV1) MySQLBackups(namespace string) v1.MySQLBackupInterface
- func (c *FakeMysqlV1) MySQLClusters(namespace string) v1.MySQLClusterInterface
- func (c *FakeMysqlV1) MySQLRestores(namespace string) v1.MySQLRestoreInterface
- func (c *FakeMysqlV1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMySQLBackupSchedules ¶
type FakeMySQLBackupSchedules struct { Fake *FakeMysqlV1 // contains filtered or unexported fields }
FakeMySQLBackupSchedules implements MySQLBackupScheduleInterface
func (*FakeMySQLBackupSchedules) Create ¶
func (c *FakeMySQLBackupSchedules) Create(mySQLBackupSchedule *mysql_v1.MySQLBackupSchedule) (result *mysql_v1.MySQLBackupSchedule, err error)
Create takes the representation of a mySQLBackupSchedule and creates it. Returns the server's representation of the mySQLBackupSchedule, and an error, if there is any.
func (*FakeMySQLBackupSchedules) Delete ¶
func (c *FakeMySQLBackupSchedules) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the mySQLBackupSchedule and deletes it. Returns an error if one occurs.
func (*FakeMySQLBackupSchedules) DeleteCollection ¶
func (c *FakeMySQLBackupSchedules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMySQLBackupSchedules) Get ¶
func (c *FakeMySQLBackupSchedules) Get(name string, options v1.GetOptions) (result *mysql_v1.MySQLBackupSchedule, err error)
Get takes name of the mySQLBackupSchedule, and returns the corresponding mySQLBackupSchedule object, and an error if there is any.
func (*FakeMySQLBackupSchedules) List ¶
func (c *FakeMySQLBackupSchedules) List(opts v1.ListOptions) (result *mysql_v1.MySQLBackupScheduleList, err error)
List takes label and field selectors, and returns the list of MySQLBackupSchedules that match those selectors.
func (*FakeMySQLBackupSchedules) Patch ¶
func (c *FakeMySQLBackupSchedules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *mysql_v1.MySQLBackupSchedule, err error)
Patch applies the patch and returns the patched mySQLBackupSchedule.
func (*FakeMySQLBackupSchedules) Update ¶
func (c *FakeMySQLBackupSchedules) Update(mySQLBackupSchedule *mysql_v1.MySQLBackupSchedule) (result *mysql_v1.MySQLBackupSchedule, err error)
Update takes the representation of a mySQLBackupSchedule and updates it. Returns the server's representation of the mySQLBackupSchedule, and an error, if there is any.
func (*FakeMySQLBackupSchedules) Watch ¶
func (c *FakeMySQLBackupSchedules) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mySQLBackupSchedules.
type FakeMySQLBackups ¶
type FakeMySQLBackups struct { Fake *FakeMysqlV1 // contains filtered or unexported fields }
FakeMySQLBackups implements MySQLBackupInterface
func (*FakeMySQLBackups) Create ¶
func (c *FakeMySQLBackups) Create(mySQLBackup *mysql_v1.MySQLBackup) (result *mysql_v1.MySQLBackup, err error)
Create takes the representation of a mySQLBackup and creates it. Returns the server's representation of the mySQLBackup, and an error, if there is any.
func (*FakeMySQLBackups) Delete ¶
func (c *FakeMySQLBackups) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the mySQLBackup and deletes it. Returns an error if one occurs.
func (*FakeMySQLBackups) DeleteCollection ¶
func (c *FakeMySQLBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMySQLBackups) Get ¶
func (c *FakeMySQLBackups) Get(name string, options v1.GetOptions) (result *mysql_v1.MySQLBackup, err error)
Get takes name of the mySQLBackup, and returns the corresponding mySQLBackup object, and an error if there is any.
func (*FakeMySQLBackups) List ¶
func (c *FakeMySQLBackups) List(opts v1.ListOptions) (result *mysql_v1.MySQLBackupList, err error)
List takes label and field selectors, and returns the list of MySQLBackups that match those selectors.
func (*FakeMySQLBackups) Patch ¶
func (c *FakeMySQLBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *mysql_v1.MySQLBackup, err error)
Patch applies the patch and returns the patched mySQLBackup.
func (*FakeMySQLBackups) Update ¶
func (c *FakeMySQLBackups) Update(mySQLBackup *mysql_v1.MySQLBackup) (result *mysql_v1.MySQLBackup, err error)
Update takes the representation of a mySQLBackup and updates it. Returns the server's representation of the mySQLBackup, and an error, if there is any.
func (*FakeMySQLBackups) Watch ¶
func (c *FakeMySQLBackups) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mySQLBackups.
type FakeMySQLClusters ¶
type FakeMySQLClusters struct { Fake *FakeMysqlV1 // contains filtered or unexported fields }
FakeMySQLClusters implements MySQLClusterInterface
func (*FakeMySQLClusters) Create ¶
func (c *FakeMySQLClusters) Create(mySQLCluster *mysql_v1.MySQLCluster) (result *mysql_v1.MySQLCluster, err error)
Create takes the representation of a mySQLCluster and creates it. Returns the server's representation of the mySQLCluster, and an error, if there is any.
func (*FakeMySQLClusters) Delete ¶
func (c *FakeMySQLClusters) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the mySQLCluster and deletes it. Returns an error if one occurs.
func (*FakeMySQLClusters) DeleteCollection ¶
func (c *FakeMySQLClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMySQLClusters) Get ¶
func (c *FakeMySQLClusters) Get(name string, options v1.GetOptions) (result *mysql_v1.MySQLCluster, err error)
Get takes name of the mySQLCluster, and returns the corresponding mySQLCluster object, and an error if there is any.
func (*FakeMySQLClusters) List ¶
func (c *FakeMySQLClusters) List(opts v1.ListOptions) (result *mysql_v1.MySQLClusterList, err error)
List takes label and field selectors, and returns the list of MySQLClusters that match those selectors.
func (*FakeMySQLClusters) Patch ¶
func (c *FakeMySQLClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *mysql_v1.MySQLCluster, err error)
Patch applies the patch and returns the patched mySQLCluster.
func (*FakeMySQLClusters) Update ¶
func (c *FakeMySQLClusters) Update(mySQLCluster *mysql_v1.MySQLCluster) (result *mysql_v1.MySQLCluster, err error)
Update takes the representation of a mySQLCluster and updates it. Returns the server's representation of the mySQLCluster, and an error, if there is any.
func (*FakeMySQLClusters) Watch ¶
func (c *FakeMySQLClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mySQLClusters.
type FakeMySQLRestores ¶
type FakeMySQLRestores struct { Fake *FakeMysqlV1 // contains filtered or unexported fields }
FakeMySQLRestores implements MySQLRestoreInterface
func (*FakeMySQLRestores) Create ¶
func (c *FakeMySQLRestores) Create(mySQLRestore *mysql_v1.MySQLRestore) (result *mysql_v1.MySQLRestore, err error)
Create takes the representation of a mySQLRestore and creates it. Returns the server's representation of the mySQLRestore, and an error, if there is any.
func (*FakeMySQLRestores) Delete ¶
func (c *FakeMySQLRestores) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the mySQLRestore and deletes it. Returns an error if one occurs.
func (*FakeMySQLRestores) DeleteCollection ¶
func (c *FakeMySQLRestores) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMySQLRestores) Get ¶
func (c *FakeMySQLRestores) Get(name string, options v1.GetOptions) (result *mysql_v1.MySQLRestore, err error)
Get takes name of the mySQLRestore, and returns the corresponding mySQLRestore object, and an error if there is any.
func (*FakeMySQLRestores) List ¶
func (c *FakeMySQLRestores) List(opts v1.ListOptions) (result *mysql_v1.MySQLRestoreList, err error)
List takes label and field selectors, and returns the list of MySQLRestores that match those selectors.
func (*FakeMySQLRestores) Patch ¶
func (c *FakeMySQLRestores) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *mysql_v1.MySQLRestore, err error)
Patch applies the patch and returns the patched mySQLRestore.
func (*FakeMySQLRestores) Update ¶
func (c *FakeMySQLRestores) Update(mySQLRestore *mysql_v1.MySQLRestore) (result *mysql_v1.MySQLRestore, err error)
Update takes the representation of a mySQLRestore and updates it. Returns the server's representation of the mySQLRestore, and an error, if there is any.
func (*FakeMySQLRestores) Watch ¶
func (c *FakeMySQLRestores) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mySQLRestores.
type FakeMysqlV1 ¶
func (*FakeMysqlV1) MySQLBackupSchedules ¶
func (c *FakeMysqlV1) MySQLBackupSchedules(namespace string) v1.MySQLBackupScheduleInterface
func (*FakeMysqlV1) MySQLBackups ¶
func (c *FakeMysqlV1) MySQLBackups(namespace string) v1.MySQLBackupInterface
func (*FakeMysqlV1) MySQLClusters ¶
func (c *FakeMysqlV1) MySQLClusters(namespace string) v1.MySQLClusterInterface
func (*FakeMysqlV1) MySQLRestores ¶
func (c *FakeMysqlV1) MySQLRestores(namespace string) v1.MySQLRestoreInterface
func (*FakeMysqlV1) RESTClient ¶
func (c *FakeMysqlV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.