fake

package
v0.0.0-...-9e9d5c1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: Apache-2.0 Imports: 10 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(ctx context.Context, clusterMicroFrontend *v1alpha1.ClusterMicroFrontend, opts v1.CreateOptions) (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

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

func (*FakeClusterMicroFrontends) DeleteCollection

func (c *FakeClusterMicroFrontends) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusterMicroFrontends) Get

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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterMicroFrontend, err error)

Patch applies the patch and returns the patched clusterMicroFrontend.

func (*FakeClusterMicroFrontends) Update

func (c *FakeClusterMicroFrontends) Update(ctx context.Context, clusterMicroFrontend *v1alpha1.ClusterMicroFrontend, opts v1.UpdateOptions) (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(ctx context.Context, microFrontend *v1alpha1.MicroFrontend, opts v1.CreateOptions) (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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeMicroFrontends) Get

func (c *FakeMicroFrontends) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MicroFrontend, err error)

Patch applies the patch and returns the patched microFrontend.

func (*FakeMicroFrontends) Update

func (c *FakeMicroFrontends) Update(ctx context.Context, microFrontend *v1alpha1.MicroFrontend, opts v1.UpdateOptions) (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