fake

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 9 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 FakeFirebaseAndroidApps

type FakeFirebaseAndroidApps struct {
	Fake *FakeFirebaseV1alpha1
	// contains filtered or unexported fields
}

FakeFirebaseAndroidApps implements FirebaseAndroidAppInterface

func (*FakeFirebaseAndroidApps) Create

func (c *FakeFirebaseAndroidApps) Create(ctx context.Context, firebaseAndroidApp *v1alpha1.FirebaseAndroidApp, opts v1.CreateOptions) (result *v1alpha1.FirebaseAndroidApp, err error)

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

func (*FakeFirebaseAndroidApps) Delete

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

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

func (*FakeFirebaseAndroidApps) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFirebaseAndroidApps) Get

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

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

func (*FakeFirebaseAndroidApps) List

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

func (*FakeFirebaseAndroidApps) Patch

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

Patch applies the patch and returns the patched firebaseAndroidApp.

func (*FakeFirebaseAndroidApps) Update

func (c *FakeFirebaseAndroidApps) Update(ctx context.Context, firebaseAndroidApp *v1alpha1.FirebaseAndroidApp, opts v1.UpdateOptions) (result *v1alpha1.FirebaseAndroidApp, err error)

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

func (*FakeFirebaseAndroidApps) UpdateStatus

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

func (*FakeFirebaseAndroidApps) Watch

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

type FakeFirebaseProjects

type FakeFirebaseProjects struct {
	Fake *FakeFirebaseV1alpha1
	// contains filtered or unexported fields
}

FakeFirebaseProjects implements FirebaseProjectInterface

func (*FakeFirebaseProjects) Create

func (c *FakeFirebaseProjects) Create(ctx context.Context, firebaseProject *v1alpha1.FirebaseProject, opts v1.CreateOptions) (result *v1alpha1.FirebaseProject, err error)

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

func (*FakeFirebaseProjects) Delete

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

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

func (*FakeFirebaseProjects) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFirebaseProjects) Get

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

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

func (*FakeFirebaseProjects) List

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

func (*FakeFirebaseProjects) Patch

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

Patch applies the patch and returns the patched firebaseProject.

func (*FakeFirebaseProjects) Update

func (c *FakeFirebaseProjects) Update(ctx context.Context, firebaseProject *v1alpha1.FirebaseProject, opts v1.UpdateOptions) (result *v1alpha1.FirebaseProject, err error)

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

func (*FakeFirebaseProjects) UpdateStatus

func (c *FakeFirebaseProjects) UpdateStatus(ctx context.Context, firebaseProject *v1alpha1.FirebaseProject, opts v1.UpdateOptions) (*v1alpha1.FirebaseProject, error)

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

func (*FakeFirebaseProjects) Watch

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

type FakeFirebaseV1alpha1

type FakeFirebaseV1alpha1 struct {
	*testing.Fake
}

func (*FakeFirebaseV1alpha1) FirebaseAndroidApps

func (c *FakeFirebaseV1alpha1) FirebaseAndroidApps(namespace string) v1alpha1.FirebaseAndroidAppInterface

func (*FakeFirebaseV1alpha1) FirebaseProjects

func (c *FakeFirebaseV1alpha1) FirebaseProjects(namespace string) v1alpha1.FirebaseProjectInterface

func (*FakeFirebaseV1alpha1) FirebaseWebApps

func (c *FakeFirebaseV1alpha1) FirebaseWebApps(namespace string) v1alpha1.FirebaseWebAppInterface

func (*FakeFirebaseV1alpha1) RESTClient

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

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

type FakeFirebaseWebApps

type FakeFirebaseWebApps struct {
	Fake *FakeFirebaseV1alpha1
	// contains filtered or unexported fields
}

FakeFirebaseWebApps implements FirebaseWebAppInterface

func (*FakeFirebaseWebApps) Create

func (c *FakeFirebaseWebApps) Create(ctx context.Context, firebaseWebApp *v1alpha1.FirebaseWebApp, opts v1.CreateOptions) (result *v1alpha1.FirebaseWebApp, err error)

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

func (*FakeFirebaseWebApps) Delete

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

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

func (*FakeFirebaseWebApps) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFirebaseWebApps) Get

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

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

func (*FakeFirebaseWebApps) List

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

func (*FakeFirebaseWebApps) Patch

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

Patch applies the patch and returns the patched firebaseWebApp.

func (*FakeFirebaseWebApps) Update

func (c *FakeFirebaseWebApps) Update(ctx context.Context, firebaseWebApp *v1alpha1.FirebaseWebApp, opts v1.UpdateOptions) (result *v1alpha1.FirebaseWebApp, err error)

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

func (*FakeFirebaseWebApps) UpdateStatus

func (c *FakeFirebaseWebApps) UpdateStatus(ctx context.Context, firebaseWebApp *v1alpha1.FirebaseWebApp, opts v1.UpdateOptions) (*v1alpha1.FirebaseWebApp, error)

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

func (*FakeFirebaseWebApps) Watch

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

Jump to

Keyboard shortcuts

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