diff --git a/app/types.go b/app/types.go index 59aecd4..5e6c62d 100644 --- a/app/types.go +++ b/app/types.go @@ -1,7 +1,6 @@ package app import ( - "fmt" "sync" "github.com/luthermonson/go-proxmox" @@ -89,24 +88,3 @@ type Function struct { VendorName string `json:"subsystem_vendor_name"` Reserved bool `json:"reserved"` } - -func (cluster *Cluster) String() string { - s := "cluster:\n" - for _, node := range cluster.Nodes { - s += fmt.Sprintf("\t%s", node) - } - return s -} - -func (node *Node) String() string { - s := fmt.Sprintf("%s:\n", node.Name) - for vmid, instance := range node.Instances { - s += fmt.Sprintf("\t\t%d:%s\n", vmid, instance) - } - return s -} - -func (instance *Instance) String() string { - s := fmt.Sprintf("%s", instance.Name) - return s -}