forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
registry.pb.go
91 lines (73 loc) · 2.38 KB
/
registry.pb.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// Code generated by protoc-gen-gogo.
// source: registry.proto
// DO NOT EDIT!
package mesosproto
import proto "github.com/gogo/protobuf/proto"
import math "math"
// discarding unused import gogoproto "github.com/gogo/protobuf/gogoproto/gogo.pb"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = math.Inf
type Registry struct {
// Most recent leading master.
Master *Registry_Master `protobuf:"bytes,1,opt,name=master" json:"master,omitempty"`
// All admitted slaves.
Slaves *Registry_Slaves `protobuf:"bytes,2,opt,name=slaves" json:"slaves,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Registry) Reset() { *m = Registry{} }
func (m *Registry) String() string { return proto.CompactTextString(m) }
func (*Registry) ProtoMessage() {}
func (m *Registry) GetMaster() *Registry_Master {
if m != nil {
return m.Master
}
return nil
}
func (m *Registry) GetSlaves() *Registry_Slaves {
if m != nil {
return m.Slaves
}
return nil
}
type Registry_Master struct {
Info *MasterInfo `protobuf:"bytes,1,req,name=info" json:"info,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Registry_Master) Reset() { *m = Registry_Master{} }
func (m *Registry_Master) String() string { return proto.CompactTextString(m) }
func (*Registry_Master) ProtoMessage() {}
func (m *Registry_Master) GetInfo() *MasterInfo {
if m != nil {
return m.Info
}
return nil
}
type Registry_Slave struct {
Info *SlaveInfo `protobuf:"bytes,1,req,name=info" json:"info,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Registry_Slave) Reset() { *m = Registry_Slave{} }
func (m *Registry_Slave) String() string { return proto.CompactTextString(m) }
func (*Registry_Slave) ProtoMessage() {}
func (m *Registry_Slave) GetInfo() *SlaveInfo {
if m != nil {
return m.Info
}
return nil
}
type Registry_Slaves struct {
Slaves []*Registry_Slave `protobuf:"bytes,1,rep,name=slaves" json:"slaves,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Registry_Slaves) Reset() { *m = Registry_Slaves{} }
func (m *Registry_Slaves) String() string { return proto.CompactTextString(m) }
func (*Registry_Slaves) ProtoMessage() {}
func (m *Registry_Slaves) GetSlaves() []*Registry_Slave {
if m != nil {
return m.Slaves
}
return nil
}
func init() {
}