Cosmetic rearrangement
This commit is contained in:
parent
42e1085ad4
commit
29ce0d9b58
@ -200,9 +200,34 @@ type Snapshot struct {
|
||||
Creation time.Time
|
||||
}
|
||||
|
||||
type FreeBSDVersion struct {
|
||||
major int
|
||||
minor int
|
||||
flavor string
|
||||
patchLevel int
|
||||
}
|
||||
|
||||
type JailHost struct {
|
||||
hostname string
|
||||
hostid string
|
||||
default_gateway4 string
|
||||
default_gateway6 string
|
||||
default_interface string
|
||||
version FreeBSDVersion
|
||||
}
|
||||
|
||||
type Datastore struct {
|
||||
Name string
|
||||
Mountpoint string
|
||||
ZFSDataset string
|
||||
DefaultJailConfig JailConfig
|
||||
Used uint64
|
||||
Referenced uint64
|
||||
Available uint64
|
||||
}
|
||||
|
||||
// Fields in this struct are acquired by their name using reflection
|
||||
// So these char are forbidden for field name: -+.
|
||||
//
|
||||
type JailSort struct {
|
||||
NameInc jailLessFunc
|
||||
NameDec jailLessFunc
|
||||
@ -515,32 +540,6 @@ type SnapshotSort struct {
|
||||
CreationDec snapshotLessFunc
|
||||
}
|
||||
|
||||
type FreeBSDVersion struct {
|
||||
major int
|
||||
minor int
|
||||
flavor string
|
||||
patchLevel int
|
||||
}
|
||||
|
||||
type JailHost struct {
|
||||
hostname string
|
||||
hostid string
|
||||
default_gateway4 string
|
||||
default_gateway6 string
|
||||
default_interface string
|
||||
version FreeBSDVersion
|
||||
}
|
||||
|
||||
type Datastore struct {
|
||||
Name string
|
||||
Mountpoint string
|
||||
ZFSDataset string
|
||||
DefaultJailConfig JailConfig
|
||||
Used uint64
|
||||
Referenced uint64
|
||||
Available uint64
|
||||
}
|
||||
|
||||
type DatastoreSort struct {
|
||||
NameInc datastoreLessFunc
|
||||
NameDec datastoreLessFunc
|
||||
@ -555,3 +554,4 @@ type DatastoreSort struct {
|
||||
AvailableInc datastoreLessFunc
|
||||
AvailableDec datastoreLessFunc
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user