fake

package
v3.9.0-alpha.3+incompa... Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2018 License: Apache-2.0, 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) Servicecatalog

func (*Clientset) ServicecatalogV1beta1

type ServiceBindings

type ServiceBindings struct {
	v1beta1typed.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

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

func (*ServiceBindings) Delete

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

func (*ServiceBindings) DeleteCollection

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

func (*ServiceBindings) Get

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

func (*ServiceBindings) List

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

func (*ServiceBindings) Patch

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

Patch applies the patch and returns the patched serviceInstance.

func (*ServiceBindings) Update

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

func (*ServiceBindings) UpdateStatus

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

func (*ServiceBindings) Watch

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 {
	v1beta1typed.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 *v1beta1.ServiceInstance) (result *v1beta1.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 *v1beta1.ServiceInstance, err error)

func (*ServiceInstances) List

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

func (*ServiceInstances) Patch

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

Patch applies the patch and returns the patched serviceInstance.

func (*ServiceInstances) Update

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

func (*ServiceInstances) UpdateStatus

func (c *ServiceInstances) UpdateStatus(serviceInstance *v1beta1.ServiceInstance) (*v1beta1.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 ServicecatalogV1beta1

type ServicecatalogV1beta1 struct {
	servicecatalogv1beta1.ServicecatalogV1beta1Interface
}

ServicecatalogV1beta1 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 (*ServicecatalogV1beta1) ClusterServiceBrokers

func (c *ServicecatalogV1beta1) ClusterServiceBrokers() v1beta1.ClusterServiceBrokerInterface

func (*ServicecatalogV1beta1) ClusterServiceClasses

func (c *ServicecatalogV1beta1) ClusterServiceClasses() v1beta1.ClusterServiceClassInterface

func (*ServicecatalogV1beta1) ClusterServicePlans

func (*ServicecatalogV1beta1) RESTClient

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

func (*ServicecatalogV1beta1) ServiceBindings

func (c *ServicecatalogV1beta1) ServiceBindings(namespace string) v1beta1.ServiceBindingInterface

func (*ServicecatalogV1beta1) ServiceInstances

func (c *ServicecatalogV1beta1) ServiceInstances(namespace string) v1beta1.ServiceInstanceInterface

Jump to

Keyboard shortcuts

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