flagext

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LabelSet

type LabelSet struct {
	model.LabelSet `yaml:",inline"`
}

LabelSet is a labelSet that can be used as a flag.

func (*LabelSet) Set

func (v *LabelSet) Set(s string) error

Set implements flag.Value

func (LabelSet) String

func (v LabelSet) String() string

String implements flag.Value Format: a=1,b=2

func (*LabelSet) UnmarshalYAML

func (v *LabelSet) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML the Unmarshaler interface of the yaml pkg.

Jump to

Keyboard shortcuts

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