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 FakeNetworkServicesEdgeCacheKeysets

type FakeNetworkServicesEdgeCacheKeysets struct {
	Fake *FakeNetworkservicesV1alpha1
	// contains filtered or unexported fields
}

FakeNetworkServicesEdgeCacheKeysets implements NetworkServicesEdgeCacheKeysetInterface

func (*FakeNetworkServicesEdgeCacheKeysets) Create

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

func (*FakeNetworkServicesEdgeCacheKeysets) Delete

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

func (*FakeNetworkServicesEdgeCacheKeysets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkServicesEdgeCacheKeysets) Get

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

func (*FakeNetworkServicesEdgeCacheKeysets) List

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

func (*FakeNetworkServicesEdgeCacheKeysets) Patch

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

Patch applies the patch and returns the patched networkServicesEdgeCacheKeyset.

func (*FakeNetworkServicesEdgeCacheKeysets) Update

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

func (*FakeNetworkServicesEdgeCacheKeysets) UpdateStatus

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

func (*FakeNetworkServicesEdgeCacheKeysets) Watch

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

type FakeNetworkServicesEdgeCacheOrigins

type FakeNetworkServicesEdgeCacheOrigins struct {
	Fake *FakeNetworkservicesV1alpha1
	// contains filtered or unexported fields
}

FakeNetworkServicesEdgeCacheOrigins implements NetworkServicesEdgeCacheOriginInterface

func (*FakeNetworkServicesEdgeCacheOrigins) Create

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

func (*FakeNetworkServicesEdgeCacheOrigins) Delete

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

func (*FakeNetworkServicesEdgeCacheOrigins) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkServicesEdgeCacheOrigins) Get

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

func (*FakeNetworkServicesEdgeCacheOrigins) List

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

func (*FakeNetworkServicesEdgeCacheOrigins) Patch

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

Patch applies the patch and returns the patched networkServicesEdgeCacheOrigin.

func (*FakeNetworkServicesEdgeCacheOrigins) Update

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

func (*FakeNetworkServicesEdgeCacheOrigins) UpdateStatus

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

func (*FakeNetworkServicesEdgeCacheOrigins) Watch

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

type FakeNetworkServicesEdgeCacheServices

type FakeNetworkServicesEdgeCacheServices struct {
	Fake *FakeNetworkservicesV1alpha1
	// contains filtered or unexported fields
}

FakeNetworkServicesEdgeCacheServices implements NetworkServicesEdgeCacheServiceInterface

func (*FakeNetworkServicesEdgeCacheServices) Create

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

func (*FakeNetworkServicesEdgeCacheServices) Delete

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

func (*FakeNetworkServicesEdgeCacheServices) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkServicesEdgeCacheServices) Get

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

func (*FakeNetworkServicesEdgeCacheServices) List

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

func (*FakeNetworkServicesEdgeCacheServices) Patch

Patch applies the patch and returns the patched networkServicesEdgeCacheService.

func (*FakeNetworkServicesEdgeCacheServices) Update

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

func (*FakeNetworkServicesEdgeCacheServices) UpdateStatus

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

func (*FakeNetworkServicesEdgeCacheServices) Watch

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

type FakeNetworkservicesV1alpha1

type FakeNetworkservicesV1alpha1 struct {
	*testing.Fake
}

func (*FakeNetworkservicesV1alpha1) NetworkServicesEdgeCacheKeysets

func (c *FakeNetworkservicesV1alpha1) NetworkServicesEdgeCacheKeysets(namespace string) v1alpha1.NetworkServicesEdgeCacheKeysetInterface

func (*FakeNetworkservicesV1alpha1) NetworkServicesEdgeCacheOrigins

func (c *FakeNetworkservicesV1alpha1) NetworkServicesEdgeCacheOrigins(namespace string) v1alpha1.NetworkServicesEdgeCacheOriginInterface

func (*FakeNetworkservicesV1alpha1) NetworkServicesEdgeCacheServices

func (c *FakeNetworkservicesV1alpha1) NetworkServicesEdgeCacheServices(namespace string) v1alpha1.NetworkServicesEdgeCacheServiceInterface

func (*FakeNetworkservicesV1alpha1) RESTClient

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