Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAnalyticsClusters
- func (c *FakeAnalyticsClusters) Create(ctx context.Context, analyticsCluster *v1alpha1.AnalyticsCluster, ...) (result *v1alpha1.AnalyticsCluster, err error)
- func (c *FakeAnalyticsClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAnalyticsClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAnalyticsClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AnalyticsCluster, err error)
- func (c *FakeAnalyticsClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AnalyticsClusterList, err error)
- func (c *FakeAnalyticsClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AnalyticsCluster, err error)
- func (c *FakeAnalyticsClusters) Update(ctx context.Context, analyticsCluster *v1alpha1.AnalyticsCluster, ...) (result *v1alpha1.AnalyticsCluster, err error)
- func (c *FakeAnalyticsClusters) UpdateStatus(ctx context.Context, analyticsCluster *v1alpha1.AnalyticsCluster, ...) (*v1alpha1.AnalyticsCluster, error)
- func (c *FakeAnalyticsClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeChannels
- func (c *FakeChannels) Create(ctx context.Context, channel *v1alpha1.Channel, opts v1.CreateOptions) (result *v1alpha1.Channel, err error)
- func (c *FakeChannels) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeChannels) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeChannels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Channel, err error)
- func (c *FakeChannels) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ChannelList, err error)
- func (c *FakeChannels) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Channel, err error)
- func (c *FakeChannels) Update(ctx context.Context, channel *v1alpha1.Channel, opts v1.UpdateOptions) (result *v1alpha1.Channel, err error)
- func (c *FakeChannels) UpdateStatus(ctx context.Context, channel *v1alpha1.Channel, opts v1.UpdateOptions) (*v1alpha1.Channel, error)
- func (c *FakeChannels) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeHeatWaveClusters
- func (c *FakeHeatWaveClusters) Create(ctx context.Context, heatWaveCluster *v1alpha1.HeatWaveCluster, ...) (result *v1alpha1.HeatWaveCluster, err error)
- func (c *FakeHeatWaveClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeHeatWaveClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeHeatWaveClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.HeatWaveCluster, err error)
- func (c *FakeHeatWaveClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.HeatWaveClusterList, err error)
- func (c *FakeHeatWaveClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.HeatWaveCluster, err error)
- func (c *FakeHeatWaveClusters) Update(ctx context.Context, heatWaveCluster *v1alpha1.HeatWaveCluster, ...) (result *v1alpha1.HeatWaveCluster, err error)
- func (c *FakeHeatWaveClusters) UpdateStatus(ctx context.Context, heatWaveCluster *v1alpha1.HeatWaveCluster, ...) (*v1alpha1.HeatWaveCluster, error)
- func (c *FakeHeatWaveClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMysqlBackups
- func (c *FakeMysqlBackups) Create(ctx context.Context, mysqlBackup *v1alpha1.MysqlBackup, opts v1.CreateOptions) (result *v1alpha1.MysqlBackup, err error)
- func (c *FakeMysqlBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMysqlBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMysqlBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MysqlBackup, err error)
- func (c *FakeMysqlBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MysqlBackupList, err error)
- func (c *FakeMysqlBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MysqlBackup, err error)
- func (c *FakeMysqlBackups) Update(ctx context.Context, mysqlBackup *v1alpha1.MysqlBackup, opts v1.UpdateOptions) (result *v1alpha1.MysqlBackup, err error)
- func (c *FakeMysqlBackups) UpdateStatus(ctx context.Context, mysqlBackup *v1alpha1.MysqlBackup, opts v1.UpdateOptions) (*v1alpha1.MysqlBackup, error)
- func (c *FakeMysqlBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMysqlDbSystems
- func (c *FakeMysqlDbSystems) Create(ctx context.Context, mysqlDbSystem *v1alpha1.MysqlDbSystem, ...) (result *v1alpha1.MysqlDbSystem, err error)
- func (c *FakeMysqlDbSystems) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMysqlDbSystems) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMysqlDbSystems) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MysqlDbSystem, err error)
- func (c *FakeMysqlDbSystems) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MysqlDbSystemList, err error)
- func (c *FakeMysqlDbSystems) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MysqlDbSystem, err error)
- func (c *FakeMysqlDbSystems) Update(ctx context.Context, mysqlDbSystem *v1alpha1.MysqlDbSystem, ...) (result *v1alpha1.MysqlDbSystem, err error)
- func (c *FakeMysqlDbSystems) UpdateStatus(ctx context.Context, mysqlDbSystem *v1alpha1.MysqlDbSystem, ...) (*v1alpha1.MysqlDbSystem, error)
- func (c *FakeMysqlDbSystems) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMysqlV1alpha1
- func (c *FakeMysqlV1alpha1) AnalyticsClusters(namespace string) v1alpha1.AnalyticsClusterInterface
- func (c *FakeMysqlV1alpha1) Channels(namespace string) v1alpha1.ChannelInterface
- func (c *FakeMysqlV1alpha1) HeatWaveClusters(namespace string) v1alpha1.HeatWaveClusterInterface
- func (c *FakeMysqlV1alpha1) MysqlBackups(namespace string) v1alpha1.MysqlBackupInterface
- func (c *FakeMysqlV1alpha1) MysqlDbSystems(namespace string) v1alpha1.MysqlDbSystemInterface
- func (c *FakeMysqlV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAnalyticsClusters ¶
type FakeAnalyticsClusters struct { Fake *FakeMysqlV1alpha1 // contains filtered or unexported fields }
FakeAnalyticsClusters implements AnalyticsClusterInterface
func (*FakeAnalyticsClusters) Create ¶
func (c *FakeAnalyticsClusters) Create(ctx context.Context, analyticsCluster *v1alpha1.AnalyticsCluster, opts v1.CreateOptions) (result *v1alpha1.AnalyticsCluster, err error)
Create takes the representation of a analyticsCluster and creates it. Returns the server's representation of the analyticsCluster, and an error, if there is any.
func (*FakeAnalyticsClusters) Delete ¶
func (c *FakeAnalyticsClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the analyticsCluster and deletes it. Returns an error if one occurs.
func (*FakeAnalyticsClusters) DeleteCollection ¶
func (c *FakeAnalyticsClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAnalyticsClusters) Get ¶
func (c *FakeAnalyticsClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AnalyticsCluster, err error)
Get takes name of the analyticsCluster, and returns the corresponding analyticsCluster object, and an error if there is any.
func (*FakeAnalyticsClusters) List ¶
func (c *FakeAnalyticsClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AnalyticsClusterList, err error)
List takes label and field selectors, and returns the list of AnalyticsClusters that match those selectors.
func (*FakeAnalyticsClusters) Patch ¶
func (c *FakeAnalyticsClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AnalyticsCluster, err error)
Patch applies the patch and returns the patched analyticsCluster.
func (*FakeAnalyticsClusters) Update ¶
func (c *FakeAnalyticsClusters) Update(ctx context.Context, analyticsCluster *v1alpha1.AnalyticsCluster, opts v1.UpdateOptions) (result *v1alpha1.AnalyticsCluster, err error)
Update takes the representation of a analyticsCluster and updates it. Returns the server's representation of the analyticsCluster, and an error, if there is any.
func (*FakeAnalyticsClusters) UpdateStatus ¶
func (c *FakeAnalyticsClusters) UpdateStatus(ctx context.Context, analyticsCluster *v1alpha1.AnalyticsCluster, opts v1.UpdateOptions) (*v1alpha1.AnalyticsCluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAnalyticsClusters) Watch ¶
func (c *FakeAnalyticsClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested analyticsClusters.
type FakeChannels ¶
type FakeChannels struct { Fake *FakeMysqlV1alpha1 // contains filtered or unexported fields }
FakeChannels implements ChannelInterface
func (*FakeChannels) Create ¶
func (c *FakeChannels) Create(ctx context.Context, channel *v1alpha1.Channel, opts v1.CreateOptions) (result *v1alpha1.Channel, err error)
Create takes the representation of a channel and creates it. Returns the server's representation of the channel, and an error, if there is any.
func (*FakeChannels) Delete ¶
func (c *FakeChannels) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the channel and deletes it. Returns an error if one occurs.
func (*FakeChannels) DeleteCollection ¶
func (c *FakeChannels) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeChannels) Get ¶
func (c *FakeChannels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Channel, err error)
Get takes name of the channel, and returns the corresponding channel object, and an error if there is any.
func (*FakeChannels) List ¶
func (c *FakeChannels) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ChannelList, err error)
List takes label and field selectors, and returns the list of Channels that match those selectors.
func (*FakeChannels) Patch ¶
func (c *FakeChannels) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Channel, err error)
Patch applies the patch and returns the patched channel.
func (*FakeChannels) Update ¶
func (c *FakeChannels) Update(ctx context.Context, channel *v1alpha1.Channel, opts v1.UpdateOptions) (result *v1alpha1.Channel, err error)
Update takes the representation of a channel and updates it. Returns the server's representation of the channel, and an error, if there is any.
func (*FakeChannels) UpdateStatus ¶
func (c *FakeChannels) UpdateStatus(ctx context.Context, channel *v1alpha1.Channel, opts v1.UpdateOptions) (*v1alpha1.Channel, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeChannels) Watch ¶
func (c *FakeChannels) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested channels.
type FakeHeatWaveClusters ¶
type FakeHeatWaveClusters struct { Fake *FakeMysqlV1alpha1 // contains filtered or unexported fields }
FakeHeatWaveClusters implements HeatWaveClusterInterface
func (*FakeHeatWaveClusters) Create ¶
func (c *FakeHeatWaveClusters) Create(ctx context.Context, heatWaveCluster *v1alpha1.HeatWaveCluster, opts v1.CreateOptions) (result *v1alpha1.HeatWaveCluster, err error)
Create takes the representation of a heatWaveCluster and creates it. Returns the server's representation of the heatWaveCluster, and an error, if there is any.
func (*FakeHeatWaveClusters) Delete ¶
func (c *FakeHeatWaveClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the heatWaveCluster and deletes it. Returns an error if one occurs.
func (*FakeHeatWaveClusters) DeleteCollection ¶
func (c *FakeHeatWaveClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHeatWaveClusters) Get ¶
func (c *FakeHeatWaveClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.HeatWaveCluster, err error)
Get takes name of the heatWaveCluster, and returns the corresponding heatWaveCluster object, and an error if there is any.
func (*FakeHeatWaveClusters) List ¶
func (c *FakeHeatWaveClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.HeatWaveClusterList, err error)
List takes label and field selectors, and returns the list of HeatWaveClusters that match those selectors.
func (*FakeHeatWaveClusters) Patch ¶
func (c *FakeHeatWaveClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.HeatWaveCluster, err error)
Patch applies the patch and returns the patched heatWaveCluster.
func (*FakeHeatWaveClusters) Update ¶
func (c *FakeHeatWaveClusters) Update(ctx context.Context, heatWaveCluster *v1alpha1.HeatWaveCluster, opts v1.UpdateOptions) (result *v1alpha1.HeatWaveCluster, err error)
Update takes the representation of a heatWaveCluster and updates it. Returns the server's representation of the heatWaveCluster, and an error, if there is any.
func (*FakeHeatWaveClusters) UpdateStatus ¶
func (c *FakeHeatWaveClusters) UpdateStatus(ctx context.Context, heatWaveCluster *v1alpha1.HeatWaveCluster, opts v1.UpdateOptions) (*v1alpha1.HeatWaveCluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeHeatWaveClusters) Watch ¶
func (c *FakeHeatWaveClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested heatWaveClusters.
type FakeMysqlBackups ¶
type FakeMysqlBackups struct { Fake *FakeMysqlV1alpha1 // contains filtered or unexported fields }
FakeMysqlBackups implements MysqlBackupInterface
func (*FakeMysqlBackups) Create ¶
func (c *FakeMysqlBackups) Create(ctx context.Context, mysqlBackup *v1alpha1.MysqlBackup, opts v1.CreateOptions) (result *v1alpha1.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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMysqlBackups) Get ¶
func (c *FakeMysqlBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MysqlBackup, err error)
Patch applies the patch and returns the patched mysqlBackup.
func (*FakeMysqlBackups) Update ¶
func (c *FakeMysqlBackups) Update(ctx context.Context, mysqlBackup *v1alpha1.MysqlBackup, opts v1.UpdateOptions) (result *v1alpha1.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) UpdateStatus ¶
func (c *FakeMysqlBackups) UpdateStatus(ctx context.Context, mysqlBackup *v1alpha1.MysqlBackup, opts v1.UpdateOptions) (*v1alpha1.MysqlBackup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMysqlBackups) Watch ¶
func (c *FakeMysqlBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mysqlBackups.
type FakeMysqlDbSystems ¶
type FakeMysqlDbSystems struct { Fake *FakeMysqlV1alpha1 // contains filtered or unexported fields }
FakeMysqlDbSystems implements MysqlDbSystemInterface
func (*FakeMysqlDbSystems) Create ¶
func (c *FakeMysqlDbSystems) Create(ctx context.Context, mysqlDbSystem *v1alpha1.MysqlDbSystem, opts v1.CreateOptions) (result *v1alpha1.MysqlDbSystem, err error)
Create takes the representation of a mysqlDbSystem and creates it. Returns the server's representation of the mysqlDbSystem, and an error, if there is any.
func (*FakeMysqlDbSystems) Delete ¶
func (c *FakeMysqlDbSystems) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the mysqlDbSystem and deletes it. Returns an error if one occurs.
func (*FakeMysqlDbSystems) DeleteCollection ¶
func (c *FakeMysqlDbSystems) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMysqlDbSystems) Get ¶
func (c *FakeMysqlDbSystems) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MysqlDbSystem, err error)
Get takes name of the mysqlDbSystem, and returns the corresponding mysqlDbSystem object, and an error if there is any.
func (*FakeMysqlDbSystems) List ¶
func (c *FakeMysqlDbSystems) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MysqlDbSystemList, err error)
List takes label and field selectors, and returns the list of MysqlDbSystems that match those selectors.
func (*FakeMysqlDbSystems) Patch ¶
func (c *FakeMysqlDbSystems) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MysqlDbSystem, err error)
Patch applies the patch and returns the patched mysqlDbSystem.
func (*FakeMysqlDbSystems) Update ¶
func (c *FakeMysqlDbSystems) Update(ctx context.Context, mysqlDbSystem *v1alpha1.MysqlDbSystem, opts v1.UpdateOptions) (result *v1alpha1.MysqlDbSystem, err error)
Update takes the representation of a mysqlDbSystem and updates it. Returns the server's representation of the mysqlDbSystem, and an error, if there is any.
func (*FakeMysqlDbSystems) UpdateStatus ¶
func (c *FakeMysqlDbSystems) UpdateStatus(ctx context.Context, mysqlDbSystem *v1alpha1.MysqlDbSystem, opts v1.UpdateOptions) (*v1alpha1.MysqlDbSystem, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMysqlDbSystems) Watch ¶
func (c *FakeMysqlDbSystems) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mysqlDbSystems.
type FakeMysqlV1alpha1 ¶
func (*FakeMysqlV1alpha1) AnalyticsClusters ¶
func (c *FakeMysqlV1alpha1) AnalyticsClusters(namespace string) v1alpha1.AnalyticsClusterInterface
func (*FakeMysqlV1alpha1) Channels ¶
func (c *FakeMysqlV1alpha1) Channels(namespace string) v1alpha1.ChannelInterface
func (*FakeMysqlV1alpha1) HeatWaveClusters ¶
func (c *FakeMysqlV1alpha1) HeatWaveClusters(namespace string) v1alpha1.HeatWaveClusterInterface
func (*FakeMysqlV1alpha1) MysqlBackups ¶
func (c *FakeMysqlV1alpha1) MysqlBackups(namespace string) v1alpha1.MysqlBackupInterface
func (*FakeMysqlV1alpha1) MysqlDbSystems ¶
func (c *FakeMysqlV1alpha1) MysqlDbSystems(namespace string) v1alpha1.MysqlDbSystemInterface
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.