Documentation ¶
Index ¶
- Variables
- func AnnotationStringToSlice(AnnotationValue string) []string
- func CompressString(input string) ([]byte, error)
- func DecompressString(input []byte) (string, error)
- func GenerateID(len int) string
- func GenerateRandomBytes(l int) []byte
- func QueryByFields(value any, query string) (res any)
- func RenderConfig(configPathTmpl, configPath string, s interface{}) error
- func RenderRuntimeObject(configPathTmpl string, object runtime.Object, input interface{}) error
- func SliceToAnnotationString(slice []string) (AnnotationValue string)
Constants ¶
This section is empty.
Variables ¶
View Source
var Decode func(data []byte, defaults *schema.GroupVersionKind, into runtime.Object) (runtime.Object, *schema.GroupVersionKind, error)
Functions ¶
func AnnotationStringToSlice ¶
AnnotationStringToSlice split value by "_"
func CompressString ¶
CompressString compress string
func DecompressString ¶
DecompressString decompress string
func GenerateRandomBytes ¶
func QueryByFields ¶
func RenderConfig ¶
func RenderRuntimeObject ¶
func SliceToAnnotationString ¶
SliceToAnnotationString split annotation from string to slice by ","
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.