fake

package
v0.1.42 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 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) Servicecatalog

func (*Clientset) ServicecatalogV1beta1 added in v0.1.0

type ServiceBindings added in v0.0.24

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 added in v0.0.24

func (c *ServiceBindings) Create(serviceInstance *v1beta1.ServiceBinding) (result *v1beta1.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 *v1beta1.ServiceBinding, err error)

func (*ServiceBindings) List added in v0.0.24

func (c *ServiceBindings) List(opts v1.ListOptions) (result *v1beta1.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 *v1beta1.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 *v1beta1.ServiceBinding) (result *v1beta1.ServiceBinding, err error)

func (*ServiceBindings) UpdateStatus added in v0.0.24

func (c *ServiceBindings) UpdateStatus(serviceInstance *v1beta1.ServiceBinding) (*v1beta1.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 {
	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 added in v0.1.0

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 added in v0.1.0

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

func (*ServicecatalogV1beta1) ClusterServiceClasses added in v0.1.0

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

func (*ServicecatalogV1beta1) ClusterServicePlans added in v0.1.0

func (*ServicecatalogV1beta1) RESTClient added in v0.1.0

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

func (*ServicecatalogV1beta1) ServiceBindings added in v0.1.0

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

func (*ServicecatalogV1beta1) ServiceInstances added in v0.1.0

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