MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / onlineStr

Function onlineStr

internal/cli/nodes.go:44–50  ·  view source on GitHub ↗
(online bool)

Source from the content-addressed store, hash-verified

42}
43
44func onlineStr(online bool) string {
45 if online {
46 return "online"
47 }
48
49 return "offline"
50}
51
52// newNodesCmd returns the `nodes` parent command.
53func newNodesCmd() *cobra.Command {

Callers 2

runNodesListFunction · 0.85
runNodesShowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected