fake

package
v1.7.16 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2018 License: Apache-2.0, 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 FakePodPresets

type FakePodPresets struct {
	Fake *FakeSettingsV1alpha1
	// contains filtered or unexported fields
}

FakePodPresets implements PodPresetInterface

func (*FakePodPresets) Create

func (c *FakePodPresets) Create(podPreset *v1alpha1.PodPreset) (result *v1alpha1.PodPreset, err error)

func (*FakePodPresets) Delete

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

func (*FakePodPresets) DeleteCollection

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

func (*FakePodPresets) Get

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

func (*FakePodPresets) List

func (c *FakePodPresets) List(opts v1.ListOptions) (result *v1alpha1.PodPresetList, err error)

func (*FakePodPresets) Patch

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

Patch applies the patch and returns the patched podPreset.

func (*FakePodPresets) Update

func (c *FakePodPresets) Update(podPreset *v1alpha1.PodPreset) (result *v1alpha1.PodPreset, err error)

func (*FakePodPresets) Watch

func (c *FakePodPresets) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeSettingsV1alpha1

type FakeSettingsV1alpha1 struct {
	*testing.Fake
}

func (*FakeSettingsV1alpha1) PodPresets

func (c *FakeSettingsV1alpha1) PodPresets(namespace string) v1alpha1.PodPresetInterface

func (*FakeSettingsV1alpha1) RESTClient

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