labels

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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) PickPlatform

func (l Labels) PickPlatform(runsOn []string) string

func (Labels) RequireDocker

func (l Labels) RequireDocker() bool

Jump to

Keyboard shortcuts

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