images

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 21 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
}

Handler provides image command implementations.

func (Handler) Import

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

Import handles the 'image import' command.

func (Handler) Inspect

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

Inspect handles the 'image inspect' command.

func (Handler) List

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

List handles the 'image list' command.

func (Handler) Pull

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

Pull handles the 'image pull' command.

func (Handler) RM

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

RM handles the 'image rm' command.

Jump to

Keyboard shortcuts

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