fake

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 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 FakeKubeSchedulerOperatorConfigs

type FakeKubeSchedulerOperatorConfigs struct {
	Fake *FakeKubeschedulerV1alpha1
}

FakeKubeSchedulerOperatorConfigs implements KubeSchedulerOperatorConfigInterface

func (*FakeKubeSchedulerOperatorConfigs) Create

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

func (*FakeKubeSchedulerOperatorConfigs) Delete

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

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

func (*FakeKubeSchedulerOperatorConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeKubeSchedulerOperatorConfigs) Get

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

func (*FakeKubeSchedulerOperatorConfigs) List

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

func (*FakeKubeSchedulerOperatorConfigs) Patch

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

Patch applies the patch and returns the patched kubeSchedulerOperatorConfig.

func (*FakeKubeSchedulerOperatorConfigs) Update

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

func (*FakeKubeSchedulerOperatorConfigs) UpdateStatus

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

func (*FakeKubeSchedulerOperatorConfigs) Watch

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

type FakeKubeschedulerV1alpha1

type FakeKubeschedulerV1alpha1 struct {
	*testing.Fake
}

func (*FakeKubeschedulerV1alpha1) KubeSchedulerOperatorConfigs

func (*FakeKubeschedulerV1alpha1) RESTClient

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