Documentation ¶
Index ¶
- func ConvertBundleToSpec(spec v1alpha1.BundleSpec, id string) (*bundle.Spec, error)
- func ConvertJobMethodToAPB(j v1alpha1.JobMethod) bundle.JobMethod
- func ConvertJobMethodToCRD(j bundle.JobMethod) v1alpha1.JobMethod
- func ConvertServiceBindingToAPB(bi v1alpha1.BundleBinding, id string) (*bundle.BindInstance, error)
- func ConvertServiceBindingToCRD(bi *bundle.BindInstance) (v1alpha1.BundleBinding, error)
- func ConvertServiceInstanceToAPB(si v1alpha1.BundleInstance, spec *bundle.Spec, id string) (*bundle.ServiceInstance, error)
- func ConvertServiceInstanceToCRD(si *bundle.ServiceInstance) (v1alpha1.BundleInstance, error)
- func ConvertSpecToBundle(spec *bundle.Spec) (v1alpha1.BundleSpec, error)
- func ConvertStateToAPB(s v1alpha1.State) bundle.State
- func ConvertStateToCRD(s bundle.State) v1alpha1.State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertBundleToSpec ¶
ConvertBundleToSpec accepts a bundle-client-go BundleSpec along with its id (which is often the Bundle's name), and will convert these into a bundle Spec type.
func ConvertJobMethodToAPB ¶
ConvertJobMethodToAPB will convert crd job method to bundle job method.
func ConvertJobMethodToCRD ¶
ConvertJobMethodToCRD will convert the bundle job method to the crd job method.
func ConvertServiceBindingToAPB ¶
func ConvertServiceBindingToAPB(bi v1alpha1.BundleBinding, id string) (*bundle.BindInstance, error)
ConvertServiceBindingToAPB accepts a bundle-client-go ServiceBindingSpec along with its id (which is often the ServiceBinding's name), and will convert these into a bundle BindInstance.
func ConvertServiceBindingToCRD ¶
func ConvertServiceBindingToCRD(bi *bundle.BindInstance) (v1alpha1.BundleBinding, error)
ConvertServiceBindingToCRD will take a bundle BindInstance and convert it to a ServiceBindingSpec CRD type.
func ConvertServiceInstanceToAPB ¶
func ConvertServiceInstanceToAPB(si v1alpha1.BundleInstance, spec *bundle.Spec, id string) (*bundle.ServiceInstance, error)
ConvertServiceInstanceToAPB will take a ServiceInstanceSpec its associated bundle Spec, as well as an id (often the ServiceInstance's name), and will convert those to a bundle ServiceInstance.
func ConvertServiceInstanceToCRD ¶
func ConvertServiceInstanceToCRD(si *bundle.ServiceInstance) (v1alpha1.BundleInstance, error)
ConvertServiceInstanceToCRD will take a bundle ServiceInstance and convert it to a ServiceInstanceSpec CRD type.
func ConvertSpecToBundle ¶
func ConvertSpecToBundle(spec *bundle.Spec) (v1alpha1.BundleSpec, error)
ConvertSpecToBundle will convert a bundle Spec to a Bundle CRD resource type.
func ConvertStateToAPB ¶
ConvertStateToAPB will take a bundle-client-go State type and convert it to a bundle State type.
Types ¶
This section is empty.