images

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(h Actions) *cobra.Command

Command builds the "image" parent command with all subcommands.

Types

type Actions

type Actions interface {
	Pull(cmd *cobra.Command, args []string) error
	Import(cmd *cobra.Command, args []string) error
	List(cmd *cobra.Command, args []string) error
	RM(cmd *cobra.Command, args []string) error
	Inspect(cmd *cobra.Command, args []string) error
}

Actions defines image management operations.

type Handler

type Handler struct {
	cmdcore.BaseHandler
}

func (Handler) Import

func (h Handler) Import(cmd *cobra.Command, args []string) error

func (Handler) Inspect

func (h Handler) Inspect(cmd *cobra.Command, args []string) error

func (Handler) List

func (h Handler) List(cmd *cobra.Command, _ []string) error

func (Handler) Pull

func (h Handler) Pull(cmd *cobra.Command, args []string) error

func (Handler) RM

func (h Handler) RM(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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