fake

package
Version: v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2018 License: Apache-2.0 Imports: 9 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 FakeIpAddresses

type FakeIpAddresses struct {
	Fake *FakeIpamV1
	// contains filtered or unexported fields
}

FakeIpAddresses implements IpAddressInterface

func (*FakeIpAddresses) Create

func (c *FakeIpAddresses) Create(ipAddress *ipam_nexinto_com_v1.IpAddress) (result *ipam_nexinto_com_v1.IpAddress, err error)

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

func (*FakeIpAddresses) Delete

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

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

func (*FakeIpAddresses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIpAddresses) Get

func (c *FakeIpAddresses) Get(name string, options v1.GetOptions) (result *ipam_nexinto_com_v1.IpAddress, err error)

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

func (*FakeIpAddresses) List

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

func (*FakeIpAddresses) Patch

func (c *FakeIpAddresses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ipam_nexinto_com_v1.IpAddress, err error)

Patch applies the patch and returns the patched ipAddress.

func (*FakeIpAddresses) Update

func (c *FakeIpAddresses) Update(ipAddress *ipam_nexinto_com_v1.IpAddress) (result *ipam_nexinto_com_v1.IpAddress, err error)

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

func (*FakeIpAddresses) Watch

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

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

type FakeIpamV1

type FakeIpamV1 struct {
	*testing.Fake
}

func (*FakeIpamV1) IpAddresses

func (c *FakeIpamV1) IpAddresses(namespace string) v1.IpAddressInterface

func (*FakeIpamV1) RESTClient

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