Documentation ¶
Index ¶
- func CompareStrings(src, dst []string) ([]string, []string)
- func IsSecretFile(filename string) bool
- func ListYAMLFiles(dirname string) ([]string, error)
- func NamespaceFromPath(path, basedir string) (string, error)
- func ScanLines(r io.Reader) []string
- func ScanNoecho(key string) string
- func WriteFile(filename string, body []byte) error
- func WriteFileWithoutSection(filename string, body []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareStrings ¶ added in v0.5.1
CompareStrings compares two string slices
func IsSecretFile ¶ added in v0.3.2
IsSecretFile returns whether the given file is secret file or not
func ListYAMLFiles ¶ added in v0.3.2
ListYAMLFiles parses and executes function recursively
func NamespaceFromPath ¶ added in v0.3.2
NamespaceFromPath returns namespace from the given path
func ScanNoecho ¶ added in v0.5.0
ScanNoecho reads password without printing password text in console
func WriteFileWithoutSection ¶
WriteFileWithoutSection writes body to file keeping preserved section
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.