fake

package
v0.0.0-...-add1e29 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 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 FakeF5IPAMs

type FakeF5IPAMs struct {
	Fake *FakeK8sV1
	// contains filtered or unexported fields
}

FakeF5IPAMs implements F5IPAMInterface

func (*FakeF5IPAMs) Create

func (c *FakeF5IPAMs) Create(f5IPAM *ficv1.F5IPAM) (result *ficv1.F5IPAM, err error)

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

func (*FakeF5IPAMs) Delete

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

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

func (*FakeF5IPAMs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeF5IPAMs) Get

func (c *FakeF5IPAMs) Get(name string, options v1.GetOptions) (result *ficv1.F5IPAM, err error)

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

func (*FakeF5IPAMs) List

func (c *FakeF5IPAMs) List(opts v1.ListOptions) (result *ficv1.F5IPAMList, err error)

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

func (*FakeF5IPAMs) Patch

func (c *FakeF5IPAMs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ficv1.F5IPAM, err error)

Patch applies the patch and returns the patched f5IPAM.

func (*FakeF5IPAMs) Update

func (c *FakeF5IPAMs) Update(f5IPAM *ficv1.F5IPAM) (result *ficv1.F5IPAM, err error)

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

func (*FakeF5IPAMs) UpdateStatus

func (c *FakeF5IPAMs) UpdateStatus(f5IPAM *ficv1.F5IPAM) (*ficv1.F5IPAM, error)

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

func (*FakeF5IPAMs) Watch

func (c *FakeF5IPAMs) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeK8sV1

type FakeK8sV1 struct {
	*testing.Fake
}

func (*FakeK8sV1) F5IPAMs

func (c *FakeK8sV1) F5IPAMs(namespace string) v1.F5IPAMInterface

func (*FakeK8sV1) RESTClient

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