fake

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 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 FakeClusterMicroFrontends

type FakeClusterMicroFrontends struct {
	Fake *FakeUiV1alpha1
}

FakeClusterMicroFrontends implements ClusterMicroFrontendInterface

func (*FakeClusterMicroFrontends) Create

func (c *FakeClusterMicroFrontends) Create(clusterMicroFrontend *v1alpha1.ClusterMicroFrontend) (result *v1alpha1.ClusterMicroFrontend, err error)

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

func (*FakeClusterMicroFrontends) Delete

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

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

func (*FakeClusterMicroFrontends) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterMicroFrontends) Get

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

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

func (*FakeClusterMicroFrontends) List

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

func (*FakeClusterMicroFrontends) Patch

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

Patch applies the patch and returns the patched clusterMicroFrontend.

func (*FakeClusterMicroFrontends) Update

func (c *FakeClusterMicroFrontends) Update(clusterMicroFrontend *v1alpha1.ClusterMicroFrontend) (result *v1alpha1.ClusterMicroFrontend, err error)

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

func (*FakeClusterMicroFrontends) Watch

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

type FakeMicroFrontends

type FakeMicroFrontends struct {
	Fake *FakeUiV1alpha1
	// contains filtered or unexported fields
}

FakeMicroFrontends implements MicroFrontendInterface

func (*FakeMicroFrontends) Create

func (c *FakeMicroFrontends) Create(microFrontend *v1alpha1.MicroFrontend) (result *v1alpha1.MicroFrontend, err error)

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

func (*FakeMicroFrontends) Delete

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

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

func (*FakeMicroFrontends) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMicroFrontends) Get

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

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

func (*FakeMicroFrontends) List

func (c *FakeMicroFrontends) List(opts v1.ListOptions) (result *v1alpha1.MicroFrontendList, err error)

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

func (*FakeMicroFrontends) Patch

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

Patch applies the patch and returns the patched microFrontend.

func (*FakeMicroFrontends) Update

func (c *FakeMicroFrontends) Update(microFrontend *v1alpha1.MicroFrontend) (result *v1alpha1.MicroFrontend, err error)

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

func (*FakeMicroFrontends) Watch

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

type FakeUiV1alpha1

type FakeUiV1alpha1 struct {
	*testing.Fake
}

func (*FakeUiV1alpha1) ClusterMicroFrontends

func (c *FakeUiV1alpha1) ClusterMicroFrontends() v1alpha1.ClusterMicroFrontendInterface

func (*FakeUiV1alpha1) MicroFrontends

func (c *FakeUiV1alpha1) MicroFrontends(namespace string) v1alpha1.MicroFrontendInterface

func (*FakeUiV1alpha1) RESTClient

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