fake

package
v4.0.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Jan 21, 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 FakeKubeAPIServerOperatorConfigs

type FakeKubeAPIServerOperatorConfigs struct {
	Fake *FakeKubeapiserverV1alpha1
}

FakeKubeAPIServerOperatorConfigs implements KubeAPIServerOperatorConfigInterface

func (*FakeKubeAPIServerOperatorConfigs) Create

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

func (*FakeKubeAPIServerOperatorConfigs) Delete

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

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

func (*FakeKubeAPIServerOperatorConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKubeAPIServerOperatorConfigs) Get

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

func (*FakeKubeAPIServerOperatorConfigs) List

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

func (*FakeKubeAPIServerOperatorConfigs) Patch

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

Patch applies the patch and returns the patched kubeAPIServerOperatorConfig.

func (*FakeKubeAPIServerOperatorConfigs) Update

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

func (*FakeKubeAPIServerOperatorConfigs) UpdateStatus

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

func (*FakeKubeAPIServerOperatorConfigs) Watch

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

type FakeKubeapiserverV1alpha1

type FakeKubeapiserverV1alpha1 struct {
	*testing.Fake
}

func (*FakeKubeapiserverV1alpha1) KubeAPIServerOperatorConfigs

func (*FakeKubeapiserverV1alpha1) RESTClient

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