fake

package
Version: v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2017 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 FakeStorageClasses

type FakeStorageClasses struct {
	Fake *FakeStorageV1beta1
}

FakeStorageClasses implements StorageClassInterface

func (*FakeStorageClasses) Create

func (c *FakeStorageClasses) Create(storageClass *v1beta1.StorageClass) (result *v1beta1.StorageClass, err error)

func (*FakeStorageClasses) Delete

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

func (*FakeStorageClasses) DeleteCollection

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

func (*FakeStorageClasses) Get

func (c *FakeStorageClasses) Get(name string) (result *v1beta1.StorageClass, err error)

func (*FakeStorageClasses) List

func (c *FakeStorageClasses) List(opts v1.ListOptions) (result *v1beta1.StorageClassList, err error)

func (*FakeStorageClasses) Patch

func (c *FakeStorageClasses) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.StorageClass, err error)

Patch applies the patch and returns the patched storageClass.

func (*FakeStorageClasses) Update

func (c *FakeStorageClasses) Update(storageClass *v1beta1.StorageClass) (result *v1beta1.StorageClass, err error)

func (*FakeStorageClasses) Watch

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

type FakeStorageV1beta1

type FakeStorageV1beta1 struct {
	*testing.Fake
}

func (*FakeStorageV1beta1) RESTClient

func (c *FakeStorageV1beta1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeStorageV1beta1) StorageClasses

func (c *FakeStorageV1beta1) StorageClasses() v1beta1.StorageClassInterface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL