Documentation
¶
Index ¶
- func CreateOrUpdate(ctx context.Context, c client.Client, obj client.Object) error
- func DecodeBase64Byte(value []byte) ([]byte, error)
- func Encode(value []byte) []byte
- func GenerateRandomStr(length int) string
- func GenerateSecretAccessKey() (string, error)
- func GetSecurityValueByKey(secret *corev1.Secret, key string) (string, error)
- func RemoveSpecialCharacter(str string) string
- func UpdateStatus(ctx context.Context, reconcilier client.Client, instance client.Object) error
- type Base64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdate ¶
CreateOrUpdate creates or updates the client.object
func DecodeBase64Byte ¶ added in v0.2.0
func GenerateRandomStr ¶
GenerateRandomStr - generate random string for given length
func GenerateSecretAccessKey ¶
GenerateSecretAccessKey - generate random base64 numeric value from a random seed.
func GetSecurityValueByKey ¶ added in v0.2.0
GetSecurityValueByKey get security value from secret by key
func RemoveSpecialCharacter ¶
RemoveSpecialCharacter - remove special character
func UpdateStatus ¶
UpdateStatus updates the status of the Server resource https://stackoverflow.com/questions/76388004/k8s-controller-update-status-and-condition
Types ¶
Click to show internal directories.
Click to hide internal directories.