fake

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 11 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) UpdateStatus

func (c *ServiceBindings) UpdateStatus(ctx context.Context, serviceBinding *v1beta1.ServiceBinding, opts v1.UpdateOptions) (*v1beta1.ServiceBinding, error)

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 (*ServiceInstances) Delete

func (c *ServiceInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

func (*ServiceInstances) DeleteCollection

func (c *ServiceInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

func (*ServiceInstances) Get

func (*ServiceInstances) List

func (*ServiceInstances) Patch

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

Patch applies the patch and returns the patched serviceInstance.

func (*ServiceInstances) Update

func (*ServiceInstances) UpdateStatus

func (c *ServiceInstances) UpdateStatus(ctx context.Context, serviceInstance *v1beta1.ServiceInstance, opts v1.UpdateOptions) (*v1beta1.ServiceInstance, error)

func (*ServiceInstances) Watch

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