dialog

package
v0.0.0-...-eeb8ce0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfirmDeletion

func ConfirmDeletion(img *images.Image, tags []images.Tag) (bool, error)

ConfirmDeletion ...

Types

type DeletionResult

type DeletionResult struct {
	Canceled     bool
	ImageRemoved *images.Image
	TagsRemoved  []images.Tag
}

DeletionResult ...

func DeleteImage

func DeleteImage(ctx context.Context, imgs []images.Image, useTags bool) (*DeletionResult, error)

DeleteImage ...

type ImgSelection

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

ImgSelection ...

func SelectImage

func SelectImage(imgs []images.Image, cursor, scroll int) (*ImgSelection, error)

SelectImage ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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