Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAlloyDBBackups
- func (c *FakeAlloyDBBackups) Create(ctx context.Context, alloyDBBackup *v1beta1.AlloyDBBackup, ...) (result *v1beta1.AlloyDBBackup, err error)
- func (c *FakeAlloyDBBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAlloyDBBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAlloyDBBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AlloyDBBackup, err error)
- func (c *FakeAlloyDBBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AlloyDBBackupList, err error)
- func (c *FakeAlloyDBBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.AlloyDBBackup, err error)
- func (c *FakeAlloyDBBackups) Update(ctx context.Context, alloyDBBackup *v1beta1.AlloyDBBackup, ...) (result *v1beta1.AlloyDBBackup, err error)
- func (c *FakeAlloyDBBackups) UpdateStatus(ctx context.Context, alloyDBBackup *v1beta1.AlloyDBBackup, ...) (*v1beta1.AlloyDBBackup, error)
- func (c *FakeAlloyDBBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAlloyDBClusters
- func (c *FakeAlloyDBClusters) Create(ctx context.Context, alloyDBCluster *v1beta1.AlloyDBCluster, ...) (result *v1beta1.AlloyDBCluster, err error)
- func (c *FakeAlloyDBClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAlloyDBClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAlloyDBClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AlloyDBCluster, err error)
- func (c *FakeAlloyDBClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AlloyDBClusterList, err error)
- func (c *FakeAlloyDBClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.AlloyDBCluster, err error)
- func (c *FakeAlloyDBClusters) Update(ctx context.Context, alloyDBCluster *v1beta1.AlloyDBCluster, ...) (result *v1beta1.AlloyDBCluster, err error)
- func (c *FakeAlloyDBClusters) UpdateStatus(ctx context.Context, alloyDBCluster *v1beta1.AlloyDBCluster, ...) (*v1beta1.AlloyDBCluster, error)
- func (c *FakeAlloyDBClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAlloyDBInstances
- func (c *FakeAlloyDBInstances) Create(ctx context.Context, alloyDBInstance *v1beta1.AlloyDBInstance, ...) (result *v1beta1.AlloyDBInstance, err error)
- func (c *FakeAlloyDBInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAlloyDBInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAlloyDBInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AlloyDBInstance, err error)
- func (c *FakeAlloyDBInstances) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AlloyDBInstanceList, err error)
- func (c *FakeAlloyDBInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.AlloyDBInstance, err error)
- func (c *FakeAlloyDBInstances) Update(ctx context.Context, alloyDBInstance *v1beta1.AlloyDBInstance, ...) (result *v1beta1.AlloyDBInstance, err error)
- func (c *FakeAlloyDBInstances) UpdateStatus(ctx context.Context, alloyDBInstance *v1beta1.AlloyDBInstance, ...) (*v1beta1.AlloyDBInstance, error)
- func (c *FakeAlloyDBInstances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAlloyDBUsers
- func (c *FakeAlloyDBUsers) Create(ctx context.Context, alloyDBUser *v1beta1.AlloyDBUser, opts v1.CreateOptions) (result *v1beta1.AlloyDBUser, err error)
- func (c *FakeAlloyDBUsers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAlloyDBUsers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAlloyDBUsers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AlloyDBUser, err error)
- func (c *FakeAlloyDBUsers) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AlloyDBUserList, err error)
- func (c *FakeAlloyDBUsers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.AlloyDBUser, err error)
- func (c *FakeAlloyDBUsers) Update(ctx context.Context, alloyDBUser *v1beta1.AlloyDBUser, opts v1.UpdateOptions) (result *v1beta1.AlloyDBUser, err error)
- func (c *FakeAlloyDBUsers) UpdateStatus(ctx context.Context, alloyDBUser *v1beta1.AlloyDBUser, opts v1.UpdateOptions) (*v1beta1.AlloyDBUser, error)
- func (c *FakeAlloyDBUsers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAlloydbV1beta1
- func (c *FakeAlloydbV1beta1) AlloyDBBackups(namespace string) v1beta1.AlloyDBBackupInterface
- func (c *FakeAlloydbV1beta1) AlloyDBClusters(namespace string) v1beta1.AlloyDBClusterInterface
- func (c *FakeAlloydbV1beta1) AlloyDBInstances(namespace string) v1beta1.AlloyDBInstanceInterface
- func (c *FakeAlloydbV1beta1) AlloyDBUsers(namespace string) v1beta1.AlloyDBUserInterface
- func (c *FakeAlloydbV1beta1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAlloyDBBackups ¶
type FakeAlloyDBBackups struct { Fake *FakeAlloydbV1beta1 // contains filtered or unexported fields }
FakeAlloyDBBackups implements AlloyDBBackupInterface
func (*FakeAlloyDBBackups) Create ¶
func (c *FakeAlloyDBBackups) Create(ctx context.Context, alloyDBBackup *v1beta1.AlloyDBBackup, opts v1.CreateOptions) (result *v1beta1.AlloyDBBackup, err error)
Create takes the representation of a alloyDBBackup and creates it. Returns the server's representation of the alloyDBBackup, and an error, if there is any.
func (*FakeAlloyDBBackups) Delete ¶
func (c *FakeAlloyDBBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the alloyDBBackup and deletes it. Returns an error if one occurs.
func (*FakeAlloyDBBackups) DeleteCollection ¶
func (c *FakeAlloyDBBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAlloyDBBackups) Get ¶
func (c *FakeAlloyDBBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AlloyDBBackup, err error)
Get takes name of the alloyDBBackup, and returns the corresponding alloyDBBackup object, and an error if there is any.
func (*FakeAlloyDBBackups) List ¶
func (c *FakeAlloyDBBackups) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AlloyDBBackupList, err error)
List takes label and field selectors, and returns the list of AlloyDBBackups that match those selectors.
func (*FakeAlloyDBBackups) Patch ¶
func (c *FakeAlloyDBBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.AlloyDBBackup, err error)
Patch applies the patch and returns the patched alloyDBBackup.
func (*FakeAlloyDBBackups) Update ¶
func (c *FakeAlloyDBBackups) Update(ctx context.Context, alloyDBBackup *v1beta1.AlloyDBBackup, opts v1.UpdateOptions) (result *v1beta1.AlloyDBBackup, err error)
Update takes the representation of a alloyDBBackup and updates it. Returns the server's representation of the alloyDBBackup, and an error, if there is any.
func (*FakeAlloyDBBackups) UpdateStatus ¶
func (c *FakeAlloyDBBackups) UpdateStatus(ctx context.Context, alloyDBBackup *v1beta1.AlloyDBBackup, opts v1.UpdateOptions) (*v1beta1.AlloyDBBackup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAlloyDBBackups) Watch ¶
func (c *FakeAlloyDBBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested alloyDBBackups.
type FakeAlloyDBClusters ¶
type FakeAlloyDBClusters struct { Fake *FakeAlloydbV1beta1 // contains filtered or unexported fields }
FakeAlloyDBClusters implements AlloyDBClusterInterface
func (*FakeAlloyDBClusters) Create ¶
func (c *FakeAlloyDBClusters) Create(ctx context.Context, alloyDBCluster *v1beta1.AlloyDBCluster, opts v1.CreateOptions) (result *v1beta1.AlloyDBCluster, err error)
Create takes the representation of a alloyDBCluster and creates it. Returns the server's representation of the alloyDBCluster, and an error, if there is any.
func (*FakeAlloyDBClusters) Delete ¶
func (c *FakeAlloyDBClusters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the alloyDBCluster and deletes it. Returns an error if one occurs.
func (*FakeAlloyDBClusters) DeleteCollection ¶
func (c *FakeAlloyDBClusters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAlloyDBClusters) Get ¶
func (c *FakeAlloyDBClusters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AlloyDBCluster, err error)
Get takes name of the alloyDBCluster, and returns the corresponding alloyDBCluster object, and an error if there is any.
func (*FakeAlloyDBClusters) List ¶
func (c *FakeAlloyDBClusters) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AlloyDBClusterList, err error)
List takes label and field selectors, and returns the list of AlloyDBClusters that match those selectors.
func (*FakeAlloyDBClusters) Patch ¶
func (c *FakeAlloyDBClusters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.AlloyDBCluster, err error)
Patch applies the patch and returns the patched alloyDBCluster.
func (*FakeAlloyDBClusters) Update ¶
func (c *FakeAlloyDBClusters) Update(ctx context.Context, alloyDBCluster *v1beta1.AlloyDBCluster, opts v1.UpdateOptions) (result *v1beta1.AlloyDBCluster, err error)
Update takes the representation of a alloyDBCluster and updates it. Returns the server's representation of the alloyDBCluster, and an error, if there is any.
func (*FakeAlloyDBClusters) UpdateStatus ¶
func (c *FakeAlloyDBClusters) UpdateStatus(ctx context.Context, alloyDBCluster *v1beta1.AlloyDBCluster, opts v1.UpdateOptions) (*v1beta1.AlloyDBCluster, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAlloyDBClusters) Watch ¶
func (c *FakeAlloyDBClusters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested alloyDBClusters.
type FakeAlloyDBInstances ¶
type FakeAlloyDBInstances struct { Fake *FakeAlloydbV1beta1 // contains filtered or unexported fields }
FakeAlloyDBInstances implements AlloyDBInstanceInterface
func (*FakeAlloyDBInstances) Create ¶
func (c *FakeAlloyDBInstances) Create(ctx context.Context, alloyDBInstance *v1beta1.AlloyDBInstance, opts v1.CreateOptions) (result *v1beta1.AlloyDBInstance, err error)
Create takes the representation of a alloyDBInstance and creates it. Returns the server's representation of the alloyDBInstance, and an error, if there is any.
func (*FakeAlloyDBInstances) Delete ¶
func (c *FakeAlloyDBInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the alloyDBInstance and deletes it. Returns an error if one occurs.
func (*FakeAlloyDBInstances) DeleteCollection ¶
func (c *FakeAlloyDBInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAlloyDBInstances) Get ¶
func (c *FakeAlloyDBInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AlloyDBInstance, err error)
Get takes name of the alloyDBInstance, and returns the corresponding alloyDBInstance object, and an error if there is any.
func (*FakeAlloyDBInstances) List ¶
func (c *FakeAlloyDBInstances) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AlloyDBInstanceList, err error)
List takes label and field selectors, and returns the list of AlloyDBInstances that match those selectors.
func (*FakeAlloyDBInstances) Patch ¶
func (c *FakeAlloyDBInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.AlloyDBInstance, err error)
Patch applies the patch and returns the patched alloyDBInstance.
func (*FakeAlloyDBInstances) Update ¶
func (c *FakeAlloyDBInstances) Update(ctx context.Context, alloyDBInstance *v1beta1.AlloyDBInstance, opts v1.UpdateOptions) (result *v1beta1.AlloyDBInstance, err error)
Update takes the representation of a alloyDBInstance and updates it. Returns the server's representation of the alloyDBInstance, and an error, if there is any.
func (*FakeAlloyDBInstances) UpdateStatus ¶
func (c *FakeAlloyDBInstances) UpdateStatus(ctx context.Context, alloyDBInstance *v1beta1.AlloyDBInstance, opts v1.UpdateOptions) (*v1beta1.AlloyDBInstance, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAlloyDBInstances) Watch ¶
func (c *FakeAlloyDBInstances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested alloyDBInstances.
type FakeAlloyDBUsers ¶ added in v1.112.0
type FakeAlloyDBUsers struct { Fake *FakeAlloydbV1beta1 // contains filtered or unexported fields }
FakeAlloyDBUsers implements AlloyDBUserInterface
func (*FakeAlloyDBUsers) Create ¶ added in v1.112.0
func (c *FakeAlloyDBUsers) Create(ctx context.Context, alloyDBUser *v1beta1.AlloyDBUser, opts v1.CreateOptions) (result *v1beta1.AlloyDBUser, err error)
Create takes the representation of a alloyDBUser and creates it. Returns the server's representation of the alloyDBUser, and an error, if there is any.
func (*FakeAlloyDBUsers) Delete ¶ added in v1.112.0
func (c *FakeAlloyDBUsers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the alloyDBUser and deletes it. Returns an error if one occurs.
func (*FakeAlloyDBUsers) DeleteCollection ¶ added in v1.112.0
func (c *FakeAlloyDBUsers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAlloyDBUsers) Get ¶ added in v1.112.0
func (c *FakeAlloyDBUsers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AlloyDBUser, err error)
Get takes name of the alloyDBUser, and returns the corresponding alloyDBUser object, and an error if there is any.
func (*FakeAlloyDBUsers) List ¶ added in v1.112.0
func (c *FakeAlloyDBUsers) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AlloyDBUserList, err error)
List takes label and field selectors, and returns the list of AlloyDBUsers that match those selectors.
func (*FakeAlloyDBUsers) Patch ¶ added in v1.112.0
func (c *FakeAlloyDBUsers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.AlloyDBUser, err error)
Patch applies the patch and returns the patched alloyDBUser.
func (*FakeAlloyDBUsers) Update ¶ added in v1.112.0
func (c *FakeAlloyDBUsers) Update(ctx context.Context, alloyDBUser *v1beta1.AlloyDBUser, opts v1.UpdateOptions) (result *v1beta1.AlloyDBUser, err error)
Update takes the representation of a alloyDBUser and updates it. Returns the server's representation of the alloyDBUser, and an error, if there is any.
func (*FakeAlloyDBUsers) UpdateStatus ¶ added in v1.112.0
func (c *FakeAlloyDBUsers) UpdateStatus(ctx context.Context, alloyDBUser *v1beta1.AlloyDBUser, opts v1.UpdateOptions) (*v1beta1.AlloyDBUser, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAlloyDBUsers) Watch ¶ added in v1.112.0
func (c *FakeAlloyDBUsers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested alloyDBUsers.
type FakeAlloydbV1beta1 ¶
func (*FakeAlloydbV1beta1) AlloyDBBackups ¶
func (c *FakeAlloydbV1beta1) AlloyDBBackups(namespace string) v1beta1.AlloyDBBackupInterface
func (*FakeAlloydbV1beta1) AlloyDBClusters ¶
func (c *FakeAlloydbV1beta1) AlloyDBClusters(namespace string) v1beta1.AlloyDBClusterInterface
func (*FakeAlloydbV1beta1) AlloyDBInstances ¶
func (c *FakeAlloydbV1beta1) AlloyDBInstances(namespace string) v1beta1.AlloyDBInstanceInterface
func (*FakeAlloydbV1beta1) AlloyDBUsers ¶ added in v1.112.0
func (c *FakeAlloydbV1beta1) AlloyDBUsers(namespace string) v1beta1.AlloyDBUserInterface
func (*FakeAlloydbV1beta1) RESTClient ¶
func (c *FakeAlloydbV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.