utils

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanView added in v0.3.0

func CleanView()

func FormatSize

func FormatSize(size int64) string

func GetConfirmation added in v0.2.0

func GetConfirmation(message string) bool

func GetContext added in v0.2.1

func GetContext() context.Context

func PrintAsciiArt added in v0.3.1

func PrintAsciiArt()

func PrintErrorAndExit added in v0.3.1

func PrintErrorAndExit(err error)

func PrintHelpManual added in v0.3.1

func PrintHelpManual()

func PrintVersion added in v0.3.1

func PrintVersion()

func RenderContainerName

func RenderContainerName(container Container) string

func RenderImageName

func RenderImageName(image Image) string

Types

type Container

type Container = types.Container

type Image

type Image = types.Image

Jump to

Keyboard shortcuts

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