fake

package
v0.0.0-...-17967aa Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT 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 FakeMultiClusterIngresses

type FakeMultiClusterIngresses struct {
	Fake *FakeMulticlusteringressesV1alpha1
	// contains filtered or unexported fields
}

FakeMultiClusterIngresses implements MultiClusterIngressInterface

func (*FakeMultiClusterIngresses) Create

func (c *FakeMultiClusterIngresses) Create(ctx context.Context, multiClusterIngress *v1alpha1.MultiClusterIngress, opts v1.CreateOptions) (result *v1alpha1.MultiClusterIngress, err error)

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

func (*FakeMultiClusterIngresses) Delete

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

func (*FakeMultiClusterIngresses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMultiClusterIngresses) Get

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

func (*FakeMultiClusterIngresses) List

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

func (*FakeMultiClusterIngresses) Patch

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

Patch applies the patch and returns the patched multiClusterIngress.

func (*FakeMultiClusterIngresses) Update

func (c *FakeMultiClusterIngresses) Update(ctx context.Context, multiClusterIngress *v1alpha1.MultiClusterIngress, opts v1.UpdateOptions) (result *v1alpha1.MultiClusterIngress, err error)

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

func (*FakeMultiClusterIngresses) UpdateStatus

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

func (*FakeMultiClusterIngresses) Watch

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

type FakeMulticlusteringressesV1alpha1

type FakeMulticlusteringressesV1alpha1 struct {
	*testing.Fake
}

func (*FakeMulticlusteringressesV1alpha1) MultiClusterIngresses

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