Debian Codegraph @

api/v0/mesosproto/internal.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-gogo.
2 // source: internal.proto
3 // DO NOT EDIT!
4
5 package mesosproto
6
7 import proto "github.com/gogo/protobuf/proto"
8 import fmt "fmt"
9 import math "math"
10
11 // discarding unused import gogoproto "github.com/gogo/protobuf/gogoproto"
12
13 // Reference imports to suppress errors if they are not otherwise used.
14 var _ = proto.Marshal
15 var _ = fmt.Errorf
16 var _ = math.Inf
17
18 // For use with detector callbacks
19 type InternalMasterChangeDetected struct {
20 // will be present if there's a new master, otherwise nil
21 Master *MasterInfo `protobuf:"bytes,1,opt,name=master" json:"master,omitempty"`
22 XXX_unrecognized []byte `json:"-"`
23 }
24
25 func (m *InternalMasterChangeDetected) Reset() { *m = InternalMasterChangeDetected{} }
26 func (m *InternalMasterChangeDetected) String() string { return proto.CompactTextString(m) }
27 func (*InternalMasterChangeDetected) ProtoMessage() {}
28
29 func (m *InternalMasterChangeDetected) GetMaster() *MasterInfo {
30 if m != nil {
31 return m.Master
32 }
33 return nil
34 }
35
36 type InternalTryAuthentication struct {
37 XXX_unrecognized []byte `json:"-"`
38 }
39
40 func (m *InternalTryAuthentication) Reset() { *m = InternalTryAuthentication{} }
41 func (m *InternalTryAuthentication) String() string { return proto.CompactTextString(m) }
42 func (*InternalTryAuthentication) ProtoMessage() {}
43
44 type InternalAuthenticationResult struct {
45 // true only if the authentication process completed and login was successful
46 Success *bool `protobuf:"varint,1,req,name=success" json:"success,omitempty"`
47 // true if the authentication process completed, successfully or not
48 Completed *bool `protobuf:"varint,2,req,name=completed" json:"completed,omitempty"`
49 // master pid that this result pertains to
50 Pid *string `protobuf:"bytes,3,req,name=pid" json:"pid,omitempty"`
51 XXX_unrecognized []byte `json:"-"`
52 }
53
54 func (m *InternalAuthenticationResult) Reset() { *m = InternalAuthenticationResult{} }
55 func (m *InternalAuthenticationResult) String() string { return proto.CompactTextString(m) }
56 func (*InternalAuthenticationResult) ProtoMessage() {}
57
58 func (m *InternalAuthenticationResult) GetSuccess() bool {
59 if m != nil && m.Success != nil {
60 return *m.Success
61 }
62 return false
63 }
64
65 func (m *InternalAuthenticationResult) GetCompleted() bool {
66 if m != nil && m.Completed != nil {
67 return *m.Completed
68 }
69 return false
70 }
71
72 func (m *InternalAuthenticationResult) GetPid() string {
73 if m != nil && m.Pid != nil {
74 return *m.Pid
75 }
76 return ""
77 }
78
79 type InternalNetworkError struct {
80 // master pid that this event pertains to
81 Pid *string `protobuf:"bytes,1,req,name=pid" json:"pid,omitempty"`
82 // driver session UUID
83 Session *string `protobuf:"bytes,2,opt,name=session" json:"session,omitempty"`
84 XXX_unrecognized []byte `json:"-"`
85 }
86
87 func (m *InternalNetworkError) Reset() { *m = InternalNetworkError{} }
88 func (m *InternalNetworkError) String() string { return proto.CompactTextString(m) }
89 func (*InternalNetworkError) ProtoMessage() {}
90
91 func (m *InternalNetworkError) GetPid() string {
92 if m != nil && m.Pid != nil {
93 return *m.Pid
94 }
95 return ""
96 }
97
98 func (m *InternalNetworkError) GetSession() string {
99 if m != nil && m.Session != nil {
100 return *m.Session
101 }
102 return ""
103 }