Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDatabaseIamBindings
- func (c *FakeDatabaseIamBindings) Create(ctx context.Context, databaseIamBinding *v1alpha1.DatabaseIamBinding, ...) (result *v1alpha1.DatabaseIamBinding, err error)
- func (c *FakeDatabaseIamBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDatabaseIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDatabaseIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DatabaseIamBinding, err error)
- func (c *FakeDatabaseIamBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DatabaseIamBindingList, err error)
- func (c *FakeDatabaseIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.DatabaseIamBinding, err error)
- func (c *FakeDatabaseIamBindings) Update(ctx context.Context, databaseIamBinding *v1alpha1.DatabaseIamBinding, ...) (result *v1alpha1.DatabaseIamBinding, err error)
- func (c *FakeDatabaseIamBindings) UpdateStatus(ctx context.Context, databaseIamBinding *v1alpha1.DatabaseIamBinding, ...) (*v1alpha1.DatabaseIamBinding, error)
- func (c *FakeDatabaseIamBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDatabaseIamMembers
- func (c *FakeDatabaseIamMembers) Create(ctx context.Context, databaseIamMember *v1alpha1.DatabaseIamMember, ...) (result *v1alpha1.DatabaseIamMember, err error)
- func (c *FakeDatabaseIamMembers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDatabaseIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDatabaseIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DatabaseIamMember, err error)
- func (c *FakeDatabaseIamMembers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DatabaseIamMemberList, err error)
- func (c *FakeDatabaseIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.DatabaseIamMember, err error)
- func (c *FakeDatabaseIamMembers) Update(ctx context.Context, databaseIamMember *v1alpha1.DatabaseIamMember, ...) (result *v1alpha1.DatabaseIamMember, err error)
- func (c *FakeDatabaseIamMembers) UpdateStatus(ctx context.Context, databaseIamMember *v1alpha1.DatabaseIamMember, ...) (*v1alpha1.DatabaseIamMember, error)
- func (c *FakeDatabaseIamMembers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDatabaseIamPolicies
- func (c *FakeDatabaseIamPolicies) Create(ctx context.Context, databaseIamPolicy *v1alpha1.DatabaseIamPolicy, ...) (result *v1alpha1.DatabaseIamPolicy, err error)
- func (c *FakeDatabaseIamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDatabaseIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDatabaseIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DatabaseIamPolicy, err error)
- func (c *FakeDatabaseIamPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DatabaseIamPolicyList, err error)
- func (c *FakeDatabaseIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.DatabaseIamPolicy, err error)
- func (c *FakeDatabaseIamPolicies) Update(ctx context.Context, databaseIamPolicy *v1alpha1.DatabaseIamPolicy, ...) (result *v1alpha1.DatabaseIamPolicy, err error)
- func (c *FakeDatabaseIamPolicies) UpdateStatus(ctx context.Context, databaseIamPolicy *v1alpha1.DatabaseIamPolicy, ...) (*v1alpha1.DatabaseIamPolicy, error)
- func (c *FakeDatabaseIamPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDatabases
- func (c *FakeDatabases) Create(ctx context.Context, database *v1alpha1.Database, opts v1.CreateOptions) (result *v1alpha1.Database, err error)
- func (c *FakeDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Database, err error)
- func (c *FakeDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DatabaseList, err error)
- func (c *FakeDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Database, err error)
- func (c *FakeDatabases) Update(ctx context.Context, database *v1alpha1.Database, opts v1.UpdateOptions) (result *v1alpha1.Database, err error)
- func (c *FakeDatabases) UpdateStatus(ctx context.Context, database *v1alpha1.Database, opts v1.UpdateOptions) (*v1alpha1.Database, error)
- func (c *FakeDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeInstanceIamBindings
- func (c *FakeInstanceIamBindings) Create(ctx context.Context, instanceIamBinding *v1alpha1.InstanceIamBinding, ...) (result *v1alpha1.InstanceIamBinding, err error)
- func (c *FakeInstanceIamBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeInstanceIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeInstanceIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.InstanceIamBinding, err error)
- func (c *FakeInstanceIamBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InstanceIamBindingList, err error)
- func (c *FakeInstanceIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.InstanceIamBinding, err error)
- func (c *FakeInstanceIamBindings) Update(ctx context.Context, instanceIamBinding *v1alpha1.InstanceIamBinding, ...) (result *v1alpha1.InstanceIamBinding, err error)
- func (c *FakeInstanceIamBindings) UpdateStatus(ctx context.Context, instanceIamBinding *v1alpha1.InstanceIamBinding, ...) (*v1alpha1.InstanceIamBinding, error)
- func (c *FakeInstanceIamBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeInstanceIamMembers
- func (c *FakeInstanceIamMembers) Create(ctx context.Context, instanceIamMember *v1alpha1.InstanceIamMember, ...) (result *v1alpha1.InstanceIamMember, err error)
- func (c *FakeInstanceIamMembers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeInstanceIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeInstanceIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.InstanceIamMember, err error)
- func (c *FakeInstanceIamMembers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InstanceIamMemberList, err error)
- func (c *FakeInstanceIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.InstanceIamMember, err error)
- func (c *FakeInstanceIamMembers) Update(ctx context.Context, instanceIamMember *v1alpha1.InstanceIamMember, ...) (result *v1alpha1.InstanceIamMember, err error)
- func (c *FakeInstanceIamMembers) UpdateStatus(ctx context.Context, instanceIamMember *v1alpha1.InstanceIamMember, ...) (*v1alpha1.InstanceIamMember, error)
- func (c *FakeInstanceIamMembers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeInstanceIamPolicies
- func (c *FakeInstanceIamPolicies) Create(ctx context.Context, instanceIamPolicy *v1alpha1.InstanceIamPolicy, ...) (result *v1alpha1.InstanceIamPolicy, err error)
- func (c *FakeInstanceIamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeInstanceIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeInstanceIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.InstanceIamPolicy, err error)
- func (c *FakeInstanceIamPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InstanceIamPolicyList, err error)
- func (c *FakeInstanceIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.InstanceIamPolicy, err error)
- func (c *FakeInstanceIamPolicies) Update(ctx context.Context, instanceIamPolicy *v1alpha1.InstanceIamPolicy, ...) (result *v1alpha1.InstanceIamPolicy, err error)
- func (c *FakeInstanceIamPolicies) UpdateStatus(ctx context.Context, instanceIamPolicy *v1alpha1.InstanceIamPolicy, ...) (*v1alpha1.InstanceIamPolicy, error)
- func (c *FakeInstanceIamPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeInstances
- func (c *FakeInstances) Create(ctx context.Context, instance *v1alpha1.Instance, opts v1.CreateOptions) (result *v1alpha1.Instance, err error)
- func (c *FakeInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Instance, err error)
- func (c *FakeInstances) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InstanceList, err error)
- func (c *FakeInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Instance, err error)
- func (c *FakeInstances) Update(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (result *v1alpha1.Instance, err error)
- func (c *FakeInstances) UpdateStatus(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (*v1alpha1.Instance, error)
- func (c *FakeInstances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSpannerV1alpha1
- func (c *FakeSpannerV1alpha1) DatabaseIamBindings(namespace string) v1alpha1.DatabaseIamBindingInterface
- func (c *FakeSpannerV1alpha1) DatabaseIamMembers(namespace string) v1alpha1.DatabaseIamMemberInterface
- func (c *FakeSpannerV1alpha1) DatabaseIamPolicies(namespace string) v1alpha1.DatabaseIamPolicyInterface
- func (c *FakeSpannerV1alpha1) Databases(namespace string) v1alpha1.DatabaseInterface
- func (c *FakeSpannerV1alpha1) InstanceIamBindings(namespace string) v1alpha1.InstanceIamBindingInterface
- func (c *FakeSpannerV1alpha1) InstanceIamMembers(namespace string) v1alpha1.InstanceIamMemberInterface
- func (c *FakeSpannerV1alpha1) InstanceIamPolicies(namespace string) v1alpha1.InstanceIamPolicyInterface
- func (c *FakeSpannerV1alpha1) Instances(namespace string) v1alpha1.InstanceInterface
- func (c *FakeSpannerV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDatabaseIamBindings ¶
type FakeDatabaseIamBindings struct { Fake *FakeSpannerV1alpha1 // contains filtered or unexported fields }
FakeDatabaseIamBindings implements DatabaseIamBindingInterface
func (*FakeDatabaseIamBindings) Create ¶
func (c *FakeDatabaseIamBindings) Create(ctx context.Context, databaseIamBinding *v1alpha1.DatabaseIamBinding, opts v1.CreateOptions) (result *v1alpha1.DatabaseIamBinding, err error)
Create takes the representation of a databaseIamBinding and creates it. Returns the server's representation of the databaseIamBinding, and an error, if there is any.
func (*FakeDatabaseIamBindings) Delete ¶
func (c *FakeDatabaseIamBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the databaseIamBinding and deletes it. Returns an error if one occurs.
func (*FakeDatabaseIamBindings) DeleteCollection ¶
func (c *FakeDatabaseIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDatabaseIamBindings) Get ¶
func (c *FakeDatabaseIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DatabaseIamBinding, err error)
Get takes name of the databaseIamBinding, and returns the corresponding databaseIamBinding object, and an error if there is any.
func (*FakeDatabaseIamBindings) List ¶
func (c *FakeDatabaseIamBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DatabaseIamBindingList, err error)
List takes label and field selectors, and returns the list of DatabaseIamBindings that match those selectors.
func (*FakeDatabaseIamBindings) Patch ¶
func (c *FakeDatabaseIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DatabaseIamBinding, err error)
Patch applies the patch and returns the patched databaseIamBinding.
func (*FakeDatabaseIamBindings) Update ¶
func (c *FakeDatabaseIamBindings) Update(ctx context.Context, databaseIamBinding *v1alpha1.DatabaseIamBinding, opts v1.UpdateOptions) (result *v1alpha1.DatabaseIamBinding, err error)
Update takes the representation of a databaseIamBinding and updates it. Returns the server's representation of the databaseIamBinding, and an error, if there is any.
func (*FakeDatabaseIamBindings) UpdateStatus ¶
func (c *FakeDatabaseIamBindings) UpdateStatus(ctx context.Context, databaseIamBinding *v1alpha1.DatabaseIamBinding, opts v1.UpdateOptions) (*v1alpha1.DatabaseIamBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDatabaseIamBindings) Watch ¶
func (c *FakeDatabaseIamBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested databaseIamBindings.
type FakeDatabaseIamMembers ¶
type FakeDatabaseIamMembers struct { Fake *FakeSpannerV1alpha1 // contains filtered or unexported fields }
FakeDatabaseIamMembers implements DatabaseIamMemberInterface
func (*FakeDatabaseIamMembers) Create ¶
func (c *FakeDatabaseIamMembers) Create(ctx context.Context, databaseIamMember *v1alpha1.DatabaseIamMember, opts v1.CreateOptions) (result *v1alpha1.DatabaseIamMember, err error)
Create takes the representation of a databaseIamMember and creates it. Returns the server's representation of the databaseIamMember, and an error, if there is any.
func (*FakeDatabaseIamMembers) Delete ¶
func (c *FakeDatabaseIamMembers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the databaseIamMember and deletes it. Returns an error if one occurs.
func (*FakeDatabaseIamMembers) DeleteCollection ¶
func (c *FakeDatabaseIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDatabaseIamMembers) Get ¶
func (c *FakeDatabaseIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DatabaseIamMember, err error)
Get takes name of the databaseIamMember, and returns the corresponding databaseIamMember object, and an error if there is any.
func (*FakeDatabaseIamMembers) List ¶
func (c *FakeDatabaseIamMembers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DatabaseIamMemberList, err error)
List takes label and field selectors, and returns the list of DatabaseIamMembers that match those selectors.
func (*FakeDatabaseIamMembers) Patch ¶
func (c *FakeDatabaseIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DatabaseIamMember, err error)
Patch applies the patch and returns the patched databaseIamMember.
func (*FakeDatabaseIamMembers) Update ¶
func (c *FakeDatabaseIamMembers) Update(ctx context.Context, databaseIamMember *v1alpha1.DatabaseIamMember, opts v1.UpdateOptions) (result *v1alpha1.DatabaseIamMember, err error)
Update takes the representation of a databaseIamMember and updates it. Returns the server's representation of the databaseIamMember, and an error, if there is any.
func (*FakeDatabaseIamMembers) UpdateStatus ¶
func (c *FakeDatabaseIamMembers) UpdateStatus(ctx context.Context, databaseIamMember *v1alpha1.DatabaseIamMember, opts v1.UpdateOptions) (*v1alpha1.DatabaseIamMember, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDatabaseIamMembers) Watch ¶
func (c *FakeDatabaseIamMembers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested databaseIamMembers.
type FakeDatabaseIamPolicies ¶
type FakeDatabaseIamPolicies struct { Fake *FakeSpannerV1alpha1 // contains filtered or unexported fields }
FakeDatabaseIamPolicies implements DatabaseIamPolicyInterface
func (*FakeDatabaseIamPolicies) Create ¶
func (c *FakeDatabaseIamPolicies) Create(ctx context.Context, databaseIamPolicy *v1alpha1.DatabaseIamPolicy, opts v1.CreateOptions) (result *v1alpha1.DatabaseIamPolicy, err error)
Create takes the representation of a databaseIamPolicy and creates it. Returns the server's representation of the databaseIamPolicy, and an error, if there is any.
func (*FakeDatabaseIamPolicies) Delete ¶
func (c *FakeDatabaseIamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the databaseIamPolicy and deletes it. Returns an error if one occurs.
func (*FakeDatabaseIamPolicies) DeleteCollection ¶
func (c *FakeDatabaseIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDatabaseIamPolicies) Get ¶
func (c *FakeDatabaseIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DatabaseIamPolicy, err error)
Get takes name of the databaseIamPolicy, and returns the corresponding databaseIamPolicy object, and an error if there is any.
func (*FakeDatabaseIamPolicies) List ¶
func (c *FakeDatabaseIamPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DatabaseIamPolicyList, err error)
List takes label and field selectors, and returns the list of DatabaseIamPolicies that match those selectors.
func (*FakeDatabaseIamPolicies) Patch ¶
func (c *FakeDatabaseIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DatabaseIamPolicy, err error)
Patch applies the patch and returns the patched databaseIamPolicy.
func (*FakeDatabaseIamPolicies) Update ¶
func (c *FakeDatabaseIamPolicies) Update(ctx context.Context, databaseIamPolicy *v1alpha1.DatabaseIamPolicy, opts v1.UpdateOptions) (result *v1alpha1.DatabaseIamPolicy, err error)
Update takes the representation of a databaseIamPolicy and updates it. Returns the server's representation of the databaseIamPolicy, and an error, if there is any.
func (*FakeDatabaseIamPolicies) UpdateStatus ¶
func (c *FakeDatabaseIamPolicies) UpdateStatus(ctx context.Context, databaseIamPolicy *v1alpha1.DatabaseIamPolicy, opts v1.UpdateOptions) (*v1alpha1.DatabaseIamPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDatabaseIamPolicies) Watch ¶
func (c *FakeDatabaseIamPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested databaseIamPolicies.
type FakeDatabases ¶
type FakeDatabases struct { Fake *FakeSpannerV1alpha1 // contains filtered or unexported fields }
FakeDatabases implements DatabaseInterface
func (*FakeDatabases) Create ¶
func (c *FakeDatabases) Create(ctx context.Context, database *v1alpha1.Database, opts v1.CreateOptions) (result *v1alpha1.Database, err error)
Create takes the representation of a database and creates it. Returns the server's representation of the database, and an error, if there is any.
func (*FakeDatabases) Delete ¶
func (c *FakeDatabases) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the database and deletes it. Returns an error if one occurs.
func (*FakeDatabases) DeleteCollection ¶
func (c *FakeDatabases) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDatabases) Get ¶
func (c *FakeDatabases) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Database, err error)
Get takes name of the database, and returns the corresponding database object, and an error if there is any.
func (*FakeDatabases) List ¶
func (c *FakeDatabases) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DatabaseList, err error)
List takes label and field selectors, and returns the list of Databases that match those selectors.
func (*FakeDatabases) Patch ¶
func (c *FakeDatabases) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Database, err error)
Patch applies the patch and returns the patched database.
func (*FakeDatabases) Update ¶
func (c *FakeDatabases) Update(ctx context.Context, database *v1alpha1.Database, opts v1.UpdateOptions) (result *v1alpha1.Database, err error)
Update takes the representation of a database and updates it. Returns the server's representation of the database, and an error, if there is any.
func (*FakeDatabases) UpdateStatus ¶
func (c *FakeDatabases) UpdateStatus(ctx context.Context, database *v1alpha1.Database, opts v1.UpdateOptions) (*v1alpha1.Database, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDatabases) Watch ¶
func (c *FakeDatabases) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested databases.
type FakeInstanceIamBindings ¶
type FakeInstanceIamBindings struct { Fake *FakeSpannerV1alpha1 // contains filtered or unexported fields }
FakeInstanceIamBindings implements InstanceIamBindingInterface
func (*FakeInstanceIamBindings) Create ¶
func (c *FakeInstanceIamBindings) Create(ctx context.Context, instanceIamBinding *v1alpha1.InstanceIamBinding, opts v1.CreateOptions) (result *v1alpha1.InstanceIamBinding, err error)
Create takes the representation of a instanceIamBinding and creates it. Returns the server's representation of the instanceIamBinding, and an error, if there is any.
func (*FakeInstanceIamBindings) Delete ¶
func (c *FakeInstanceIamBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the instanceIamBinding and deletes it. Returns an error if one occurs.
func (*FakeInstanceIamBindings) DeleteCollection ¶
func (c *FakeInstanceIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInstanceIamBindings) Get ¶
func (c *FakeInstanceIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.InstanceIamBinding, err error)
Get takes name of the instanceIamBinding, and returns the corresponding instanceIamBinding object, and an error if there is any.
func (*FakeInstanceIamBindings) List ¶
func (c *FakeInstanceIamBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InstanceIamBindingList, err error)
List takes label and field selectors, and returns the list of InstanceIamBindings that match those selectors.
func (*FakeInstanceIamBindings) Patch ¶
func (c *FakeInstanceIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.InstanceIamBinding, err error)
Patch applies the patch and returns the patched instanceIamBinding.
func (*FakeInstanceIamBindings) Update ¶
func (c *FakeInstanceIamBindings) Update(ctx context.Context, instanceIamBinding *v1alpha1.InstanceIamBinding, opts v1.UpdateOptions) (result *v1alpha1.InstanceIamBinding, err error)
Update takes the representation of a instanceIamBinding and updates it. Returns the server's representation of the instanceIamBinding, and an error, if there is any.
func (*FakeInstanceIamBindings) UpdateStatus ¶
func (c *FakeInstanceIamBindings) UpdateStatus(ctx context.Context, instanceIamBinding *v1alpha1.InstanceIamBinding, opts v1.UpdateOptions) (*v1alpha1.InstanceIamBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeInstanceIamBindings) Watch ¶
func (c *FakeInstanceIamBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested instanceIamBindings.
type FakeInstanceIamMembers ¶
type FakeInstanceIamMembers struct { Fake *FakeSpannerV1alpha1 // contains filtered or unexported fields }
FakeInstanceIamMembers implements InstanceIamMemberInterface
func (*FakeInstanceIamMembers) Create ¶
func (c *FakeInstanceIamMembers) Create(ctx context.Context, instanceIamMember *v1alpha1.InstanceIamMember, opts v1.CreateOptions) (result *v1alpha1.InstanceIamMember, err error)
Create takes the representation of a instanceIamMember and creates it. Returns the server's representation of the instanceIamMember, and an error, if there is any.
func (*FakeInstanceIamMembers) Delete ¶
func (c *FakeInstanceIamMembers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the instanceIamMember and deletes it. Returns an error if one occurs.
func (*FakeInstanceIamMembers) DeleteCollection ¶
func (c *FakeInstanceIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInstanceIamMembers) Get ¶
func (c *FakeInstanceIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.InstanceIamMember, err error)
Get takes name of the instanceIamMember, and returns the corresponding instanceIamMember object, and an error if there is any.
func (*FakeInstanceIamMembers) List ¶
func (c *FakeInstanceIamMembers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InstanceIamMemberList, err error)
List takes label and field selectors, and returns the list of InstanceIamMembers that match those selectors.
func (*FakeInstanceIamMembers) Patch ¶
func (c *FakeInstanceIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.InstanceIamMember, err error)
Patch applies the patch and returns the patched instanceIamMember.
func (*FakeInstanceIamMembers) Update ¶
func (c *FakeInstanceIamMembers) Update(ctx context.Context, instanceIamMember *v1alpha1.InstanceIamMember, opts v1.UpdateOptions) (result *v1alpha1.InstanceIamMember, err error)
Update takes the representation of a instanceIamMember and updates it. Returns the server's representation of the instanceIamMember, and an error, if there is any.
func (*FakeInstanceIamMembers) UpdateStatus ¶
func (c *FakeInstanceIamMembers) UpdateStatus(ctx context.Context, instanceIamMember *v1alpha1.InstanceIamMember, opts v1.UpdateOptions) (*v1alpha1.InstanceIamMember, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeInstanceIamMembers) Watch ¶
func (c *FakeInstanceIamMembers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested instanceIamMembers.
type FakeInstanceIamPolicies ¶
type FakeInstanceIamPolicies struct { Fake *FakeSpannerV1alpha1 // contains filtered or unexported fields }
FakeInstanceIamPolicies implements InstanceIamPolicyInterface
func (*FakeInstanceIamPolicies) Create ¶
func (c *FakeInstanceIamPolicies) Create(ctx context.Context, instanceIamPolicy *v1alpha1.InstanceIamPolicy, opts v1.CreateOptions) (result *v1alpha1.InstanceIamPolicy, err error)
Create takes the representation of a instanceIamPolicy and creates it. Returns the server's representation of the instanceIamPolicy, and an error, if there is any.
func (*FakeInstanceIamPolicies) Delete ¶
func (c *FakeInstanceIamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the instanceIamPolicy and deletes it. Returns an error if one occurs.
func (*FakeInstanceIamPolicies) DeleteCollection ¶
func (c *FakeInstanceIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInstanceIamPolicies) Get ¶
func (c *FakeInstanceIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.InstanceIamPolicy, err error)
Get takes name of the instanceIamPolicy, and returns the corresponding instanceIamPolicy object, and an error if there is any.
func (*FakeInstanceIamPolicies) List ¶
func (c *FakeInstanceIamPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InstanceIamPolicyList, err error)
List takes label and field selectors, and returns the list of InstanceIamPolicies that match those selectors.
func (*FakeInstanceIamPolicies) Patch ¶
func (c *FakeInstanceIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.InstanceIamPolicy, err error)
Patch applies the patch and returns the patched instanceIamPolicy.
func (*FakeInstanceIamPolicies) Update ¶
func (c *FakeInstanceIamPolicies) Update(ctx context.Context, instanceIamPolicy *v1alpha1.InstanceIamPolicy, opts v1.UpdateOptions) (result *v1alpha1.InstanceIamPolicy, err error)
Update takes the representation of a instanceIamPolicy and updates it. Returns the server's representation of the instanceIamPolicy, and an error, if there is any.
func (*FakeInstanceIamPolicies) UpdateStatus ¶
func (c *FakeInstanceIamPolicies) UpdateStatus(ctx context.Context, instanceIamPolicy *v1alpha1.InstanceIamPolicy, opts v1.UpdateOptions) (*v1alpha1.InstanceIamPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeInstanceIamPolicies) Watch ¶
func (c *FakeInstanceIamPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested instanceIamPolicies.
type FakeInstances ¶
type FakeInstances struct { Fake *FakeSpannerV1alpha1 // contains filtered or unexported fields }
FakeInstances implements InstanceInterface
func (*FakeInstances) Create ¶
func (c *FakeInstances) Create(ctx context.Context, instance *v1alpha1.Instance, opts v1.CreateOptions) (result *v1alpha1.Instance, err error)
Create takes the representation of a instance and creates it. Returns the server's representation of the instance, and an error, if there is any.
func (*FakeInstances) Delete ¶
func (c *FakeInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the instance and deletes it. Returns an error if one occurs.
func (*FakeInstances) DeleteCollection ¶
func (c *FakeInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInstances) Get ¶
func (c *FakeInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Instance, err error)
Get takes name of the instance, and returns the corresponding instance object, and an error if there is any.
func (*FakeInstances) List ¶
func (c *FakeInstances) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.InstanceList, err error)
List takes label and field selectors, and returns the list of Instances that match those selectors.
func (*FakeInstances) Patch ¶
func (c *FakeInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Instance, err error)
Patch applies the patch and returns the patched instance.
func (*FakeInstances) Update ¶
func (c *FakeInstances) Update(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (result *v1alpha1.Instance, err error)
Update takes the representation of a instance and updates it. Returns the server's representation of the instance, and an error, if there is any.
func (*FakeInstances) UpdateStatus ¶
func (c *FakeInstances) UpdateStatus(ctx context.Context, instance *v1alpha1.Instance, opts v1.UpdateOptions) (*v1alpha1.Instance, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeInstances) Watch ¶
func (c *FakeInstances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested instances.
type FakeSpannerV1alpha1 ¶
func (*FakeSpannerV1alpha1) DatabaseIamBindings ¶
func (c *FakeSpannerV1alpha1) DatabaseIamBindings(namespace string) v1alpha1.DatabaseIamBindingInterface
func (*FakeSpannerV1alpha1) DatabaseIamMembers ¶
func (c *FakeSpannerV1alpha1) DatabaseIamMembers(namespace string) v1alpha1.DatabaseIamMemberInterface
func (*FakeSpannerV1alpha1) DatabaseIamPolicies ¶
func (c *FakeSpannerV1alpha1) DatabaseIamPolicies(namespace string) v1alpha1.DatabaseIamPolicyInterface
func (*FakeSpannerV1alpha1) Databases ¶
func (c *FakeSpannerV1alpha1) Databases(namespace string) v1alpha1.DatabaseInterface
func (*FakeSpannerV1alpha1) InstanceIamBindings ¶
func (c *FakeSpannerV1alpha1) InstanceIamBindings(namespace string) v1alpha1.InstanceIamBindingInterface
func (*FakeSpannerV1alpha1) InstanceIamMembers ¶
func (c *FakeSpannerV1alpha1) InstanceIamMembers(namespace string) v1alpha1.InstanceIamMemberInterface
func (*FakeSpannerV1alpha1) InstanceIamPolicies ¶
func (c *FakeSpannerV1alpha1) InstanceIamPolicies(namespace string) v1alpha1.InstanceIamPolicyInterface
func (*FakeSpannerV1alpha1) Instances ¶
func (c *FakeSpannerV1alpha1) Instances(namespace string) v1alpha1.InstanceInterface
func (*FakeSpannerV1alpha1) RESTClient ¶
func (c *FakeSpannerV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.