-
Notifications
You must be signed in to change notification settings - Fork 25
/
data_source_gen.go
47 lines (41 loc) · 1.03 KB
/
data_source_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//
// This file is generated. To change the content of this file, please do not
// apply the change to this file because it will get overwritten. Instead,
// change xenapi.go and execute 'go generate'.
//
package xenapi
import (
"fmt"
"github.com/amfranz/go-xmlrpc-client"
"reflect"
"strconv"
"time"
)
var _ = fmt.Errorf
var _ = xmlrpc.NewClient
var _ = reflect.TypeOf
var _ = strconv.Atoi
var _ = time.UTC
type DataSourceRecord struct {
// a human-readable name
NameLabel string
// a notes field containing human-readable description
NameDescription string
// true if the data source is being logged
Enabled bool
// true if the data source is enabled by default. Non-default data sources cannot be disabled
Standard bool
// the units of the value
Units string
// the minimum value of the data source
Min float64
// the maximum value of the data source
Max float64
// current value of the data source
Value float64
}
type DataSourceRef string
// Data sources for logging in RRDs
type DataSourceClass struct {
client *Client
}