fake

package
v1.72.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 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 FakeBigtableAppProfiles

type FakeBigtableAppProfiles struct {
	Fake *FakeBigtableV1beta1
	// contains filtered or unexported fields
}

FakeBigtableAppProfiles implements BigtableAppProfileInterface

func (*FakeBigtableAppProfiles) Create

func (c *FakeBigtableAppProfiles) Create(ctx context.Context, bigtableAppProfile *v1beta1.BigtableAppProfile, opts v1.CreateOptions) (result *v1beta1.BigtableAppProfile, err error)

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

func (*FakeBigtableAppProfiles) Delete

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

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

func (*FakeBigtableAppProfiles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBigtableAppProfiles) Get

func (c *FakeBigtableAppProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.BigtableAppProfile, err error)

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

func (*FakeBigtableAppProfiles) List

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

func (*FakeBigtableAppProfiles) Patch

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

Patch applies the patch and returns the patched bigtableAppProfile.

func (*FakeBigtableAppProfiles) Update

func (c *FakeBigtableAppProfiles) Update(ctx context.Context, bigtableAppProfile *v1beta1.BigtableAppProfile, opts v1.UpdateOptions) (result *v1beta1.BigtableAppProfile, err error)

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

func (*FakeBigtableAppProfiles) UpdateStatus

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

func (*FakeBigtableAppProfiles) Watch

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

type FakeBigtableGCPolicies

type FakeBigtableGCPolicies struct {
	Fake *FakeBigtableV1beta1
	// contains filtered or unexported fields
}

FakeBigtableGCPolicies implements BigtableGCPolicyInterface

func (*FakeBigtableGCPolicies) Create

func (c *FakeBigtableGCPolicies) Create(ctx context.Context, bigtableGCPolicy *v1beta1.BigtableGCPolicy, opts v1.CreateOptions) (result *v1beta1.BigtableGCPolicy, err error)

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

func (*FakeBigtableGCPolicies) Delete

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

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

func (*FakeBigtableGCPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBigtableGCPolicies) Get

func (c *FakeBigtableGCPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.BigtableGCPolicy, err error)

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

func (*FakeBigtableGCPolicies) List

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

func (*FakeBigtableGCPolicies) Patch

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

Patch applies the patch and returns the patched bigtableGCPolicy.

func (*FakeBigtableGCPolicies) Update

func (c *FakeBigtableGCPolicies) Update(ctx context.Context, bigtableGCPolicy *v1beta1.BigtableGCPolicy, opts v1.UpdateOptions) (result *v1beta1.BigtableGCPolicy, err error)

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

func (*FakeBigtableGCPolicies) UpdateStatus

func (c *FakeBigtableGCPolicies) UpdateStatus(ctx context.Context, bigtableGCPolicy *v1beta1.BigtableGCPolicy, opts v1.UpdateOptions) (*v1beta1.BigtableGCPolicy, error)

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

func (*FakeBigtableGCPolicies) Watch

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

type FakeBigtableInstances

type FakeBigtableInstances struct {
	Fake *FakeBigtableV1beta1
	// contains filtered or unexported fields
}

FakeBigtableInstances implements BigtableInstanceInterface

func (*FakeBigtableInstances) Create

func (c *FakeBigtableInstances) Create(ctx context.Context, bigtableInstance *v1beta1.BigtableInstance, opts v1.CreateOptions) (result *v1beta1.BigtableInstance, err error)

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

func (*FakeBigtableInstances) Delete

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

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

func (*FakeBigtableInstances) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBigtableInstances) Get

func (c *FakeBigtableInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.BigtableInstance, err error)

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

func (*FakeBigtableInstances) List

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

func (*FakeBigtableInstances) Patch

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

Patch applies the patch and returns the patched bigtableInstance.

func (*FakeBigtableInstances) Update

func (c *FakeBigtableInstances) Update(ctx context.Context, bigtableInstance *v1beta1.BigtableInstance, opts v1.UpdateOptions) (result *v1beta1.BigtableInstance, err error)

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

func (*FakeBigtableInstances) UpdateStatus

func (c *FakeBigtableInstances) UpdateStatus(ctx context.Context, bigtableInstance *v1beta1.BigtableInstance, opts v1.UpdateOptions) (*v1beta1.BigtableInstance, error)

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

func (*FakeBigtableInstances) Watch

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

type FakeBigtableTables

type FakeBigtableTables struct {
	Fake *FakeBigtableV1beta1
	// contains filtered or unexported fields
}

FakeBigtableTables implements BigtableTableInterface

func (*FakeBigtableTables) Create

func (c *FakeBigtableTables) Create(ctx context.Context, bigtableTable *v1beta1.BigtableTable, opts v1.CreateOptions) (result *v1beta1.BigtableTable, err error)

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

func (*FakeBigtableTables) Delete

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

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

func (*FakeBigtableTables) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBigtableTables) Get

func (c *FakeBigtableTables) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.BigtableTable, err error)

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

func (*FakeBigtableTables) List

func (c *FakeBigtableTables) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.BigtableTableList, err error)

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

func (*FakeBigtableTables) Patch

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

Patch applies the patch and returns the patched bigtableTable.

func (*FakeBigtableTables) Update

func (c *FakeBigtableTables) Update(ctx context.Context, bigtableTable *v1beta1.BigtableTable, opts v1.UpdateOptions) (result *v1beta1.BigtableTable, err error)

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

func (*FakeBigtableTables) UpdateStatus

func (c *FakeBigtableTables) UpdateStatus(ctx context.Context, bigtableTable *v1beta1.BigtableTable, opts v1.UpdateOptions) (*v1beta1.BigtableTable, error)

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

func (*FakeBigtableTables) Watch

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

type FakeBigtableV1beta1

type FakeBigtableV1beta1 struct {
	*testing.Fake
}

func (*FakeBigtableV1beta1) BigtableAppProfiles

func (c *FakeBigtableV1beta1) BigtableAppProfiles(namespace string) v1beta1.BigtableAppProfileInterface

func (*FakeBigtableV1beta1) BigtableGCPolicies

func (c *FakeBigtableV1beta1) BigtableGCPolicies(namespace string) v1beta1.BigtableGCPolicyInterface

func (*FakeBigtableV1beta1) BigtableInstances

func (c *FakeBigtableV1beta1) BigtableInstances(namespace string) v1beta1.BigtableInstanceInterface

func (*FakeBigtableV1beta1) BigtableTables

func (c *FakeBigtableV1beta1) BigtableTables(namespace string) v1beta1.BigtableTableInterface

func (*FakeBigtableV1beta1) RESTClient

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

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

Jump to

Keyboard shortcuts

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