fake

package
v1.72.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 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 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 added in v1.71.0

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

FakeNetworkConnectivitySpokes implements NetworkConnectivitySpokeInterface

func (*FakeNetworkConnectivitySpokes) Create added in v1.71.0

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

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

func (*FakeNetworkConnectivitySpokes) DeleteCollection added in v1.71.0

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworkConnectivitySpokes) Get added in v1.71.0

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

func (*FakeNetworkConnectivitySpokes) List added in v1.71.0

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

func (*FakeNetworkConnectivitySpokes) Patch added in v1.71.0

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

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

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

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

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