traverse

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindingParentHierarchy

BindingParentHierarchy retrieves all ancestor resources of a binding.

func BindingToInstance

func BindingToInstance(
	cl *clientset.Clientset,
	b *v1beta1.ServiceBinding,
) (*v1beta1.ServiceInstance, error)

BindingToInstance traverses from b to the ServiceInstance that it refers to

func InstanceParentHierarchy

InstanceParentHierarchy retrieves all ancestor resources of an instance.

func InstanceToServiceClassAndPlan

func InstanceToServiceClassAndPlan(
	cl *clientset.Clientset,
	instance *v1beta1.ServiceInstance,
) (*v1beta1.ClusterServiceClass, *v1beta1.ClusterServicePlan, error)

InstanceToServiceClassAndPlan fetches the ClusterServiceClass and ClusterServicePlan for instance, using cl to do the fetches

func ServiceClassToBroker

func ServiceClassToBroker(
	cl *clientset.Clientset,
	class *v1beta1.ClusterServiceClass,
) (*v1beta1.ClusterServiceBroker, error)

ServiceClassToBroker fetches the ClusterServiceBroker for the given ClusterServiceClass, using cl to do the fetch

Types

This section is empty.

Jump to

Keyboard shortcuts

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