Documentation ¶
Overview ¶
Package utils implements the util functions
Index ¶
- Constants
- func CalculateSecretKeyMd5(secret *corev1.Secret, key string) (string, error)
- func ConvertJSONToMapStringInterface(raw *apiextensionsv1.JSON) (map[string]interface{}, error)
- func ConvertMap(input map[string]string) map[string]interface{}
- func IsManaged(object metav1.Object) bool
- type Duration
Constants ¶
View Source
const (
// ManagedAnnotation indicates the object is managed by the controller
ManagedAnnotation = "cloud.streamnative.io/managed"
)
Variables ¶
This section is empty.
Functions ¶
func CalculateSecretKeyMd5 ¶ added in v0.4.5
CalculateSecretKeyMd5 calculates the hash of the secret key.
func ConvertJSONToMapStringInterface ¶ added in v0.5.0
func ConvertJSONToMapStringInterface(raw *apiextensionsv1.JSON) (map[string]interface{}, error)
ConvertJSONToMapStringInterface converts a JSON object to a map[string]interface{}
func ConvertMap ¶ added in v0.5.0
ConvertMap converts a map[string]string to a map[string]interface{}
Types ¶
Click to show internal directories.
Click to hide internal directories.