formaters

package
v0.1.102-smr Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Container

func Container(objects []json.RawMessage)

func Default

func Default(objects []json.RawMessage)

func Definitions

func Definitions(objects []json.RawMessage)

func Gitops

func Gitops(objects []json.RawMessage)

func GitopsBuilder

func GitopsBuilder(objects []json.RawMessage) ([]implementation.Gitops, error)

func Images

func Images(objects []json.RawMessage)

func Repositories

func Repositories(objects []json.RawMessage)

func RoundAndFormatDuration

func RoundAndFormatDuration(timestamp time.Time) string

func SetStyle

func SetStyle(table *tablewriter.Table)

Types

type ContainerInformation

type ContainerInformation struct {
	Group         string
	Name          string
	GeneratedName string
	Image         string
	ImageState    string
	Tag           string
	IPs           string
	Ports         string
	Dependencies  string
	DockerState   string
	SmrState      string
	NodeName      string
	NodeURL       string
	Recreated     bool
	LastUpdate    string
}

func ContainerBuilder

func ContainerBuilder(objects []json.RawMessage) ([]ContainerInformation, error)

Jump to

Keyboard shortcuts

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