Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCrV1
- func (c *FakeCrV1) MySQLBackupInstances(namespace string) v1.MySQLBackupInstanceInterface
- func (c *FakeCrV1) MySQLBackupSchedules(namespace string) v1.MySQLBackupScheduleInterface
- func (c *FakeCrV1) MySQLClusters(namespace string) v1.MySQLClusterInterface
- func (c *FakeCrV1) RESTClient() rest.Interface
- type FakeMySQLBackupInstances
- func (c *FakeMySQLBackupInstances) Create(mySQLBackupInstance *cr_v1.MySQLBackupInstance) (result *cr_v1.MySQLBackupInstance, err error)
- func (c *FakeMySQLBackupInstances) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeMySQLBackupInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeMySQLBackupInstances) Get(name string, options v1.GetOptions) (result *cr_v1.MySQLBackupInstance, err error)
- func (c *FakeMySQLBackupInstances) List(opts v1.ListOptions) (result *cr_v1.MySQLBackupInstanceList, err error)
- func (c *FakeMySQLBackupInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *cr_v1.MySQLBackupInstance, err error)
- func (c *FakeMySQLBackupInstances) Update(mySQLBackupInstance *cr_v1.MySQLBackupInstance) (result *cr_v1.MySQLBackupInstance, err error)
- func (c *FakeMySQLBackupInstances) UpdateStatus(mySQLBackupInstance *cr_v1.MySQLBackupInstance) (*cr_v1.MySQLBackupInstance, error)
- func (c *FakeMySQLBackupInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMySQLBackupSchedules
- func (c *FakeMySQLBackupSchedules) Create(mySQLBackupSchedule *cr_v1.MySQLBackupSchedule) (result *cr_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 *cr_v1.MySQLBackupSchedule, err error)
- func (c *FakeMySQLBackupSchedules) List(opts v1.ListOptions) (result *cr_v1.MySQLBackupScheduleList, err error)
- func (c *FakeMySQLBackupSchedules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *cr_v1.MySQLBackupSchedule, err error)
- func (c *FakeMySQLBackupSchedules) Update(mySQLBackupSchedule *cr_v1.MySQLBackupSchedule) (result *cr_v1.MySQLBackupSchedule, err error)
- func (c *FakeMySQLBackupSchedules) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMySQLClusters
- func (c *FakeMySQLClusters) Create(mySQLCluster *cr_v1.MySQLCluster) (result *cr_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 *cr_v1.MySQLCluster, err error)
- func (c *FakeMySQLClusters) List(opts v1.ListOptions) (result *cr_v1.MySQLClusterList, err error)
- func (c *FakeMySQLClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *cr_v1.MySQLCluster, err error)
- func (c *FakeMySQLClusters) Update(mySQLCluster *cr_v1.MySQLCluster) (result *cr_v1.MySQLCluster, err error)
- func (c *FakeMySQLClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCrV1 ¶
func (*FakeCrV1) MySQLBackupInstances ¶
func (c *FakeCrV1) MySQLBackupInstances(namespace string) v1.MySQLBackupInstanceInterface
func (*FakeCrV1) MySQLBackupSchedules ¶
func (c *FakeCrV1) MySQLBackupSchedules(namespace string) v1.MySQLBackupScheduleInterface
func (*FakeCrV1) MySQLClusters ¶
func (c *FakeCrV1) MySQLClusters(namespace string) v1.MySQLClusterInterface
func (*FakeCrV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeMySQLBackupInstances ¶
type FakeMySQLBackupInstances struct { Fake *FakeCrV1 // contains filtered or unexported fields }
FakeMySQLBackupInstances implements MySQLBackupInstanceInterface
func (*FakeMySQLBackupInstances) Create ¶
func (c *FakeMySQLBackupInstances) Create(mySQLBackupInstance *cr_v1.MySQLBackupInstance) (result *cr_v1.MySQLBackupInstance, err error)
Create takes the representation of a mySQLBackupInstance and creates it. Returns the server's representation of the mySQLBackupInstance, and an error, if there is any.
func (*FakeMySQLBackupInstances) Delete ¶
func (c *FakeMySQLBackupInstances) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the mySQLBackupInstance and deletes it. Returns an error if one occurs.
func (*FakeMySQLBackupInstances) DeleteCollection ¶
func (c *FakeMySQLBackupInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMySQLBackupInstances) Get ¶
func (c *FakeMySQLBackupInstances) Get(name string, options v1.GetOptions) (result *cr_v1.MySQLBackupInstance, err error)
Get takes name of the mySQLBackupInstance, and returns the corresponding mySQLBackupInstance object, and an error if there is any.
func (*FakeMySQLBackupInstances) List ¶
func (c *FakeMySQLBackupInstances) List(opts v1.ListOptions) (result *cr_v1.MySQLBackupInstanceList, err error)
List takes label and field selectors, and returns the list of MySQLBackupInstances that match those selectors.
func (*FakeMySQLBackupInstances) Patch ¶
func (c *FakeMySQLBackupInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *cr_v1.MySQLBackupInstance, err error)
Patch applies the patch and returns the patched mySQLBackupInstance.
func (*FakeMySQLBackupInstances) Update ¶
func (c *FakeMySQLBackupInstances) Update(mySQLBackupInstance *cr_v1.MySQLBackupInstance) (result *cr_v1.MySQLBackupInstance, err error)
Update takes the representation of a mySQLBackupInstance and updates it. Returns the server's representation of the mySQLBackupInstance, and an error, if there is any.
func (*FakeMySQLBackupInstances) UpdateStatus ¶
func (c *FakeMySQLBackupInstances) UpdateStatus(mySQLBackupInstance *cr_v1.MySQLBackupInstance) (*cr_v1.MySQLBackupInstance, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMySQLBackupInstances) Watch ¶
func (c *FakeMySQLBackupInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mySQLBackupInstances.
type FakeMySQLBackupSchedules ¶
type FakeMySQLBackupSchedules struct { Fake *FakeCrV1 // contains filtered or unexported fields }
FakeMySQLBackupSchedules implements MySQLBackupScheduleInterface
func (*FakeMySQLBackupSchedules) Create ¶
func (c *FakeMySQLBackupSchedules) Create(mySQLBackupSchedule *cr_v1.MySQLBackupSchedule) (result *cr_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 *cr_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 *cr_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 *cr_v1.MySQLBackupSchedule, err error)
Patch applies the patch and returns the patched mySQLBackupSchedule.
func (*FakeMySQLBackupSchedules) Update ¶
func (c *FakeMySQLBackupSchedules) Update(mySQLBackupSchedule *cr_v1.MySQLBackupSchedule) (result *cr_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 FakeMySQLClusters ¶
type FakeMySQLClusters struct { Fake *FakeCrV1 // contains filtered or unexported fields }
FakeMySQLClusters implements MySQLClusterInterface
func (*FakeMySQLClusters) Create ¶
func (c *FakeMySQLClusters) Create(mySQLCluster *cr_v1.MySQLCluster) (result *cr_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 *cr_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 *cr_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 *cr_v1.MySQLCluster, err error)
Patch applies the patch and returns the patched mySQLCluster.
func (*FakeMySQLClusters) Update ¶
func (c *FakeMySQLClusters) Update(mySQLCluster *cr_v1.MySQLCluster) (result *cr_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.