targets

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Columns = map[string]column{
	"version":        {func(tl *targetListing) string { return strconv.Itoa(tl.version) }},
	"tags":           {func(tl *targetListing) string { return strings.Join(tl.tags, ",") }},
	"apps":           {func(tl *targetListing) string { return strings.Join(tl.apps, ",") }},
	"hardware-ids":   {func(tl *targetListing) string { return strings.Join(tl.hardwareIds, ",") }},
	"origin":         {func(tl *targetListing) string { return tl.origin }},
	"manifest-sha":   {func(tl *targetListing) string { return tl.manifestSha }},
	"overrides-sha":  {func(tl *targetListing) string { return tl.overridesSha }},
	"containers-sha": {func(tl *targetListing) string { return tl.containerSha }},
}

Functions

func NewCommand

func NewCommand() *cobra.Command

func Set added in v0.30.0

func Set(a, b []string) []string

Types

type DlStatus

type DlStatus struct {
	Total   int64
	Current int64
	Width   int64
	LastMsg time.Time
}

func (*DlStatus) Write

func (d *DlStatus) Write(p []byte) (int, error)

type Targets added in v0.30.0

type Targets map[string]*client.Target

Jump to

Keyboard shortcuts

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