convert

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Flags = []cli.Flag{
		&cli.BoolFlag{
			Name:     "insecure-source",
			Usage:    "use HTTP for the source image",
			Value:    false,
			Required: false,
		},
		&cli.BoolFlag{
			Name:     "insecure-destination",
			Usage:    "use HTTP for the destination image",
			Value:    false,
			Required: false,
		},
		&cli.StringFlag{
			Name:     "platform",
			Usage:    "chose what platforms to convert, e.g. 'linux/amd64,linux/arm64', use comma to separate. 'all' means all platforms in the source image",
			Value:    "all",
			Required: false,
		},
	}
)

Functions

func Action

func Action(ctx context.Context, c *cli.Context) error

Action - This Action does not require communicates to the Starlight daemon.

func Command

func Command() *cli.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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