fake

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAppProfiles

type FakeAppProfiles struct {
	Fake *FakeBigtableV1alpha1
	// contains filtered or unexported fields
}

FakeAppProfiles implements AppProfileInterface

func (*FakeAppProfiles) Create

func (c *FakeAppProfiles) Create(ctx context.Context, appProfile *v1alpha1.AppProfile, opts v1.CreateOptions) (result *v1alpha1.AppProfile, err error)

Create takes the representation of a appProfile and creates it. Returns the server's representation of the appProfile, and an error, if there is any.

func (*FakeAppProfiles) Delete

func (c *FakeAppProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the appProfile and deletes it. Returns an error if one occurs.

func (*FakeAppProfiles) DeleteCollection

func (c *FakeAppProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAppProfiles) Get

func (c *FakeAppProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AppProfile, err error)

Get takes name of the appProfile, and returns the corresponding appProfile object, and an error if there is any.

func (*FakeAppProfiles) List

func (c *FakeAppProfiles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AppProfileList, err error)

List takes label and field selectors, and returns the list of AppProfiles that match those selectors.

func (*FakeAppProfiles) Patch

func (c *FakeAppProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AppProfile, err error)

Patch applies the patch and returns the patched appProfile.

func (*FakeAppProfiles) Update

func (c *FakeAppProfiles) Update(ctx context.Context, appProfile *v1alpha1.AppProfile, opts v1.UpdateOptions) (result *v1alpha1.AppProfile, err error)

Update takes the representation of a appProfile and updates it. Returns the server's representation of the appProfile, and an error, if there is any.

func (*FakeAppProfiles) UpdateStatus

func (c *FakeAppProfiles) UpdateStatus(ctx context.Context, appProfile *v1alpha1.AppProfile, opts v1.UpdateOptions) (*v1alpha1.AppProfile, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeAppProfiles) Watch

Watch returns a watch.Interface that watches the requested appProfiles.

type FakeBigtableV1alpha1

type FakeBigtableV1alpha1 struct {
	*testing.Fake
}

func (*FakeBigtableV1alpha1) AppProfiles

func (c *FakeBigtableV1alpha1) AppProfiles(namespace string) v1alpha1.AppProfileInterface

func (*FakeBigtableV1alpha1) GcPolicies

func (c *FakeBigtableV1alpha1) GcPolicies(namespace string) v1alpha1.GcPolicyInterface

func (*FakeBigtableV1alpha1) InstanceIamBindings

func (c *FakeBigtableV1alpha1) InstanceIamBindings(namespace string) v1alpha1.InstanceIamBindingInterface

func (*FakeBigtableV1alpha1) InstanceIamMembers

func (c *FakeBigtableV1alpha1) InstanceIamMembers(namespace string) v1alpha1.InstanceIamMemberInterface

func (*FakeBigtableV1alpha1) InstanceIamPolicies

func (c *FakeBigtableV1alpha1) InstanceIamPolicies(namespace string) v1alpha1.InstanceIamPolicyInterface

func (*FakeBigtableV1alpha1) Instances

func (c *FakeBigtableV1alpha1) Instances(namespace string) v1alpha1.InstanceInterface

func (*FakeBigtableV1alpha1) RESTClient

func (c *FakeBigtableV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeBigtableV1alpha1) TableIamBindings

func (c *FakeBigtableV1alpha1) TableIamBindings(namespace string) v1alpha1.TableIamBindingInterface

func (*FakeBigtableV1alpha1) TableIamMembers

func (c *FakeBigtableV1alpha1) TableIamMembers(namespace string) v1alpha1.TableIamMemberInterface

func (*FakeBigtableV1alpha1) TableIamPolicies

func (c *FakeBigtableV1alpha1) TableIamPolicies(namespace string) v1alpha1.TableIamPolicyInterface

func (*FakeBigtableV1alpha1) Tables

func (c *FakeBigtableV1alpha1) Tables(namespace string) v1alpha1.TableInterface

type FakeGcPolicies

type FakeGcPolicies struct {
	Fake *FakeBigtableV1alpha1
	// contains filtered or unexported fields
}

FakeGcPolicies implements GcPolicyInterface

func (*FakeGcPolicies) Create

func (c *FakeGcPolicies) Create(ctx context.Context, gcPolicy *v1alpha1.GcPolicy, opts v1.CreateOptions) (result *v1alpha1.GcPolicy, err error)

Create takes the representation of a gcPolicy and creates it. Returns the server's representation of the gcPolicy, and an error, if there is any.

func (*FakeGcPolicies) Delete

func (c *FakeGcPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the gcPolicy and deletes it. Returns an error if one occurs.

func (*FakeGcPolicies) DeleteCollection

func (c *FakeGcPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeGcPolicies) Get

func (c *FakeGcPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.GcPolicy, err error)

Get takes name of the gcPolicy, and returns the corresponding gcPolicy object, and an error if there is any.

func (*FakeGcPolicies) List

func (c *FakeGcPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.GcPolicyList, err error)

List takes label and field selectors, and returns the list of GcPolicies that match those selectors.

func (*FakeGcPolicies) Patch

func (c *FakeGcPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.GcPolicy, err error)

Patch applies the patch and returns the patched gcPolicy.

func (*FakeGcPolicies) Update

func (c *FakeGcPolicies) Update(ctx context.Context, gcPolicy *v1alpha1.GcPolicy, opts v1.UpdateOptions) (result *v1alpha1.GcPolicy, err error)

Update takes the representation of a gcPolicy and updates it. Returns the server's representation of the gcPolicy, and an error, if there is any.

func (*FakeGcPolicies) UpdateStatus

func (c *FakeGcPolicies) UpdateStatus(ctx context.Context, gcPolicy *v1alpha1.GcPolicy, opts v1.UpdateOptions) (*v1alpha1.GcPolicy, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeGcPolicies) Watch

Watch returns a watch.Interface that watches the requested gcPolicies.

type FakeInstanceIamBindings

type FakeInstanceIamBindings struct {
	Fake *FakeBigtableV1alpha1
	// 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

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

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

Watch returns a watch.Interface that watches the requested instanceIamBindings.

type FakeInstanceIamMembers

type FakeInstanceIamMembers struct {
	Fake *FakeBigtableV1alpha1
	// 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

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

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

Watch returns a watch.Interface that watches the requested instanceIamMembers.

type FakeInstanceIamPolicies

type FakeInstanceIamPolicies struct {
	Fake *FakeBigtableV1alpha1
	// 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

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

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

Watch returns a watch.Interface that watches the requested instanceIamPolicies.

type FakeInstances

type FakeInstances struct {
	Fake *FakeBigtableV1alpha1
	// 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

Watch returns a watch.Interface that watches the requested instances.

type FakeTableIamBindings

type FakeTableIamBindings struct {
	Fake *FakeBigtableV1alpha1
	// contains filtered or unexported fields
}

FakeTableIamBindings implements TableIamBindingInterface

func (*FakeTableIamBindings) Create

func (c *FakeTableIamBindings) Create(ctx context.Context, tableIamBinding *v1alpha1.TableIamBinding, opts v1.CreateOptions) (result *v1alpha1.TableIamBinding, err error)

Create takes the representation of a tableIamBinding and creates it. Returns the server's representation of the tableIamBinding, and an error, if there is any.

func (*FakeTableIamBindings) Delete

func (c *FakeTableIamBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the tableIamBinding and deletes it. Returns an error if one occurs.

func (*FakeTableIamBindings) DeleteCollection

func (c *FakeTableIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeTableIamBindings) Get

func (c *FakeTableIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TableIamBinding, err error)

Get takes name of the tableIamBinding, and returns the corresponding tableIamBinding object, and an error if there is any.

func (*FakeTableIamBindings) List

List takes label and field selectors, and returns the list of TableIamBindings that match those selectors.

func (*FakeTableIamBindings) Patch

func (c *FakeTableIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TableIamBinding, err error)

Patch applies the patch and returns the patched tableIamBinding.

func (*FakeTableIamBindings) Update

func (c *FakeTableIamBindings) Update(ctx context.Context, tableIamBinding *v1alpha1.TableIamBinding, opts v1.UpdateOptions) (result *v1alpha1.TableIamBinding, err error)

Update takes the representation of a tableIamBinding and updates it. Returns the server's representation of the tableIamBinding, and an error, if there is any.

func (*FakeTableIamBindings) UpdateStatus

func (c *FakeTableIamBindings) UpdateStatus(ctx context.Context, tableIamBinding *v1alpha1.TableIamBinding, opts v1.UpdateOptions) (*v1alpha1.TableIamBinding, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeTableIamBindings) Watch

Watch returns a watch.Interface that watches the requested tableIamBindings.

type FakeTableIamMembers

type FakeTableIamMembers struct {
	Fake *FakeBigtableV1alpha1
	// contains filtered or unexported fields
}

FakeTableIamMembers implements TableIamMemberInterface

func (*FakeTableIamMembers) Create

func (c *FakeTableIamMembers) Create(ctx context.Context, tableIamMember *v1alpha1.TableIamMember, opts v1.CreateOptions) (result *v1alpha1.TableIamMember, err error)

Create takes the representation of a tableIamMember and creates it. Returns the server's representation of the tableIamMember, and an error, if there is any.

func (*FakeTableIamMembers) Delete

func (c *FakeTableIamMembers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the tableIamMember and deletes it. Returns an error if one occurs.

func (*FakeTableIamMembers) DeleteCollection

func (c *FakeTableIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeTableIamMembers) Get

func (c *FakeTableIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TableIamMember, err error)

Get takes name of the tableIamMember, and returns the corresponding tableIamMember object, and an error if there is any.

func (*FakeTableIamMembers) List

List takes label and field selectors, and returns the list of TableIamMembers that match those selectors.

func (*FakeTableIamMembers) Patch

func (c *FakeTableIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TableIamMember, err error)

Patch applies the patch and returns the patched tableIamMember.

func (*FakeTableIamMembers) Update

func (c *FakeTableIamMembers) Update(ctx context.Context, tableIamMember *v1alpha1.TableIamMember, opts v1.UpdateOptions) (result *v1alpha1.TableIamMember, err error)

Update takes the representation of a tableIamMember and updates it. Returns the server's representation of the tableIamMember, and an error, if there is any.

func (*FakeTableIamMembers) UpdateStatus

func (c *FakeTableIamMembers) UpdateStatus(ctx context.Context, tableIamMember *v1alpha1.TableIamMember, opts v1.UpdateOptions) (*v1alpha1.TableIamMember, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeTableIamMembers) Watch

Watch returns a watch.Interface that watches the requested tableIamMembers.

type FakeTableIamPolicies

type FakeTableIamPolicies struct {
	Fake *FakeBigtableV1alpha1
	// contains filtered or unexported fields
}

FakeTableIamPolicies implements TableIamPolicyInterface

func (*FakeTableIamPolicies) Create

func (c *FakeTableIamPolicies) Create(ctx context.Context, tableIamPolicy *v1alpha1.TableIamPolicy, opts v1.CreateOptions) (result *v1alpha1.TableIamPolicy, err error)

Create takes the representation of a tableIamPolicy and creates it. Returns the server's representation of the tableIamPolicy, and an error, if there is any.

func (*FakeTableIamPolicies) Delete

func (c *FakeTableIamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the tableIamPolicy and deletes it. Returns an error if one occurs.

func (*FakeTableIamPolicies) DeleteCollection

func (c *FakeTableIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeTableIamPolicies) Get

func (c *FakeTableIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TableIamPolicy, err error)

Get takes name of the tableIamPolicy, and returns the corresponding tableIamPolicy object, and an error if there is any.

func (*FakeTableIamPolicies) List

List takes label and field selectors, and returns the list of TableIamPolicies that match those selectors.

func (*FakeTableIamPolicies) Patch

func (c *FakeTableIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TableIamPolicy, err error)

Patch applies the patch and returns the patched tableIamPolicy.

func (*FakeTableIamPolicies) Update

func (c *FakeTableIamPolicies) Update(ctx context.Context, tableIamPolicy *v1alpha1.TableIamPolicy, opts v1.UpdateOptions) (result *v1alpha1.TableIamPolicy, err error)

Update takes the representation of a tableIamPolicy and updates it. Returns the server's representation of the tableIamPolicy, and an error, if there is any.

func (*FakeTableIamPolicies) UpdateStatus

func (c *FakeTableIamPolicies) UpdateStatus(ctx context.Context, tableIamPolicy *v1alpha1.TableIamPolicy, opts v1.UpdateOptions) (*v1alpha1.TableIamPolicy, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeTableIamPolicies) Watch

Watch returns a watch.Interface that watches the requested tableIamPolicies.

type FakeTables

type FakeTables struct {
	Fake *FakeBigtableV1alpha1
	// contains filtered or unexported fields
}

FakeTables implements TableInterface

func (*FakeTables) Create

func (c *FakeTables) Create(ctx context.Context, table *v1alpha1.Table, opts v1.CreateOptions) (result *v1alpha1.Table, err error)

Create takes the representation of a table and creates it. Returns the server's representation of the table, and an error, if there is any.

func (*FakeTables) Delete

func (c *FakeTables) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the table and deletes it. Returns an error if one occurs.

func (*FakeTables) DeleteCollection

func (c *FakeTables) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeTables) Get

func (c *FakeTables) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Table, err error)

Get takes name of the table, and returns the corresponding table object, and an error if there is any.

func (*FakeTables) List

func (c *FakeTables) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TableList, err error)

List takes label and field selectors, and returns the list of Tables that match those selectors.

func (*FakeTables) Patch

func (c *FakeTables) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Table, err error)

Patch applies the patch and returns the patched table.

func (*FakeTables) Update

func (c *FakeTables) Update(ctx context.Context, table *v1alpha1.Table, opts v1.UpdateOptions) (result *v1alpha1.Table, err error)

Update takes the representation of a table and updates it. Returns the server's representation of the table, and an error, if there is any.

func (*FakeTables) UpdateStatus

func (c *FakeTables) UpdateStatus(ctx context.Context, table *v1alpha1.Table, opts v1.UpdateOptions) (*v1alpha1.Table, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeTables) Watch

func (c *FakeTables) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested tables.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL