Documentation
¶
Index ¶
- func BoolToString(b bool) string
- func GetValueFromSecret(sec *corev1.Secret, key string) (string, error)
- func NewRandomPassword(passwordStrength int32) (string, error)
- func ObjExists(ctx context.Context, client client.Client, name, namespace string, ...) (bool, error)
- func PullFinalizer(o metav1.Object, finalizer string)
- func PushFinalizer(o metav1.Object, finalizer string)
- type InterfaceHash
- type JSONPatch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolToString ¶
BoolToString returns a string depending on the given boolean value
func GetValueFromSecret ¶ added in v0.3.4
GetValueFromSecret returns a specific value of a secret key
func NewRandomPassword ¶
NewRandomPassword returns a random secret string with a given length
func ObjExists ¶
func ObjExists(ctx context.Context, client client.Client, name, namespace string, obj runtime.Object) (bool, error)
ObjExists returns a boolean value based on the existence of a runtime object
func PullFinalizer ¶
func PushFinalizer ¶
Types ¶
type InterfaceHash ¶
type InterfaceHash []byte
func GenerateHashFromInterfaces ¶
func GenerateHashFromInterfaces(interfaces []interface{}) (InterfaceHash, error)
GenerateHashFromInterfaces returns a hash sum based on a slice of given interfaces
func (*InterfaceHash) Short ¶
func (hash *InterfaceHash) Short() string
Short returns the first 8 characters of an interface hash
func (*InterfaceHash) String ¶
func (hash *InterfaceHash) String() string
String returns the string value of an interface hash
Click to show internal directories.
Click to hide internal directories.