fake

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 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 ServiceInstanceCredential 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 ServiceInstanceCredentials

type ServiceInstanceCredentials struct {
	v1alpha1typed.ServiceInstanceCredentialInterface
}

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

func (*ServiceInstanceCredentials) Create

func (*ServiceInstanceCredentials) Delete

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

func (*ServiceInstanceCredentials) DeleteCollection

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

func (*ServiceInstanceCredentials) Get

func (*ServiceInstanceCredentials) List

func (*ServiceInstanceCredentials) Patch

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

Patch applies the patch and returns the patched serviceInstance.

func (*ServiceInstanceCredentials) Update

func (*ServiceInstanceCredentials) UpdateStatus

func (*ServiceInstanceCredentials) Watch

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 ServiceInstanceCredential objects being passed to UpdateStatus. This is a workaround until the generated fake clientset does its own copying.

func (*ServicecatalogV1alpha1) RESTClient

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

func (*ServicecatalogV1alpha1) ServiceBrokers

func (*ServicecatalogV1alpha1) ServiceClasses

func (*ServicecatalogV1alpha1) ServiceInstanceCredentials

func (c *ServicecatalogV1alpha1) ServiceInstanceCredentials(namespace string) v1alpha1.ServiceInstanceCredentialInterface

func (*ServicecatalogV1alpha1) ServiceInstances

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

func (*ServicecatalogV1alpha1) ServicePlans

Jump to

Keyboard shortcuts

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