Documentation ¶
Index ¶
- func Clone(inter interface{}) interface{}
- func ContainsNamespacedName(slice []types.NamespacedName, target metav1.ObjectMeta) bool
- func ContainsString(slice []string, value string) bool
- func FindItem(slice []string, value string) (int, bool)
- func GetObjectMeta(cfg map[string]interface{}) (*metav1.ObjectMeta, error)
- func IgnoreNotFoundError(err error) error
- func RandID() string
- func RandIDWithLength(length int) string
- func RandUUID() string
- func ToNamespacedNameSlice(rawItems []interface{}) []types.NamespacedName
- func ToStringSlice(items []interface{}) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsNamespacedName ¶
func ContainsNamespacedName(slice []types.NamespacedName, target metav1.ObjectMeta) bool
ContainsNamespacedName returns the available status
func ContainsString ¶
ContainsString returns the available status
func GetObjectMeta ¶
func GetObjectMeta(cfg map[string]interface{}) (*metav1.ObjectMeta, error)
func IgnoreNotFoundError ¶
func RandIDWithLength ¶
RandIDWithLength returns random id with supplied charset
func ToNamespacedNameSlice ¶
func ToNamespacedNameSlice(rawItems []interface{}) []types.NamespacedName
func ToStringSlice ¶
func ToStringSlice(items []interface{}) []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.