cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "0.1.0"
)

Variables

This section is empty.

Functions

func NewDefaultImgpkgCmd

func NewDefaultImgpkgCmd(ui *ui.ConfUI) *cobra.Command

func NewImgpkgCmd

func NewImgpkgCmd(o *ImgpkgOptions) *cobra.Command

func NewPullCmd

func NewPullCmd(o *PullOptions) *cobra.Command

func NewPushCmd

func NewPushCmd(o *PushOptions) *cobra.Command

func NewTagCmd

func NewTagCmd() *cobra.Command

func NewTagListCmd

func NewTagListCmd(o *TagListOptions) *cobra.Command

func NewVersionCmd

func NewVersionCmd(o *VersionOptions) *cobra.Command

Types

type FileFlags

type FileFlags struct {
	Files      []string
	RawTarFile string
}

func (*FileFlags) Set

func (s *FileFlags) Set(cmd *cobra.Command)

type ImageFlags

type ImageFlags struct {
	Image string
}

func (*ImageFlags) Set

func (s *ImageFlags) Set(cmd *cobra.Command)

type ImgpkgOptions

type ImgpkgOptions struct {
	UIFlags UIFlags
	// contains filtered or unexported fields
}

func NewImgpkgOptions

func NewImgpkgOptions(ui *ui.ConfUI) *ImgpkgOptions

type PullOptions

type PullOptions struct {
	ImageFlags    ImageFlags
	RegistryFlags RegistryFlags
	OutputPath    string
	// contains filtered or unexported fields
}

func NewPullOptions

func NewPullOptions(ui ui.UI) *PullOptions

func (*PullOptions) Run

func (o *PullOptions) Run() error

type PushOptions

type PushOptions struct {
	ImageFlags    ImageFlags
	FileFlags     FileFlags
	RegistryFlags RegistryFlags
	// contains filtered or unexported fields
}

func NewPushOptions

func NewPushOptions(ui ui.UI) *PushOptions

func (*PushOptions) Run

func (o *PushOptions) Run() error

type RegistryFlags

type RegistryFlags struct {
	CACertPaths []string
	VerifyCerts bool

	Username string
	Password string
	Token    string
	Anon     bool
}

func (*RegistryFlags) AsRegistryOpts

func (s *RegistryFlags) AsRegistryOpts() ctlimg.RegistryOpts

func (*RegistryFlags) Set

func (s *RegistryFlags) Set(cmd *cobra.Command)

type TagListOptions

type TagListOptions struct {
	ImageFlags    ImageFlags
	RegistryFlags RegistryFlags
	Digests       bool
	// contains filtered or unexported fields
}

func NewTagListOptions

func NewTagListOptions(ui ui.UI) *TagListOptions

func (*TagListOptions) Run

func (o *TagListOptions) Run() error

type UIFlags

type UIFlags struct {
	TTY            bool
	Color          bool
	JSON           bool
	NonInteractive bool
	Columns        []string
}

func (*UIFlags) ConfigureUI

func (f *UIFlags) ConfigureUI(ui *ui.ConfUI)

func (*UIFlags) Set

func (f *UIFlags) Set(cmd *cobra.Command)

type VersionOptions

type VersionOptions struct {
	// contains filtered or unexported fields
}

func NewVersionOptions

func NewVersionOptions(ui ui.UI) *VersionOptions

func (*VersionOptions) Run

func (o *VersionOptions) Run() error

Jump to

Keyboard shortcuts

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