Documentation ¶
Index ¶
- func BoolPtr(p bool) *bool
- func BoolValue(v *bool) bool
- func GetSecret(ctx context.Context, kube client.Client, ref *xpv1.SecretKeySelector) (string, error)
- func IntPtr(p int) *int
- func IntValue(v *int) int
- func LateInitializeBool(b *bool, from bool) *bool
- func LateInitializeInt(i *int, from int) *int
- func LateInitializeString(s *string, from string) *string
- func StringPtr(p string) *string
- func StringValue(v *string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolValue ¶
BoolValue converts the supplied bool pointer to an bool, returning false if the pointer is nil.
func IntValue ¶
IntValue converts the supplied int pointer to an int, returning zero if the pointer is nil.
func LateInitializeBool ¶
LateInitializeBool implements late initialization for bool type.
func LateInitializeInt ¶
LateInitializeInt implements late initialization for int type.
func LateInitializeString ¶
LateInitializeString implements late initialization for string type.
func StringValue ¶
StringValue converts the supplied string pointer to a string, returning the empty string if the pointer is nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.