fake

package
v0.0.0-...-662d0f3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 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 FakeAppmeshV1alpha1

type FakeAppmeshV1alpha1 struct {
	*testing.Fake
}

func (*FakeAppmeshV1alpha1) Meshes

func (c *FakeAppmeshV1alpha1) Meshes(namespace string) v1alpha1.MeshInterface

func (*FakeAppmeshV1alpha1) RESTClient

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

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

func (*FakeAppmeshV1alpha1) VirtualNodes

func (c *FakeAppmeshV1alpha1) VirtualNodes(namespace string) v1alpha1.VirtualNodeInterface

func (*FakeAppmeshV1alpha1) VirtualServices

func (c *FakeAppmeshV1alpha1) VirtualServices(namespace string) v1alpha1.VirtualServiceInterface

type FakeMeshes

type FakeMeshes struct {
	Fake *FakeAppmeshV1alpha1
	// contains filtered or unexported fields
}

FakeMeshes implements MeshInterface

func (*FakeMeshes) Create

func (c *FakeMeshes) Create(mesh *v1alpha1.Mesh) (result *v1alpha1.Mesh, err error)

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

func (*FakeMeshes) Delete

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

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

func (*FakeMeshes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMeshes) Get

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

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

func (*FakeMeshes) List

func (c *FakeMeshes) List(opts v1.ListOptions) (result *v1alpha1.MeshList, err error)

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

func (*FakeMeshes) Patch

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

Patch applies the patch and returns the patched mesh.

func (*FakeMeshes) Update

func (c *FakeMeshes) Update(mesh *v1alpha1.Mesh) (result *v1alpha1.Mesh, err error)

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

func (*FakeMeshes) UpdateStatus

func (c *FakeMeshes) UpdateStatus(mesh *v1alpha1.Mesh) (*v1alpha1.Mesh, error)

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

func (*FakeMeshes) Watch

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

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

type FakeVirtualNodes

type FakeVirtualNodes struct {
	Fake *FakeAppmeshV1alpha1
	// contains filtered or unexported fields
}

FakeVirtualNodes implements VirtualNodeInterface

func (*FakeVirtualNodes) Create

func (c *FakeVirtualNodes) Create(virtualNode *v1alpha1.VirtualNode) (result *v1alpha1.VirtualNode, err error)

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

func (*FakeVirtualNodes) Delete

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

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

func (*FakeVirtualNodes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualNodes) Get

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

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

func (*FakeVirtualNodes) List

func (c *FakeVirtualNodes) List(opts v1.ListOptions) (result *v1alpha1.VirtualNodeList, err error)

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

func (*FakeVirtualNodes) Patch

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

Patch applies the patch and returns the patched virtualNode.

func (*FakeVirtualNodes) Update

func (c *FakeVirtualNodes) Update(virtualNode *v1alpha1.VirtualNode) (result *v1alpha1.VirtualNode, err error)

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

func (*FakeVirtualNodes) UpdateStatus

func (c *FakeVirtualNodes) UpdateStatus(virtualNode *v1alpha1.VirtualNode) (*v1alpha1.VirtualNode, error)

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

func (*FakeVirtualNodes) Watch

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

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

type FakeVirtualServices

type FakeVirtualServices struct {
	Fake *FakeAppmeshV1alpha1
	// contains filtered or unexported fields
}

FakeVirtualServices implements VirtualServiceInterface

func (*FakeVirtualServices) Create

func (c *FakeVirtualServices) Create(virtualService *v1alpha1.VirtualService) (result *v1alpha1.VirtualService, err error)

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

func (*FakeVirtualServices) Delete

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

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

func (*FakeVirtualServices) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeVirtualServices) Get

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

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

func (*FakeVirtualServices) List

func (c *FakeVirtualServices) List(opts v1.ListOptions) (result *v1alpha1.VirtualServiceList, err error)

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

func (*FakeVirtualServices) Patch

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

Patch applies the patch and returns the patched virtualService.

func (*FakeVirtualServices) Update

func (c *FakeVirtualServices) Update(virtualService *v1alpha1.VirtualService) (result *v1alpha1.VirtualService, err error)

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

func (*FakeVirtualServices) UpdateStatus

func (c *FakeVirtualServices) UpdateStatus(virtualService *v1alpha1.VirtualService) (*v1alpha1.VirtualService, error)

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

func (*FakeVirtualServices) Watch

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

Jump to

Keyboard shortcuts

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