resources

package
v2.11.19 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindingCredentialsSecretName

func BindingCredentialsSecretName(binding *v1alpha1.ServiceInstanceBinding) string

BindingCredentialsSecretName gets the name of the secret for a ServiceInstanceBinding.

func MakeCredentialsForOSBService

func MakeCredentialsForOSBService(
	binding *v1alpha1.ServiceInstanceBinding,
	creds map[string]interface{},
) (*v1.Secret, error)

MakeCredentialsForOSBService creates a Secret containing the binding credentials for an OSB service.

func MakeOSBBindRequest

func MakeOSBBindRequest(
	serviceInstance *v1alpha1.ServiceInstance,
	binding *v1alpha1.ServiceInstanceBinding,
	namespace *corev1.Namespace,
	paramsSecret *corev1.Secret,
) (*osbclient.BindRequest, error)

MakeOSBBindRequest creates a request to bind to an OSB resource.

func MakeOSBBindingLastOperationRequest

func MakeOSBBindingLastOperationRequest(
	serviceInstance *v1alpha1.ServiceInstance,
	binding *v1alpha1.ServiceInstanceBinding,
	operationKey *string,
) *osbclient.BindingLastOperationRequest

MakeOSBBindingLastOperationRequest creates a LastOperationRequest for OSB backed services, used to poll long running operations.

func MakeOSBGetBindingRequest

func MakeOSBGetBindingRequest(
	serviceInstance *v1alpha1.ServiceInstance,
	binding *v1alpha1.ServiceInstanceBinding,
) *osbclient.GetBindingRequest

MakeOSBGetBindingRequest creates a GetBindingRequest for OSB backed services, used to poll long running operations.

func MakeOSBUnbindRequest

func MakeOSBUnbindRequest(
	serviceInstance *v1alpha1.ServiceInstance,
	binding *v1alpha1.ServiceInstanceBinding,
) *osbclient.UnbindRequest

MakeOSBUnbindRequest creates an UnbindRequest for OSB backed services.

func MergeCredentialsSecretForBinding

func MergeCredentialsSecretForBinding(binding v1alpha1.ServiceInstanceBinding, serviceCredentialsSecret v1.Secret, bindingParamsSecret v1.Secret) (*v1.Secret, error)

MergeCredentialsSecretForBinding merges the Secret containing the binding credentials with params Secret.

Types

This section is empty.

Jump to

Keyboard shortcuts

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