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 FakeNetworkConnectivityHubs

type FakeNetworkConnectivityHubs struct {
	Fake *FakeNetworkconnectivityV1beta1
	// contains filtered or unexported fields
}

FakeNetworkConnectivityHubs implements NetworkConnectivityHubInterface

func (*FakeNetworkConnectivityHubs) Create

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

func (*FakeNetworkConnectivityHubs) Delete

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

func (*FakeNetworkConnectivityHubs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkConnectivityHubs) Get

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

func (*FakeNetworkConnectivityHubs) List

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

func (*FakeNetworkConnectivityHubs) Patch

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

Patch applies the patch and returns the patched networkConnectivityHub.

func (*FakeNetworkConnectivityHubs) Update

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

func (*FakeNetworkConnectivityHubs) UpdateStatus

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

func (*FakeNetworkConnectivityHubs) Watch

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

type FakeNetworkConnectivitySpokes

type FakeNetworkConnectivitySpokes struct {
	Fake *FakeNetworkconnectivityV1beta1
	// contains filtered or unexported fields
}

FakeNetworkConnectivitySpokes implements NetworkConnectivitySpokeInterface

func (*FakeNetworkConnectivitySpokes) Create

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

func (*FakeNetworkConnectivitySpokes) Delete

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

func (*FakeNetworkConnectivitySpokes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkConnectivitySpokes) Get

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

func (*FakeNetworkConnectivitySpokes) List

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

func (*FakeNetworkConnectivitySpokes) Patch

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

Patch applies the patch and returns the patched networkConnectivitySpoke.

func (*FakeNetworkConnectivitySpokes) Update

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

func (*FakeNetworkConnectivitySpokes) UpdateStatus

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

func (*FakeNetworkConnectivitySpokes) Watch

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

type FakeNetworkconnectivityV1beta1

type FakeNetworkconnectivityV1beta1 struct {
	*testing.Fake
}

func (*FakeNetworkconnectivityV1beta1) NetworkConnectivityHubs

func (c *FakeNetworkconnectivityV1beta1) NetworkConnectivityHubs(namespace string) v1beta1.NetworkConnectivityHubInterface

func (*FakeNetworkconnectivityV1beta1) NetworkConnectivitySpokes

func (c *FakeNetworkconnectivityV1beta1) NetworkConnectivitySpokes(namespace string) v1beta1.NetworkConnectivitySpokeInterface

func (*FakeNetworkconnectivityV1beta1) RESTClient

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