Help us shape the future of Go! Take the 2026 Go Developer Survey

formatter

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerStatus

func ContainerStatus(ctx context.Context, c containerd.Container) string

func Ellipsis

func Ellipsis(str string, maxDisplayWidth int) string

func FormatPorts

func FormatPorts(labelMap map[string]string) string

func InspectContainerCommand

func InspectContainerCommand(spec *oci.Spec, trunc bool) string

func InspectContainerCommandTrunc

func InspectContainerCommandTrunc(spec *oci.Spec) string

func TimeSinceInHuman

func TimeSinceInHuman(since time.Time) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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