Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigMapFromTestFile ¶
ConfigMapFromTestFile creates a v1.ConfigMap from a YAML file It loads the YAML file from the testdata folder.
func ConfigMapsFromTestFile ¶
func ConfigMapsFromTestFile(t *testing.T, name string, allowed ...string) (*corev1.ConfigMap, *corev1.ConfigMap)
ConfigMapsFromTestFile creates two corev1.ConfigMap resources from the config file read from the testdata directory: 1. The raw configmap read in. 2. A second version of the configmap augmenting `data:` with what's parsed from the value of `_example:`
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.