fake

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clientset

type Clientset struct {
	*servicecatalogclientset.Clientset
}

Clientset is a wrapper around the generated fake clientset that clones the ServiceInstance and ServiceBinding objects being passed to UpdateStatus. This is a workaround until the generated fake clientset does its own copying.

func (*Clientset) Discovery

func (c *Clientset) Discovery() discovery.DiscoveryInterface

func (*Clientset) ServicecatalogV1alpha1

type ServiceBindings added in v0.0.24

type ServiceBindings struct {
	v1alpha1typed.ServiceBindingInterface
}

ServiceBindings is a wrapper around the generated fake ServiceBindings that clones the ServiceBinding objects being passed to UpdateStatus. This is a workaround until the generated fake clientset does its own copying.

func (*ServiceBindings) Create added in v0.0.24

func (c *ServiceBindings) Create(serviceInstance *v1alpha1.ServiceBinding) (result *v1alpha1.ServiceBinding, err error)

func (*ServiceBindings) Delete added in v0.0.24

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

func (*ServiceBindings) DeleteCollection added in v0.0.24

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

func (*ServiceBindings) Get added in v0.0.24

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

func (*ServiceBindings) List added in v0.0.24

func (c *ServiceBindings) List(opts v1.ListOptions) (result *v1alpha1.ServiceBindingList, err error)

func (*ServiceBindings) Patch added in v0.0.24

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

Patch applies the patch and returns the patched serviceInstance.

func (*ServiceBindings) Update added in v0.0.24

func (c *ServiceBindings) Update(serviceInstance *v1alpha1.ServiceBinding) (result *v1alpha1.ServiceBinding, err error)

func (*ServiceBindings) UpdateStatus added in v0.0.24

func (c *ServiceBindings) UpdateStatus(serviceInstance *v1alpha1.ServiceBinding) (*v1alpha1.ServiceBinding, error)

func (*ServiceBindings) Watch added in v0.0.24

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

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

type ServiceInstances

type ServiceInstances struct {
	v1alpha1typed.ServiceInstanceInterface
}

ServiceInstances is a wrapper around the generated fake ServiceInstances that clones the ServiceInstance objects being passed to UpdateStatus. This is a workaround until the generated fake clientset does its own copying.

func (*ServiceInstances) Create

func (c *ServiceInstances) Create(serviceInstance *v1alpha1.ServiceInstance) (result *v1alpha1.ServiceInstance, err error)

func (*ServiceInstances) Delete

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

func (*ServiceInstances) DeleteCollection

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

func (*ServiceInstances) Get

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

func (*ServiceInstances) List

func (c *ServiceInstances) List(opts v1.ListOptions) (result *v1alpha1.ServiceInstanceList, err error)

func (*ServiceInstances) Patch

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

Patch applies the patch and returns the patched serviceInstance.

func (*ServiceInstances) Update

func (c *ServiceInstances) Update(serviceInstance *v1alpha1.ServiceInstance) (result *v1alpha1.ServiceInstance, err error)

func (*ServiceInstances) UpdateStatus

func (c *ServiceInstances) UpdateStatus(serviceInstance *v1alpha1.ServiceInstance) (*v1alpha1.ServiceInstance, error)

func (*ServiceInstances) Watch

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

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

type ServicecatalogV1alpha1

type ServicecatalogV1alpha1 struct {
	servicecatalogv1alpha1.ServicecatalogV1alpha1Interface
}

ServicecatalogV1alpha1 is a wrapper around the generated fake service catalog that clones the ServiceInstance and ServiceBinding objects being passed to UpdateStatus. This is a workaround until the generated fake clientset does its own copying.

func (*ServicecatalogV1alpha1) ClusterServiceBrokers added in v0.0.24

func (*ServicecatalogV1alpha1) ClusterServiceClasses added in v0.0.24

func (*ServicecatalogV1alpha1) ClusterServicePlans added in v0.0.24

func (*ServicecatalogV1alpha1) RESTClient

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

func (*ServicecatalogV1alpha1) ServiceBindings added in v0.0.24

func (c *ServicecatalogV1alpha1) ServiceBindings(namespace string) v1alpha1.ServiceBindingInterface

func (*ServicecatalogV1alpha1) ServiceInstances

func (c *ServicecatalogV1alpha1) ServiceInstances(namespace string) v1alpha1.ServiceInstanceInterface

Jump to

Keyboard shortcuts

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