formatter

package
v0.0.0-...-ddadb11 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewList

func NewList() *list

func PrintKeyValueMap

func PrintKeyValueMap(entries map[string]string) error

func PrintNetworkStatus

func PrintNetworkStatus(currentSite string, currentNetworkStatus *network.NetworkStatusInfo, siteNetworkStatus string, verbose bool) error

func PrintServiceStatus

func PrintServiceStatus(currentNetworkStatus *network.NetworkStatusInfo, mapServiceLabels map[string]map[string]string, verboseServiceStatus bool, showLabels bool, localSiteInfo *network.LocalSiteInfo) error

func PrintStatus

func PrintStatus(data StatusData) error

func PrintVerboseStatus

func PrintVerboseStatus(data StatusData) error

Types

type PlatformSupport

type PlatformSupport struct {
	SupportType string
	SupportName string
}

type StatusData

type StatusData struct {
	EnabledIn           PlatformSupport
	Mode                string
	SiteName            string
	Policies            string
	Status              *string
	Warnings            []string
	TotalConnections    int
	DirectConnections   int
	IndirectConnections int
	ExposedServices     int
	ConsoleUrl          string
	Credentials         PlatformSupport
}

Jump to

Keyboard shortcuts

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