Documentation ¶
Index ¶
- func AppendSlice(sl reflect.Value, values ...string) (err error)
- func FilterWithValuePattern(cmd *cobra.Command, v reflect.Value, valuePattern string) (idxMap map[int]struct{}, vals []string, err error)
- func GetFieldValue(s interface{}, prop string, createIfZero bool) (v reflect.Value, err error)
- func GetParentField(s interface{}, prop string) (parent reflect.Value, name string, err error)
- func OutputValues(cmd *cobra.Command, vals interface{}) (err error)
- func SetValue(v reflect.Value, val string) error
- func UnsetField(s interface{}, prop string, all bool) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendSlice ¶ added in v0.10.0
func FilterWithValuePattern ¶
func GetFieldValue ¶
func GetParentField ¶
func OutputValues ¶
func UnsetField ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.