Documentation ¶
Index ¶
- func ConsolePrinter(msg string)
- func FileExists(filename string) (bool, error)
- func GetNamespaceSets(nsInclude string, nsExclude string) (sets.String, sets.String)
- func IsNamespaceIncluded(namespace string, nsInclude sets.String, nsExclude sets.String) bool
- func ReadObjectList(r io.Reader) ([]runtime.Object, error)
- func ReadObjectsFromFile(filename string) ([]runtime.Object, error)
- func ReadYamlManifest(r io.Reader) ([]runtime.Object, error)
- func StructToMap(v interface{}) map[string]string
- func WriteFile(outfile string, data string) error
- type Map
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsolePrinter ¶
func ConsolePrinter(msg string)
func FileExists ¶
FileExists checks if specified file exists.
func GetNamespaceSets ¶
func IsNamespaceIncluded ¶
func StructToMap ¶
Types ¶
type Map ¶
func Flatten ¶
Flatten takes a structure and turns into a flat map[string]string.
Within the "thing" parameter, only primitive values are allowed. Structs are not supported. Therefore, it can only be slices, maps, primitives, and any combination of those together.
See the tests for examples of what inputs are turned into.
Click to show internal directories.
Click to hide internal directories.