fake

package
v3.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 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 FakeClusterResourceQuotas

type FakeClusterResourceQuotas struct {
	Fake *FakeQuotaV1
}

FakeClusterResourceQuotas implements ClusterResourceQuotaInterface

func (*FakeClusterResourceQuotas) Create

func (c *FakeClusterResourceQuotas) Create(clusterResourceQuota *v1.ClusterResourceQuota) (result *v1.ClusterResourceQuota, err error)

func (*FakeClusterResourceQuotas) Delete

func (c *FakeClusterResourceQuotas) Delete(name string, options *meta_v1.DeleteOptions) error

func (*FakeClusterResourceQuotas) DeleteCollection

func (c *FakeClusterResourceQuotas) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error

func (*FakeClusterResourceQuotas) Get

func (c *FakeClusterResourceQuotas) Get(name string, options meta_v1.GetOptions) (result *v1.ClusterResourceQuota, err error)

func (*FakeClusterResourceQuotas) List

func (*FakeClusterResourceQuotas) Patch

func (c *FakeClusterResourceQuotas) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterResourceQuota, err error)

Patch applies the patch and returns the patched clusterResourceQuota.

func (*FakeClusterResourceQuotas) Update

func (c *FakeClusterResourceQuotas) Update(clusterResourceQuota *v1.ClusterResourceQuota) (result *v1.ClusterResourceQuota, err error)

func (*FakeClusterResourceQuotas) UpdateStatus

func (c *FakeClusterResourceQuotas) UpdateStatus(clusterResourceQuota *v1.ClusterResourceQuota) (*v1.ClusterResourceQuota, error)

func (*FakeClusterResourceQuotas) Watch

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

type FakeQuotaV1

type FakeQuotaV1 struct {
	*testing.Fake
}

func (*FakeQuotaV1) ClusterResourceQuotas

func (c *FakeQuotaV1) ClusterResourceQuotas() v1.ClusterResourceQuotaInterface

func (*FakeQuotaV1) RESTClient

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