fake

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 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 FakeK8sV1alpha1

type FakeK8sV1alpha1 struct {
	*testing.Fake
}

func (*FakeK8sV1alpha1) RESTClient

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

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

func (*FakeK8sV1alpha1) VirtualServerRoutes

func (c *FakeK8sV1alpha1) VirtualServerRoutes(namespace string) v1alpha1.VirtualServerRouteInterface

func (*FakeK8sV1alpha1) VirtualServers

func (c *FakeK8sV1alpha1) VirtualServers(namespace string) v1alpha1.VirtualServerInterface

type FakeVirtualServerRoutes

type FakeVirtualServerRoutes struct {
	Fake *FakeK8sV1alpha1
	// contains filtered or unexported fields
}

FakeVirtualServerRoutes implements VirtualServerRouteInterface

func (*FakeVirtualServerRoutes) Create

func (c *FakeVirtualServerRoutes) Create(virtualServerRoute *v1alpha1.VirtualServerRoute) (result *v1alpha1.VirtualServerRoute, err error)

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

func (*FakeVirtualServerRoutes) Delete

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

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

func (*FakeVirtualServerRoutes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualServerRoutes) Get

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

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

func (*FakeVirtualServerRoutes) List

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

func (*FakeVirtualServerRoutes) Patch

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

Patch applies the patch and returns the patched virtualServerRoute.

func (*FakeVirtualServerRoutes) Update

func (c *FakeVirtualServerRoutes) Update(virtualServerRoute *v1alpha1.VirtualServerRoute) (result *v1alpha1.VirtualServerRoute, err error)

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

func (*FakeVirtualServerRoutes) Watch

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

type FakeVirtualServers

type FakeVirtualServers struct {
	Fake *FakeK8sV1alpha1
	// contains filtered or unexported fields
}

FakeVirtualServers implements VirtualServerInterface

func (*FakeVirtualServers) Create

func (c *FakeVirtualServers) Create(virtualServer *v1alpha1.VirtualServer) (result *v1alpha1.VirtualServer, err error)

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

func (*FakeVirtualServers) Delete

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

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

func (*FakeVirtualServers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualServers) Get

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

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

func (*FakeVirtualServers) List

func (c *FakeVirtualServers) List(opts v1.ListOptions) (result *v1alpha1.VirtualServerList, err error)

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

func (*FakeVirtualServers) Patch

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

Patch applies the patch and returns the patched virtualServer.

func (*FakeVirtualServers) Update

func (c *FakeVirtualServers) Update(virtualServer *v1alpha1.VirtualServer) (result *v1alpha1.VirtualServer, err error)

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

func (*FakeVirtualServers) Watch

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

Jump to

Keyboard shortcuts

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