fake

package
v0.0.0-...-6ab7dab Latest Latest
Warning

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

Go to latest
Published: May 16, 2018 License: MIT 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 FakePodLabelConfigs

type FakePodLabelConfigs struct {
	Fake *FakePodlabelerV1alpha1
	// contains filtered or unexported fields
}

FakePodLabelConfigs implements PodLabelConfigInterface

func (*FakePodLabelConfigs) Create

func (c *FakePodLabelConfigs) Create(podLabelConfig *v1alpha1.PodLabelConfig) (result *v1alpha1.PodLabelConfig, err error)

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

func (*FakePodLabelConfigs) Delete

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

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

func (*FakePodLabelConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePodLabelConfigs) Get

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

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

func (*FakePodLabelConfigs) List

func (c *FakePodLabelConfigs) List(opts v1.ListOptions) (result *v1alpha1.PodLabelConfigList, err error)

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

func (*FakePodLabelConfigs) Patch

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

Patch applies the patch and returns the patched podLabelConfig.

func (*FakePodLabelConfigs) Update

func (c *FakePodLabelConfigs) Update(podLabelConfig *v1alpha1.PodLabelConfig) (result *v1alpha1.PodLabelConfig, err error)

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

func (*FakePodLabelConfigs) Watch

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

type FakePodlabelerV1alpha1

type FakePodlabelerV1alpha1 struct {
	*testing.Fake
}

func (*FakePodlabelerV1alpha1) PodLabelConfigs

func (c *FakePodlabelerV1alpha1) PodLabelConfigs(namespace string) v1alpha1.PodLabelConfigInterface

func (*FakePodlabelerV1alpha1) RESTClient

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