Documentation ¶
Index ¶
- Constants
- func AppendLabels(src, dest map[string]string) map[string]string
- func GetConfigOrDefault(cm map[string]string, key string, defaultVal string) string
- func GetDefaultConfig(ctx context.Context, c client.Client, log logr.Logger) map[string]string
- func Hash(val interface{}) string
- func IgnoreNotFound(err error) error
- func InterfaceIsNil(val interface{}) bool
- func IsNotFound(err error) bool
Constants ¶
View Source
const (
CRNotFound metav1.StatusReason = "not found"
)
Variables ¶
This section is empty.
Functions ¶
func GetConfigOrDefault ¶
func GetDefaultConfig ¶
func IgnoreNotFound ¶
IgnoreNotFound returns nil on 'not found' errors. All other values that are not 'not found' errors or nil are returned unmodified.
func InterfaceIsNil ¶
func InterfaceIsNil(val interface{}) bool
func IsNotFound ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.