fake

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2016 License: Apache-2.0, Apache-2.0 Imports: 8 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 FakeApps

type FakeApps struct {
	*testing.Fake
}

func (*FakeApps) GetRESTClient

func (c *FakeApps) GetRESTClient() *rest.RESTClient

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

func (*FakeApps) PetSets

func (c *FakeApps) PetSets(namespace string) v1alpha1.PetSetInterface

type FakePetSets

type FakePetSets struct {
	Fake *FakeApps
	// contains filtered or unexported fields
}

FakePetSets implements PetSetInterface

func (*FakePetSets) Create

func (c *FakePetSets) Create(petSet *v1alpha1.PetSet) (result *v1alpha1.PetSet, err error)

func (*FakePetSets) Delete

func (c *FakePetSets) Delete(name string, options *api.DeleteOptions) error

func (*FakePetSets) DeleteCollection

func (c *FakePetSets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error

func (*FakePetSets) Get

func (c *FakePetSets) Get(name string) (result *v1alpha1.PetSet, err error)

func (*FakePetSets) List

func (c *FakePetSets) List(opts api.ListOptions) (result *v1alpha1.PetSetList, err error)

func (*FakePetSets) Patch

func (c *FakePetSets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.PetSet, err error)

Patch applies the patch and returns the patched petSet.

func (*FakePetSets) Update

func (c *FakePetSets) Update(petSet *v1alpha1.PetSet) (result *v1alpha1.PetSet, err error)

func (*FakePetSets) UpdateStatus

func (c *FakePetSets) UpdateStatus(petSet *v1alpha1.PetSet) (*v1alpha1.PetSet, error)

func (*FakePetSets) Watch

func (c *FakePetSets) Watch(opts api.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL