servicebinding

package
v0.0.0-...-b15456b Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) *v1beta3.ServiceBinding

func SecretName

func SecretName(sbName string) string

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

Jump to

Keyboard shortcuts

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