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 FakeGateDatabaseRegistrations

type FakeGateDatabaseRegistrations struct {
	Fake *FakeGoldenV1alpha1
	// contains filtered or unexported fields
}

FakeGateDatabaseRegistrations implements GateDatabaseRegistrationInterface

func (*FakeGateDatabaseRegistrations) Create

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

func (*FakeGateDatabaseRegistrations) Delete

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

func (*FakeGateDatabaseRegistrations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGateDatabaseRegistrations) Get

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

func (*FakeGateDatabaseRegistrations) List

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

func (*FakeGateDatabaseRegistrations) Patch

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

Patch applies the patch and returns the patched gateDatabaseRegistration.

func (*FakeGateDatabaseRegistrations) Update

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

func (*FakeGateDatabaseRegistrations) UpdateStatus

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

func (*FakeGateDatabaseRegistrations) Watch

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

type FakeGateDeploymentBackups

type FakeGateDeploymentBackups struct {
	Fake *FakeGoldenV1alpha1
	// contains filtered or unexported fields
}

FakeGateDeploymentBackups implements GateDeploymentBackupInterface

func (*FakeGateDeploymentBackups) Create

func (c *FakeGateDeploymentBackups) Create(ctx context.Context, gateDeploymentBackup *v1alpha1.GateDeploymentBackup, opts v1.CreateOptions) (result *v1alpha1.GateDeploymentBackup, err error)

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

func (*FakeGateDeploymentBackups) Delete

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

func (*FakeGateDeploymentBackups) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGateDeploymentBackups) Get

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

func (*FakeGateDeploymentBackups) List

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

func (*FakeGateDeploymentBackups) Patch

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

Patch applies the patch and returns the patched gateDeploymentBackup.

func (*FakeGateDeploymentBackups) Update

func (c *FakeGateDeploymentBackups) Update(ctx context.Context, gateDeploymentBackup *v1alpha1.GateDeploymentBackup, opts v1.UpdateOptions) (result *v1alpha1.GateDeploymentBackup, err error)

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

func (*FakeGateDeploymentBackups) UpdateStatus

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

func (*FakeGateDeploymentBackups) Watch

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

type FakeGateDeployments

type FakeGateDeployments struct {
	Fake *FakeGoldenV1alpha1
	// contains filtered or unexported fields
}

FakeGateDeployments implements GateDeploymentInterface

func (*FakeGateDeployments) Create

func (c *FakeGateDeployments) Create(ctx context.Context, gateDeployment *v1alpha1.GateDeployment, opts v1.CreateOptions) (result *v1alpha1.GateDeployment, err error)

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

func (*FakeGateDeployments) Delete

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

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

func (*FakeGateDeployments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeGateDeployments) Get

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

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

func (*FakeGateDeployments) List

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

func (*FakeGateDeployments) Patch

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

Patch applies the patch and returns the patched gateDeployment.

func (*FakeGateDeployments) Update

func (c *FakeGateDeployments) Update(ctx context.Context, gateDeployment *v1alpha1.GateDeployment, opts v1.UpdateOptions) (result *v1alpha1.GateDeployment, err error)

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

func (*FakeGateDeployments) UpdateStatus

func (c *FakeGateDeployments) UpdateStatus(ctx context.Context, gateDeployment *v1alpha1.GateDeployment, opts v1.UpdateOptions) (*v1alpha1.GateDeployment, error)

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

func (*FakeGateDeployments) Watch

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

type FakeGoldenV1alpha1

type FakeGoldenV1alpha1 struct {
	*testing.Fake
}

func (*FakeGoldenV1alpha1) GateDatabaseRegistrations

func (c *FakeGoldenV1alpha1) GateDatabaseRegistrations(namespace string) v1alpha1.GateDatabaseRegistrationInterface

func (*FakeGoldenV1alpha1) GateDeploymentBackups

func (c *FakeGoldenV1alpha1) GateDeploymentBackups(namespace string) v1alpha1.GateDeploymentBackupInterface

func (*FakeGoldenV1alpha1) GateDeployments

func (c *FakeGoldenV1alpha1) GateDeployments(namespace string) v1alpha1.GateDeploymentInterface

func (*FakeGoldenV1alpha1) RESTClient

func (c *FakeGoldenV1alpha1) 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