fake

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 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 FakeServiceBindingUsages

type FakeServiceBindingUsages struct {
	Fake *FakeServicecatalogV1alpha1
	// contains filtered or unexported fields
}

FakeServiceBindingUsages implements ServiceBindingUsageInterface

func (*FakeServiceBindingUsages) Create

func (c *FakeServiceBindingUsages) Create(serviceBindingUsage *v1alpha1.ServiceBindingUsage) (result *v1alpha1.ServiceBindingUsage, err error)

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

func (*FakeServiceBindingUsages) Delete

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

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

func (*FakeServiceBindingUsages) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeServiceBindingUsages) Get

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

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

func (*FakeServiceBindingUsages) List

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

func (*FakeServiceBindingUsages) Patch

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

Patch applies the patch and returns the patched serviceBindingUsage.

func (*FakeServiceBindingUsages) Update

func (c *FakeServiceBindingUsages) Update(serviceBindingUsage *v1alpha1.ServiceBindingUsage) (result *v1alpha1.ServiceBindingUsage, err error)

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

func (*FakeServiceBindingUsages) Watch

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

type FakeServicecatalogV1alpha1

type FakeServicecatalogV1alpha1 struct {
	*testing.Fake
}

func (*FakeServicecatalogV1alpha1) RESTClient

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

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

func (*FakeServicecatalogV1alpha1) ServiceBindingUsages

func (c *FakeServicecatalogV1alpha1) ServiceBindingUsages(namespace string) v1alpha1.ServiceBindingUsageInterface

func (*FakeServicecatalogV1alpha1) UsageKinds

type FakeUsageKinds

type FakeUsageKinds struct {
	Fake *FakeServicecatalogV1alpha1
}

FakeUsageKinds implements UsageKindInterface

func (*FakeUsageKinds) Create

func (c *FakeUsageKinds) Create(usageKind *v1alpha1.UsageKind) (result *v1alpha1.UsageKind, err error)

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

func (*FakeUsageKinds) Delete

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

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

func (*FakeUsageKinds) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeUsageKinds) Get

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

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

func (*FakeUsageKinds) List

func (c *FakeUsageKinds) List(opts v1.ListOptions) (result *v1alpha1.UsageKindList, err error)

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

func (*FakeUsageKinds) Patch

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

Patch applies the patch and returns the patched usageKind.

func (*FakeUsageKinds) Update

func (c *FakeUsageKinds) Update(usageKind *v1alpha1.UsageKind) (result *v1alpha1.UsageKind, err error)

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

func (*FakeUsageKinds) Watch

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

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

Jump to

Keyboard shortcuts

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