-
Notifications
You must be signed in to change notification settings - Fork 25
/
vdi_nbd_server_info_gen.go
41 lines (35 loc) · 1.21 KB
/
vdi_nbd_server_info_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
//
// 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 VdiNbdServerInfoRecord struct {
// The exportname to request over NBD. This holds details including an authentication token, so it must be protected appropriately. Clients should regard the exportname as an opaque string or token.
Exportname string
// An address on which the server can be reached; this can be IPv4, IPv6, or a DNS name.
Address string
// The TCP port
Port int
// The TLS certificate of the server
Cert string
// For convenience, this redundant field holds a DNS (hostname) subject of the certificate. This can be a wildcard, but only for a certificate that has a wildcard subject and no concrete hostname subjects.
Subject string
}
type VdiNbdServerInfoRef string
// Details for connecting to a VDI using the Network Block Device protocol
type VdiNbdServerInfoClass struct {
client *Client
}