Documentation ¶
Index ¶
- func BindingCredentialsSecretName(binding *v1alpha1.ServiceInstanceBinding) string
- func MakeCredentialsForOSBService(binding *v1alpha1.ServiceInstanceBinding, creds map[string]interface{}) (*v1.Secret, error)
- func MakeOSBBindRequest(serviceInstance *v1alpha1.ServiceInstance, ...) (*osbclient.BindRequest, error)
- func MakeOSBBindingLastOperationRequest(serviceInstance *v1alpha1.ServiceInstance, ...) *osbclient.BindingLastOperationRequest
- func MakeOSBGetBindingRequest(serviceInstance *v1alpha1.ServiceInstance, ...) *osbclient.GetBindingRequest
- func MakeOSBUnbindRequest(serviceInstance *v1alpha1.ServiceInstance, ...) *osbclient.UnbindRequest
- func MergeCredentialsSecretForBinding(binding v1alpha1.ServiceInstanceBinding, serviceCredentialsSecret v1.Secret, ...) (*v1.Secret, error)
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.