Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(opts ...Option) *v1beta3.ServiceBinding
func SecretName ¶
func WaitForReadiness ¶
func WaitForReadiness(ctx context.Context, sb *v1beta3.ServiceBinding, c runtimeclient.Client)
Types ¶
type Option ¶
type Option func(*v1beta3.ServiceBinding)
Option represents a functional option for service binding objects. To learn what a functional option is, read here: https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis
func SetInstanceRef ¶
func SetInstanceRef(dsi runtimeclient.Object) Option
func SetNamespacedName ¶
func SetNamespacedName(dsi runtimeclient.Object) Option
TODO: Make two separate options for name and namespace. We only need to pass string as parameters
Click to show internal directories.
Click to hide internal directories.