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

Function vmToGuestOutput

internal/cli/guests.go:49–61  ·  view source on GitHub ↗
(vm *api.VM)

Source from the content-addressed store, hash-verified

47}
48
49func vmToGuestOutput(vm *api.VM) guestOutput {
50 return guestOutput{
51 ID: vm.ID,
52 Name: vm.Name,
53 Node: vm.Node,
54 Type: vm.Type,
55 Status: vm.Status,
56 IP: vm.IP,
57 Template: vm.Template,
58 Tags: vm.Tags,
59 SourceProfile: vm.SourceProfile,
60 }
61}
62
63func templateMarker(t bool) string {
64 if t {

Callers 3

detectCreatedGuestsFunction · 0.85
runGuestsListFunction · 0.85
runGuestsShowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected