fake

package
v0.0.0-...-cae1f32 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 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 FakeStaticEgressIPs

type FakeStaticEgressIPs struct {
	Fake *FakeStaticegressipsV1alpha1
	// contains filtered or unexported fields
}

FakeStaticEgressIPs implements StaticEgressIPInterface

func (*FakeStaticEgressIPs) Create

func (c *FakeStaticEgressIPs) Create(staticEgressIP *v1alpha1.StaticEgressIP) (result *v1alpha1.StaticEgressIP, err error)

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

func (*FakeStaticEgressIPs) Delete

func (c *FakeStaticEgressIPs) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeStaticEgressIPs) DeleteCollection

func (c *FakeStaticEgressIPs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeStaticEgressIPs) Get

func (c *FakeStaticEgressIPs) Get(name string, options v1.GetOptions) (result *v1alpha1.StaticEgressIP, err error)

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

func (*FakeStaticEgressIPs) List

func (c *FakeStaticEgressIPs) List(opts v1.ListOptions) (result *v1alpha1.StaticEgressIPList, err error)

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

func (*FakeStaticEgressIPs) Patch

func (c *FakeStaticEgressIPs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.StaticEgressIP, err error)

Patch applies the patch and returns the patched staticEgressIP.

func (*FakeStaticEgressIPs) Update

func (c *FakeStaticEgressIPs) Update(staticEgressIP *v1alpha1.StaticEgressIP) (result *v1alpha1.StaticEgressIP, err error)

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

func (*FakeStaticEgressIPs) UpdateStatus

func (c *FakeStaticEgressIPs) UpdateStatus(staticEgressIP *v1alpha1.StaticEgressIP) (*v1alpha1.StaticEgressIP, error)

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

func (*FakeStaticEgressIPs) Watch

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

type FakeStaticegressipsV1alpha1

type FakeStaticegressipsV1alpha1 struct {
	*testing.Fake
}

func (*FakeStaticegressipsV1alpha1) RESTClient

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

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

func (*FakeStaticegressipsV1alpha1) StaticEgressIPs

Jump to

Keyboard shortcuts

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