Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // define custom errors for config map ErrKeyNotFound = errors.New("Cannot find specified key in mapped values") )
Functions ¶
func SliceContains ¶
function used to determine if a slice of strings contains a particular item/string
Types ¶
type ConfigMap ¶
func NewConfigMapWithValues ¶
function to create new config map with a collection of defaults
func (*ConfigMap) Get ¶
function used to retrieve mappings. environment variables override hard coded defaults
Click to show internal directories.
Click to hide internal directories.