fake

package
v3.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 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 FakeOpenShiftWebConsoleConfigs

type FakeOpenShiftWebConsoleConfigs struct {
	Fake *FakeWebconsoleV1alpha1
}

FakeOpenShiftWebConsoleConfigs implements OpenShiftWebConsoleConfigInterface

func (*FakeOpenShiftWebConsoleConfigs) Create

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

func (*FakeOpenShiftWebConsoleConfigs) Delete

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

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

func (*FakeOpenShiftWebConsoleConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeOpenShiftWebConsoleConfigs) Get

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

func (*FakeOpenShiftWebConsoleConfigs) List

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

func (*FakeOpenShiftWebConsoleConfigs) Patch

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

Patch applies the patch and returns the patched openShiftWebConsoleConfig.

func (*FakeOpenShiftWebConsoleConfigs) Update

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

func (*FakeOpenShiftWebConsoleConfigs) UpdateStatus

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

func (*FakeOpenShiftWebConsoleConfigs) Watch

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

type FakeWebconsoleV1alpha1

type FakeWebconsoleV1alpha1 struct {
	*testing.Fake
}

func (*FakeWebconsoleV1alpha1) OpenShiftWebConsoleConfigs

func (c *FakeWebconsoleV1alpha1) OpenShiftWebConsoleConfigs() v1alpha1.OpenShiftWebConsoleConfigInterface

func (*FakeWebconsoleV1alpha1) RESTClient

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