fake

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: Apache-2.0 Imports: 10 Imported by: 1

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

type FakeCiliumEgressNATPolicies struct {
	Fake *FakeCiliumV2alpha1
}

FakeCiliumEgressNATPolicies implements CiliumEgressNATPolicyInterface

func (*FakeCiliumEgressNATPolicies) Create added in v1.10.0

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

func (*FakeCiliumEgressNATPolicies) Delete added in v1.10.0

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

func (*FakeCiliumEgressNATPolicies) DeleteCollection added in v1.10.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCiliumEgressNATPolicies) Get added in v1.10.0

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

func (*FakeCiliumEgressNATPolicies) List added in v1.10.0

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

func (*FakeCiliumEgressNATPolicies) Patch added in v1.10.0

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

Patch applies the patch and returns the patched ciliumEgressNATPolicy.

func (*FakeCiliumEgressNATPolicies) Update added in v1.10.0

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

func (*FakeCiliumEgressNATPolicies) Watch added in v1.10.0

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

type FakeCiliumV2alpha1

type FakeCiliumV2alpha1 struct {
	*testing.Fake
}

func (*FakeCiliumV2alpha1) CiliumEgressNATPolicies added in v1.10.0

func (c *FakeCiliumV2alpha1) CiliumEgressNATPolicies() v2alpha1.CiliumEgressNATPolicyInterface

func (*FakeCiliumV2alpha1) RESTClient

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

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