Documentation ¶
Index ¶
- Constants
- func NewDefaultImgpkgCmd(ui *ui.ConfUI) *cobra.Command
- func NewImgpkgCmd(o *ImgpkgOptions) *cobra.Command
- func NewPullCmd(o *PullOptions) *cobra.Command
- func NewPushCmd(o *PushOptions) *cobra.Command
- func NewTagCmd() *cobra.Command
- func NewTagListCmd(o *TagListOptions) *cobra.Command
- func NewVersionCmd(o *VersionOptions) *cobra.Command
- type FileFlags
- type ImageFlags
- type ImgpkgOptions
- type PullOptions
- type PushOptions
- type RegistryFlags
- type TagListOptions
- type UIFlags
- type VersionOptions
Constants ¶
View Source
const (
Version = "0.1.0"
)
Variables ¶
This section is empty.
Functions ¶
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 NewTagListCmd ¶
func NewTagListCmd(o *TagListOptions) *cobra.Command
func NewVersionCmd ¶
func NewVersionCmd(o *VersionOptions) *cobra.Command
Types ¶
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 ¶
func (*UIFlags) ConfigureUI ¶
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
Click to show internal directories.
Click to hide internal directories.