util

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSecretFile added in v0.3.2

func IsSecretFile(filename string) bool

IsSecretFile returns whether the given file is secret file or not

func ListYAMLFiles added in v0.3.2

func ListYAMLFiles(dirname string) ([]string, error)

ListYAMLFiles parses and executes function recursively

func NamespaceFromPath added in v0.3.2

func NamespaceFromPath(path, basedir string) string

NamespaceFromPath returns namespace from the given path

func WriteFile

func WriteFile(filename string, body []byte) error

WriteFile writes body to file

func WriteFileWithoutSection

func WriteFileWithoutSection(filename string, body []byte) error

WriteFileWithoutSection writes body to file keeping preserved section

Types

This section is empty.

Jump to

Keyboard shortcuts

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