Help us shape the future of Go! Take the 2026 Go Developer Survey

controllerutils

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 6 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsString

func ContainsString(slice []string, s string) bool

ContainsString returns true to caller if string arguments is found in slice string arguments.

func GetConfig

func GetConfig(kubeClient client.Client) (*corev1.ConfigMap, error)

GetConfig retrieves config from kubernetes and returns a ConfigMap object.

func GetDefaultNotificationEmailAddress

func GetDefaultNotificationEmailAddress(kubeClient client.Client) (string, error)

After instantiating a configmap object, GetDefaultNotificationEmailAddress validates if there is a default email address present or not.

func RemoveString

func RemoveString(slice []string, s string) (result []string)

RemoveString returns a slice of matching strings derived from `slice` and `s` arguments.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL