Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCanceled = fmt.Errorf("Canceled")
ErrCanceled error thrown when the deletion request is canceled
View Source
var ErrImgSelCanceled = fmt.Errorf("image selection canceled")
ErrImgSelCanceled error returned if image selection has been canceled by the user
View Source
var ErrNotConfirmed = fmt.Errorf("deletion not confirmed")
ErrNotConfirmed error returned when the deletion was not confirmed
View Source
var ErrTagSelCanceled = fmt.Errorf("tag selection canceled")
ErrTagSelCanceled error returned if tag selection has been canceled by the user
Functions ¶
This section is empty.
Types ¶
type DeleteImageDialog ¶
type DeleteImageDialog interface { DeleteImage() error GetImageDisplayStatus() DisplayStatus }
DeleteImageDialog ...
func NewDeleteImageDialog ¶
func NewDeleteImageDialog(ctx context.Context, imgs []images.Image, useTags bool, txHeight int, display *DisplayStatus) DeleteImageDialog
NewDeleteImageDialog ...
type DisplayStatus ¶
DisplayStatus current scroll and cursor
type SelectionForm ¶
type SelectionForm interface { SelectImageTags() (*SelectionResult, error) GetDisplayStatus() DisplayStatus }
SelectionForm ...
func NewSelectionForm ¶
func NewSelectionForm(imgs []images.Image, useTags bool, txHeight int, display *DisplayStatus) SelectionForm
NewSelectionForm ...
Click to show internal directories.
Click to hide internal directories.