utils

package
v0.0.0-...-b090f33 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsString

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

func GetDenyListEnv

func GetDenyListEnv(key string, defaultVal string) string

lookup DENY_LIST, default is nil

func GetEnvAsSlice

func GetEnvAsSlice(name string, defaultVal []string, sep string) []string

pass slice of strings for namespaces

func GetWatchNamespace

func GetWatchNamespace() (string, error)

func RemoveString

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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