Documentation ¶ Index ¶ Constants type Label func Parse(str string) (*Label, error) type Labels func (l Labels) Names() []string func (l Labels) PickPlatform(runsOn []string) string func (l Labels) RequireDocker() bool func (l Labels) ToStrings() []string Constants ¶ View Source const ( SchemeHost = "host" SchemeDocker = "docker" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Label ¶ type Label struct { Name string Schema string Arg string } func Parse ¶ func Parse(str string) (*Label, error) type Labels ¶ type Labels []*Label func (Labels) Names ¶ added in v0.2.0 func (l Labels) Names() []string func (Labels) PickPlatform ¶ func (l Labels) PickPlatform(runsOn []string) string func (Labels) RequireDocker ¶ func (l Labels) RequireDocker() bool func (Labels) ToStrings ¶ added in v0.2.0 func (l Labels) ToStrings() []string Source Files ¶ View all Source files labels.go Click to show internal directories. Click to hide internal directories.