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 FakeServiceDirectoryEndpoints added in v1.90.0

type FakeServiceDirectoryEndpoints struct {
	Fake *FakeServicedirectoryV1beta1
	// contains filtered or unexported fields
}

FakeServiceDirectoryEndpoints implements ServiceDirectoryEndpointInterface

func (*FakeServiceDirectoryEndpoints) Create added in v1.90.0

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

func (*FakeServiceDirectoryEndpoints) Delete added in v1.90.0

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

func (*FakeServiceDirectoryEndpoints) DeleteCollection added in v1.90.0

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

DeleteCollection deletes a collection of objects.

func (*FakeServiceDirectoryEndpoints) Get added in v1.90.0

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

func (*FakeServiceDirectoryEndpoints) List added in v1.90.0

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

func (*FakeServiceDirectoryEndpoints) Patch added in v1.90.0

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

Patch applies the patch and returns the patched serviceDirectoryEndpoint.

func (*FakeServiceDirectoryEndpoints) Update added in v1.90.0

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

func (*FakeServiceDirectoryEndpoints) UpdateStatus added in v1.90.0

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

func (*FakeServiceDirectoryEndpoints) Watch added in v1.90.0

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

type FakeServiceDirectoryNamespaces

type FakeServiceDirectoryNamespaces struct {
	Fake *FakeServicedirectoryV1beta1
	// contains filtered or unexported fields
}

FakeServiceDirectoryNamespaces implements ServiceDirectoryNamespaceInterface

func (*FakeServiceDirectoryNamespaces) Create

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

func (*FakeServiceDirectoryNamespaces) Delete

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

func (*FakeServiceDirectoryNamespaces) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeServiceDirectoryNamespaces) Get

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

func (*FakeServiceDirectoryNamespaces) List

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

func (*FakeServiceDirectoryNamespaces) Patch

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

Patch applies the patch and returns the patched serviceDirectoryNamespace.

func (*FakeServiceDirectoryNamespaces) Update

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

func (*FakeServiceDirectoryNamespaces) UpdateStatus

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

func (*FakeServiceDirectoryNamespaces) Watch

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

type FakeServiceDirectoryServices

type FakeServiceDirectoryServices struct {
	Fake *FakeServicedirectoryV1beta1
	// contains filtered or unexported fields
}

FakeServiceDirectoryServices implements ServiceDirectoryServiceInterface

func (*FakeServiceDirectoryServices) Create

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

func (*FakeServiceDirectoryServices) Delete

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

func (*FakeServiceDirectoryServices) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeServiceDirectoryServices) Get

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

func (*FakeServiceDirectoryServices) List

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

func (*FakeServiceDirectoryServices) Patch

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

Patch applies the patch and returns the patched serviceDirectoryService.

func (*FakeServiceDirectoryServices) Update

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

func (*FakeServiceDirectoryServices) UpdateStatus

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

func (*FakeServiceDirectoryServices) Watch

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

type FakeServicedirectoryV1beta1

type FakeServicedirectoryV1beta1 struct {
	*testing.Fake
}

func (*FakeServicedirectoryV1beta1) RESTClient

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

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

func (*FakeServicedirectoryV1beta1) ServiceDirectoryEndpoints added in v1.90.0

func (c *FakeServicedirectoryV1beta1) ServiceDirectoryEndpoints(namespace string) v1beta1.ServiceDirectoryEndpointInterface

func (*FakeServicedirectoryV1beta1) ServiceDirectoryNamespaces

func (c *FakeServicedirectoryV1beta1) ServiceDirectoryNamespaces(namespace string) v1beta1.ServiceDirectoryNamespaceInterface

func (*FakeServicedirectoryV1beta1) ServiceDirectoryServices

func (c *FakeServicedirectoryV1beta1) ServiceDirectoryServices(namespace string) v1beta1.ServiceDirectoryServiceInterface

Jump to

Keyboard shortcuts

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