Documentation ¶
Index ¶
- func CheckListDifference(slice1 []string, slice2 []string) bool
- func Contains(list []string, s string) bool
- func GetListDifference(slice1 []string, slice2 []string) []string
- func GetOperatorNamespace() (string, error)
- func GetOwnerReferenceUIDs(ownerRefs []metav1.OwnerReference) []types.UID
- func MakeSet(strs []string) gset.Set
- func Reverse(original []string) []string
- func StringSliceContentEqual(slice1, slice2 []string) bool
- func ToStringSlice(set gset.Set) []string
- func UIDContains(list []types.UID, s types.UID) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckListDifference ¶
func GetListDifference ¶
func GetOperatorNamespace ¶
GetOperatorNamespace returns the namespace the operator should be running in.
func GetOwnerReferenceUIDs ¶
func GetOwnerReferenceUIDs(ownerRefs []metav1.OwnerReference) []types.UID
func StringSliceContentEqual ¶
StringSliceContentEqual checks if the contant from two string slice are the same
func ToStringSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.