Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FlagStringKV ¶
FlagStringKV is a flag.Value implementation for parsing user variables from the command-line in the format of '-var key=value', where value is only ever a primitive.
func (*FlagStringKV) Set ¶
func (v *FlagStringKV) Set(raw string) error
func (*FlagStringKV) String ¶
func (v *FlagStringKV) String() string
type FlagStringSlice ¶
type FlagStringSlice []string
FlagStringSlice is a flag.Value implementation which allows collecting multiple instances of a single flag into a slice. This is used for flags such as -target=aws_instance.foo and -var x=y.
func (*FlagStringSlice) Set ¶
func (v *FlagStringSlice) Set(raw string) error
func (*FlagStringSlice) String ¶
func (v *FlagStringSlice) String() string
type RawFlags ¶
RawFlags is a flag.Value implementation that appends raw flag names and values to a slice. This is used to collect a sequence of flags with possibly different names, preserving the overall order.
func NewRawFlags ¶
Click to show internal directories.
Click to hide internal directories.