Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadFilterFile ¶ added in v1.1.0
LoadFilterFile parses a file into an array of non-empty, non-comment lines. If the file does not exist, then os.IsNotExist(err) == true
func ParseCommaSeparatedParams ¶
ParseCommaSeparatedParams slipts params in the form of "foo=bar,baz=qux" in to a map {"foo": "bar", "baz": "qux"}
func ValueFromJSON ¶
ValueFromJSON converts JSON value to starlark.Value.
Types ¶
type StringsFlagValue ¶ added in v1.1.0
type StringsFlagValue []string
func StringsFlag ¶ added in v1.1.0
func StringsFlag(name string, value []string, usage string) *StringsFlagValue
func (*StringsFlagValue) Set ¶ added in v1.1.0
func (s *StringsFlagValue) Set(value string) error
func (*StringsFlagValue) String ¶ added in v1.1.0
func (s *StringsFlagValue) String() string
Click to show internal directories.
Click to hide internal directories.