fake

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2019 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 FakeSimpleDatabaseBindings

type FakeSimpleDatabaseBindings struct {
	Fake *FakeSimpledatabaseprovisionerV1alpha1
	// contains filtered or unexported fields
}

FakeSimpleDatabaseBindings implements SimpleDatabaseBindingInterface

func (*FakeSimpleDatabaseBindings) Create

func (c *FakeSimpleDatabaseBindings) Create(simpleDatabaseBinding *v1alpha1.SimpleDatabaseBinding) (result *v1alpha1.SimpleDatabaseBinding, err error)

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

func (*FakeSimpleDatabaseBindings) Delete

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

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

func (*FakeSimpleDatabaseBindings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSimpleDatabaseBindings) Get

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

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

func (*FakeSimpleDatabaseBindings) List

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

func (*FakeSimpleDatabaseBindings) Patch

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

Patch applies the patch and returns the patched simpleDatabaseBinding.

func (*FakeSimpleDatabaseBindings) Update

func (c *FakeSimpleDatabaseBindings) Update(simpleDatabaseBinding *v1alpha1.SimpleDatabaseBinding) (result *v1alpha1.SimpleDatabaseBinding, err error)

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

func (*FakeSimpleDatabaseBindings) Watch

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

type FakeSimpleDatabaseInstances

type FakeSimpleDatabaseInstances struct {
	Fake *FakeSimpledatabaseprovisionerV1alpha1
	// contains filtered or unexported fields
}

FakeSimpleDatabaseInstances implements SimpleDatabaseInstanceInterface

func (*FakeSimpleDatabaseInstances) Create

func (c *FakeSimpleDatabaseInstances) Create(simpleDatabaseInstance *v1alpha1.SimpleDatabaseInstance) (result *v1alpha1.SimpleDatabaseInstance, err error)

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

func (*FakeSimpleDatabaseInstances) Delete

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

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

func (*FakeSimpleDatabaseInstances) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSimpleDatabaseInstances) Get

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

func (*FakeSimpleDatabaseInstances) List

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

func (*FakeSimpleDatabaseInstances) Patch

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

Patch applies the patch and returns the patched simpleDatabaseInstance.

func (*FakeSimpleDatabaseInstances) Update

func (c *FakeSimpleDatabaseInstances) Update(simpleDatabaseInstance *v1alpha1.SimpleDatabaseInstance) (result *v1alpha1.SimpleDatabaseInstance, err error)

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

func (*FakeSimpleDatabaseInstances) Watch

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

type FakeSimpledatabaseprovisionerV1alpha1

type FakeSimpledatabaseprovisionerV1alpha1 struct {
	*testing.Fake
}

func (*FakeSimpledatabaseprovisionerV1alpha1) RESTClient

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

func (*FakeSimpledatabaseprovisionerV1alpha1) SimpleDatabaseBindings

func (*FakeSimpledatabaseprovisionerV1alpha1) SimpleDatabaseInstances

Jump to

Keyboard shortcuts

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