forked from pydio/cells
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.pb.go
138 lines (116 loc) · 4.95 KB
/
test.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: test.proto
/*
Package test is a generated protocol buffer package.
It is generated from these files:
test.proto
It has these top-level messages:
RunTestsRequest
TestResult
RunTestsResponse
*/
package test
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type RunTestsRequest struct {
Dry bool `protobuf:"varint,1,opt,name=Dry" json:"Dry,omitempty"`
Data map[string]string `protobuf:"bytes,2,rep,name=Data" json:"Data,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}
func (m *RunTestsRequest) Reset() { *m = RunTestsRequest{} }
func (m *RunTestsRequest) String() string { return proto.CompactTextString(m) }
func (*RunTestsRequest) ProtoMessage() {}
func (*RunTestsRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *RunTestsRequest) GetDry() bool {
if m != nil {
return m.Dry
}
return false
}
func (m *RunTestsRequest) GetData() map[string]string {
if m != nil {
return m.Data
}
return nil
}
type TestResult struct {
Name string `protobuf:"bytes,1,opt,name=Name" json:"Name,omitempty"`
Pass bool `protobuf:"varint,2,opt,name=Pass" json:"Pass,omitempty"`
Messages []string `protobuf:"bytes,3,rep,name=Messages" json:"Messages,omitempty"`
}
func (m *TestResult) Reset() { *m = TestResult{} }
func (m *TestResult) String() string { return proto.CompactTextString(m) }
func (*TestResult) ProtoMessage() {}
func (*TestResult) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *TestResult) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *TestResult) GetPass() bool {
if m != nil {
return m.Pass
}
return false
}
func (m *TestResult) GetMessages() []string {
if m != nil {
return m.Messages
}
return nil
}
type RunTestsResponse struct {
Pass bool `protobuf:"varint,1,opt,name=Pass" json:"Pass,omitempty"`
Results []*TestResult `protobuf:"bytes,2,rep,name=Results" json:"Results,omitempty"`
}
func (m *RunTestsResponse) Reset() { *m = RunTestsResponse{} }
func (m *RunTestsResponse) String() string { return proto.CompactTextString(m) }
func (*RunTestsResponse) ProtoMessage() {}
func (*RunTestsResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *RunTestsResponse) GetPass() bool {
if m != nil {
return m.Pass
}
return false
}
func (m *RunTestsResponse) GetResults() []*TestResult {
if m != nil {
return m.Results
}
return nil
}
func init() {
proto.RegisterType((*RunTestsRequest)(nil), "test.RunTestsRequest")
proto.RegisterType((*TestResult)(nil), "test.TestResult")
proto.RegisterType((*RunTestsResponse)(nil), "test.RunTestsResponse")
}
func init() { proto.RegisterFile("test.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 256 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0xc1, 0x4a, 0xc3, 0x40,
0x10, 0x86, 0xdd, 0x6c, 0xac, 0xc9, 0x78, 0x30, 0x0c, 0x2a, 0x21, 0x17, 0x43, 0x4e, 0xc1, 0x43,
0x0e, 0x2d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