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 FakeApigeeEnvironments added in v1.81.0

type FakeApigeeEnvironments struct {
	Fake *FakeApigeeV1beta1
	// contains filtered or unexported fields
}

FakeApigeeEnvironments implements ApigeeEnvironmentInterface

func (*FakeApigeeEnvironments) Create added in v1.81.0

func (c *FakeApigeeEnvironments) Create(ctx context.Context, apigeeEnvironment *v1beta1.ApigeeEnvironment, opts v1.CreateOptions) (result *v1beta1.ApigeeEnvironment, err error)

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

func (*FakeApigeeEnvironments) Delete added in v1.81.0

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

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

func (*FakeApigeeEnvironments) DeleteCollection added in v1.81.0

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

DeleteCollection deletes a collection of objects.

func (*FakeApigeeEnvironments) Get added in v1.81.0

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

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

func (*FakeApigeeEnvironments) List added in v1.81.0

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

func (*FakeApigeeEnvironments) Patch added in v1.81.0

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

Patch applies the patch and returns the patched apigeeEnvironment.

func (*FakeApigeeEnvironments) Update added in v1.81.0

func (c *FakeApigeeEnvironments) Update(ctx context.Context, apigeeEnvironment *v1beta1.ApigeeEnvironment, opts v1.UpdateOptions) (result *v1beta1.ApigeeEnvironment, err error)

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

func (*FakeApigeeEnvironments) UpdateStatus added in v1.81.0

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

func (*FakeApigeeEnvironments) Watch added in v1.81.0

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

type FakeApigeeOrganizations

type FakeApigeeOrganizations struct {
	Fake *FakeApigeeV1beta1
	// contains filtered or unexported fields
}

FakeApigeeOrganizations implements ApigeeOrganizationInterface

func (*FakeApigeeOrganizations) Create

func (c *FakeApigeeOrganizations) Create(ctx context.Context, apigeeOrganization *v1beta1.ApigeeOrganization, opts v1.CreateOptions) (result *v1beta1.ApigeeOrganization, err error)

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

func (*FakeApigeeOrganizations) Delete

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

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

func (*FakeApigeeOrganizations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApigeeOrganizations) Get

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

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

func (*FakeApigeeOrganizations) List

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

func (*FakeApigeeOrganizations) Patch

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

Patch applies the patch and returns the patched apigeeOrganization.

func (*FakeApigeeOrganizations) Update

func (c *FakeApigeeOrganizations) Update(ctx context.Context, apigeeOrganization *v1beta1.ApigeeOrganization, opts v1.UpdateOptions) (result *v1beta1.ApigeeOrganization, err error)

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

func (*FakeApigeeOrganizations) UpdateStatus

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

func (*FakeApigeeOrganizations) Watch

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

type FakeApigeeV1beta1

type FakeApigeeV1beta1 struct {
	*testing.Fake
}

func (*FakeApigeeV1beta1) ApigeeEnvironments added in v1.81.0

func (c *FakeApigeeV1beta1) ApigeeEnvironments(namespace string) v1beta1.ApigeeEnvironmentInterface

func (*FakeApigeeV1beta1) ApigeeOrganizations

func (c *FakeApigeeV1beta1) ApigeeOrganizations(namespace string) v1beta1.ApigeeOrganizationInterface

func (*FakeApigeeV1beta1) RESTClient

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