diff --git a/lib/device/lib.go b/lib/device/lib.go index e69de29..76a9bfa 100644 --- a/lib/device/lib.go +++ b/lib/device/lib.go @@ -0,0 +1 @@ +package device diff --git a/lib/host/host.go b/lib/host/host.go index 796d534..459b174 100644 --- a/lib/host/host.go +++ b/lib/host/host.go @@ -31,22 +31,27 @@ type Host struct { Alive bool Encrypted bool Secure bool - //alldomains - //allinterfaces - //allnetworks - //alldevices - //allsecrets - //allstoragepools - //defineddomains - //definedinterfaces - //definednetworks - //definedstoragepools - //listdomains []int id - //listinterfaces []string interfacename - //listnetworks []string networkname - //listserets []string secretname - //liststoragepools []string storagepoolname - + // alldomains + VMList []string + // allinterfaces + IFList []string + // allnetworks + NetList []string + // alldevices + DeviceList []string + // allsecrets + SecretList []string + // allstoragepools + StoragePoolList []string + // defineddomains + // definedinterfaces + // definednetworks + // definedstoragepools + // listdomains []int id + // listinterfaces []string interfacename + // listnetworks []string networkname + // listserets []string secretname + // liststoragepools []string storagepoolname uri *URI conn *libvirt.Connect diff --git a/lib/interface/lib.go b/lib/interface/lib.go deleted file mode 100644 index e69de29..0000000 diff --git a/lib/netif/lib.go b/lib/netif/lib.go new file mode 100644 index 0000000..51e11cd --- /dev/null +++ b/lib/netif/lib.go @@ -0,0 +1 @@ +package netif diff --git a/lib/network/lib.go b/lib/network/lib.go index e69de29..1ae2e9d 100644 --- a/lib/network/lib.go +++ b/lib/network/lib.go @@ -0,0 +1 @@ +package network diff --git a/lib/secret/lib.go b/lib/secret/lib.go index e69de29..a48db44 100644 --- a/lib/secret/lib.go +++ b/lib/secret/lib.go @@ -0,0 +1 @@ +package secret diff --git a/lib/storagepool/lib.go b/lib/storagepool/lib.go index e69de29..ee7d83a 100644 --- a/lib/storagepool/lib.go +++ b/lib/storagepool/lib.go @@ -0,0 +1 @@ +package storagepool