diff options
author | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
---|---|---|
committer | Nathan Dench <ndenc2@gmail.com> | 2019-05-24 15:16:44 +1000 |
commit | 107c1cdb09c575aa2f61d97f48d8587eb6bada4c (patch) | |
tree | ca7d008643efc555c388baeaf1d986e0b6b3e28c /vendor/github.com/hashicorp/terraform/internal/tfplugin5 | |
parent | 844b5a68d8af4791755b8f0ad293cc99f5959183 (diff) | |
download | terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.gz terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.tar.zst terraform-provider-statuscake-107c1cdb09c575aa2f61d97f48d8587eb6bada4c.zip |
Upgrade to 0.12
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/internal/tfplugin5')
3 files changed, 3822 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/terraform/internal/tfplugin5/generate.sh b/vendor/github.com/hashicorp/terraform/internal/tfplugin5/generate.sh new file mode 100644 index 0000000..de1d693 --- /dev/null +++ b/vendor/github.com/hashicorp/terraform/internal/tfplugin5/generate.sh | |||
@@ -0,0 +1,16 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | # We do not run protoc under go:generate because we want to ensure that all | ||
4 | # dependencies of go:generate are "go get"-able for general dev environment | ||
5 | # usability. To compile all protobuf files in this repository, run | ||
6 | # "make protobuf" at the top-level. | ||
7 | |||
8 | set -eu | ||
9 | |||
10 | SOURCE="${BASH_SOURCE[0]}" | ||
11 | while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done | ||
12 | DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" | ||
13 | |||
14 | cd "$DIR" | ||
15 | |||
16 | protoc -I ./ tfplugin5.proto --go_out=plugins=grpc:./ | ||
diff --git a/vendor/github.com/hashicorp/terraform/internal/tfplugin5/tfplugin5.pb.go b/vendor/github.com/hashicorp/terraform/internal/tfplugin5/tfplugin5.pb.go new file mode 100644 index 0000000..87a6bec --- /dev/null +++ b/vendor/github.com/hashicorp/terraform/internal/tfplugin5/tfplugin5.pb.go | |||
@@ -0,0 +1,3455 @@ | |||
1 | // Code generated by protoc-gen-go. DO NOT EDIT. | ||
2 | // source: tfplugin5.proto | ||
3 | |||
4 | package tfplugin5 | ||
5 | |||
6 | import proto "github.com/golang/protobuf/proto" | ||
7 | import fmt "fmt" | ||
8 | import math "math" | ||
9 | |||
10 | import ( | ||
11 | context "golang.org/x/net/context" | ||
12 | grpc "google.golang.org/grpc" | ||
13 | ) | ||
14 | |||
15 | // Reference imports to suppress errors if they are not otherwise used. | ||
16 | var _ = proto.Marshal | ||
17 | var _ = fmt.Errorf | ||
18 | var _ = math.Inf | ||
19 | |||
20 | // This is a compile-time assertion to ensure that this generated file | ||
21 | // is compatible with the proto package it is being compiled against. | ||
22 | // A compilation error at this line likely means your copy of the | ||
23 | // proto package needs to be updated. | ||
24 | const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package | ||
25 | |||
26 | type Diagnostic_Severity int32 | ||
27 | |||
28 | const ( | ||
29 | Diagnostic_INVALID Diagnostic_Severity = 0 | ||
30 | Diagnostic_ERROR Diagnostic_Severity = 1 | ||
31 | Diagnostic_WARNING Diagnostic_Severity = 2 | ||
32 | ) | ||
33 | |||
34 | var Diagnostic_Severity_name = map[int32]string{ | ||
35 | 0: "INVALID", | ||
36 | 1: "ERROR", | ||
37 | 2: "WARNING", | ||
38 | } | ||
39 | var Diagnostic_Severity_value = map[string]int32{ | ||
40 | "INVALID": 0, | ||
41 | "ERROR": 1, | ||
42 | "WARNING": 2, | ||
43 | } | ||
44 | |||
45 | func (x Diagnostic_Severity) String() string { | ||
46 | return proto.EnumName(Diagnostic_Severity_name, int32(x)) | ||
47 | } | ||
48 | func (Diagnostic_Severity) EnumDescriptor() ([]byte, []int) { | ||
49 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{1, 0} | ||
50 | } | ||
51 | |||
52 | type Schema_NestedBlock_NestingMode int32 | ||
53 | |||
54 | const ( | ||
55 | Schema_NestedBlock_INVALID Schema_NestedBlock_NestingMode = 0 | ||
56 | Schema_NestedBlock_SINGLE Schema_NestedBlock_NestingMode = 1 | ||
57 | Schema_NestedBlock_LIST Schema_NestedBlock_NestingMode = 2 | ||
58 | Schema_NestedBlock_SET Schema_NestedBlock_NestingMode = 3 | ||
59 | Schema_NestedBlock_MAP Schema_NestedBlock_NestingMode = 4 | ||
60 | Schema_NestedBlock_GROUP Schema_NestedBlock_NestingMode = 5 | ||
61 | ) | ||
62 | |||
63 | var Schema_NestedBlock_NestingMode_name = map[int32]string{ | ||
64 | 0: "INVALID", | ||
65 | 1: "SINGLE", | ||
66 | 2: "LIST", | ||
67 | 3: "SET", | ||
68 | 4: "MAP", | ||
69 | 5: "GROUP", | ||
70 | } | ||
71 | var Schema_NestedBlock_NestingMode_value = map[string]int32{ | ||
72 | "INVALID": 0, | ||
73 | "SINGLE": 1, | ||
74 | "LIST": 2, | ||
75 | "SET": 3, | ||
76 | "MAP": 4, | ||
77 | "GROUP": 5, | ||
78 | } | ||
79 | |||
80 | func (x Schema_NestedBlock_NestingMode) String() string { | ||
81 | return proto.EnumName(Schema_NestedBlock_NestingMode_name, int32(x)) | ||
82 | } | ||
83 | func (Schema_NestedBlock_NestingMode) EnumDescriptor() ([]byte, []int) { | ||
84 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{5, 2, 0} | ||
85 | } | ||
86 | |||
87 | // DynamicValue is an opaque encoding of terraform data, with the field name | ||
88 | // indicating the encoding scheme used. | ||
89 | type DynamicValue struct { | ||
90 | Msgpack []byte `protobuf:"bytes,1,opt,name=msgpack,proto3" json:"msgpack,omitempty"` | ||
91 | Json []byte `protobuf:"bytes,2,opt,name=json,proto3" json:"json,omitempty"` | ||
92 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
93 | XXX_unrecognized []byte `json:"-"` | ||
94 | XXX_sizecache int32 `json:"-"` | ||
95 | } | ||
96 | |||
97 | func (m *DynamicValue) Reset() { *m = DynamicValue{} } | ||
98 | func (m *DynamicValue) String() string { return proto.CompactTextString(m) } | ||
99 | func (*DynamicValue) ProtoMessage() {} | ||
100 | func (*DynamicValue) Descriptor() ([]byte, []int) { | ||
101 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{0} | ||
102 | } | ||
103 | func (m *DynamicValue) XXX_Unmarshal(b []byte) error { | ||
104 | return xxx_messageInfo_DynamicValue.Unmarshal(m, b) | ||
105 | } | ||
106 | func (m *DynamicValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
107 | return xxx_messageInfo_DynamicValue.Marshal(b, m, deterministic) | ||
108 | } | ||
109 | func (dst *DynamicValue) XXX_Merge(src proto.Message) { | ||
110 | xxx_messageInfo_DynamicValue.Merge(dst, src) | ||
111 | } | ||
112 | func (m *DynamicValue) XXX_Size() int { | ||
113 | return xxx_messageInfo_DynamicValue.Size(m) | ||
114 | } | ||
115 | func (m *DynamicValue) XXX_DiscardUnknown() { | ||
116 | xxx_messageInfo_DynamicValue.DiscardUnknown(m) | ||
117 | } | ||
118 | |||
119 | var xxx_messageInfo_DynamicValue proto.InternalMessageInfo | ||
120 | |||
121 | func (m *DynamicValue) GetMsgpack() []byte { | ||
122 | if m != nil { | ||
123 | return m.Msgpack | ||
124 | } | ||
125 | return nil | ||
126 | } | ||
127 | |||
128 | func (m *DynamicValue) GetJson() []byte { | ||
129 | if m != nil { | ||
130 | return m.Json | ||
131 | } | ||
132 | return nil | ||
133 | } | ||
134 | |||
135 | type Diagnostic struct { | ||
136 | Severity Diagnostic_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=tfplugin5.Diagnostic_Severity" json:"severity,omitempty"` | ||
137 | Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` | ||
138 | Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"` | ||
139 | Attribute *AttributePath `protobuf:"bytes,4,opt,name=attribute,proto3" json:"attribute,omitempty"` | ||
140 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
141 | XXX_unrecognized []byte `json:"-"` | ||
142 | XXX_sizecache int32 `json:"-"` | ||
143 | } | ||
144 | |||
145 | func (m *Diagnostic) Reset() { *m = Diagnostic{} } | ||
146 | func (m *Diagnostic) String() string { return proto.CompactTextString(m) } | ||
147 | func (*Diagnostic) ProtoMessage() {} | ||
148 | func (*Diagnostic) Descriptor() ([]byte, []int) { | ||
149 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{1} | ||
150 | } | ||
151 | func (m *Diagnostic) XXX_Unmarshal(b []byte) error { | ||
152 | return xxx_messageInfo_Diagnostic.Unmarshal(m, b) | ||
153 | } | ||
154 | func (m *Diagnostic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
155 | return xxx_messageInfo_Diagnostic.Marshal(b, m, deterministic) | ||
156 | } | ||
157 | func (dst *Diagnostic) XXX_Merge(src proto.Message) { | ||
158 | xxx_messageInfo_Diagnostic.Merge(dst, src) | ||
159 | } | ||
160 | func (m *Diagnostic) XXX_Size() int { | ||
161 | return xxx_messageInfo_Diagnostic.Size(m) | ||
162 | } | ||
163 | func (m *Diagnostic) XXX_DiscardUnknown() { | ||
164 | xxx_messageInfo_Diagnostic.DiscardUnknown(m) | ||
165 | } | ||
166 | |||
167 | var xxx_messageInfo_Diagnostic proto.InternalMessageInfo | ||
168 | |||
169 | func (m *Diagnostic) GetSeverity() Diagnostic_Severity { | ||
170 | if m != nil { | ||
171 | return m.Severity | ||
172 | } | ||
173 | return Diagnostic_INVALID | ||
174 | } | ||
175 | |||
176 | func (m *Diagnostic) GetSummary() string { | ||
177 | if m != nil { | ||
178 | return m.Summary | ||
179 | } | ||
180 | return "" | ||
181 | } | ||
182 | |||
183 | func (m *Diagnostic) GetDetail() string { | ||
184 | if m != nil { | ||
185 | return m.Detail | ||
186 | } | ||
187 | return "" | ||
188 | } | ||
189 | |||
190 | func (m *Diagnostic) GetAttribute() *AttributePath { | ||
191 | if m != nil { | ||
192 | return m.Attribute | ||
193 | } | ||
194 | return nil | ||
195 | } | ||
196 | |||
197 | type AttributePath struct { | ||
198 | Steps []*AttributePath_Step `protobuf:"bytes,1,rep,name=steps,proto3" json:"steps,omitempty"` | ||
199 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
200 | XXX_unrecognized []byte `json:"-"` | ||
201 | XXX_sizecache int32 `json:"-"` | ||
202 | } | ||
203 | |||
204 | func (m *AttributePath) Reset() { *m = AttributePath{} } | ||
205 | func (m *AttributePath) String() string { return proto.CompactTextString(m) } | ||
206 | func (*AttributePath) ProtoMessage() {} | ||
207 | func (*AttributePath) Descriptor() ([]byte, []int) { | ||
208 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{2} | ||
209 | } | ||
210 | func (m *AttributePath) XXX_Unmarshal(b []byte) error { | ||
211 | return xxx_messageInfo_AttributePath.Unmarshal(m, b) | ||
212 | } | ||
213 | func (m *AttributePath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
214 | return xxx_messageInfo_AttributePath.Marshal(b, m, deterministic) | ||
215 | } | ||
216 | func (dst *AttributePath) XXX_Merge(src proto.Message) { | ||
217 | xxx_messageInfo_AttributePath.Merge(dst, src) | ||
218 | } | ||
219 | func (m *AttributePath) XXX_Size() int { | ||
220 | return xxx_messageInfo_AttributePath.Size(m) | ||
221 | } | ||
222 | func (m *AttributePath) XXX_DiscardUnknown() { | ||
223 | xxx_messageInfo_AttributePath.DiscardUnknown(m) | ||
224 | } | ||
225 | |||
226 | var xxx_messageInfo_AttributePath proto.InternalMessageInfo | ||
227 | |||
228 | func (m *AttributePath) GetSteps() []*AttributePath_Step { | ||
229 | if m != nil { | ||
230 | return m.Steps | ||
231 | } | ||
232 | return nil | ||
233 | } | ||
234 | |||
235 | type AttributePath_Step struct { | ||
236 | // Types that are valid to be assigned to Selector: | ||
237 | // *AttributePath_Step_AttributeName | ||
238 | // *AttributePath_Step_ElementKeyString | ||
239 | // *AttributePath_Step_ElementKeyInt | ||
240 | Selector isAttributePath_Step_Selector `protobuf_oneof:"selector"` | ||
241 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
242 | XXX_unrecognized []byte `json:"-"` | ||
243 | XXX_sizecache int32 `json:"-"` | ||
244 | } | ||
245 | |||
246 | func (m *AttributePath_Step) Reset() { *m = AttributePath_Step{} } | ||
247 | func (m *AttributePath_Step) String() string { return proto.CompactTextString(m) } | ||
248 | func (*AttributePath_Step) ProtoMessage() {} | ||
249 | func (*AttributePath_Step) Descriptor() ([]byte, []int) { | ||
250 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{2, 0} | ||
251 | } | ||
252 | func (m *AttributePath_Step) XXX_Unmarshal(b []byte) error { | ||
253 | return xxx_messageInfo_AttributePath_Step.Unmarshal(m, b) | ||
254 | } | ||
255 | func (m *AttributePath_Step) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
256 | return xxx_messageInfo_AttributePath_Step.Marshal(b, m, deterministic) | ||
257 | } | ||
258 | func (dst *AttributePath_Step) XXX_Merge(src proto.Message) { | ||
259 | xxx_messageInfo_AttributePath_Step.Merge(dst, src) | ||
260 | } | ||
261 | func (m *AttributePath_Step) XXX_Size() int { | ||
262 | return xxx_messageInfo_AttributePath_Step.Size(m) | ||
263 | } | ||
264 | func (m *AttributePath_Step) XXX_DiscardUnknown() { | ||
265 | xxx_messageInfo_AttributePath_Step.DiscardUnknown(m) | ||
266 | } | ||
267 | |||
268 | var xxx_messageInfo_AttributePath_Step proto.InternalMessageInfo | ||
269 | |||
270 | type isAttributePath_Step_Selector interface { | ||
271 | isAttributePath_Step_Selector() | ||
272 | } | ||
273 | |||
274 | type AttributePath_Step_AttributeName struct { | ||
275 | AttributeName string `protobuf:"bytes,1,opt,name=attribute_name,json=attributeName,proto3,oneof"` | ||
276 | } | ||
277 | |||
278 | type AttributePath_Step_ElementKeyString struct { | ||
279 | ElementKeyString string `protobuf:"bytes,2,opt,name=element_key_string,json=elementKeyString,proto3,oneof"` | ||
280 | } | ||
281 | |||
282 | type AttributePath_Step_ElementKeyInt struct { | ||
283 | ElementKeyInt int64 `protobuf:"varint,3,opt,name=element_key_int,json=elementKeyInt,proto3,oneof"` | ||
284 | } | ||
285 | |||
286 | func (*AttributePath_Step_AttributeName) isAttributePath_Step_Selector() {} | ||
287 | |||
288 | func (*AttributePath_Step_ElementKeyString) isAttributePath_Step_Selector() {} | ||
289 | |||
290 | func (*AttributePath_Step_ElementKeyInt) isAttributePath_Step_Selector() {} | ||
291 | |||
292 | func (m *AttributePath_Step) GetSelector() isAttributePath_Step_Selector { | ||
293 | if m != nil { | ||
294 | return m.Selector | ||
295 | } | ||
296 | return nil | ||
297 | } | ||
298 | |||
299 | func (m *AttributePath_Step) GetAttributeName() string { | ||
300 | if x, ok := m.GetSelector().(*AttributePath_Step_AttributeName); ok { | ||
301 | return x.AttributeName | ||
302 | } | ||
303 | return "" | ||
304 | } | ||
305 | |||
306 | func (m *AttributePath_Step) GetElementKeyString() string { | ||
307 | if x, ok := m.GetSelector().(*AttributePath_Step_ElementKeyString); ok { | ||
308 | return x.ElementKeyString | ||
309 | } | ||
310 | return "" | ||
311 | } | ||
312 | |||
313 | func (m *AttributePath_Step) GetElementKeyInt() int64 { | ||
314 | if x, ok := m.GetSelector().(*AttributePath_Step_ElementKeyInt); ok { | ||
315 | return x.ElementKeyInt | ||
316 | } | ||
317 | return 0 | ||
318 | } | ||
319 | |||
320 | // XXX_OneofFuncs is for the internal use of the proto package. | ||
321 | func (*AttributePath_Step) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { | ||
322 | return _AttributePath_Step_OneofMarshaler, _AttributePath_Step_OneofUnmarshaler, _AttributePath_Step_OneofSizer, []interface{}{ | ||
323 | (*AttributePath_Step_AttributeName)(nil), | ||
324 | (*AttributePath_Step_ElementKeyString)(nil), | ||
325 | (*AttributePath_Step_ElementKeyInt)(nil), | ||
326 | } | ||
327 | } | ||
328 | |||
329 | func _AttributePath_Step_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { | ||
330 | m := msg.(*AttributePath_Step) | ||
331 | // selector | ||
332 | switch x := m.Selector.(type) { | ||
333 | case *AttributePath_Step_AttributeName: | ||
334 | b.EncodeVarint(1<<3 | proto.WireBytes) | ||
335 | b.EncodeStringBytes(x.AttributeName) | ||
336 | case *AttributePath_Step_ElementKeyString: | ||
337 | b.EncodeVarint(2<<3 | proto.WireBytes) | ||
338 | b.EncodeStringBytes(x.ElementKeyString) | ||
339 | case *AttributePath_Step_ElementKeyInt: | ||
340 | b.EncodeVarint(3<<3 | proto.WireVarint) | ||
341 | b.EncodeVarint(uint64(x.ElementKeyInt)) | ||
342 | case nil: | ||
343 | default: | ||
344 | return fmt.Errorf("AttributePath_Step.Selector has unexpected type %T", x) | ||
345 | } | ||
346 | return nil | ||
347 | } | ||
348 | |||
349 | func _AttributePath_Step_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) { | ||
350 | m := msg.(*AttributePath_Step) | ||
351 | switch tag { | ||
352 | case 1: // selector.attribute_name | ||
353 | if wire != proto.WireBytes { | ||
354 | return true, proto.ErrInternalBadWireType | ||
355 | } | ||
356 | x, err := b.DecodeStringBytes() | ||
357 | m.Selector = &AttributePath_Step_AttributeName{x} | ||
358 | return true, err | ||
359 | case 2: // selector.element_key_string | ||
360 | if wire != proto.WireBytes { | ||
361 | return true, proto.ErrInternalBadWireType | ||
362 | } | ||
363 | x, err := b.DecodeStringBytes() | ||
364 | m.Selector = &AttributePath_Step_ElementKeyString{x} | ||
365 | return true, err | ||
366 | case 3: // selector.element_key_int | ||
367 | if wire != proto.WireVarint { | ||
368 | return true, proto.ErrInternalBadWireType | ||
369 | } | ||
370 | x, err := b.DecodeVarint() | ||
371 | m.Selector = &AttributePath_Step_ElementKeyInt{int64(x)} | ||
372 | return true, err | ||
373 | default: | ||
374 | return false, nil | ||
375 | } | ||
376 | } | ||
377 | |||
378 | func _AttributePath_Step_OneofSizer(msg proto.Message) (n int) { | ||
379 | m := msg.(*AttributePath_Step) | ||
380 | // selector | ||
381 | switch x := m.Selector.(type) { | ||
382 | case *AttributePath_Step_AttributeName: | ||
383 | n += 1 // tag and wire | ||
384 | n += proto.SizeVarint(uint64(len(x.AttributeName))) | ||
385 | n += len(x.AttributeName) | ||
386 | case *AttributePath_Step_ElementKeyString: | ||
387 | n += 1 // tag and wire | ||
388 | n += proto.SizeVarint(uint64(len(x.ElementKeyString))) | ||
389 | n += len(x.ElementKeyString) | ||
390 | case *AttributePath_Step_ElementKeyInt: | ||
391 | n += 1 // tag and wire | ||
392 | n += proto.SizeVarint(uint64(x.ElementKeyInt)) | ||
393 | case nil: | ||
394 | default: | ||
395 | panic(fmt.Sprintf("proto: unexpected type %T in oneof", x)) | ||
396 | } | ||
397 | return n | ||
398 | } | ||
399 | |||
400 | type Stop struct { | ||
401 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
402 | XXX_unrecognized []byte `json:"-"` | ||
403 | XXX_sizecache int32 `json:"-"` | ||
404 | } | ||
405 | |||
406 | func (m *Stop) Reset() { *m = Stop{} } | ||
407 | func (m *Stop) String() string { return proto.CompactTextString(m) } | ||
408 | func (*Stop) ProtoMessage() {} | ||
409 | func (*Stop) Descriptor() ([]byte, []int) { | ||
410 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{3} | ||
411 | } | ||
412 | func (m *Stop) XXX_Unmarshal(b []byte) error { | ||
413 | return xxx_messageInfo_Stop.Unmarshal(m, b) | ||
414 | } | ||
415 | func (m *Stop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
416 | return xxx_messageInfo_Stop.Marshal(b, m, deterministic) | ||
417 | } | ||
418 | func (dst *Stop) XXX_Merge(src proto.Message) { | ||
419 | xxx_messageInfo_Stop.Merge(dst, src) | ||
420 | } | ||
421 | func (m *Stop) XXX_Size() int { | ||
422 | return xxx_messageInfo_Stop.Size(m) | ||
423 | } | ||
424 | func (m *Stop) XXX_DiscardUnknown() { | ||
425 | xxx_messageInfo_Stop.DiscardUnknown(m) | ||
426 | } | ||
427 | |||
428 | var xxx_messageInfo_Stop proto.InternalMessageInfo | ||
429 | |||
430 | type Stop_Request struct { | ||
431 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
432 | XXX_unrecognized []byte `json:"-"` | ||
433 | XXX_sizecache int32 `json:"-"` | ||
434 | } | ||
435 | |||
436 | func (m *Stop_Request) Reset() { *m = Stop_Request{} } | ||
437 | func (m *Stop_Request) String() string { return proto.CompactTextString(m) } | ||
438 | func (*Stop_Request) ProtoMessage() {} | ||
439 | func (*Stop_Request) Descriptor() ([]byte, []int) { | ||
440 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{3, 0} | ||
441 | } | ||
442 | func (m *Stop_Request) XXX_Unmarshal(b []byte) error { | ||
443 | return xxx_messageInfo_Stop_Request.Unmarshal(m, b) | ||
444 | } | ||
445 | func (m *Stop_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
446 | return xxx_messageInfo_Stop_Request.Marshal(b, m, deterministic) | ||
447 | } | ||
448 | func (dst *Stop_Request) XXX_Merge(src proto.Message) { | ||
449 | xxx_messageInfo_Stop_Request.Merge(dst, src) | ||
450 | } | ||
451 | func (m *Stop_Request) XXX_Size() int { | ||
452 | return xxx_messageInfo_Stop_Request.Size(m) | ||
453 | } | ||
454 | func (m *Stop_Request) XXX_DiscardUnknown() { | ||
455 | xxx_messageInfo_Stop_Request.DiscardUnknown(m) | ||
456 | } | ||
457 | |||
458 | var xxx_messageInfo_Stop_Request proto.InternalMessageInfo | ||
459 | |||
460 | type Stop_Response struct { | ||
461 | Error string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error,omitempty"` | ||
462 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
463 | XXX_unrecognized []byte `json:"-"` | ||
464 | XXX_sizecache int32 `json:"-"` | ||
465 | } | ||
466 | |||
467 | func (m *Stop_Response) Reset() { *m = Stop_Response{} } | ||
468 | func (m *Stop_Response) String() string { return proto.CompactTextString(m) } | ||
469 | func (*Stop_Response) ProtoMessage() {} | ||
470 | func (*Stop_Response) Descriptor() ([]byte, []int) { | ||
471 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{3, 1} | ||
472 | } | ||
473 | func (m *Stop_Response) XXX_Unmarshal(b []byte) error { | ||
474 | return xxx_messageInfo_Stop_Response.Unmarshal(m, b) | ||
475 | } | ||
476 | func (m *Stop_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
477 | return xxx_messageInfo_Stop_Response.Marshal(b, m, deterministic) | ||
478 | } | ||
479 | func (dst *Stop_Response) XXX_Merge(src proto.Message) { | ||
480 | xxx_messageInfo_Stop_Response.Merge(dst, src) | ||
481 | } | ||
482 | func (m *Stop_Response) XXX_Size() int { | ||
483 | return xxx_messageInfo_Stop_Response.Size(m) | ||
484 | } | ||
485 | func (m *Stop_Response) XXX_DiscardUnknown() { | ||
486 | xxx_messageInfo_Stop_Response.DiscardUnknown(m) | ||
487 | } | ||
488 | |||
489 | var xxx_messageInfo_Stop_Response proto.InternalMessageInfo | ||
490 | |||
491 | func (m *Stop_Response) GetError() string { | ||
492 | if m != nil { | ||
493 | return m.Error | ||
494 | } | ||
495 | return "" | ||
496 | } | ||
497 | |||
498 | // RawState holds the stored state for a resource to be upgraded by the | ||
499 | // provider. It can be in one of two formats, the current json encoded format | ||
500 | // in bytes, or the legacy flatmap format as a map of strings. | ||
501 | type RawState struct { | ||
502 | Json []byte `protobuf:"bytes,1,opt,name=json,proto3" json:"json,omitempty"` | ||
503 | Flatmap map[string]string `protobuf:"bytes,2,rep,name=flatmap,proto3" json:"flatmap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` | ||
504 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
505 | XXX_unrecognized []byte `json:"-"` | ||
506 | XXX_sizecache int32 `json:"-"` | ||
507 | } | ||
508 | |||
509 | func (m *RawState) Reset() { *m = RawState{} } | ||
510 | func (m *RawState) String() string { return proto.CompactTextString(m) } | ||
511 | func (*RawState) ProtoMessage() {} | ||
512 | func (*RawState) Descriptor() ([]byte, []int) { | ||
513 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{4} | ||
514 | } | ||
515 | func (m *RawState) XXX_Unmarshal(b []byte) error { | ||
516 | return xxx_messageInfo_RawState.Unmarshal(m, b) | ||
517 | } | ||
518 | func (m *RawState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
519 | return xxx_messageInfo_RawState.Marshal(b, m, deterministic) | ||
520 | } | ||
521 | func (dst *RawState) XXX_Merge(src proto.Message) { | ||
522 | xxx_messageInfo_RawState.Merge(dst, src) | ||
523 | } | ||
524 | func (m *RawState) XXX_Size() int { | ||
525 | return xxx_messageInfo_RawState.Size(m) | ||
526 | } | ||
527 | func (m *RawState) XXX_DiscardUnknown() { | ||
528 | xxx_messageInfo_RawState.DiscardUnknown(m) | ||
529 | } | ||
530 | |||
531 | var xxx_messageInfo_RawState proto.InternalMessageInfo | ||
532 | |||
533 | func (m *RawState) GetJson() []byte { | ||
534 | if m != nil { | ||
535 | return m.Json | ||
536 | } | ||
537 | return nil | ||
538 | } | ||
539 | |||
540 | func (m *RawState) GetFlatmap() map[string]string { | ||
541 | if m != nil { | ||
542 | return m.Flatmap | ||
543 | } | ||
544 | return nil | ||
545 | } | ||
546 | |||
547 | // Schema is the configuration schema for a Resource, Provider, or Provisioner. | ||
548 | type Schema struct { | ||
549 | // The version of the schema. | ||
550 | // Schemas are versioned, so that providers can upgrade a saved resource | ||
551 | // state when the schema is changed. | ||
552 | Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` | ||
553 | // Block is the top level configuration block for this schema. | ||
554 | Block *Schema_Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` | ||
555 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
556 | XXX_unrecognized []byte `json:"-"` | ||
557 | XXX_sizecache int32 `json:"-"` | ||
558 | } | ||
559 | |||
560 | func (m *Schema) Reset() { *m = Schema{} } | ||
561 | func (m *Schema) String() string { return proto.CompactTextString(m) } | ||
562 | func (*Schema) ProtoMessage() {} | ||
563 | func (*Schema) Descriptor() ([]byte, []int) { | ||
564 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{5} | ||
565 | } | ||
566 | func (m *Schema) XXX_Unmarshal(b []byte) error { | ||
567 | return xxx_messageInfo_Schema.Unmarshal(m, b) | ||
568 | } | ||
569 | func (m *Schema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
570 | return xxx_messageInfo_Schema.Marshal(b, m, deterministic) | ||
571 | } | ||
572 | func (dst *Schema) XXX_Merge(src proto.Message) { | ||
573 | xxx_messageInfo_Schema.Merge(dst, src) | ||
574 | } | ||
575 | func (m *Schema) XXX_Size() int { | ||
576 | return xxx_messageInfo_Schema.Size(m) | ||
577 | } | ||
578 | func (m *Schema) XXX_DiscardUnknown() { | ||
579 | xxx_messageInfo_Schema.DiscardUnknown(m) | ||
580 | } | ||
581 | |||
582 | var xxx_messageInfo_Schema proto.InternalMessageInfo | ||
583 | |||
584 | func (m *Schema) GetVersion() int64 { | ||
585 | if m != nil { | ||
586 | return m.Version | ||
587 | } | ||
588 | return 0 | ||
589 | } | ||
590 | |||
591 | func (m *Schema) GetBlock() *Schema_Block { | ||
592 | if m != nil { | ||
593 | return m.Block | ||
594 | } | ||
595 | return nil | ||
596 | } | ||
597 | |||
598 | type Schema_Block struct { | ||
599 | Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` | ||
600 | Attributes []*Schema_Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"` | ||
601 | BlockTypes []*Schema_NestedBlock `protobuf:"bytes,3,rep,name=block_types,json=blockTypes,proto3" json:"block_types,omitempty"` | ||
602 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
603 | XXX_unrecognized []byte `json:"-"` | ||
604 | XXX_sizecache int32 `json:"-"` | ||
605 | } | ||
606 | |||
607 | func (m *Schema_Block) Reset() { *m = Schema_Block{} } | ||
608 | func (m *Schema_Block) String() string { return proto.CompactTextString(m) } | ||
609 | func (*Schema_Block) ProtoMessage() {} | ||
610 | func (*Schema_Block) Descriptor() ([]byte, []int) { | ||
611 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{5, 0} | ||
612 | } | ||
613 | func (m *Schema_Block) XXX_Unmarshal(b []byte) error { | ||
614 | return xxx_messageInfo_Schema_Block.Unmarshal(m, b) | ||
615 | } | ||
616 | func (m *Schema_Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
617 | return xxx_messageInfo_Schema_Block.Marshal(b, m, deterministic) | ||
618 | } | ||
619 | func (dst *Schema_Block) XXX_Merge(src proto.Message) { | ||
620 | xxx_messageInfo_Schema_Block.Merge(dst, src) | ||
621 | } | ||
622 | func (m *Schema_Block) XXX_Size() int { | ||
623 | return xxx_messageInfo_Schema_Block.Size(m) | ||
624 | } | ||
625 | func (m *Schema_Block) XXX_DiscardUnknown() { | ||
626 | xxx_messageInfo_Schema_Block.DiscardUnknown(m) | ||
627 | } | ||
628 | |||
629 | var xxx_messageInfo_Schema_Block proto.InternalMessageInfo | ||
630 | |||
631 | func (m *Schema_Block) GetVersion() int64 { | ||
632 | if m != nil { | ||
633 | return m.Version | ||
634 | } | ||
635 | return 0 | ||
636 | } | ||
637 | |||
638 | func (m *Schema_Block) GetAttributes() []*Schema_Attribute { | ||
639 | if m != nil { | ||
640 | return m.Attributes | ||
641 | } | ||
642 | return nil | ||
643 | } | ||
644 | |||
645 | func (m *Schema_Block) GetBlockTypes() []*Schema_NestedBlock { | ||
646 | if m != nil { | ||
647 | return m.BlockTypes | ||
648 | } | ||
649 | return nil | ||
650 | } | ||
651 | |||
652 | type Schema_Attribute struct { | ||
653 | Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` | ||
654 | Type []byte `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` | ||
655 | Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` | ||
656 | Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"` | ||
657 | Optional bool `protobuf:"varint,5,opt,name=optional,proto3" json:"optional,omitempty"` | ||
658 | Computed bool `protobuf:"varint,6,opt,name=computed,proto3" json:"computed,omitempty"` | ||
659 | Sensitive bool `protobuf:"varint,7,opt,name=sensitive,proto3" json:"sensitive,omitempty"` | ||
660 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
661 | XXX_unrecognized []byte `json:"-"` | ||
662 | XXX_sizecache int32 `json:"-"` | ||
663 | } | ||
664 | |||
665 | func (m *Schema_Attribute) Reset() { *m = Schema_Attribute{} } | ||
666 | func (m *Schema_Attribute) String() string { return proto.CompactTextString(m) } | ||
667 | func (*Schema_Attribute) ProtoMessage() {} | ||
668 | func (*Schema_Attribute) Descriptor() ([]byte, []int) { | ||
669 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{5, 1} | ||
670 | } | ||
671 | func (m *Schema_Attribute) XXX_Unmarshal(b []byte) error { | ||
672 | return xxx_messageInfo_Schema_Attribute.Unmarshal(m, b) | ||
673 | } | ||
674 | func (m *Schema_Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
675 | return xxx_messageInfo_Schema_Attribute.Marshal(b, m, deterministic) | ||
676 | } | ||
677 | func (dst *Schema_Attribute) XXX_Merge(src proto.Message) { | ||
678 | xxx_messageInfo_Schema_Attribute.Merge(dst, src) | ||
679 | } | ||
680 | func (m *Schema_Attribute) XXX_Size() int { | ||
681 | return xxx_messageInfo_Schema_Attribute.Size(m) | ||
682 | } | ||
683 | func (m *Schema_Attribute) XXX_DiscardUnknown() { | ||
684 | xxx_messageInfo_Schema_Attribute.DiscardUnknown(m) | ||
685 | } | ||
686 | |||
687 | var xxx_messageInfo_Schema_Attribute proto.InternalMessageInfo | ||
688 | |||
689 | func (m *Schema_Attribute) GetName() string { | ||
690 | if m != nil { | ||
691 | return m.Name | ||
692 | } | ||
693 | return "" | ||
694 | } | ||
695 | |||
696 | func (m *Schema_Attribute) GetType() []byte { | ||
697 | if m != nil { | ||
698 | return m.Type | ||
699 | } | ||
700 | return nil | ||
701 | } | ||
702 | |||
703 | func (m *Schema_Attribute) GetDescription() string { | ||
704 | if m != nil { | ||
705 | return m.Description | ||
706 | } | ||
707 | return "" | ||
708 | } | ||
709 | |||
710 | func (m *Schema_Attribute) GetRequired() bool { | ||
711 | if m != nil { | ||
712 | return m.Required | ||
713 | } | ||
714 | return false | ||
715 | } | ||
716 | |||
717 | func (m *Schema_Attribute) GetOptional() bool { | ||
718 | if m != nil { | ||
719 | return m.Optional | ||
720 | } | ||
721 | return false | ||
722 | } | ||
723 | |||
724 | func (m *Schema_Attribute) GetComputed() bool { | ||
725 | if m != nil { | ||
726 | return m.Computed | ||
727 | } | ||
728 | return false | ||
729 | } | ||
730 | |||
731 | func (m *Schema_Attribute) GetSensitive() bool { | ||
732 | if m != nil { | ||
733 | return m.Sensitive | ||
734 | } | ||
735 | return false | ||
736 | } | ||
737 | |||
738 | type Schema_NestedBlock struct { | ||
739 | TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` | ||
740 | Block *Schema_Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` | ||
741 | Nesting Schema_NestedBlock_NestingMode `protobuf:"varint,3,opt,name=nesting,proto3,enum=tfplugin5.Schema_NestedBlock_NestingMode" json:"nesting,omitempty"` | ||
742 | MinItems int64 `protobuf:"varint,4,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"` | ||
743 | MaxItems int64 `protobuf:"varint,5,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"` | ||
744 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
745 | XXX_unrecognized []byte `json:"-"` | ||
746 | XXX_sizecache int32 `json:"-"` | ||
747 | } | ||
748 | |||
749 | func (m *Schema_NestedBlock) Reset() { *m = Schema_NestedBlock{} } | ||
750 | func (m *Schema_NestedBlock) String() string { return proto.CompactTextString(m) } | ||
751 | func (*Schema_NestedBlock) ProtoMessage() {} | ||
752 | func (*Schema_NestedBlock) Descriptor() ([]byte, []int) { | ||
753 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{5, 2} | ||
754 | } | ||
755 | func (m *Schema_NestedBlock) XXX_Unmarshal(b []byte) error { | ||
756 | return xxx_messageInfo_Schema_NestedBlock.Unmarshal(m, b) | ||
757 | } | ||
758 | func (m *Schema_NestedBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
759 | return xxx_messageInfo_Schema_NestedBlock.Marshal(b, m, deterministic) | ||
760 | } | ||
761 | func (dst *Schema_NestedBlock) XXX_Merge(src proto.Message) { | ||
762 | xxx_messageInfo_Schema_NestedBlock.Merge(dst, src) | ||
763 | } | ||
764 | func (m *Schema_NestedBlock) XXX_Size() int { | ||
765 | return xxx_messageInfo_Schema_NestedBlock.Size(m) | ||
766 | } | ||
767 | func (m *Schema_NestedBlock) XXX_DiscardUnknown() { | ||
768 | xxx_messageInfo_Schema_NestedBlock.DiscardUnknown(m) | ||
769 | } | ||
770 | |||
771 | var xxx_messageInfo_Schema_NestedBlock proto.InternalMessageInfo | ||
772 | |||
773 | func (m *Schema_NestedBlock) GetTypeName() string { | ||
774 | if m != nil { | ||
775 | return m.TypeName | ||
776 | } | ||
777 | return "" | ||
778 | } | ||
779 | |||
780 | func (m *Schema_NestedBlock) GetBlock() *Schema_Block { | ||
781 | if m != nil { | ||
782 | return m.Block | ||
783 | } | ||
784 | return nil | ||
785 | } | ||
786 | |||
787 | func (m *Schema_NestedBlock) GetNesting() Schema_NestedBlock_NestingMode { | ||
788 | if m != nil { | ||
789 | return m.Nesting | ||
790 | } | ||
791 | return Schema_NestedBlock_INVALID | ||
792 | } | ||
793 | |||
794 | func (m *Schema_NestedBlock) GetMinItems() int64 { | ||
795 | if m != nil { | ||
796 | return m.MinItems | ||
797 | } | ||
798 | return 0 | ||
799 | } | ||
800 | |||
801 | func (m *Schema_NestedBlock) GetMaxItems() int64 { | ||
802 | if m != nil { | ||
803 | return m.MaxItems | ||
804 | } | ||
805 | return 0 | ||
806 | } | ||
807 | |||
808 | type GetProviderSchema struct { | ||
809 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
810 | XXX_unrecognized []byte `json:"-"` | ||
811 | XXX_sizecache int32 `json:"-"` | ||
812 | } | ||
813 | |||
814 | func (m *GetProviderSchema) Reset() { *m = GetProviderSchema{} } | ||
815 | func (m *GetProviderSchema) String() string { return proto.CompactTextString(m) } | ||
816 | func (*GetProviderSchema) ProtoMessage() {} | ||
817 | func (*GetProviderSchema) Descriptor() ([]byte, []int) { | ||
818 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{6} | ||
819 | } | ||
820 | func (m *GetProviderSchema) XXX_Unmarshal(b []byte) error { | ||
821 | return xxx_messageInfo_GetProviderSchema.Unmarshal(m, b) | ||
822 | } | ||
823 | func (m *GetProviderSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
824 | return xxx_messageInfo_GetProviderSchema.Marshal(b, m, deterministic) | ||
825 | } | ||
826 | func (dst *GetProviderSchema) XXX_Merge(src proto.Message) { | ||
827 | xxx_messageInfo_GetProviderSchema.Merge(dst, src) | ||
828 | } | ||
829 | func (m *GetProviderSchema) XXX_Size() int { | ||
830 | return xxx_messageInfo_GetProviderSchema.Size(m) | ||
831 | } | ||
832 | func (m *GetProviderSchema) XXX_DiscardUnknown() { | ||
833 | xxx_messageInfo_GetProviderSchema.DiscardUnknown(m) | ||
834 | } | ||
835 | |||
836 | var xxx_messageInfo_GetProviderSchema proto.InternalMessageInfo | ||
837 | |||
838 | type GetProviderSchema_Request struct { | ||
839 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
840 | XXX_unrecognized []byte `json:"-"` | ||
841 | XXX_sizecache int32 `json:"-"` | ||
842 | } | ||
843 | |||
844 | func (m *GetProviderSchema_Request) Reset() { *m = GetProviderSchema_Request{} } | ||
845 | func (m *GetProviderSchema_Request) String() string { return proto.CompactTextString(m) } | ||
846 | func (*GetProviderSchema_Request) ProtoMessage() {} | ||
847 | func (*GetProviderSchema_Request) Descriptor() ([]byte, []int) { | ||
848 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{6, 0} | ||
849 | } | ||
850 | func (m *GetProviderSchema_Request) XXX_Unmarshal(b []byte) error { | ||
851 | return xxx_messageInfo_GetProviderSchema_Request.Unmarshal(m, b) | ||
852 | } | ||
853 | func (m *GetProviderSchema_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
854 | return xxx_messageInfo_GetProviderSchema_Request.Marshal(b, m, deterministic) | ||
855 | } | ||
856 | func (dst *GetProviderSchema_Request) XXX_Merge(src proto.Message) { | ||
857 | xxx_messageInfo_GetProviderSchema_Request.Merge(dst, src) | ||
858 | } | ||
859 | func (m *GetProviderSchema_Request) XXX_Size() int { | ||
860 | return xxx_messageInfo_GetProviderSchema_Request.Size(m) | ||
861 | } | ||
862 | func (m *GetProviderSchema_Request) XXX_DiscardUnknown() { | ||
863 | xxx_messageInfo_GetProviderSchema_Request.DiscardUnknown(m) | ||
864 | } | ||
865 | |||
866 | var xxx_messageInfo_GetProviderSchema_Request proto.InternalMessageInfo | ||
867 | |||
868 | type GetProviderSchema_Response struct { | ||
869 | Provider *Schema `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` | ||
870 | ResourceSchemas map[string]*Schema `protobuf:"bytes,2,rep,name=resource_schemas,json=resourceSchemas,proto3" json:"resource_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` | ||
871 | DataSourceSchemas map[string]*Schema `protobuf:"bytes,3,rep,name=data_source_schemas,json=dataSourceSchemas,proto3" json:"data_source_schemas,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` | ||
872 | Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` | ||
873 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
874 | XXX_unrecognized []byte `json:"-"` | ||
875 | XXX_sizecache int32 `json:"-"` | ||
876 | } | ||
877 | |||
878 | func (m *GetProviderSchema_Response) Reset() { *m = GetProviderSchema_Response{} } | ||
879 | func (m *GetProviderSchema_Response) String() string { return proto.CompactTextString(m) } | ||
880 | func (*GetProviderSchema_Response) ProtoMessage() {} | ||
881 | func (*GetProviderSchema_Response) Descriptor() ([]byte, []int) { | ||
882 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{6, 1} | ||
883 | } | ||
884 | func (m *GetProviderSchema_Response) XXX_Unmarshal(b []byte) error { | ||
885 | return xxx_messageInfo_GetProviderSchema_Response.Unmarshal(m, b) | ||
886 | } | ||
887 | func (m *GetProviderSchema_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
888 | return xxx_messageInfo_GetProviderSchema_Response.Marshal(b, m, deterministic) | ||
889 | } | ||
890 | func (dst *GetProviderSchema_Response) XXX_Merge(src proto.Message) { | ||
891 | xxx_messageInfo_GetProviderSchema_Response.Merge(dst, src) | ||
892 | } | ||
893 | func (m *GetProviderSchema_Response) XXX_Size() int { | ||
894 | return xxx_messageInfo_GetProviderSchema_Response.Size(m) | ||
895 | } | ||
896 | func (m *GetProviderSchema_Response) XXX_DiscardUnknown() { | ||
897 | xxx_messageInfo_GetProviderSchema_Response.DiscardUnknown(m) | ||
898 | } | ||
899 | |||
900 | var xxx_messageInfo_GetProviderSchema_Response proto.InternalMessageInfo | ||
901 | |||
902 | func (m *GetProviderSchema_Response) GetProvider() *Schema { | ||
903 | if m != nil { | ||
904 | return m.Provider | ||
905 | } | ||
906 | return nil | ||
907 | } | ||
908 | |||
909 | func (m *GetProviderSchema_Response) GetResourceSchemas() map[string]*Schema { | ||
910 | if m != nil { | ||
911 | return m.ResourceSchemas | ||
912 | } | ||
913 | return nil | ||
914 | } | ||
915 | |||
916 | func (m *GetProviderSchema_Response) GetDataSourceSchemas() map[string]*Schema { | ||
917 | if m != nil { | ||
918 | return m.DataSourceSchemas | ||
919 | } | ||
920 | return nil | ||
921 | } | ||
922 | |||
923 | func (m *GetProviderSchema_Response) GetDiagnostics() []*Diagnostic { | ||
924 | if m != nil { | ||
925 | return m.Diagnostics | ||
926 | } | ||
927 | return nil | ||
928 | } | ||
929 | |||
930 | type PrepareProviderConfig struct { | ||
931 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
932 | XXX_unrecognized []byte `json:"-"` | ||
933 | XXX_sizecache int32 `json:"-"` | ||
934 | } | ||
935 | |||
936 | func (m *PrepareProviderConfig) Reset() { *m = PrepareProviderConfig{} } | ||
937 | func (m *PrepareProviderConfig) String() string { return proto.CompactTextString(m) } | ||
938 | func (*PrepareProviderConfig) ProtoMessage() {} | ||
939 | func (*PrepareProviderConfig) Descriptor() ([]byte, []int) { | ||
940 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{7} | ||
941 | } | ||
942 | func (m *PrepareProviderConfig) XXX_Unmarshal(b []byte) error { | ||
943 | return xxx_messageInfo_PrepareProviderConfig.Unmarshal(m, b) | ||
944 | } | ||
945 | func (m *PrepareProviderConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
946 | return xxx_messageInfo_PrepareProviderConfig.Marshal(b, m, deterministic) | ||
947 | } | ||
948 | func (dst *PrepareProviderConfig) XXX_Merge(src proto.Message) { | ||
949 | xxx_messageInfo_PrepareProviderConfig.Merge(dst, src) | ||
950 | } | ||
951 | func (m *PrepareProviderConfig) XXX_Size() int { | ||
952 | return xxx_messageInfo_PrepareProviderConfig.Size(m) | ||
953 | } | ||
954 | func (m *PrepareProviderConfig) XXX_DiscardUnknown() { | ||
955 | xxx_messageInfo_PrepareProviderConfig.DiscardUnknown(m) | ||
956 | } | ||
957 | |||
958 | var xxx_messageInfo_PrepareProviderConfig proto.InternalMessageInfo | ||
959 | |||
960 | type PrepareProviderConfig_Request struct { | ||
961 | Config *DynamicValue `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` | ||
962 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
963 | XXX_unrecognized []byte `json:"-"` | ||
964 | XXX_sizecache int32 `json:"-"` | ||
965 | } | ||
966 | |||
967 | func (m *PrepareProviderConfig_Request) Reset() { *m = PrepareProviderConfig_Request{} } | ||
968 | func (m *PrepareProviderConfig_Request) String() string { return proto.CompactTextString(m) } | ||
969 | func (*PrepareProviderConfig_Request) ProtoMessage() {} | ||
970 | func (*PrepareProviderConfig_Request) Descriptor() ([]byte, []int) { | ||
971 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{7, 0} | ||
972 | } | ||
973 | func (m *PrepareProviderConfig_Request) XXX_Unmarshal(b []byte) error { | ||
974 | return xxx_messageInfo_PrepareProviderConfig_Request.Unmarshal(m, b) | ||
975 | } | ||
976 | func (m *PrepareProviderConfig_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
977 | return xxx_messageInfo_PrepareProviderConfig_Request.Marshal(b, m, deterministic) | ||
978 | } | ||
979 | func (dst *PrepareProviderConfig_Request) XXX_Merge(src proto.Message) { | ||
980 | xxx_messageInfo_PrepareProviderConfig_Request.Merge(dst, src) | ||
981 | } | ||
982 | func (m *PrepareProviderConfig_Request) XXX_Size() int { | ||
983 | return xxx_messageInfo_PrepareProviderConfig_Request.Size(m) | ||
984 | } | ||
985 | func (m *PrepareProviderConfig_Request) XXX_DiscardUnknown() { | ||
986 | xxx_messageInfo_PrepareProviderConfig_Request.DiscardUnknown(m) | ||
987 | } | ||
988 | |||
989 | var xxx_messageInfo_PrepareProviderConfig_Request proto.InternalMessageInfo | ||
990 | |||
991 | func (m *PrepareProviderConfig_Request) GetConfig() *DynamicValue { | ||
992 | if m != nil { | ||
993 | return m.Config | ||
994 | } | ||
995 | return nil | ||
996 | } | ||
997 | |||
998 | type PrepareProviderConfig_Response struct { | ||
999 | PreparedConfig *DynamicValue `protobuf:"bytes,1,opt,name=prepared_config,json=preparedConfig,proto3" json:"prepared_config,omitempty"` | ||
1000 | Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` | ||
1001 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1002 | XXX_unrecognized []byte `json:"-"` | ||
1003 | XXX_sizecache int32 `json:"-"` | ||
1004 | } | ||
1005 | |||
1006 | func (m *PrepareProviderConfig_Response) Reset() { *m = PrepareProviderConfig_Response{} } | ||
1007 | func (m *PrepareProviderConfig_Response) String() string { return proto.CompactTextString(m) } | ||
1008 | func (*PrepareProviderConfig_Response) ProtoMessage() {} | ||
1009 | func (*PrepareProviderConfig_Response) Descriptor() ([]byte, []int) { | ||
1010 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{7, 1} | ||
1011 | } | ||
1012 | func (m *PrepareProviderConfig_Response) XXX_Unmarshal(b []byte) error { | ||
1013 | return xxx_messageInfo_PrepareProviderConfig_Response.Unmarshal(m, b) | ||
1014 | } | ||
1015 | func (m *PrepareProviderConfig_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1016 | return xxx_messageInfo_PrepareProviderConfig_Response.Marshal(b, m, deterministic) | ||
1017 | } | ||
1018 | func (dst *PrepareProviderConfig_Response) XXX_Merge(src proto.Message) { | ||
1019 | xxx_messageInfo_PrepareProviderConfig_Response.Merge(dst, src) | ||
1020 | } | ||
1021 | func (m *PrepareProviderConfig_Response) XXX_Size() int { | ||
1022 | return xxx_messageInfo_PrepareProviderConfig_Response.Size(m) | ||
1023 | } | ||
1024 | func (m *PrepareProviderConfig_Response) XXX_DiscardUnknown() { | ||
1025 | xxx_messageInfo_PrepareProviderConfig_Response.DiscardUnknown(m) | ||
1026 | } | ||
1027 | |||
1028 | var xxx_messageInfo_PrepareProviderConfig_Response proto.InternalMessageInfo | ||
1029 | |||
1030 | func (m *PrepareProviderConfig_Response) GetPreparedConfig() *DynamicValue { | ||
1031 | if m != nil { | ||
1032 | return m.PreparedConfig | ||
1033 | } | ||
1034 | return nil | ||
1035 | } | ||
1036 | |||
1037 | func (m *PrepareProviderConfig_Response) GetDiagnostics() []*Diagnostic { | ||
1038 | if m != nil { | ||
1039 | return m.Diagnostics | ||
1040 | } | ||
1041 | return nil | ||
1042 | } | ||
1043 | |||
1044 | type UpgradeResourceState struct { | ||
1045 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1046 | XXX_unrecognized []byte `json:"-"` | ||
1047 | XXX_sizecache int32 `json:"-"` | ||
1048 | } | ||
1049 | |||
1050 | func (m *UpgradeResourceState) Reset() { *m = UpgradeResourceState{} } | ||
1051 | func (m *UpgradeResourceState) String() string { return proto.CompactTextString(m) } | ||
1052 | func (*UpgradeResourceState) ProtoMessage() {} | ||
1053 | func (*UpgradeResourceState) Descriptor() ([]byte, []int) { | ||
1054 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{8} | ||
1055 | } | ||
1056 | func (m *UpgradeResourceState) XXX_Unmarshal(b []byte) error { | ||
1057 | return xxx_messageInfo_UpgradeResourceState.Unmarshal(m, b) | ||
1058 | } | ||
1059 | func (m *UpgradeResourceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1060 | return xxx_messageInfo_UpgradeResourceState.Marshal(b, m, deterministic) | ||
1061 | } | ||
1062 | func (dst *UpgradeResourceState) XXX_Merge(src proto.Message) { | ||
1063 | xxx_messageInfo_UpgradeResourceState.Merge(dst, src) | ||
1064 | } | ||
1065 | func (m *UpgradeResourceState) XXX_Size() int { | ||
1066 | return xxx_messageInfo_UpgradeResourceState.Size(m) | ||
1067 | } | ||
1068 | func (m *UpgradeResourceState) XXX_DiscardUnknown() { | ||
1069 | xxx_messageInfo_UpgradeResourceState.DiscardUnknown(m) | ||
1070 | } | ||
1071 | |||
1072 | var xxx_messageInfo_UpgradeResourceState proto.InternalMessageInfo | ||
1073 | |||
1074 | type UpgradeResourceState_Request struct { | ||
1075 | TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` | ||
1076 | // version is the schema_version number recorded in the state file | ||
1077 | Version int64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` | ||
1078 | // raw_state is the raw states as stored for the resource. Core does | ||
1079 | // not have access to the schema of prior_version, so it's the | ||
1080 | // provider's responsibility to interpret this value using the | ||
1081 | // appropriate older schema. The raw_state will be the json encoded | ||
1082 | // state, or a legacy flat-mapped format. | ||
1083 | RawState *RawState `protobuf:"bytes,3,opt,name=raw_state,json=rawState,proto3" json:"raw_state,omitempty"` | ||
1084 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1085 | XXX_unrecognized []byte `json:"-"` | ||
1086 | XXX_sizecache int32 `json:"-"` | ||
1087 | } | ||
1088 | |||
1089 | func (m *UpgradeResourceState_Request) Reset() { *m = UpgradeResourceState_Request{} } | ||
1090 | func (m *UpgradeResourceState_Request) String() string { return proto.CompactTextString(m) } | ||
1091 | func (*UpgradeResourceState_Request) ProtoMessage() {} | ||
1092 | func (*UpgradeResourceState_Request) Descriptor() ([]byte, []int) { | ||
1093 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{8, 0} | ||
1094 | } | ||
1095 | func (m *UpgradeResourceState_Request) XXX_Unmarshal(b []byte) error { | ||
1096 | return xxx_messageInfo_UpgradeResourceState_Request.Unmarshal(m, b) | ||
1097 | } | ||
1098 | func (m *UpgradeResourceState_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1099 | return xxx_messageInfo_UpgradeResourceState_Request.Marshal(b, m, deterministic) | ||
1100 | } | ||
1101 | func (dst *UpgradeResourceState_Request) XXX_Merge(src proto.Message) { | ||
1102 | xxx_messageInfo_UpgradeResourceState_Request.Merge(dst, src) | ||
1103 | } | ||
1104 | func (m *UpgradeResourceState_Request) XXX_Size() int { | ||
1105 | return xxx_messageInfo_UpgradeResourceState_Request.Size(m) | ||
1106 | } | ||
1107 | func (m *UpgradeResourceState_Request) XXX_DiscardUnknown() { | ||
1108 | xxx_messageInfo_UpgradeResourceState_Request.DiscardUnknown(m) | ||
1109 | } | ||
1110 | |||
1111 | var xxx_messageInfo_UpgradeResourceState_Request proto.InternalMessageInfo | ||
1112 | |||
1113 | func (m *UpgradeResourceState_Request) GetTypeName() string { | ||
1114 | if m != nil { | ||
1115 | return m.TypeName | ||
1116 | } | ||
1117 | return "" | ||
1118 | } | ||
1119 | |||
1120 | func (m *UpgradeResourceState_Request) GetVersion() int64 { | ||
1121 | if m != nil { | ||
1122 | return m.Version | ||
1123 | } | ||
1124 | return 0 | ||
1125 | } | ||
1126 | |||
1127 | func (m *UpgradeResourceState_Request) GetRawState() *RawState { | ||
1128 | if m != nil { | ||
1129 | return m.RawState | ||
1130 | } | ||
1131 | return nil | ||
1132 | } | ||
1133 | |||
1134 | type UpgradeResourceState_Response struct { | ||
1135 | // new_state is a msgpack-encoded data structure that, when interpreted with | ||
1136 | // the _current_ schema for this resource type, is functionally equivalent to | ||
1137 | // that which was given in prior_state_raw. | ||
1138 | UpgradedState *DynamicValue `protobuf:"bytes,1,opt,name=upgraded_state,json=upgradedState,proto3" json:"upgraded_state,omitempty"` | ||
1139 | // diagnostics describes any errors encountered during migration that could not | ||
1140 | // be safely resolved, and warnings about any possibly-risky assumptions made | ||
1141 | // in the upgrade process. | ||
1142 | Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` | ||
1143 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1144 | XXX_unrecognized []byte `json:"-"` | ||
1145 | XXX_sizecache int32 `json:"-"` | ||
1146 | } | ||
1147 | |||
1148 | func (m *UpgradeResourceState_Response) Reset() { *m = UpgradeResourceState_Response{} } | ||
1149 | func (m *UpgradeResourceState_Response) String() string { return proto.CompactTextString(m) } | ||
1150 | func (*UpgradeResourceState_Response) ProtoMessage() {} | ||
1151 | func (*UpgradeResourceState_Response) Descriptor() ([]byte, []int) { | ||
1152 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{8, 1} | ||
1153 | } | ||
1154 | func (m *UpgradeResourceState_Response) XXX_Unmarshal(b []byte) error { | ||
1155 | return xxx_messageInfo_UpgradeResourceState_Response.Unmarshal(m, b) | ||
1156 | } | ||
1157 | func (m *UpgradeResourceState_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1158 | return xxx_messageInfo_UpgradeResourceState_Response.Marshal(b, m, deterministic) | ||
1159 | } | ||
1160 | func (dst *UpgradeResourceState_Response) XXX_Merge(src proto.Message) { | ||
1161 | xxx_messageInfo_UpgradeResourceState_Response.Merge(dst, src) | ||
1162 | } | ||
1163 | func (m *UpgradeResourceState_Response) XXX_Size() int { | ||
1164 | return xxx_messageInfo_UpgradeResourceState_Response.Size(m) | ||
1165 | } | ||
1166 | func (m *UpgradeResourceState_Response) XXX_DiscardUnknown() { | ||
1167 | xxx_messageInfo_UpgradeResourceState_Response.DiscardUnknown(m) | ||
1168 | } | ||
1169 | |||
1170 | var xxx_messageInfo_UpgradeResourceState_Response proto.InternalMessageInfo | ||
1171 | |||
1172 | func (m *UpgradeResourceState_Response) GetUpgradedState() *DynamicValue { | ||
1173 | if m != nil { | ||
1174 | return m.UpgradedState | ||
1175 | } | ||
1176 | return nil | ||
1177 | } | ||
1178 | |||
1179 | func (m *UpgradeResourceState_Response) GetDiagnostics() []*Diagnostic { | ||
1180 | if m != nil { | ||
1181 | return m.Diagnostics | ||
1182 | } | ||
1183 | return nil | ||
1184 | } | ||
1185 | |||
1186 | type ValidateResourceTypeConfig struct { | ||
1187 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1188 | XXX_unrecognized []byte `json:"-"` | ||
1189 | XXX_sizecache int32 `json:"-"` | ||
1190 | } | ||
1191 | |||
1192 | func (m *ValidateResourceTypeConfig) Reset() { *m = ValidateResourceTypeConfig{} } | ||
1193 | func (m *ValidateResourceTypeConfig) String() string { return proto.CompactTextString(m) } | ||
1194 | func (*ValidateResourceTypeConfig) ProtoMessage() {} | ||
1195 | func (*ValidateResourceTypeConfig) Descriptor() ([]byte, []int) { | ||
1196 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{9} | ||
1197 | } | ||
1198 | func (m *ValidateResourceTypeConfig) XXX_Unmarshal(b []byte) error { | ||
1199 | return xxx_messageInfo_ValidateResourceTypeConfig.Unmarshal(m, b) | ||
1200 | } | ||
1201 | func (m *ValidateResourceTypeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1202 | return xxx_messageInfo_ValidateResourceTypeConfig.Marshal(b, m, deterministic) | ||
1203 | } | ||
1204 | func (dst *ValidateResourceTypeConfig) XXX_Merge(src proto.Message) { | ||
1205 | xxx_messageInfo_ValidateResourceTypeConfig.Merge(dst, src) | ||
1206 | } | ||
1207 | func (m *ValidateResourceTypeConfig) XXX_Size() int { | ||
1208 | return xxx_messageInfo_ValidateResourceTypeConfig.Size(m) | ||
1209 | } | ||
1210 | func (m *ValidateResourceTypeConfig) XXX_DiscardUnknown() { | ||
1211 | xxx_messageInfo_ValidateResourceTypeConfig.DiscardUnknown(m) | ||
1212 | } | ||
1213 | |||
1214 | var xxx_messageInfo_ValidateResourceTypeConfig proto.InternalMessageInfo | ||
1215 | |||
1216 | type ValidateResourceTypeConfig_Request struct { | ||
1217 | TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` | ||
1218 | Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` | ||
1219 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1220 | XXX_unrecognized []byte `json:"-"` | ||
1221 | XXX_sizecache int32 `json:"-"` | ||
1222 | } | ||
1223 | |||
1224 | func (m *ValidateResourceTypeConfig_Request) Reset() { *m = ValidateResourceTypeConfig_Request{} } | ||
1225 | func (m *ValidateResourceTypeConfig_Request) String() string { return proto.CompactTextString(m) } | ||
1226 | func (*ValidateResourceTypeConfig_Request) ProtoMessage() {} | ||
1227 | func (*ValidateResourceTypeConfig_Request) Descriptor() ([]byte, []int) { | ||
1228 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{9, 0} | ||
1229 | } | ||
1230 | func (m *ValidateResourceTypeConfig_Request) XXX_Unmarshal(b []byte) error { | ||
1231 | return xxx_messageInfo_ValidateResourceTypeConfig_Request.Unmarshal(m, b) | ||
1232 | } | ||
1233 | func (m *ValidateResourceTypeConfig_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1234 | return xxx_messageInfo_ValidateResourceTypeConfig_Request.Marshal(b, m, deterministic) | ||
1235 | } | ||
1236 | func (dst *ValidateResourceTypeConfig_Request) XXX_Merge(src proto.Message) { | ||
1237 | xxx_messageInfo_ValidateResourceTypeConfig_Request.Merge(dst, src) | ||
1238 | } | ||
1239 | func (m *ValidateResourceTypeConfig_Request) XXX_Size() int { | ||
1240 | return xxx_messageInfo_ValidateResourceTypeConfig_Request.Size(m) | ||
1241 | } | ||
1242 | func (m *ValidateResourceTypeConfig_Request) XXX_DiscardUnknown() { | ||
1243 | xxx_messageInfo_ValidateResourceTypeConfig_Request.DiscardUnknown(m) | ||
1244 | } | ||
1245 | |||
1246 | var xxx_messageInfo_ValidateResourceTypeConfig_Request proto.InternalMessageInfo | ||
1247 | |||
1248 | func (m *ValidateResourceTypeConfig_Request) GetTypeName() string { | ||
1249 | if m != nil { | ||
1250 | return m.TypeName | ||
1251 | } | ||
1252 | return "" | ||
1253 | } | ||
1254 | |||
1255 | func (m *ValidateResourceTypeConfig_Request) GetConfig() *DynamicValue { | ||
1256 | if m != nil { | ||
1257 | return m.Config | ||
1258 | } | ||
1259 | return nil | ||
1260 | } | ||
1261 | |||
1262 | type ValidateResourceTypeConfig_Response struct { | ||
1263 | Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` | ||
1264 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1265 | XXX_unrecognized []byte `json:"-"` | ||
1266 | XXX_sizecache int32 `json:"-"` | ||
1267 | } | ||
1268 | |||
1269 | func (m *ValidateResourceTypeConfig_Response) Reset() { *m = ValidateResourceTypeConfig_Response{} } | ||
1270 | func (m *ValidateResourceTypeConfig_Response) String() string { return proto.CompactTextString(m) } | ||
1271 | func (*ValidateResourceTypeConfig_Response) ProtoMessage() {} | ||
1272 | func (*ValidateResourceTypeConfig_Response) Descriptor() ([]byte, []int) { | ||
1273 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{9, 1} | ||
1274 | } | ||
1275 | func (m *ValidateResourceTypeConfig_Response) XXX_Unmarshal(b []byte) error { | ||
1276 | return xxx_messageInfo_ValidateResourceTypeConfig_Response.Unmarshal(m, b) | ||
1277 | } | ||
1278 | func (m *ValidateResourceTypeConfig_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1279 | return xxx_messageInfo_ValidateResourceTypeConfig_Response.Marshal(b, m, deterministic) | ||
1280 | } | ||
1281 | func (dst *ValidateResourceTypeConfig_Response) XXX_Merge(src proto.Message) { | ||
1282 | xxx_messageInfo_ValidateResourceTypeConfig_Response.Merge(dst, src) | ||
1283 | } | ||
1284 | func (m *ValidateResourceTypeConfig_Response) XXX_Size() int { | ||
1285 | return xxx_messageInfo_ValidateResourceTypeConfig_Response.Size(m) | ||
1286 | } | ||
1287 | func (m *ValidateResourceTypeConfig_Response) XXX_DiscardUnknown() { | ||
1288 | xxx_messageInfo_ValidateResourceTypeConfig_Response.DiscardUnknown(m) | ||
1289 | } | ||
1290 | |||
1291 | var xxx_messageInfo_ValidateResourceTypeConfig_Response proto.InternalMessageInfo | ||
1292 | |||
1293 | func (m *ValidateResourceTypeConfig_Response) GetDiagnostics() []*Diagnostic { | ||
1294 | if m != nil { | ||
1295 | return m.Diagnostics | ||
1296 | } | ||
1297 | return nil | ||
1298 | } | ||
1299 | |||
1300 | type ValidateDataSourceConfig struct { | ||
1301 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1302 | XXX_unrecognized []byte `json:"-"` | ||
1303 | XXX_sizecache int32 `json:"-"` | ||
1304 | } | ||
1305 | |||
1306 | func (m *ValidateDataSourceConfig) Reset() { *m = ValidateDataSourceConfig{} } | ||
1307 | func (m *ValidateDataSourceConfig) String() string { return proto.CompactTextString(m) } | ||
1308 | func (*ValidateDataSourceConfig) ProtoMessage() {} | ||
1309 | func (*ValidateDataSourceConfig) Descriptor() ([]byte, []int) { | ||
1310 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{10} | ||
1311 | } | ||
1312 | func (m *ValidateDataSourceConfig) XXX_Unmarshal(b []byte) error { | ||
1313 | return xxx_messageInfo_ValidateDataSourceConfig.Unmarshal(m, b) | ||
1314 | } | ||
1315 | func (m *ValidateDataSourceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1316 | return xxx_messageInfo_ValidateDataSourceConfig.Marshal(b, m, deterministic) | ||
1317 | } | ||
1318 | func (dst *ValidateDataSourceConfig) XXX_Merge(src proto.Message) { | ||
1319 | xxx_messageInfo_ValidateDataSourceConfig.Merge(dst, src) | ||
1320 | } | ||
1321 | func (m *ValidateDataSourceConfig) XXX_Size() int { | ||
1322 | return xxx_messageInfo_ValidateDataSourceConfig.Size(m) | ||
1323 | } | ||
1324 | func (m *ValidateDataSourceConfig) XXX_DiscardUnknown() { | ||
1325 | xxx_messageInfo_ValidateDataSourceConfig.DiscardUnknown(m) | ||
1326 | } | ||
1327 | |||
1328 | var xxx_messageInfo_ValidateDataSourceConfig proto.InternalMessageInfo | ||
1329 | |||
1330 | type ValidateDataSourceConfig_Request struct { | ||
1331 | TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` | ||
1332 | Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` | ||
1333 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1334 | XXX_unrecognized []byte `json:"-"` | ||
1335 | XXX_sizecache int32 `json:"-"` | ||
1336 | } | ||
1337 | |||
1338 | func (m *ValidateDataSourceConfig_Request) Reset() { *m = ValidateDataSourceConfig_Request{} } | ||
1339 | func (m *ValidateDataSourceConfig_Request) String() string { return proto.CompactTextString(m) } | ||
1340 | func (*ValidateDataSourceConfig_Request) ProtoMessage() {} | ||
1341 | func (*ValidateDataSourceConfig_Request) Descriptor() ([]byte, []int) { | ||
1342 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{10, 0} | ||
1343 | } | ||
1344 | func (m *ValidateDataSourceConfig_Request) XXX_Unmarshal(b []byte) error { | ||
1345 | return xxx_messageInfo_ValidateDataSourceConfig_Request.Unmarshal(m, b) | ||
1346 | } | ||
1347 | func (m *ValidateDataSourceConfig_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1348 | return xxx_messageInfo_ValidateDataSourceConfig_Request.Marshal(b, m, deterministic) | ||
1349 | } | ||
1350 | func (dst *ValidateDataSourceConfig_Request) XXX_Merge(src proto.Message) { | ||
1351 | xxx_messageInfo_ValidateDataSourceConfig_Request.Merge(dst, src) | ||
1352 | } | ||
1353 | func (m *ValidateDataSourceConfig_Request) XXX_Size() int { | ||
1354 | return xxx_messageInfo_ValidateDataSourceConfig_Request.Size(m) | ||
1355 | } | ||
1356 | func (m *ValidateDataSourceConfig_Request) XXX_DiscardUnknown() { | ||
1357 | xxx_messageInfo_ValidateDataSourceConfig_Request.DiscardUnknown(m) | ||
1358 | } | ||
1359 | |||
1360 | var xxx_messageInfo_ValidateDataSourceConfig_Request proto.InternalMessageInfo | ||
1361 | |||
1362 | func (m *ValidateDataSourceConfig_Request) GetTypeName() string { | ||
1363 | if m != nil { | ||
1364 | return m.TypeName | ||
1365 | } | ||
1366 | return "" | ||
1367 | } | ||
1368 | |||
1369 | func (m *ValidateDataSourceConfig_Request) GetConfig() *DynamicValue { | ||
1370 | if m != nil { | ||
1371 | return m.Config | ||
1372 | } | ||
1373 | return nil | ||
1374 | } | ||
1375 | |||
1376 | type ValidateDataSourceConfig_Response struct { | ||
1377 | Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` | ||
1378 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1379 | XXX_unrecognized []byte `json:"-"` | ||
1380 | XXX_sizecache int32 `json:"-"` | ||
1381 | } | ||
1382 | |||
1383 | func (m *ValidateDataSourceConfig_Response) Reset() { *m = ValidateDataSourceConfig_Response{} } | ||
1384 | func (m *ValidateDataSourceConfig_Response) String() string { return proto.CompactTextString(m) } | ||
1385 | func (*ValidateDataSourceConfig_Response) ProtoMessage() {} | ||
1386 | func (*ValidateDataSourceConfig_Response) Descriptor() ([]byte, []int) { | ||
1387 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{10, 1} | ||
1388 | } | ||
1389 | func (m *ValidateDataSourceConfig_Response) XXX_Unmarshal(b []byte) error { | ||
1390 | return xxx_messageInfo_ValidateDataSourceConfig_Response.Unmarshal(m, b) | ||
1391 | } | ||
1392 | func (m *ValidateDataSourceConfig_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1393 | return xxx_messageInfo_ValidateDataSourceConfig_Response.Marshal(b, m, deterministic) | ||
1394 | } | ||
1395 | func (dst *ValidateDataSourceConfig_Response) XXX_Merge(src proto.Message) { | ||
1396 | xxx_messageInfo_ValidateDataSourceConfig_Response.Merge(dst, src) | ||
1397 | } | ||
1398 | func (m *ValidateDataSourceConfig_Response) XXX_Size() int { | ||
1399 | return xxx_messageInfo_ValidateDataSourceConfig_Response.Size(m) | ||
1400 | } | ||
1401 | func (m *ValidateDataSourceConfig_Response) XXX_DiscardUnknown() { | ||
1402 | xxx_messageInfo_ValidateDataSourceConfig_Response.DiscardUnknown(m) | ||
1403 | } | ||
1404 | |||
1405 | var xxx_messageInfo_ValidateDataSourceConfig_Response proto.InternalMessageInfo | ||
1406 | |||
1407 | func (m *ValidateDataSourceConfig_Response) GetDiagnostics() []*Diagnostic { | ||
1408 | if m != nil { | ||
1409 | return m.Diagnostics | ||
1410 | } | ||
1411 | return nil | ||
1412 | } | ||
1413 | |||
1414 | type Configure struct { | ||
1415 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1416 | XXX_unrecognized []byte `json:"-"` | ||
1417 | XXX_sizecache int32 `json:"-"` | ||
1418 | } | ||
1419 | |||
1420 | func (m *Configure) Reset() { *m = Configure{} } | ||
1421 | func (m *Configure) String() string { return proto.CompactTextString(m) } | ||
1422 | func (*Configure) ProtoMessage() {} | ||
1423 | func (*Configure) Descriptor() ([]byte, []int) { | ||
1424 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{11} | ||
1425 | } | ||
1426 | func (m *Configure) XXX_Unmarshal(b []byte) error { | ||
1427 | return xxx_messageInfo_Configure.Unmarshal(m, b) | ||
1428 | } | ||
1429 | func (m *Configure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1430 | return xxx_messageInfo_Configure.Marshal(b, m, deterministic) | ||
1431 | } | ||
1432 | func (dst *Configure) XXX_Merge(src proto.Message) { | ||
1433 | xxx_messageInfo_Configure.Merge(dst, src) | ||
1434 | } | ||
1435 | func (m *Configure) XXX_Size() int { | ||
1436 | return xxx_messageInfo_Configure.Size(m) | ||
1437 | } | ||
1438 | func (m *Configure) XXX_DiscardUnknown() { | ||
1439 | xxx_messageInfo_Configure.DiscardUnknown(m) | ||
1440 | } | ||
1441 | |||
1442 | var xxx_messageInfo_Configure proto.InternalMessageInfo | ||
1443 | |||
1444 | type Configure_Request struct { | ||
1445 | TerraformVersion string `protobuf:"bytes,1,opt,name=terraform_version,json=terraformVersion,proto3" json:"terraform_version,omitempty"` | ||
1446 | Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` | ||
1447 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1448 | XXX_unrecognized []byte `json:"-"` | ||
1449 | XXX_sizecache int32 `json:"-"` | ||
1450 | } | ||
1451 | |||
1452 | func (m *Configure_Request) Reset() { *m = Configure_Request{} } | ||
1453 | func (m *Configure_Request) String() string { return proto.CompactTextString(m) } | ||
1454 | func (*Configure_Request) ProtoMessage() {} | ||
1455 | func (*Configure_Request) Descriptor() ([]byte, []int) { | ||
1456 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{11, 0} | ||
1457 | } | ||
1458 | func (m *Configure_Request) XXX_Unmarshal(b []byte) error { | ||
1459 | return xxx_messageInfo_Configure_Request.Unmarshal(m, b) | ||
1460 | } | ||
1461 | func (m *Configure_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1462 | return xxx_messageInfo_Configure_Request.Marshal(b, m, deterministic) | ||
1463 | } | ||
1464 | func (dst *Configure_Request) XXX_Merge(src proto.Message) { | ||
1465 | xxx_messageInfo_Configure_Request.Merge(dst, src) | ||
1466 | } | ||
1467 | func (m *Configure_Request) XXX_Size() int { | ||
1468 | return xxx_messageInfo_Configure_Request.Size(m) | ||
1469 | } | ||
1470 | func (m *Configure_Request) XXX_DiscardUnknown() { | ||
1471 | xxx_messageInfo_Configure_Request.DiscardUnknown(m) | ||
1472 | } | ||
1473 | |||
1474 | var xxx_messageInfo_Configure_Request proto.InternalMessageInfo | ||
1475 | |||
1476 | func (m *Configure_Request) GetTerraformVersion() string { | ||
1477 | if m != nil { | ||
1478 | return m.TerraformVersion | ||
1479 | } | ||
1480 | return "" | ||
1481 | } | ||
1482 | |||
1483 | func (m *Configure_Request) GetConfig() *DynamicValue { | ||
1484 | if m != nil { | ||
1485 | return m.Config | ||
1486 | } | ||
1487 | return nil | ||
1488 | } | ||
1489 | |||
1490 | type Configure_Response struct { | ||
1491 | Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` | ||
1492 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1493 | XXX_unrecognized []byte `json:"-"` | ||
1494 | XXX_sizecache int32 `json:"-"` | ||
1495 | } | ||
1496 | |||
1497 | func (m *Configure_Response) Reset() { *m = Configure_Response{} } | ||
1498 | func (m *Configure_Response) String() string { return proto.CompactTextString(m) } | ||
1499 | func (*Configure_Response) ProtoMessage() {} | ||
1500 | func (*Configure_Response) Descriptor() ([]byte, []int) { | ||
1501 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{11, 1} | ||
1502 | } | ||
1503 | func (m *Configure_Response) XXX_Unmarshal(b []byte) error { | ||
1504 | return xxx_messageInfo_Configure_Response.Unmarshal(m, b) | ||
1505 | } | ||
1506 | func (m *Configure_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1507 | return xxx_messageInfo_Configure_Response.Marshal(b, m, deterministic) | ||
1508 | } | ||
1509 | func (dst *Configure_Response) XXX_Merge(src proto.Message) { | ||
1510 | xxx_messageInfo_Configure_Response.Merge(dst, src) | ||
1511 | } | ||
1512 | func (m *Configure_Response) XXX_Size() int { | ||
1513 | return xxx_messageInfo_Configure_Response.Size(m) | ||
1514 | } | ||
1515 | func (m *Configure_Response) XXX_DiscardUnknown() { | ||
1516 | xxx_messageInfo_Configure_Response.DiscardUnknown(m) | ||
1517 | } | ||
1518 | |||
1519 | var xxx_messageInfo_Configure_Response proto.InternalMessageInfo | ||
1520 | |||
1521 | func (m *Configure_Response) GetDiagnostics() []*Diagnostic { | ||
1522 | if m != nil { | ||
1523 | return m.Diagnostics | ||
1524 | } | ||
1525 | return nil | ||
1526 | } | ||
1527 | |||
1528 | type ReadResource struct { | ||
1529 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1530 | XXX_unrecognized []byte `json:"-"` | ||
1531 | XXX_sizecache int32 `json:"-"` | ||
1532 | } | ||
1533 | |||
1534 | func (m *ReadResource) Reset() { *m = ReadResource{} } | ||
1535 | func (m *ReadResource) String() string { return proto.CompactTextString(m) } | ||
1536 | func (*ReadResource) ProtoMessage() {} | ||
1537 | func (*ReadResource) Descriptor() ([]byte, []int) { | ||
1538 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{12} | ||
1539 | } | ||
1540 | func (m *ReadResource) XXX_Unmarshal(b []byte) error { | ||
1541 | return xxx_messageInfo_ReadResource.Unmarshal(m, b) | ||
1542 | } | ||
1543 | func (m *ReadResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1544 | return xxx_messageInfo_ReadResource.Marshal(b, m, deterministic) | ||
1545 | } | ||
1546 | func (dst *ReadResource) XXX_Merge(src proto.Message) { | ||
1547 | xxx_messageInfo_ReadResource.Merge(dst, src) | ||
1548 | } | ||
1549 | func (m *ReadResource) XXX_Size() int { | ||
1550 | return xxx_messageInfo_ReadResource.Size(m) | ||
1551 | } | ||
1552 | func (m *ReadResource) XXX_DiscardUnknown() { | ||
1553 | xxx_messageInfo_ReadResource.DiscardUnknown(m) | ||
1554 | } | ||
1555 | |||
1556 | var xxx_messageInfo_ReadResource proto.InternalMessageInfo | ||
1557 | |||
1558 | type ReadResource_Request struct { | ||
1559 | TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` | ||
1560 | CurrentState *DynamicValue `protobuf:"bytes,2,opt,name=current_state,json=currentState,proto3" json:"current_state,omitempty"` | ||
1561 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1562 | XXX_unrecognized []byte `json:"-"` | ||
1563 | XXX_sizecache int32 `json:"-"` | ||
1564 | } | ||
1565 | |||
1566 | func (m *ReadResource_Request) Reset() { *m = ReadResource_Request{} } | ||
1567 | func (m *ReadResource_Request) String() string { return proto.CompactTextString(m) } | ||
1568 | func (*ReadResource_Request) ProtoMessage() {} | ||
1569 | func (*ReadResource_Request) Descriptor() ([]byte, []int) { | ||
1570 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{12, 0} | ||
1571 | } | ||
1572 | func (m *ReadResource_Request) XXX_Unmarshal(b []byte) error { | ||
1573 | return xxx_messageInfo_ReadResource_Request.Unmarshal(m, b) | ||
1574 | } | ||
1575 | func (m *ReadResource_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1576 | return xxx_messageInfo_ReadResource_Request.Marshal(b, m, deterministic) | ||
1577 | } | ||
1578 | func (dst *ReadResource_Request) XXX_Merge(src proto.Message) { | ||
1579 | xxx_messageInfo_ReadResource_Request.Merge(dst, src) | ||
1580 | } | ||
1581 | func (m *ReadResource_Request) XXX_Size() int { | ||
1582 | return xxx_messageInfo_ReadResource_Request.Size(m) | ||
1583 | } | ||
1584 | func (m *ReadResource_Request) XXX_DiscardUnknown() { | ||
1585 | xxx_messageInfo_ReadResource_Request.DiscardUnknown(m) | ||
1586 | } | ||
1587 | |||
1588 | var xxx_messageInfo_ReadResource_Request proto.InternalMessageInfo | ||
1589 | |||
1590 | func (m *ReadResource_Request) GetTypeName() string { | ||
1591 | if m != nil { | ||
1592 | return m.TypeName | ||
1593 | } | ||
1594 | return "" | ||
1595 | } | ||
1596 | |||
1597 | func (m *ReadResource_Request) GetCurrentState() *DynamicValue { | ||
1598 | if m != nil { | ||
1599 | return m.CurrentState | ||
1600 | } | ||
1601 | return nil | ||
1602 | } | ||
1603 | |||
1604 | type ReadResource_Response struct { | ||
1605 | NewState *DynamicValue `protobuf:"bytes,1,opt,name=new_state,json=newState,proto3" json:"new_state,omitempty"` | ||
1606 | Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` | ||
1607 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1608 | XXX_unrecognized []byte `json:"-"` | ||
1609 | XXX_sizecache int32 `json:"-"` | ||
1610 | } | ||
1611 | |||
1612 | func (m *ReadResource_Response) Reset() { *m = ReadResource_Response{} } | ||
1613 | func (m *ReadResource_Response) String() string { return proto.CompactTextString(m) } | ||
1614 | func (*ReadResource_Response) ProtoMessage() {} | ||
1615 | func (*ReadResource_Response) Descriptor() ([]byte, []int) { | ||
1616 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{12, 1} | ||
1617 | } | ||
1618 | func (m *ReadResource_Response) XXX_Unmarshal(b []byte) error { | ||
1619 | return xxx_messageInfo_ReadResource_Response.Unmarshal(m, b) | ||
1620 | } | ||
1621 | func (m *ReadResource_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1622 | return xxx_messageInfo_ReadResource_Response.Marshal(b, m, deterministic) | ||
1623 | } | ||
1624 | func (dst *ReadResource_Response) XXX_Merge(src proto.Message) { | ||
1625 | xxx_messageInfo_ReadResource_Response.Merge(dst, src) | ||
1626 | } | ||
1627 | func (m *ReadResource_Response) XXX_Size() int { | ||
1628 | return xxx_messageInfo_ReadResource_Response.Size(m) | ||
1629 | } | ||
1630 | func (m *ReadResource_Response) XXX_DiscardUnknown() { | ||
1631 | xxx_messageInfo_ReadResource_Response.DiscardUnknown(m) | ||
1632 | } | ||
1633 | |||
1634 | var xxx_messageInfo_ReadResource_Response proto.InternalMessageInfo | ||
1635 | |||
1636 | func (m *ReadResource_Response) GetNewState() *DynamicValue { | ||
1637 | if m != nil { | ||
1638 | return m.NewState | ||
1639 | } | ||
1640 | return nil | ||
1641 | } | ||
1642 | |||
1643 | func (m *ReadResource_Response) GetDiagnostics() []*Diagnostic { | ||
1644 | if m != nil { | ||
1645 | return m.Diagnostics | ||
1646 | } | ||
1647 | return nil | ||
1648 | } | ||
1649 | |||
1650 | type PlanResourceChange struct { | ||
1651 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1652 | XXX_unrecognized []byte `json:"-"` | ||
1653 | XXX_sizecache int32 `json:"-"` | ||
1654 | } | ||
1655 | |||
1656 | func (m *PlanResourceChange) Reset() { *m = PlanResourceChange{} } | ||
1657 | func (m *PlanResourceChange) String() string { return proto.CompactTextString(m) } | ||
1658 | func (*PlanResourceChange) ProtoMessage() {} | ||
1659 | func (*PlanResourceChange) Descriptor() ([]byte, []int) { | ||
1660 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{13} | ||
1661 | } | ||
1662 | func (m *PlanResourceChange) XXX_Unmarshal(b []byte) error { | ||
1663 | return xxx_messageInfo_PlanResourceChange.Unmarshal(m, b) | ||
1664 | } | ||
1665 | func (m *PlanResourceChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1666 | return xxx_messageInfo_PlanResourceChange.Marshal(b, m, deterministic) | ||
1667 | } | ||
1668 | func (dst *PlanResourceChange) XXX_Merge(src proto.Message) { | ||
1669 | xxx_messageInfo_PlanResourceChange.Merge(dst, src) | ||
1670 | } | ||
1671 | func (m *PlanResourceChange) XXX_Size() int { | ||
1672 | return xxx_messageInfo_PlanResourceChange.Size(m) | ||
1673 | } | ||
1674 | func (m *PlanResourceChange) XXX_DiscardUnknown() { | ||
1675 | xxx_messageInfo_PlanResourceChange.DiscardUnknown(m) | ||
1676 | } | ||
1677 | |||
1678 | var xxx_messageInfo_PlanResourceChange proto.InternalMessageInfo | ||
1679 | |||
1680 | type PlanResourceChange_Request struct { | ||
1681 | TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` | ||
1682 | PriorState *DynamicValue `protobuf:"bytes,2,opt,name=prior_state,json=priorState,proto3" json:"prior_state,omitempty"` | ||
1683 | ProposedNewState *DynamicValue `protobuf:"bytes,3,opt,name=proposed_new_state,json=proposedNewState,proto3" json:"proposed_new_state,omitempty"` | ||
1684 | Config *DynamicValue `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"` | ||
1685 | PriorPrivate []byte `protobuf:"bytes,5,opt,name=prior_private,json=priorPrivate,proto3" json:"prior_private,omitempty"` | ||
1686 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1687 | XXX_unrecognized []byte `json:"-"` | ||
1688 | XXX_sizecache int32 `json:"-"` | ||
1689 | } | ||
1690 | |||
1691 | func (m *PlanResourceChange_Request) Reset() { *m = PlanResourceChange_Request{} } | ||
1692 | func (m *PlanResourceChange_Request) String() string { return proto.CompactTextString(m) } | ||
1693 | func (*PlanResourceChange_Request) ProtoMessage() {} | ||
1694 | func (*PlanResourceChange_Request) Descriptor() ([]byte, []int) { | ||
1695 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{13, 0} | ||
1696 | } | ||
1697 | func (m *PlanResourceChange_Request) XXX_Unmarshal(b []byte) error { | ||
1698 | return xxx_messageInfo_PlanResourceChange_Request.Unmarshal(m, b) | ||
1699 | } | ||
1700 | func (m *PlanResourceChange_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1701 | return xxx_messageInfo_PlanResourceChange_Request.Marshal(b, m, deterministic) | ||
1702 | } | ||
1703 | func (dst *PlanResourceChange_Request) XXX_Merge(src proto.Message) { | ||
1704 | xxx_messageInfo_PlanResourceChange_Request.Merge(dst, src) | ||
1705 | } | ||
1706 | func (m *PlanResourceChange_Request) XXX_Size() int { | ||
1707 | return xxx_messageInfo_PlanResourceChange_Request.Size(m) | ||
1708 | } | ||
1709 | func (m *PlanResourceChange_Request) XXX_DiscardUnknown() { | ||
1710 | xxx_messageInfo_PlanResourceChange_Request.DiscardUnknown(m) | ||
1711 | } | ||
1712 | |||
1713 | var xxx_messageInfo_PlanResourceChange_Request proto.InternalMessageInfo | ||
1714 | |||
1715 | func (m *PlanResourceChange_Request) GetTypeName() string { | ||
1716 | if m != nil { | ||
1717 | return m.TypeName | ||
1718 | } | ||
1719 | return "" | ||
1720 | } | ||
1721 | |||
1722 | func (m *PlanResourceChange_Request) GetPriorState() *DynamicValue { | ||
1723 | if m != nil { | ||
1724 | return m.PriorState | ||
1725 | } | ||
1726 | return nil | ||
1727 | } | ||
1728 | |||
1729 | func (m *PlanResourceChange_Request) GetProposedNewState() *DynamicValue { | ||
1730 | if m != nil { | ||
1731 | return m.ProposedNewState | ||
1732 | } | ||
1733 | return nil | ||
1734 | } | ||
1735 | |||
1736 | func (m *PlanResourceChange_Request) GetConfig() *DynamicValue { | ||
1737 | if m != nil { | ||
1738 | return m.Config | ||
1739 | } | ||
1740 | return nil | ||
1741 | } | ||
1742 | |||
1743 | func (m *PlanResourceChange_Request) GetPriorPrivate() []byte { | ||
1744 | if m != nil { | ||
1745 | return m.PriorPrivate | ||
1746 | } | ||
1747 | return nil | ||
1748 | } | ||
1749 | |||
1750 | type PlanResourceChange_Response struct { | ||
1751 | PlannedState *DynamicValue `protobuf:"bytes,1,opt,name=planned_state,json=plannedState,proto3" json:"planned_state,omitempty"` | ||
1752 | RequiresReplace []*AttributePath `protobuf:"bytes,2,rep,name=requires_replace,json=requiresReplace,proto3" json:"requires_replace,omitempty"` | ||
1753 | PlannedPrivate []byte `protobuf:"bytes,3,opt,name=planned_private,json=plannedPrivate,proto3" json:"planned_private,omitempty"` | ||
1754 | Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` | ||
1755 | // This may be set only by the helper/schema "SDK" in the main Terraform | ||
1756 | // repository, to request that Terraform Core >=0.12 permit additional | ||
1757 | // inconsistencies that can result from the legacy SDK type system | ||
1758 | // and its imprecise mapping to the >=0.12 type system. | ||
1759 | // The change in behavior implied by this flag makes sense only for the | ||
1760 | // specific details of the legacy SDK type system, and are not a general | ||
1761 | // mechanism to avoid proper type handling in providers. | ||
1762 | // | ||
1763 | // ==== DO NOT USE THIS ==== | ||
1764 | // ==== THIS MUST BE LEFT UNSET IN ALL OTHER SDKS ==== | ||
1765 | // ==== DO NOT USE THIS ==== | ||
1766 | LegacyTypeSystem bool `protobuf:"varint,5,opt,name=legacy_type_system,json=legacyTypeSystem,proto3" json:"legacy_type_system,omitempty"` | ||
1767 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1768 | XXX_unrecognized []byte `json:"-"` | ||
1769 | XXX_sizecache int32 `json:"-"` | ||
1770 | } | ||
1771 | |||
1772 | func (m *PlanResourceChange_Response) Reset() { *m = PlanResourceChange_Response{} } | ||
1773 | func (m *PlanResourceChange_Response) String() string { return proto.CompactTextString(m) } | ||
1774 | func (*PlanResourceChange_Response) ProtoMessage() {} | ||
1775 | func (*PlanResourceChange_Response) Descriptor() ([]byte, []int) { | ||
1776 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{13, 1} | ||
1777 | } | ||
1778 | func (m *PlanResourceChange_Response) XXX_Unmarshal(b []byte) error { | ||
1779 | return xxx_messageInfo_PlanResourceChange_Response.Unmarshal(m, b) | ||
1780 | } | ||
1781 | func (m *PlanResourceChange_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1782 | return xxx_messageInfo_PlanResourceChange_Response.Marshal(b, m, deterministic) | ||
1783 | } | ||
1784 | func (dst *PlanResourceChange_Response) XXX_Merge(src proto.Message) { | ||
1785 | xxx_messageInfo_PlanResourceChange_Response.Merge(dst, src) | ||
1786 | } | ||
1787 | func (m *PlanResourceChange_Response) XXX_Size() int { | ||
1788 | return xxx_messageInfo_PlanResourceChange_Response.Size(m) | ||
1789 | } | ||
1790 | func (m *PlanResourceChange_Response) XXX_DiscardUnknown() { | ||
1791 | xxx_messageInfo_PlanResourceChange_Response.DiscardUnknown(m) | ||
1792 | } | ||
1793 | |||
1794 | var xxx_messageInfo_PlanResourceChange_Response proto.InternalMessageInfo | ||
1795 | |||
1796 | func (m *PlanResourceChange_Response) GetPlannedState() *DynamicValue { | ||
1797 | if m != nil { | ||
1798 | return m.PlannedState | ||
1799 | } | ||
1800 | return nil | ||
1801 | } | ||
1802 | |||
1803 | func (m *PlanResourceChange_Response) GetRequiresReplace() []*AttributePath { | ||
1804 | if m != nil { | ||
1805 | return m.RequiresReplace | ||
1806 | } | ||
1807 | return nil | ||
1808 | } | ||
1809 | |||
1810 | func (m *PlanResourceChange_Response) GetPlannedPrivate() []byte { | ||
1811 | if m != nil { | ||
1812 | return m.PlannedPrivate | ||
1813 | } | ||
1814 | return nil | ||
1815 | } | ||
1816 | |||
1817 | func (m *PlanResourceChange_Response) GetDiagnostics() []*Diagnostic { | ||
1818 | if m != nil { | ||
1819 | return m.Diagnostics | ||
1820 | } | ||
1821 | return nil | ||
1822 | } | ||
1823 | |||
1824 | func (m *PlanResourceChange_Response) GetLegacyTypeSystem() bool { | ||
1825 | if m != nil { | ||
1826 | return m.LegacyTypeSystem | ||
1827 | } | ||
1828 | return false | ||
1829 | } | ||
1830 | |||
1831 | type ApplyResourceChange struct { | ||
1832 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1833 | XXX_unrecognized []byte `json:"-"` | ||
1834 | XXX_sizecache int32 `json:"-"` | ||
1835 | } | ||
1836 | |||
1837 | func (m *ApplyResourceChange) Reset() { *m = ApplyResourceChange{} } | ||
1838 | func (m *ApplyResourceChange) String() string { return proto.CompactTextString(m) } | ||
1839 | func (*ApplyResourceChange) ProtoMessage() {} | ||
1840 | func (*ApplyResourceChange) Descriptor() ([]byte, []int) { | ||
1841 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{14} | ||
1842 | } | ||
1843 | func (m *ApplyResourceChange) XXX_Unmarshal(b []byte) error { | ||
1844 | return xxx_messageInfo_ApplyResourceChange.Unmarshal(m, b) | ||
1845 | } | ||
1846 | func (m *ApplyResourceChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1847 | return xxx_messageInfo_ApplyResourceChange.Marshal(b, m, deterministic) | ||
1848 | } | ||
1849 | func (dst *ApplyResourceChange) XXX_Merge(src proto.Message) { | ||
1850 | xxx_messageInfo_ApplyResourceChange.Merge(dst, src) | ||
1851 | } | ||
1852 | func (m *ApplyResourceChange) XXX_Size() int { | ||
1853 | return xxx_messageInfo_ApplyResourceChange.Size(m) | ||
1854 | } | ||
1855 | func (m *ApplyResourceChange) XXX_DiscardUnknown() { | ||
1856 | xxx_messageInfo_ApplyResourceChange.DiscardUnknown(m) | ||
1857 | } | ||
1858 | |||
1859 | var xxx_messageInfo_ApplyResourceChange proto.InternalMessageInfo | ||
1860 | |||
1861 | type ApplyResourceChange_Request struct { | ||
1862 | TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` | ||
1863 | PriorState *DynamicValue `protobuf:"bytes,2,opt,name=prior_state,json=priorState,proto3" json:"prior_state,omitempty"` | ||
1864 | PlannedState *DynamicValue `protobuf:"bytes,3,opt,name=planned_state,json=plannedState,proto3" json:"planned_state,omitempty"` | ||
1865 | Config *DynamicValue `protobuf:"bytes,4,opt,name=config,proto3" json:"config,omitempty"` | ||
1866 | PlannedPrivate []byte `protobuf:"bytes,5,opt,name=planned_private,json=plannedPrivate,proto3" json:"planned_private,omitempty"` | ||
1867 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1868 | XXX_unrecognized []byte `json:"-"` | ||
1869 | XXX_sizecache int32 `json:"-"` | ||
1870 | } | ||
1871 | |||
1872 | func (m *ApplyResourceChange_Request) Reset() { *m = ApplyResourceChange_Request{} } | ||
1873 | func (m *ApplyResourceChange_Request) String() string { return proto.CompactTextString(m) } | ||
1874 | func (*ApplyResourceChange_Request) ProtoMessage() {} | ||
1875 | func (*ApplyResourceChange_Request) Descriptor() ([]byte, []int) { | ||
1876 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{14, 0} | ||
1877 | } | ||
1878 | func (m *ApplyResourceChange_Request) XXX_Unmarshal(b []byte) error { | ||
1879 | return xxx_messageInfo_ApplyResourceChange_Request.Unmarshal(m, b) | ||
1880 | } | ||
1881 | func (m *ApplyResourceChange_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1882 | return xxx_messageInfo_ApplyResourceChange_Request.Marshal(b, m, deterministic) | ||
1883 | } | ||
1884 | func (dst *ApplyResourceChange_Request) XXX_Merge(src proto.Message) { | ||
1885 | xxx_messageInfo_ApplyResourceChange_Request.Merge(dst, src) | ||
1886 | } | ||
1887 | func (m *ApplyResourceChange_Request) XXX_Size() int { | ||
1888 | return xxx_messageInfo_ApplyResourceChange_Request.Size(m) | ||
1889 | } | ||
1890 | func (m *ApplyResourceChange_Request) XXX_DiscardUnknown() { | ||
1891 | xxx_messageInfo_ApplyResourceChange_Request.DiscardUnknown(m) | ||
1892 | } | ||
1893 | |||
1894 | var xxx_messageInfo_ApplyResourceChange_Request proto.InternalMessageInfo | ||
1895 | |||
1896 | func (m *ApplyResourceChange_Request) GetTypeName() string { | ||
1897 | if m != nil { | ||
1898 | return m.TypeName | ||
1899 | } | ||
1900 | return "" | ||
1901 | } | ||
1902 | |||
1903 | func (m *ApplyResourceChange_Request) GetPriorState() *DynamicValue { | ||
1904 | if m != nil { | ||
1905 | return m.PriorState | ||
1906 | } | ||
1907 | return nil | ||
1908 | } | ||
1909 | |||
1910 | func (m *ApplyResourceChange_Request) GetPlannedState() *DynamicValue { | ||
1911 | if m != nil { | ||
1912 | return m.PlannedState | ||
1913 | } | ||
1914 | return nil | ||
1915 | } | ||
1916 | |||
1917 | func (m *ApplyResourceChange_Request) GetConfig() *DynamicValue { | ||
1918 | if m != nil { | ||
1919 | return m.Config | ||
1920 | } | ||
1921 | return nil | ||
1922 | } | ||
1923 | |||
1924 | func (m *ApplyResourceChange_Request) GetPlannedPrivate() []byte { | ||
1925 | if m != nil { | ||
1926 | return m.PlannedPrivate | ||
1927 | } | ||
1928 | return nil | ||
1929 | } | ||
1930 | |||
1931 | type ApplyResourceChange_Response struct { | ||
1932 | NewState *DynamicValue `protobuf:"bytes,1,opt,name=new_state,json=newState,proto3" json:"new_state,omitempty"` | ||
1933 | Private []byte `protobuf:"bytes,2,opt,name=private,proto3" json:"private,omitempty"` | ||
1934 | Diagnostics []*Diagnostic `protobuf:"bytes,3,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` | ||
1935 | // This may be set only by the helper/schema "SDK" in the main Terraform | ||
1936 | // repository, to request that Terraform Core >=0.12 permit additional | ||
1937 | // inconsistencies that can result from the legacy SDK type system | ||
1938 | // and its imprecise mapping to the >=0.12 type system. | ||
1939 | // The change in behavior implied by this flag makes sense only for the | ||
1940 | // specific details of the legacy SDK type system, and are not a general | ||
1941 | // mechanism to avoid proper type handling in providers. | ||
1942 | // | ||
1943 | // ==== DO NOT USE THIS ==== | ||
1944 | // ==== THIS MUST BE LEFT UNSET IN ALL OTHER SDKS ==== | ||
1945 | // ==== DO NOT USE THIS ==== | ||
1946 | LegacyTypeSystem bool `protobuf:"varint,4,opt,name=legacy_type_system,json=legacyTypeSystem,proto3" json:"legacy_type_system,omitempty"` | ||
1947 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
1948 | XXX_unrecognized []byte `json:"-"` | ||
1949 | XXX_sizecache int32 `json:"-"` | ||
1950 | } | ||
1951 | |||
1952 | func (m *ApplyResourceChange_Response) Reset() { *m = ApplyResourceChange_Response{} } | ||
1953 | func (m *ApplyResourceChange_Response) String() string { return proto.CompactTextString(m) } | ||
1954 | func (*ApplyResourceChange_Response) ProtoMessage() {} | ||
1955 | func (*ApplyResourceChange_Response) Descriptor() ([]byte, []int) { | ||
1956 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{14, 1} | ||
1957 | } | ||
1958 | func (m *ApplyResourceChange_Response) XXX_Unmarshal(b []byte) error { | ||
1959 | return xxx_messageInfo_ApplyResourceChange_Response.Unmarshal(m, b) | ||
1960 | } | ||
1961 | func (m *ApplyResourceChange_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
1962 | return xxx_messageInfo_ApplyResourceChange_Response.Marshal(b, m, deterministic) | ||
1963 | } | ||
1964 | func (dst *ApplyResourceChange_Response) XXX_Merge(src proto.Message) { | ||
1965 | xxx_messageInfo_ApplyResourceChange_Response.Merge(dst, src) | ||
1966 | } | ||
1967 | func (m *ApplyResourceChange_Response) XXX_Size() int { | ||
1968 | return xxx_messageInfo_ApplyResourceChange_Response.Size(m) | ||
1969 | } | ||
1970 | func (m *ApplyResourceChange_Response) XXX_DiscardUnknown() { | ||
1971 | xxx_messageInfo_ApplyResourceChange_Response.DiscardUnknown(m) | ||
1972 | } | ||
1973 | |||
1974 | var xxx_messageInfo_ApplyResourceChange_Response proto.InternalMessageInfo | ||
1975 | |||
1976 | func (m *ApplyResourceChange_Response) GetNewState() *DynamicValue { | ||
1977 | if m != nil { | ||
1978 | return m.NewState | ||
1979 | } | ||
1980 | return nil | ||
1981 | } | ||
1982 | |||
1983 | func (m *ApplyResourceChange_Response) GetPrivate() []byte { | ||
1984 | if m != nil { | ||
1985 | return m.Private | ||
1986 | } | ||
1987 | return nil | ||
1988 | } | ||
1989 | |||
1990 | func (m *ApplyResourceChange_Response) GetDiagnostics() []*Diagnostic { | ||
1991 | if m != nil { | ||
1992 | return m.Diagnostics | ||
1993 | } | ||
1994 | return nil | ||
1995 | } | ||
1996 | |||
1997 | func (m *ApplyResourceChange_Response) GetLegacyTypeSystem() bool { | ||
1998 | if m != nil { | ||
1999 | return m.LegacyTypeSystem | ||
2000 | } | ||
2001 | return false | ||
2002 | } | ||
2003 | |||
2004 | type ImportResourceState struct { | ||
2005 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
2006 | XXX_unrecognized []byte `json:"-"` | ||
2007 | XXX_sizecache int32 `json:"-"` | ||
2008 | } | ||
2009 | |||
2010 | func (m *ImportResourceState) Reset() { *m = ImportResourceState{} } | ||
2011 | func (m *ImportResourceState) String() string { return proto.CompactTextString(m) } | ||
2012 | func (*ImportResourceState) ProtoMessage() {} | ||
2013 | func (*ImportResourceState) Descriptor() ([]byte, []int) { | ||
2014 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{15} | ||
2015 | } | ||
2016 | func (m *ImportResourceState) XXX_Unmarshal(b []byte) error { | ||
2017 | return xxx_messageInfo_ImportResourceState.Unmarshal(m, b) | ||
2018 | } | ||
2019 | func (m *ImportResourceState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
2020 | return xxx_messageInfo_ImportResourceState.Marshal(b, m, deterministic) | ||
2021 | } | ||
2022 | func (dst *ImportResourceState) XXX_Merge(src proto.Message) { | ||
2023 | xxx_messageInfo_ImportResourceState.Merge(dst, src) | ||
2024 | } | ||
2025 | func (m *ImportResourceState) XXX_Size() int { | ||
2026 | return xxx_messageInfo_ImportResourceState.Size(m) | ||
2027 | } | ||
2028 | func (m *ImportResourceState) XXX_DiscardUnknown() { | ||
2029 | xxx_messageInfo_ImportResourceState.DiscardUnknown(m) | ||
2030 | } | ||
2031 | |||
2032 | var xxx_messageInfo_ImportResourceState proto.InternalMessageInfo | ||
2033 | |||
2034 | type ImportResourceState_Request struct { | ||
2035 | TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` | ||
2036 | Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` | ||
2037 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
2038 | XXX_unrecognized []byte `json:"-"` | ||
2039 | XXX_sizecache int32 `json:"-"` | ||
2040 | } | ||
2041 | |||
2042 | func (m *ImportResourceState_Request) Reset() { *m = ImportResourceState_Request{} } | ||
2043 | func (m *ImportResourceState_Request) String() string { return proto.CompactTextString(m) } | ||
2044 | func (*ImportResourceState_Request) ProtoMessage() {} | ||
2045 | func (*ImportResourceState_Request) Descriptor() ([]byte, []int) { | ||
2046 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{15, 0} | ||
2047 | } | ||
2048 | func (m *ImportResourceState_Request) XXX_Unmarshal(b []byte) error { | ||
2049 | return xxx_messageInfo_ImportResourceState_Request.Unmarshal(m, b) | ||
2050 | } | ||
2051 | func (m *ImportResourceState_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
2052 | return xxx_messageInfo_ImportResourceState_Request.Marshal(b, m, deterministic) | ||
2053 | } | ||
2054 | func (dst *ImportResourceState_Request) XXX_Merge(src proto.Message) { | ||
2055 | xxx_messageInfo_ImportResourceState_Request.Merge(dst, src) | ||
2056 | } | ||
2057 | func (m *ImportResourceState_Request) XXX_Size() int { | ||
2058 | return xxx_messageInfo_ImportResourceState_Request.Size(m) | ||
2059 | } | ||
2060 | func (m *ImportResourceState_Request) XXX_DiscardUnknown() { | ||
2061 | xxx_messageInfo_ImportResourceState_Request.DiscardUnknown(m) | ||
2062 | } | ||
2063 | |||
2064 | var xxx_messageInfo_ImportResourceState_Request proto.InternalMessageInfo | ||
2065 | |||
2066 | func (m *ImportResourceState_Request) GetTypeName() string { | ||
2067 | if m != nil { | ||
2068 | return m.TypeName | ||
2069 | } | ||
2070 | return "" | ||
2071 | } | ||
2072 | |||
2073 | func (m *ImportResourceState_Request) GetId() string { | ||
2074 | if m != nil { | ||
2075 | return m.Id | ||
2076 | } | ||
2077 | return "" | ||
2078 | } | ||
2079 | |||
2080 | type ImportResourceState_ImportedResource struct { | ||
2081 | TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` | ||
2082 | State *DynamicValue `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` | ||
2083 | Private []byte `protobuf:"bytes,3,opt,name=private,proto3" json:"private,omitempty"` | ||
2084 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
2085 | XXX_unrecognized []byte `json:"-"` | ||
2086 | XXX_sizecache int32 `json:"-"` | ||
2087 | } | ||
2088 | |||
2089 | func (m *ImportResourceState_ImportedResource) Reset() { *m = ImportResourceState_ImportedResource{} } | ||
2090 | func (m *ImportResourceState_ImportedResource) String() string { return proto.CompactTextString(m) } | ||
2091 | func (*ImportResourceState_ImportedResource) ProtoMessage() {} | ||
2092 | func (*ImportResourceState_ImportedResource) Descriptor() ([]byte, []int) { | ||
2093 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{15, 1} | ||
2094 | } | ||
2095 | func (m *ImportResourceState_ImportedResource) XXX_Unmarshal(b []byte) error { | ||
2096 | return xxx_messageInfo_ImportResourceState_ImportedResource.Unmarshal(m, b) | ||
2097 | } | ||
2098 | func (m *ImportResourceState_ImportedResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
2099 | return xxx_messageInfo_ImportResourceState_ImportedResource.Marshal(b, m, deterministic) | ||
2100 | } | ||
2101 | func (dst *ImportResourceState_ImportedResource) XXX_Merge(src proto.Message) { | ||
2102 | xxx_messageInfo_ImportResourceState_ImportedResource.Merge(dst, src) | ||
2103 | } | ||
2104 | func (m *ImportResourceState_ImportedResource) XXX_Size() int { | ||
2105 | return xxx_messageInfo_ImportResourceState_ImportedResource.Size(m) | ||
2106 | } | ||
2107 | func (m *ImportResourceState_ImportedResource) XXX_DiscardUnknown() { | ||
2108 | xxx_messageInfo_ImportResourceState_ImportedResource.DiscardUnknown(m) | ||
2109 | } | ||
2110 | |||
2111 | var xxx_messageInfo_ImportResourceState_ImportedResource proto.InternalMessageInfo | ||
2112 | |||
2113 | func (m *ImportResourceState_ImportedResource) GetTypeName() string { | ||
2114 | if m != nil { | ||
2115 | return m.TypeName | ||
2116 | } | ||
2117 | return "" | ||
2118 | } | ||
2119 | |||
2120 | func (m *ImportResourceState_ImportedResource) GetState() *DynamicValue { | ||
2121 | if m != nil { | ||
2122 | return m.State | ||
2123 | } | ||
2124 | return nil | ||
2125 | } | ||
2126 | |||
2127 | func (m *ImportResourceState_ImportedResource) GetPrivate() []byte { | ||
2128 | if m != nil { | ||
2129 | return m.Private | ||
2130 | } | ||
2131 | return nil | ||
2132 | } | ||
2133 | |||
2134 | type ImportResourceState_Response struct { | ||
2135 | ImportedResources []*ImportResourceState_ImportedResource `protobuf:"bytes,1,rep,name=imported_resources,json=importedResources,proto3" json:"imported_resources,omitempty"` | ||
2136 | Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` | ||
2137 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
2138 | XXX_unrecognized []byte `json:"-"` | ||
2139 | XXX_sizecache int32 `json:"-"` | ||
2140 | } | ||
2141 | |||
2142 | func (m *ImportResourceState_Response) Reset() { *m = ImportResourceState_Response{} } | ||
2143 | func (m *ImportResourceState_Response) String() string { return proto.CompactTextString(m) } | ||
2144 | func (*ImportResourceState_Response) ProtoMessage() {} | ||
2145 | func (*ImportResourceState_Response) Descriptor() ([]byte, []int) { | ||
2146 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{15, 2} | ||
2147 | } | ||
2148 | func (m *ImportResourceState_Response) XXX_Unmarshal(b []byte) error { | ||
2149 | return xxx_messageInfo_ImportResourceState_Response.Unmarshal(m, b) | ||
2150 | } | ||
2151 | func (m *ImportResourceState_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
2152 | return xxx_messageInfo_ImportResourceState_Response.Marshal(b, m, deterministic) | ||
2153 | } | ||
2154 | func (dst *ImportResourceState_Response) XXX_Merge(src proto.Message) { | ||
2155 | xxx_messageInfo_ImportResourceState_Response.Merge(dst, src) | ||
2156 | } | ||
2157 | func (m *ImportResourceState_Response) XXX_Size() int { | ||
2158 | return xxx_messageInfo_ImportResourceState_Response.Size(m) | ||
2159 | } | ||
2160 | func (m *ImportResourceState_Response) XXX_DiscardUnknown() { | ||
2161 | xxx_messageInfo_ImportResourceState_Response.DiscardUnknown(m) | ||
2162 | } | ||
2163 | |||
2164 | var xxx_messageInfo_ImportResourceState_Response proto.InternalMessageInfo | ||
2165 | |||
2166 | func (m *ImportResourceState_Response) GetImportedResources() []*ImportResourceState_ImportedResource { | ||
2167 | if m != nil { | ||
2168 | return m.ImportedResources | ||
2169 | } | ||
2170 | return nil | ||
2171 | } | ||
2172 | |||
2173 | func (m *ImportResourceState_Response) GetDiagnostics() []*Diagnostic { | ||
2174 | if m != nil { | ||
2175 | return m.Diagnostics | ||
2176 | } | ||
2177 | return nil | ||
2178 | } | ||
2179 | |||
2180 | type ReadDataSource struct { | ||
2181 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
2182 | XXX_unrecognized []byte `json:"-"` | ||
2183 | XXX_sizecache int32 `json:"-"` | ||
2184 | } | ||
2185 | |||
2186 | func (m *ReadDataSource) Reset() { *m = ReadDataSource{} } | ||
2187 | func (m *ReadDataSource) String() string { return proto.CompactTextString(m) } | ||
2188 | func (*ReadDataSource) ProtoMessage() {} | ||
2189 | func (*ReadDataSource) Descriptor() ([]byte, []int) { | ||
2190 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{16} | ||
2191 | } | ||
2192 | func (m *ReadDataSource) XXX_Unmarshal(b []byte) error { | ||
2193 | return xxx_messageInfo_ReadDataSource.Unmarshal(m, b) | ||
2194 | } | ||
2195 | func (m *ReadDataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
2196 | return xxx_messageInfo_ReadDataSource.Marshal(b, m, deterministic) | ||
2197 | } | ||
2198 | func (dst *ReadDataSource) XXX_Merge(src proto.Message) { | ||
2199 | xxx_messageInfo_ReadDataSource.Merge(dst, src) | ||
2200 | } | ||
2201 | func (m *ReadDataSource) XXX_Size() int { | ||
2202 | return xxx_messageInfo_ReadDataSource.Size(m) | ||
2203 | } | ||
2204 | func (m *ReadDataSource) XXX_DiscardUnknown() { | ||
2205 | xxx_messageInfo_ReadDataSource.DiscardUnknown(m) | ||
2206 | } | ||
2207 | |||
2208 | var xxx_messageInfo_ReadDataSource proto.InternalMessageInfo | ||
2209 | |||
2210 | type ReadDataSource_Request struct { | ||
2211 | TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` | ||
2212 | Config *DynamicValue `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` | ||
2213 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
2214 | XXX_unrecognized []byte `json:"-"` | ||
2215 | XXX_sizecache int32 `json:"-"` | ||
2216 | } | ||
2217 | |||
2218 | func (m *ReadDataSource_Request) Reset() { *m = ReadDataSource_Request{} } | ||
2219 | func (m *ReadDataSource_Request) String() string { return proto.CompactTextString(m) } | ||
2220 | func (*ReadDataSource_Request) ProtoMessage() {} | ||
2221 | func (*ReadDataSource_Request) Descriptor() ([]byte, []int) { | ||
2222 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{16, 0} | ||
2223 | } | ||
2224 | func (m *ReadDataSource_Request) XXX_Unmarshal(b []byte) error { | ||
2225 | return xxx_messageInfo_ReadDataSource_Request.Unmarshal(m, b) | ||
2226 | } | ||
2227 | func (m *ReadDataSource_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
2228 | return xxx_messageInfo_ReadDataSource_Request.Marshal(b, m, deterministic) | ||
2229 | } | ||
2230 | func (dst *ReadDataSource_Request) XXX_Merge(src proto.Message) { | ||
2231 | xxx_messageInfo_ReadDataSource_Request.Merge(dst, src) | ||
2232 | } | ||
2233 | func (m *ReadDataSource_Request) XXX_Size() int { | ||
2234 | return xxx_messageInfo_ReadDataSource_Request.Size(m) | ||
2235 | } | ||
2236 | func (m *ReadDataSource_Request) XXX_DiscardUnknown() { | ||
2237 | xxx_messageInfo_ReadDataSource_Request.DiscardUnknown(m) | ||
2238 | } | ||
2239 | |||
2240 | var xxx_messageInfo_ReadDataSource_Request proto.InternalMessageInfo | ||
2241 | |||
2242 | func (m *ReadDataSource_Request) GetTypeName() string { | ||
2243 | if m != nil { | ||
2244 | return m.TypeName | ||
2245 | } | ||
2246 | return "" | ||
2247 | } | ||
2248 | |||
2249 | func (m *ReadDataSource_Request) GetConfig() *DynamicValue { | ||
2250 | if m != nil { | ||
2251 | return m.Config | ||
2252 | } | ||
2253 | return nil | ||
2254 | } | ||
2255 | |||
2256 | type ReadDataSource_Response struct { | ||
2257 | State *DynamicValue `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` | ||
2258 | Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` | ||
2259 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
2260 | XXX_unrecognized []byte `json:"-"` | ||
2261 | XXX_sizecache int32 `json:"-"` | ||
2262 | } | ||
2263 | |||
2264 | func (m *ReadDataSource_Response) Reset() { *m = ReadDataSource_Response{} } | ||
2265 | func (m *ReadDataSource_Response) String() string { return proto.CompactTextString(m) } | ||
2266 | func (*ReadDataSource_Response) ProtoMessage() {} | ||
2267 | func (*ReadDataSource_Response) Descriptor() ([]byte, []int) { | ||
2268 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{16, 1} | ||
2269 | } | ||
2270 | func (m *ReadDataSource_Response) XXX_Unmarshal(b []byte) error { | ||
2271 | return xxx_messageInfo_ReadDataSource_Response.Unmarshal(m, b) | ||
2272 | } | ||
2273 | func (m *ReadDataSource_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
2274 | return xxx_messageInfo_ReadDataSource_Response.Marshal(b, m, deterministic) | ||
2275 | } | ||
2276 | func (dst *ReadDataSource_Response) XXX_Merge(src proto.Message) { | ||
2277 | xxx_messageInfo_ReadDataSource_Response.Merge(dst, src) | ||
2278 | } | ||
2279 | func (m *ReadDataSource_Response) XXX_Size() int { | ||
2280 | return xxx_messageInfo_ReadDataSource_Response.Size(m) | ||
2281 | } | ||
2282 | func (m *ReadDataSource_Response) XXX_DiscardUnknown() { | ||
2283 | xxx_messageInfo_ReadDataSource_Response.DiscardUnknown(m) | ||
2284 | } | ||
2285 | |||
2286 | var xxx_messageInfo_ReadDataSource_Response proto.InternalMessageInfo | ||
2287 | |||
2288 | func (m *ReadDataSource_Response) GetState() *DynamicValue { | ||
2289 | if m != nil { | ||
2290 | return m.State | ||
2291 | } | ||
2292 | return nil | ||
2293 | } | ||
2294 | |||
2295 | func (m *ReadDataSource_Response) GetDiagnostics() []*Diagnostic { | ||
2296 | if m != nil { | ||
2297 | return m.Diagnostics | ||
2298 | } | ||
2299 | return nil | ||
2300 | } | ||
2301 | |||
2302 | type GetProvisionerSchema struct { | ||
2303 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
2304 | XXX_unrecognized []byte `json:"-"` | ||
2305 | XXX_sizecache int32 `json:"-"` | ||
2306 | } | ||
2307 | |||
2308 | func (m *GetProvisionerSchema) Reset() { *m = GetProvisionerSchema{} } | ||
2309 | func (m *GetProvisionerSchema) String() string { return proto.CompactTextString(m) } | ||
2310 | func (*GetProvisionerSchema) ProtoMessage() {} | ||
2311 | func (*GetProvisionerSchema) Descriptor() ([]byte, []int) { | ||
2312 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{17} | ||
2313 | } | ||
2314 | func (m *GetProvisionerSchema) XXX_Unmarshal(b []byte) error { | ||
2315 | return xxx_messageInfo_GetProvisionerSchema.Unmarshal(m, b) | ||
2316 | } | ||
2317 | func (m *GetProvisionerSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
2318 | return xxx_messageInfo_GetProvisionerSchema.Marshal(b, m, deterministic) | ||
2319 | } | ||
2320 | func (dst *GetProvisionerSchema) XXX_Merge(src proto.Message) { | ||
2321 | xxx_messageInfo_GetProvisionerSchema.Merge(dst, src) | ||
2322 | } | ||
2323 | func (m *GetProvisionerSchema) XXX_Size() int { | ||
2324 | return xxx_messageInfo_GetProvisionerSchema.Size(m) | ||
2325 | } | ||
2326 | func (m *GetProvisionerSchema) XXX_DiscardUnknown() { | ||
2327 | xxx_messageInfo_GetProvisionerSchema.DiscardUnknown(m) | ||
2328 | } | ||
2329 | |||
2330 | var xxx_messageInfo_GetProvisionerSchema proto.InternalMessageInfo | ||
2331 | |||
2332 | type GetProvisionerSchema_Request struct { | ||
2333 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
2334 | XXX_unrecognized []byte `json:"-"` | ||
2335 | XXX_sizecache int32 `json:"-"` | ||
2336 | } | ||
2337 | |||
2338 | func (m *GetProvisionerSchema_Request) Reset() { *m = GetProvisionerSchema_Request{} } | ||
2339 | func (m *GetProvisionerSchema_Request) String() string { return proto.CompactTextString(m) } | ||
2340 | func (*GetProvisionerSchema_Request) ProtoMessage() {} | ||
2341 | func (*GetProvisionerSchema_Request) Descriptor() ([]byte, []int) { | ||
2342 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{17, 0} | ||
2343 | } | ||
2344 | func (m *GetProvisionerSchema_Request) XXX_Unmarshal(b []byte) error { | ||
2345 | return xxx_messageInfo_GetProvisionerSchema_Request.Unmarshal(m, b) | ||
2346 | } | ||
2347 | func (m *GetProvisionerSchema_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
2348 | return xxx_messageInfo_GetProvisionerSchema_Request.Marshal(b, m, deterministic) | ||
2349 | } | ||
2350 | func (dst *GetProvisionerSchema_Request) XXX_Merge(src proto.Message) { | ||
2351 | xxx_messageInfo_GetProvisionerSchema_Request.Merge(dst, src) | ||
2352 | } | ||
2353 | func (m *GetProvisionerSchema_Request) XXX_Size() int { | ||
2354 | return xxx_messageInfo_GetProvisionerSchema_Request.Size(m) | ||
2355 | } | ||
2356 | func (m *GetProvisionerSchema_Request) XXX_DiscardUnknown() { | ||
2357 | xxx_messageInfo_GetProvisionerSchema_Request.DiscardUnknown(m) | ||
2358 | } | ||
2359 | |||
2360 | var xxx_messageInfo_GetProvisionerSchema_Request proto.InternalMessageInfo | ||
2361 | |||
2362 | type GetProvisionerSchema_Response struct { | ||
2363 | Provisioner *Schema `protobuf:"bytes,1,opt,name=provisioner,proto3" json:"provisioner,omitempty"` | ||
2364 | Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` | ||
2365 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
2366 | XXX_unrecognized []byte `json:"-"` | ||
2367 | XXX_sizecache int32 `json:"-"` | ||
2368 | } | ||
2369 | |||
2370 | func (m *GetProvisionerSchema_Response) Reset() { *m = GetProvisionerSchema_Response{} } | ||
2371 | func (m *GetProvisionerSchema_Response) String() string { return proto.CompactTextString(m) } | ||
2372 | func (*GetProvisionerSchema_Response) ProtoMessage() {} | ||
2373 | func (*GetProvisionerSchema_Response) Descriptor() ([]byte, []int) { | ||
2374 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{17, 1} | ||
2375 | } | ||
2376 | func (m *GetProvisionerSchema_Response) XXX_Unmarshal(b []byte) error { | ||
2377 | return xxx_messageInfo_GetProvisionerSchema_Response.Unmarshal(m, b) | ||
2378 | } | ||
2379 | func (m *GetProvisionerSchema_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
2380 | return xxx_messageInfo_GetProvisionerSchema_Response.Marshal(b, m, deterministic) | ||
2381 | } | ||
2382 | func (dst *GetProvisionerSchema_Response) XXX_Merge(src proto.Message) { | ||
2383 | xxx_messageInfo_GetProvisionerSchema_Response.Merge(dst, src) | ||
2384 | } | ||
2385 | func (m *GetProvisionerSchema_Response) XXX_Size() int { | ||
2386 | return xxx_messageInfo_GetProvisionerSchema_Response.Size(m) | ||
2387 | } | ||
2388 | func (m *GetProvisionerSchema_Response) XXX_DiscardUnknown() { | ||
2389 | xxx_messageInfo_GetProvisionerSchema_Response.DiscardUnknown(m) | ||
2390 | } | ||
2391 | |||
2392 | var xxx_messageInfo_GetProvisionerSchema_Response proto.InternalMessageInfo | ||
2393 | |||
2394 | func (m *GetProvisionerSchema_Response) GetProvisioner() *Schema { | ||
2395 | if m != nil { | ||
2396 | return m.Provisioner | ||
2397 | } | ||
2398 | return nil | ||
2399 | } | ||
2400 | |||
2401 | func (m *GetProvisionerSchema_Response) GetDiagnostics() []*Diagnostic { | ||
2402 | if m != nil { | ||
2403 | return m.Diagnostics | ||
2404 | } | ||
2405 | return nil | ||
2406 | } | ||
2407 | |||
2408 | type ValidateProvisionerConfig struct { | ||
2409 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
2410 | XXX_unrecognized []byte `json:"-"` | ||
2411 | XXX_sizecache int32 `json:"-"` | ||
2412 | } | ||
2413 | |||
2414 | func (m *ValidateProvisionerConfig) Reset() { *m = ValidateProvisionerConfig{} } | ||
2415 | func (m *ValidateProvisionerConfig) String() string { return proto.CompactTextString(m) } | ||
2416 | func (*ValidateProvisionerConfig) ProtoMessage() {} | ||
2417 | func (*ValidateProvisionerConfig) Descriptor() ([]byte, []int) { | ||
2418 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{18} | ||
2419 | } | ||
2420 | func (m *ValidateProvisionerConfig) XXX_Unmarshal(b []byte) error { | ||
2421 | return xxx_messageInfo_ValidateProvisionerConfig.Unmarshal(m, b) | ||
2422 | } | ||
2423 | func (m *ValidateProvisionerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
2424 | return xxx_messageInfo_ValidateProvisionerConfig.Marshal(b, m, deterministic) | ||
2425 | } | ||
2426 | func (dst *ValidateProvisionerConfig) XXX_Merge(src proto.Message) { | ||
2427 | xxx_messageInfo_ValidateProvisionerConfig.Merge(dst, src) | ||
2428 | } | ||
2429 | func (m *ValidateProvisionerConfig) XXX_Size() int { | ||
2430 | return xxx_messageInfo_ValidateProvisionerConfig.Size(m) | ||
2431 | } | ||
2432 | func (m *ValidateProvisionerConfig) XXX_DiscardUnknown() { | ||
2433 | xxx_messageInfo_ValidateProvisionerConfig.DiscardUnknown(m) | ||
2434 | } | ||
2435 | |||
2436 | var xxx_messageInfo_ValidateProvisionerConfig proto.InternalMessageInfo | ||
2437 | |||
2438 | type ValidateProvisionerConfig_Request struct { | ||
2439 | Config *DynamicValue `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` | ||
2440 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
2441 | XXX_unrecognized []byte `json:"-"` | ||
2442 | XXX_sizecache int32 `json:"-"` | ||
2443 | } | ||
2444 | |||
2445 | func (m *ValidateProvisionerConfig_Request) Reset() { *m = ValidateProvisionerConfig_Request{} } | ||
2446 | func (m *ValidateProvisionerConfig_Request) String() string { return proto.CompactTextString(m) } | ||
2447 | func (*ValidateProvisionerConfig_Request) ProtoMessage() {} | ||
2448 | func (*ValidateProvisionerConfig_Request) Descriptor() ([]byte, []int) { | ||
2449 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{18, 0} | ||
2450 | } | ||
2451 | func (m *ValidateProvisionerConfig_Request) XXX_Unmarshal(b []byte) error { | ||
2452 | return xxx_messageInfo_ValidateProvisionerConfig_Request.Unmarshal(m, b) | ||
2453 | } | ||
2454 | func (m *ValidateProvisionerConfig_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
2455 | return xxx_messageInfo_ValidateProvisionerConfig_Request.Marshal(b, m, deterministic) | ||
2456 | } | ||
2457 | func (dst *ValidateProvisionerConfig_Request) XXX_Merge(src proto.Message) { | ||
2458 | xxx_messageInfo_ValidateProvisionerConfig_Request.Merge(dst, src) | ||
2459 | } | ||
2460 | func (m *ValidateProvisionerConfig_Request) XXX_Size() int { | ||
2461 | return xxx_messageInfo_ValidateProvisionerConfig_Request.Size(m) | ||
2462 | } | ||
2463 | func (m *ValidateProvisionerConfig_Request) XXX_DiscardUnknown() { | ||
2464 | xxx_messageInfo_ValidateProvisionerConfig_Request.DiscardUnknown(m) | ||
2465 | } | ||
2466 | |||
2467 | var xxx_messageInfo_ValidateProvisionerConfig_Request proto.InternalMessageInfo | ||
2468 | |||
2469 | func (m *ValidateProvisionerConfig_Request) GetConfig() *DynamicValue { | ||
2470 | if m != nil { | ||
2471 | return m.Config | ||
2472 | } | ||
2473 | return nil | ||
2474 | } | ||
2475 | |||
2476 | type ValidateProvisionerConfig_Response struct { | ||
2477 | Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` | ||
2478 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
2479 | XXX_unrecognized []byte `json:"-"` | ||
2480 | XXX_sizecache int32 `json:"-"` | ||
2481 | } | ||
2482 | |||
2483 | func (m *ValidateProvisionerConfig_Response) Reset() { *m = ValidateProvisionerConfig_Response{} } | ||
2484 | func (m *ValidateProvisionerConfig_Response) String() string { return proto.CompactTextString(m) } | ||
2485 | func (*ValidateProvisionerConfig_Response) ProtoMessage() {} | ||
2486 | func (*ValidateProvisionerConfig_Response) Descriptor() ([]byte, []int) { | ||
2487 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{18, 1} | ||
2488 | } | ||
2489 | func (m *ValidateProvisionerConfig_Response) XXX_Unmarshal(b []byte) error { | ||
2490 | return xxx_messageInfo_ValidateProvisionerConfig_Response.Unmarshal(m, b) | ||
2491 | } | ||
2492 | func (m *ValidateProvisionerConfig_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
2493 | return xxx_messageInfo_ValidateProvisionerConfig_Response.Marshal(b, m, deterministic) | ||
2494 | } | ||
2495 | func (dst *ValidateProvisionerConfig_Response) XXX_Merge(src proto.Message) { | ||
2496 | xxx_messageInfo_ValidateProvisionerConfig_Response.Merge(dst, src) | ||
2497 | } | ||
2498 | func (m *ValidateProvisionerConfig_Response) XXX_Size() int { | ||
2499 | return xxx_messageInfo_ValidateProvisionerConfig_Response.Size(m) | ||
2500 | } | ||
2501 | func (m *ValidateProvisionerConfig_Response) XXX_DiscardUnknown() { | ||
2502 | xxx_messageInfo_ValidateProvisionerConfig_Response.DiscardUnknown(m) | ||
2503 | } | ||
2504 | |||
2505 | var xxx_messageInfo_ValidateProvisionerConfig_Response proto.InternalMessageInfo | ||
2506 | |||
2507 | func (m *ValidateProvisionerConfig_Response) GetDiagnostics() []*Diagnostic { | ||
2508 | if m != nil { | ||
2509 | return m.Diagnostics | ||
2510 | } | ||
2511 | return nil | ||
2512 | } | ||
2513 | |||
2514 | type ProvisionResource struct { | ||
2515 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
2516 | XXX_unrecognized []byte `json:"-"` | ||
2517 | XXX_sizecache int32 `json:"-"` | ||
2518 | } | ||
2519 | |||
2520 | func (m *ProvisionResource) Reset() { *m = ProvisionResource{} } | ||
2521 | func (m *ProvisionResource) String() string { return proto.CompactTextString(m) } | ||
2522 | func (*ProvisionResource) ProtoMessage() {} | ||
2523 | func (*ProvisionResource) Descriptor() ([]byte, []int) { | ||
2524 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{19} | ||
2525 | } | ||
2526 | func (m *ProvisionResource) XXX_Unmarshal(b []byte) error { | ||
2527 | return xxx_messageInfo_ProvisionResource.Unmarshal(m, b) | ||
2528 | } | ||
2529 | func (m *ProvisionResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
2530 | return xxx_messageInfo_ProvisionResource.Marshal(b, m, deterministic) | ||
2531 | } | ||
2532 | func (dst *ProvisionResource) XXX_Merge(src proto.Message) { | ||
2533 | xxx_messageInfo_ProvisionResource.Merge(dst, src) | ||
2534 | } | ||
2535 | func (m *ProvisionResource) XXX_Size() int { | ||
2536 | return xxx_messageInfo_ProvisionResource.Size(m) | ||
2537 | } | ||
2538 | func (m *ProvisionResource) XXX_DiscardUnknown() { | ||
2539 | xxx_messageInfo_ProvisionResource.DiscardUnknown(m) | ||
2540 | } | ||
2541 | |||
2542 | var xxx_messageInfo_ProvisionResource proto.InternalMessageInfo | ||
2543 | |||
2544 | type ProvisionResource_Request struct { | ||
2545 | Config *DynamicValue `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` | ||
2546 | Connection *DynamicValue `protobuf:"bytes,2,opt,name=connection,proto3" json:"connection,omitempty"` | ||
2547 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
2548 | XXX_unrecognized []byte `json:"-"` | ||
2549 | XXX_sizecache int32 `json:"-"` | ||
2550 | } | ||
2551 | |||
2552 | func (m *ProvisionResource_Request) Reset() { *m = ProvisionResource_Request{} } | ||
2553 | func (m *ProvisionResource_Request) String() string { return proto.CompactTextString(m) } | ||
2554 | func (*ProvisionResource_Request) ProtoMessage() {} | ||
2555 | func (*ProvisionResource_Request) Descriptor() ([]byte, []int) { | ||
2556 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{19, 0} | ||
2557 | } | ||
2558 | func (m *ProvisionResource_Request) XXX_Unmarshal(b []byte) error { | ||
2559 | return xxx_messageInfo_ProvisionResource_Request.Unmarshal(m, b) | ||
2560 | } | ||
2561 | func (m *ProvisionResource_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
2562 | return xxx_messageInfo_ProvisionResource_Request.Marshal(b, m, deterministic) | ||
2563 | } | ||
2564 | func (dst *ProvisionResource_Request) XXX_Merge(src proto.Message) { | ||
2565 | xxx_messageInfo_ProvisionResource_Request.Merge(dst, src) | ||
2566 | } | ||
2567 | func (m *ProvisionResource_Request) XXX_Size() int { | ||
2568 | return xxx_messageInfo_ProvisionResource_Request.Size(m) | ||
2569 | } | ||
2570 | func (m *ProvisionResource_Request) XXX_DiscardUnknown() { | ||
2571 | xxx_messageInfo_ProvisionResource_Request.DiscardUnknown(m) | ||
2572 | } | ||
2573 | |||
2574 | var xxx_messageInfo_ProvisionResource_Request proto.InternalMessageInfo | ||
2575 | |||
2576 | func (m *ProvisionResource_Request) GetConfig() *DynamicValue { | ||
2577 | if m != nil { | ||
2578 | return m.Config | ||
2579 | } | ||
2580 | return nil | ||
2581 | } | ||
2582 | |||
2583 | func (m *ProvisionResource_Request) GetConnection() *DynamicValue { | ||
2584 | if m != nil { | ||
2585 | return m.Connection | ||
2586 | } | ||
2587 | return nil | ||
2588 | } | ||
2589 | |||
2590 | type ProvisionResource_Response struct { | ||
2591 | Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` | ||
2592 | Diagnostics []*Diagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"` | ||
2593 | XXX_NoUnkeyedLiteral struct{} `json:"-"` | ||
2594 | XXX_unrecognized []byte `json:"-"` | ||
2595 | XXX_sizecache int32 `json:"-"` | ||
2596 | } | ||
2597 | |||
2598 | func (m *ProvisionResource_Response) Reset() { *m = ProvisionResource_Response{} } | ||
2599 | func (m *ProvisionResource_Response) String() string { return proto.CompactTextString(m) } | ||
2600 | func (*ProvisionResource_Response) ProtoMessage() {} | ||
2601 | func (*ProvisionResource_Response) Descriptor() ([]byte, []int) { | ||
2602 | return fileDescriptor_tfplugin5_56820f4fb67360c5, []int{19, 1} | ||
2603 | } | ||
2604 | func (m *ProvisionResource_Response) XXX_Unmarshal(b []byte) error { | ||
2605 | return xxx_messageInfo_ProvisionResource_Response.Unmarshal(m, b) | ||
2606 | } | ||
2607 | func (m *ProvisionResource_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { | ||
2608 | return xxx_messageInfo_ProvisionResource_Response.Marshal(b, m, deterministic) | ||
2609 | } | ||
2610 | func (dst *ProvisionResource_Response) XXX_Merge(src proto.Message) { | ||
2611 | xxx_messageInfo_ProvisionResource_Response.Merge(dst, src) | ||
2612 | } | ||
2613 | func (m *ProvisionResource_Response) XXX_Size() int { | ||
2614 | return xxx_messageInfo_ProvisionResource_Response.Size(m) | ||
2615 | } | ||
2616 | func (m *ProvisionResource_Response) XXX_DiscardUnknown() { | ||
2617 | xxx_messageInfo_ProvisionResource_Response.DiscardUnknown(m) | ||
2618 | } | ||
2619 | |||
2620 | var xxx_messageInfo_ProvisionResource_Response proto.InternalMessageInfo | ||
2621 | |||
2622 | func (m *ProvisionResource_Response) GetOutput() string { | ||
2623 | if m != nil { | ||
2624 | return m.Output | ||
2625 | } | ||
2626 | return "" | ||
2627 | } | ||
2628 | |||
2629 | func (m *ProvisionResource_Response) GetDiagnostics() []*Diagnostic { | ||
2630 | if m != nil { | ||
2631 | return m.Diagnostics | ||
2632 | } | ||
2633 | return nil | ||
2634 | } | ||
2635 | |||
2636 | func init() { | ||
2637 | proto.RegisterType((*DynamicValue)(nil), "tfplugin5.DynamicValue") | ||
2638 | proto.RegisterType((*Diagnostic)(nil), "tfplugin5.Diagnostic") | ||
2639 | proto.RegisterType((*AttributePath)(nil), "tfplugin5.AttributePath") | ||
2640 | proto.RegisterType((*AttributePath_Step)(nil), "tfplugin5.AttributePath.Step") | ||
2641 | proto.RegisterType((*Stop)(nil), "tfplugin5.Stop") | ||
2642 | proto.RegisterType((*Stop_Request)(nil), "tfplugin5.Stop.Request") | ||
2643 | proto.RegisterType((*Stop_Response)(nil), "tfplugin5.Stop.Response") | ||
2644 | proto.RegisterType((*RawState)(nil), "tfplugin5.RawState") | ||
2645 | proto.RegisterMapType((map[string]string)(nil), "tfplugin5.RawState.FlatmapEntry") | ||
2646 | proto.RegisterType((*Schema)(nil), "tfplugin5.Schema") | ||
2647 | proto.RegisterType((*Schema_Block)(nil), "tfplugin5.Schema.Block") | ||
2648 | proto.RegisterType((*Schema_Attribute)(nil), "tfplugin5.Schema.Attribute") | ||
2649 | proto.RegisterType((*Schema_NestedBlock)(nil), "tfplugin5.Schema.NestedBlock") | ||
2650 | proto.RegisterType((*GetProviderSchema)(nil), "tfplugin5.GetProviderSchema") | ||
2651 | proto.RegisterType((*GetProviderSchema_Request)(nil), "tfplugin5.GetProviderSchema.Request") | ||
2652 | proto.RegisterType((*GetProviderSchema_Response)(nil), "tfplugin5.GetProviderSchema.Response") | ||
2653 | proto.RegisterMapType((map[string]*Schema)(nil), "tfplugin5.GetProviderSchema.Response.DataSourceSchemasEntry") | ||
2654 | proto.RegisterMapType((map[string]*Schema)(nil), "tfplugin5.GetProviderSchema.Response.ResourceSchemasEntry") | ||
2655 | proto.RegisterType((*PrepareProviderConfig)(nil), "tfplugin5.PrepareProviderConfig") | ||
2656 | proto.RegisterType((*PrepareProviderConfig_Request)(nil), "tfplugin5.PrepareProviderConfig.Request") | ||
2657 | proto.RegisterType((*PrepareProviderConfig_Response)(nil), "tfplugin5.PrepareProviderConfig.Response") | ||
2658 | proto.RegisterType((*UpgradeResourceState)(nil), "tfplugin5.UpgradeResourceState") | ||
2659 | proto.RegisterType((*UpgradeResourceState_Request)(nil), "tfplugin5.UpgradeResourceState.Request") | ||
2660 | proto.RegisterType((*UpgradeResourceState_Response)(nil), "tfplugin5.UpgradeResourceState.Response") | ||
2661 | proto.RegisterType((*ValidateResourceTypeConfig)(nil), "tfplugin5.ValidateResourceTypeConfig") | ||
2662 | proto.RegisterType((*ValidateResourceTypeConfig_Request)(nil), "tfplugin5.ValidateResourceTypeConfig.Request") | ||
2663 | proto.RegisterType((*ValidateResourceTypeConfig_Response)(nil), "tfplugin5.ValidateResourceTypeConfig.Response") | ||
2664 | proto.RegisterType((*ValidateDataSourceConfig)(nil), "tfplugin5.ValidateDataSourceConfig") | ||
2665 | proto.RegisterType((*ValidateDataSourceConfig_Request)(nil), "tfplugin5.ValidateDataSourceConfig.Request") | ||
2666 | proto.RegisterType((*ValidateDataSourceConfig_Response)(nil), "tfplugin5.ValidateDataSourceConfig.Response") | ||
2667 | proto.RegisterType((*Configure)(nil), "tfplugin5.Configure") | ||
2668 | proto.RegisterType((*Configure_Request)(nil), "tfplugin5.Configure.Request") | ||
2669 | proto.RegisterType((*Configure_Response)(nil), "tfplugin5.Configure.Response") | ||
2670 | proto.RegisterType((*ReadResource)(nil), "tfplugin5.ReadResource") | ||
2671 | proto.RegisterType((*ReadResource_Request)(nil), "tfplugin5.ReadResource.Request") | ||
2672 | proto.RegisterType((*ReadResource_Response)(nil), "tfplugin5.ReadResource.Response") | ||
2673 | proto.RegisterType((*PlanResourceChange)(nil), "tfplugin5.PlanResourceChange") | ||
2674 | proto.RegisterType((*PlanResourceChange_Request)(nil), "tfplugin5.PlanResourceChange.Request") | ||
2675 | proto.RegisterType((*PlanResourceChange_Response)(nil), "tfplugin5.PlanResourceChange.Response") | ||
2676 | proto.RegisterType((*ApplyResourceChange)(nil), "tfplugin5.ApplyResourceChange") | ||
2677 | proto.RegisterType((*ApplyResourceChange_Request)(nil), "tfplugin5.ApplyResourceChange.Request") | ||
2678 | proto.RegisterType((*ApplyResourceChange_Response)(nil), "tfplugin5.ApplyResourceChange.Response") | ||
2679 | proto.RegisterType((*ImportResourceState)(nil), "tfplugin5.ImportResourceState") | ||
2680 | proto.RegisterType((*ImportResourceState_Request)(nil), "tfplugin5.ImportResourceState.Request") | ||
2681 | proto.RegisterType((*ImportResourceState_ImportedResource)(nil), "tfplugin5.ImportResourceState.ImportedResource") | ||
2682 | proto.RegisterType((*ImportResourceState_Response)(nil), "tfplugin5.ImportResourceState.Response") | ||
2683 | proto.RegisterType((*ReadDataSource)(nil), "tfplugin5.ReadDataSource") | ||
2684 | proto.RegisterType((*ReadDataSource_Request)(nil), "tfplugin5.ReadDataSource.Request") | ||
2685 | proto.RegisterType((*ReadDataSource_Response)(nil), "tfplugin5.ReadDataSource.Response") | ||
2686 | proto.RegisterType((*GetProvisionerSchema)(nil), "tfplugin5.GetProvisionerSchema") | ||
2687 | proto.RegisterType((*GetProvisionerSchema_Request)(nil), "tfplugin5.GetProvisionerSchema.Request") | ||
2688 | proto.RegisterType((*GetProvisionerSchema_Response)(nil), "tfplugin5.GetProvisionerSchema.Response") | ||
2689 | proto.RegisterType((*ValidateProvisionerConfig)(nil), "tfplugin5.ValidateProvisionerConfig") | ||
2690 | proto.RegisterType((*ValidateProvisionerConfig_Request)(nil), "tfplugin5.ValidateProvisionerConfig.Request") | ||
2691 | proto.RegisterType((*ValidateProvisionerConfig_Response)(nil), "tfplugin5.ValidateProvisionerConfig.Response") | ||
2692 | proto.RegisterType((*ProvisionResource)(nil), "tfplugin5.ProvisionResource") | ||
2693 | proto.RegisterType((*ProvisionResource_Request)(nil), "tfplugin5.ProvisionResource.Request") | ||
2694 | proto.RegisterType((*ProvisionResource_Response)(nil), "tfplugin5.ProvisionResource.Response") | ||
2695 | proto.RegisterEnum("tfplugin5.Diagnostic_Severity", Diagnostic_Severity_name, Diagnostic_Severity_value) | ||
2696 | proto.RegisterEnum("tfplugin5.Schema_NestedBlock_NestingMode", Schema_NestedBlock_NestingMode_name, Schema_NestedBlock_NestingMode_value) | ||
2697 | } | ||
2698 | |||
2699 | // Reference imports to suppress errors if they are not otherwise used. | ||
2700 | var _ context.Context | ||
2701 | var _ grpc.ClientConn | ||
2702 | |||
2703 | // This is a compile-time assertion to ensure that this generated file | ||
2704 | // is compatible with the grpc package it is being compiled against. | ||
2705 | const _ = grpc.SupportPackageIsVersion4 | ||
2706 | |||
2707 | // ProviderClient is the client API for Provider service. | ||
2708 | // | ||
2709 | // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. | ||
2710 | type ProviderClient interface { | ||
2711 | // ////// Information about what a provider supports/expects | ||
2712 | GetSchema(ctx context.Context, in *GetProviderSchema_Request, opts ...grpc.CallOption) (*GetProviderSchema_Response, error) | ||
2713 | PrepareProviderConfig(ctx context.Context, in *PrepareProviderConfig_Request, opts ...grpc.CallOption) (*PrepareProviderConfig_Response, error) | ||
2714 | ValidateResourceTypeConfig(ctx context.Context, in *ValidateResourceTypeConfig_Request, opts ...grpc.CallOption) (*ValidateResourceTypeConfig_Response, error) | ||
2715 | ValidateDataSourceConfig(ctx context.Context, in *ValidateDataSourceConfig_Request, opts ...grpc.CallOption) (*ValidateDataSourceConfig_Response, error) | ||
2716 | UpgradeResourceState(ctx context.Context, in *UpgradeResourceState_Request, opts ...grpc.CallOption) (*UpgradeResourceState_Response, error) | ||
2717 | // ////// One-time initialization, called before other functions below | ||
2718 | Configure(ctx context.Context, in *Configure_Request, opts ...grpc.CallOption) (*Configure_Response, error) | ||
2719 | // ////// Managed Resource Lifecycle | ||
2720 | ReadResource(ctx context.Context, in *ReadResource_Request, opts ...grpc.CallOption) (*ReadResource_Response, error) | ||
2721 | PlanResourceChange(ctx context.Context, in *PlanResourceChange_Request, opts ...grpc.CallOption) (*PlanResourceChange_Response, error) | ||
2722 | ApplyResourceChange(ctx context.Context, in *ApplyResourceChange_Request, opts ...grpc.CallOption) (*ApplyResourceChange_Response, error) | ||
2723 | ImportResourceState(ctx context.Context, in *ImportResourceState_Request, opts ...grpc.CallOption) (*ImportResourceState_Response, error) | ||
2724 | ReadDataSource(ctx context.Context, in *ReadDataSource_Request, opts ...grpc.CallOption) (*ReadDataSource_Response, error) | ||
2725 | // ////// Graceful Shutdown | ||
2726 | Stop(ctx context.Context, in *Stop_Request, opts ...grpc.CallOption) (*Stop_Response, error) | ||
2727 | } | ||
2728 | |||
2729 | type providerClient struct { | ||
2730 | cc *grpc.ClientConn | ||
2731 | } | ||
2732 | |||
2733 | func NewProviderClient(cc *grpc.ClientConn) ProviderClient { | ||
2734 | return &providerClient{cc} | ||
2735 | } | ||
2736 | |||
2737 | func (c *providerClient) GetSchema(ctx context.Context, in *GetProviderSchema_Request, opts ...grpc.CallOption) (*GetProviderSchema_Response, error) { | ||
2738 | out := new(GetProviderSchema_Response) | ||
2739 | err := c.cc.Invoke(ctx, "/tfplugin5.Provider/GetSchema", in, out, opts...) | ||
2740 | if err != nil { | ||
2741 | return nil, err | ||
2742 | } | ||
2743 | return out, nil | ||
2744 | } | ||
2745 | |||
2746 | func (c *providerClient) PrepareProviderConfig(ctx context.Context, in *PrepareProviderConfig_Request, opts ...grpc.CallOption) (*PrepareProviderConfig_Response, error) { | ||
2747 | out := new(PrepareProviderConfig_Response) | ||
2748 | err := c.cc.Invoke(ctx, "/tfplugin5.Provider/PrepareProviderConfig", in, out, opts...) | ||
2749 | if err != nil { | ||
2750 | return nil, err | ||
2751 | } | ||
2752 | return out, nil | ||
2753 | } | ||
2754 | |||
2755 | func (c *providerClient) ValidateResourceTypeConfig(ctx context.Context, in *ValidateResourceTypeConfig_Request, opts ...grpc.CallOption) (*ValidateResourceTypeConfig_Response, error) { | ||
2756 | out := new(ValidateResourceTypeConfig_Response) | ||
2757 | err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ValidateResourceTypeConfig", in, out, opts...) | ||
2758 | if err != nil { | ||
2759 | return nil, err | ||
2760 | } | ||
2761 | return out, nil | ||
2762 | } | ||
2763 | |||
2764 | func (c *providerClient) ValidateDataSourceConfig(ctx context.Context, in *ValidateDataSourceConfig_Request, opts ...grpc.CallOption) (*ValidateDataSourceConfig_Response, error) { | ||
2765 | out := new(ValidateDataSourceConfig_Response) | ||
2766 | err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ValidateDataSourceConfig", in, out, opts...) | ||
2767 | if err != nil { | ||
2768 | return nil, err | ||
2769 | } | ||
2770 | return out, nil | ||
2771 | } | ||
2772 | |||
2773 | func (c *providerClient) UpgradeResourceState(ctx context.Context, in *UpgradeResourceState_Request, opts ...grpc.CallOption) (*UpgradeResourceState_Response, error) { | ||
2774 | out := new(UpgradeResourceState_Response) | ||
2775 | err := c.cc.Invoke(ctx, "/tfplugin5.Provider/UpgradeResourceState", in, out, opts...) | ||
2776 | if err != nil { | ||
2777 | return nil, err | ||
2778 | } | ||
2779 | return out, nil | ||
2780 | } | ||
2781 | |||
2782 | func (c *providerClient) Configure(ctx context.Context, in *Configure_Request, opts ...grpc.CallOption) (*Configure_Response, error) { | ||
2783 | out := new(Configure_Response) | ||
2784 | err := c.cc.Invoke(ctx, "/tfplugin5.Provider/Configure", in, out, opts...) | ||
2785 | if err != nil { | ||
2786 | return nil, err | ||
2787 | } | ||
2788 | return out, nil | ||
2789 | } | ||
2790 | |||
2791 | func (c *providerClient) ReadResource(ctx context.Context, in *ReadResource_Request, opts ...grpc.CallOption) (*ReadResource_Response, error) { | ||
2792 | out := new(ReadResource_Response) | ||
2793 | err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ReadResource", in, out, opts...) | ||
2794 | if err != nil { | ||
2795 | return nil, err | ||
2796 | } | ||
2797 | return out, nil | ||
2798 | } | ||
2799 | |||
2800 | func (c *providerClient) PlanResourceChange(ctx context.Context, in *PlanResourceChange_Request, opts ...grpc.CallOption) (*PlanResourceChange_Response, error) { | ||
2801 | out := new(PlanResourceChange_Response) | ||
2802 | err := c.cc.Invoke(ctx, "/tfplugin5.Provider/PlanResourceChange", in, out, opts...) | ||
2803 | if err != nil { | ||
2804 | return nil, err | ||
2805 | } | ||
2806 | return out, nil | ||
2807 | } | ||
2808 | |||
2809 | func (c *providerClient) ApplyResourceChange(ctx context.Context, in *ApplyResourceChange_Request, opts ...grpc.CallOption) (*ApplyResourceChange_Response, error) { | ||
2810 | out := new(ApplyResourceChange_Response) | ||
2811 | err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ApplyResourceChange", in, out, opts...) | ||
2812 | if err != nil { | ||
2813 | return nil, err | ||
2814 | } | ||
2815 | return out, nil | ||
2816 | } | ||
2817 | |||
2818 | func (c *providerClient) ImportResourceState(ctx context.Context, in *ImportResourceState_Request, opts ...grpc.CallOption) (*ImportResourceState_Response, error) { | ||
2819 | out := new(ImportResourceState_Response) | ||
2820 | err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ImportResourceState", in, out, opts...) | ||
2821 | if err != nil { | ||
2822 | return nil, err | ||
2823 | } | ||
2824 | return out, nil | ||
2825 | } | ||
2826 | |||
2827 | func (c *providerClient) ReadDataSource(ctx context.Context, in *ReadDataSource_Request, opts ...grpc.CallOption) (*ReadDataSource_Response, error) { | ||
2828 | out := new(ReadDataSource_Response) | ||
2829 | err := c.cc.Invoke(ctx, "/tfplugin5.Provider/ReadDataSource", in, out, opts...) | ||
2830 | if err != nil { | ||
2831 | return nil, err | ||
2832 | } | ||
2833 | return out, nil | ||
2834 | } | ||
2835 | |||
2836 | func (c *providerClient) Stop(ctx context.Context, in *Stop_Request, opts ...grpc.CallOption) (*Stop_Response, error) { | ||
2837 | out := new(Stop_Response) | ||
2838 | err := c.cc.Invoke(ctx, "/tfplugin5.Provider/Stop", in, out, opts...) | ||
2839 | if err != nil { | ||
2840 | return nil, err | ||
2841 | } | ||
2842 | return out, nil | ||
2843 | } | ||
2844 | |||
2845 | // ProviderServer is the server API for Provider service. | ||
2846 | type ProviderServer interface { | ||
2847 | // ////// Information about what a provider supports/expects | ||
2848 | GetSchema(context.Context, *GetProviderSchema_Request) (*GetProviderSchema_Response, error) | ||
2849 | PrepareProviderConfig(context.Context, *PrepareProviderConfig_Request) (*PrepareProviderConfig_Response, error) | ||
2850 | ValidateResourceTypeConfig(context.Context, *ValidateResourceTypeConfig_Request) (*ValidateResourceTypeConfig_Response, error) | ||
2851 | ValidateDataSourceConfig(context.Context, *ValidateDataSourceConfig_Request) (*ValidateDataSourceConfig_Response, error) | ||
2852 | UpgradeResourceState(context.Context, *UpgradeResourceState_Request) (*UpgradeResourceState_Response, error) | ||
2853 | // ////// One-time initialization, called before other functions below | ||
2854 | Configure(context.Context, *Configure_Request) (*Configure_Response, error) | ||
2855 | // ////// Managed Resource Lifecycle | ||
2856 | ReadResource(context.Context, *ReadResource_Request) (*ReadResource_Response, error) | ||
2857 | PlanResourceChange(context.Context, *PlanResourceChange_Request) (*PlanResourceChange_Response, error) | ||
2858 | ApplyResourceChange(context.Context, *ApplyResourceChange_Request) (*ApplyResourceChange_Response, error) | ||
2859 | ImportResourceState(context.Context, *ImportResourceState_Request) (*ImportResourceState_Response, error) | ||
2860 | ReadDataSource(context.Context, *ReadDataSource_Request) (*ReadDataSource_Response, error) | ||
2861 | // ////// Graceful Shutdown | ||
2862 | Stop(context.Context, *Stop_Request) (*Stop_Response, error) | ||
2863 | } | ||
2864 | |||
2865 | func RegisterProviderServer(s *grpc.Server, srv ProviderServer) { | ||
2866 | s.RegisterService(&_Provider_serviceDesc, srv) | ||
2867 | } | ||
2868 | |||
2869 | func _Provider_GetSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||
2870 | in := new(GetProviderSchema_Request) | ||
2871 | if err := dec(in); err != nil { | ||
2872 | return nil, err | ||
2873 | } | ||
2874 | if interceptor == nil { | ||
2875 | return srv.(ProviderServer).GetSchema(ctx, in) | ||
2876 | } | ||
2877 | info := &grpc.UnaryServerInfo{ | ||
2878 | Server: srv, | ||
2879 | FullMethod: "/tfplugin5.Provider/GetSchema", | ||
2880 | } | ||
2881 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||
2882 | return srv.(ProviderServer).GetSchema(ctx, req.(*GetProviderSchema_Request)) | ||
2883 | } | ||
2884 | return interceptor(ctx, in, info, handler) | ||
2885 | } | ||
2886 | |||
2887 | func _Provider_PrepareProviderConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||
2888 | in := new(PrepareProviderConfig_Request) | ||
2889 | if err := dec(in); err != nil { | ||
2890 | return nil, err | ||
2891 | } | ||
2892 | if interceptor == nil { | ||
2893 | return srv.(ProviderServer).PrepareProviderConfig(ctx, in) | ||
2894 | } | ||
2895 | info := &grpc.UnaryServerInfo{ | ||
2896 | Server: srv, | ||
2897 | FullMethod: "/tfplugin5.Provider/PrepareProviderConfig", | ||
2898 | } | ||
2899 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||
2900 | return srv.(ProviderServer).PrepareProviderConfig(ctx, req.(*PrepareProviderConfig_Request)) | ||
2901 | } | ||
2902 | return interceptor(ctx, in, info, handler) | ||
2903 | } | ||
2904 | |||
2905 | func _Provider_ValidateResourceTypeConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||
2906 | in := new(ValidateResourceTypeConfig_Request) | ||
2907 | if err := dec(in); err != nil { | ||
2908 | return nil, err | ||
2909 | } | ||
2910 | if interceptor == nil { | ||
2911 | return srv.(ProviderServer).ValidateResourceTypeConfig(ctx, in) | ||
2912 | } | ||
2913 | info := &grpc.UnaryServerInfo{ | ||
2914 | Server: srv, | ||
2915 | FullMethod: "/tfplugin5.Provider/ValidateResourceTypeConfig", | ||
2916 | } | ||
2917 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||
2918 | return srv.(ProviderServer).ValidateResourceTypeConfig(ctx, req.(*ValidateResourceTypeConfig_Request)) | ||
2919 | } | ||
2920 | return interceptor(ctx, in, info, handler) | ||
2921 | } | ||
2922 | |||
2923 | func _Provider_ValidateDataSourceConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||
2924 | in := new(ValidateDataSourceConfig_Request) | ||
2925 | if err := dec(in); err != nil { | ||
2926 | return nil, err | ||
2927 | } | ||
2928 | if interceptor == nil { | ||
2929 | return srv.(ProviderServer).ValidateDataSourceConfig(ctx, in) | ||
2930 | } | ||
2931 | info := &grpc.UnaryServerInfo{ | ||
2932 | Server: srv, | ||
2933 | FullMethod: "/tfplugin5.Provider/ValidateDataSourceConfig", | ||
2934 | } | ||
2935 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||
2936 | return srv.(ProviderServer).ValidateDataSourceConfig(ctx, req.(*ValidateDataSourceConfig_Request)) | ||
2937 | } | ||
2938 | return interceptor(ctx, in, info, handler) | ||
2939 | } | ||
2940 | |||
2941 | func _Provider_UpgradeResourceState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||
2942 | in := new(UpgradeResourceState_Request) | ||
2943 | if err := dec(in); err != nil { | ||
2944 | return nil, err | ||
2945 | } | ||
2946 | if interceptor == nil { | ||
2947 | return srv.(ProviderServer).UpgradeResourceState(ctx, in) | ||
2948 | } | ||
2949 | info := &grpc.UnaryServerInfo{ | ||
2950 | Server: srv, | ||
2951 | FullMethod: "/tfplugin5.Provider/UpgradeResourceState", | ||
2952 | } | ||
2953 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||
2954 | return srv.(ProviderServer).UpgradeResourceState(ctx, req.(*UpgradeResourceState_Request)) | ||
2955 | } | ||
2956 | return interceptor(ctx, in, info, handler) | ||
2957 | } | ||
2958 | |||
2959 | func _Provider_Configure_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||
2960 | in := new(Configure_Request) | ||
2961 | if err := dec(in); err != nil { | ||
2962 | return nil, err | ||
2963 | } | ||
2964 | if interceptor == nil { | ||
2965 | return srv.(ProviderServer).Configure(ctx, in) | ||
2966 | } | ||
2967 | info := &grpc.UnaryServerInfo{ | ||
2968 | Server: srv, | ||
2969 | FullMethod: "/tfplugin5.Provider/Configure", | ||
2970 | } | ||
2971 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||
2972 | return srv.(ProviderServer).Configure(ctx, req.(*Configure_Request)) | ||
2973 | } | ||
2974 | return interceptor(ctx, in, info, handler) | ||
2975 | } | ||
2976 | |||
2977 | func _Provider_ReadResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||
2978 | in := new(ReadResource_Request) | ||
2979 | if err := dec(in); err != nil { | ||
2980 | return nil, err | ||
2981 | } | ||
2982 | if interceptor == nil { | ||
2983 | return srv.(ProviderServer).ReadResource(ctx, in) | ||
2984 | } | ||
2985 | info := &grpc.UnaryServerInfo{ | ||
2986 | Server: srv, | ||
2987 | FullMethod: "/tfplugin5.Provider/ReadResource", | ||
2988 | } | ||
2989 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||
2990 | return srv.(ProviderServer).ReadResource(ctx, req.(*ReadResource_Request)) | ||
2991 | } | ||
2992 | return interceptor(ctx, in, info, handler) | ||
2993 | } | ||
2994 | |||
2995 | func _Provider_PlanResourceChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||
2996 | in := new(PlanResourceChange_Request) | ||
2997 | if err := dec(in); err != nil { | ||
2998 | return nil, err | ||
2999 | } | ||
3000 | if interceptor == nil { | ||
3001 | return srv.(ProviderServer).PlanResourceChange(ctx, in) | ||
3002 | } | ||
3003 | info := &grpc.UnaryServerInfo{ | ||
3004 | Server: srv, | ||
3005 | FullMethod: "/tfplugin5.Provider/PlanResourceChange", | ||
3006 | } | ||
3007 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||
3008 | return srv.(ProviderServer).PlanResourceChange(ctx, req.(*PlanResourceChange_Request)) | ||
3009 | } | ||
3010 | return interceptor(ctx, in, info, handler) | ||
3011 | } | ||
3012 | |||
3013 | func _Provider_ApplyResourceChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||
3014 | in := new(ApplyResourceChange_Request) | ||
3015 | if err := dec(in); err != nil { | ||
3016 | return nil, err | ||
3017 | } | ||
3018 | if interceptor == nil { | ||
3019 | return srv.(ProviderServer).ApplyResourceChange(ctx, in) | ||
3020 | } | ||
3021 | info := &grpc.UnaryServerInfo{ | ||
3022 | Server: srv, | ||
3023 | FullMethod: "/tfplugin5.Provider/ApplyResourceChange", | ||
3024 | } | ||
3025 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||
3026 | return srv.(ProviderServer).ApplyResourceChange(ctx, req.(*ApplyResourceChange_Request)) | ||
3027 | } | ||
3028 | return interceptor(ctx, in, info, handler) | ||
3029 | } | ||
3030 | |||
3031 | func _Provider_ImportResourceState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||
3032 | in := new(ImportResourceState_Request) | ||
3033 | if err := dec(in); err != nil { | ||
3034 | return nil, err | ||
3035 | } | ||
3036 | if interceptor == nil { | ||
3037 | return srv.(ProviderServer).ImportResourceState(ctx, in) | ||
3038 | } | ||
3039 | info := &grpc.UnaryServerInfo{ | ||
3040 | Server: srv, | ||
3041 | FullMethod: "/tfplugin5.Provider/ImportResourceState", | ||
3042 | } | ||
3043 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||
3044 | return srv.(ProviderServer).ImportResourceState(ctx, req.(*ImportResourceState_Request)) | ||
3045 | } | ||
3046 | return interceptor(ctx, in, info, handler) | ||
3047 | } | ||
3048 | |||
3049 | func _Provider_ReadDataSource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||
3050 | in := new(ReadDataSource_Request) | ||
3051 | if err := dec(in); err != nil { | ||
3052 | return nil, err | ||
3053 | } | ||
3054 | if interceptor == nil { | ||
3055 | return srv.(ProviderServer).ReadDataSource(ctx, in) | ||
3056 | } | ||
3057 | info := &grpc.UnaryServerInfo{ | ||
3058 | Server: srv, | ||
3059 | FullMethod: "/tfplugin5.Provider/ReadDataSource", | ||
3060 | } | ||
3061 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||
3062 | return srv.(ProviderServer).ReadDataSource(ctx, req.(*ReadDataSource_Request)) | ||
3063 | } | ||
3064 | return interceptor(ctx, in, info, handler) | ||
3065 | } | ||
3066 | |||
3067 | func _Provider_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||
3068 | in := new(Stop_Request) | ||
3069 | if err := dec(in); err != nil { | ||
3070 | return nil, err | ||
3071 | } | ||
3072 | if interceptor == nil { | ||
3073 | return srv.(ProviderServer).Stop(ctx, in) | ||
3074 | } | ||
3075 | info := &grpc.UnaryServerInfo{ | ||
3076 | Server: srv, | ||
3077 | FullMethod: "/tfplugin5.Provider/Stop", | ||
3078 | } | ||
3079 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||
3080 | return srv.(ProviderServer).Stop(ctx, req.(*Stop_Request)) | ||
3081 | } | ||
3082 | return interceptor(ctx, in, info, handler) | ||
3083 | } | ||
3084 | |||
3085 | var _Provider_serviceDesc = grpc.ServiceDesc{ | ||
3086 | ServiceName: "tfplugin5.Provider", | ||
3087 | HandlerType: (*ProviderServer)(nil), | ||
3088 | Methods: []grpc.MethodDesc{ | ||
3089 | { | ||
3090 | MethodName: "GetSchema", | ||
3091 | Handler: _Provider_GetSchema_Handler, | ||
3092 | }, | ||
3093 | { | ||
3094 | MethodName: "PrepareProviderConfig", | ||
3095 | Handler: _Provider_PrepareProviderConfig_Handler, | ||
3096 | }, | ||
3097 | { | ||
3098 | MethodName: "ValidateResourceTypeConfig", | ||
3099 | Handler: _Provider_ValidateResourceTypeConfig_Handler, | ||
3100 | }, | ||
3101 | { | ||
3102 | MethodName: "ValidateDataSourceConfig", | ||
3103 | Handler: _Provider_ValidateDataSourceConfig_Handler, | ||
3104 | }, | ||
3105 | { | ||
3106 | MethodName: "UpgradeResourceState", | ||
3107 | Handler: _Provider_UpgradeResourceState_Handler, | ||
3108 | }, | ||
3109 | { | ||
3110 | MethodName: "Configure", | ||
3111 | Handler: _Provider_Configure_Handler, | ||
3112 | }, | ||
3113 | { | ||
3114 | MethodName: "ReadResource", | ||
3115 | Handler: _Provider_ReadResource_Handler, | ||
3116 | }, | ||
3117 | { | ||
3118 | MethodName: "PlanResourceChange", | ||
3119 | Handler: _Provider_PlanResourceChange_Handler, | ||
3120 | }, | ||
3121 | { | ||
3122 | MethodName: "ApplyResourceChange", | ||
3123 | Handler: _Provider_ApplyResourceChange_Handler, | ||
3124 | }, | ||
3125 | { | ||
3126 | MethodName: "ImportResourceState", | ||
3127 | Handler: _Provider_ImportResourceState_Handler, | ||
3128 | }, | ||
3129 | { | ||
3130 | MethodName: "ReadDataSource", | ||
3131 | Handler: _Provider_ReadDataSource_Handler, | ||
3132 | }, | ||
3133 | { | ||
3134 | MethodName: "Stop", | ||
3135 | Handler: _Provider_Stop_Handler, | ||
3136 | }, | ||
3137 | }, | ||
3138 | Streams: []grpc.StreamDesc{}, | ||
3139 | Metadata: "tfplugin5.proto", | ||
3140 | } | ||
3141 | |||
3142 | // ProvisionerClient is the client API for Provisioner service. | ||
3143 | // | ||
3144 | // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. | ||
3145 | type ProvisionerClient interface { | ||
3146 | GetSchema(ctx context.Context, in *GetProvisionerSchema_Request, opts ...grpc.CallOption) (*GetProvisionerSchema_Response, error) | ||
3147 | ValidateProvisionerConfig(ctx context.Context, in *ValidateProvisionerConfig_Request, opts ...grpc.CallOption) (*ValidateProvisionerConfig_Response, error) | ||
3148 | ProvisionResource(ctx context.Context, in *ProvisionResource_Request, opts ...grpc.CallOption) (Provisioner_ProvisionResourceClient, error) | ||
3149 | Stop(ctx context.Context, in *Stop_Request, opts ...grpc.CallOption) (*Stop_Response, error) | ||
3150 | } | ||
3151 | |||
3152 | type provisionerClient struct { | ||
3153 | cc *grpc.ClientConn | ||
3154 | } | ||
3155 | |||
3156 | func NewProvisionerClient(cc *grpc.ClientConn) ProvisionerClient { | ||
3157 | return &provisionerClient{cc} | ||
3158 | } | ||
3159 | |||
3160 | func (c *provisionerClient) GetSchema(ctx context.Context, in *GetProvisionerSchema_Request, opts ...grpc.CallOption) (*GetProvisionerSchema_Response, error) { | ||
3161 | out := new(GetProvisionerSchema_Response) | ||
3162 | err := c.cc.Invoke(ctx, "/tfplugin5.Provisioner/GetSchema", in, out, opts...) | ||
3163 | if err != nil { | ||
3164 | return nil, err | ||
3165 | } | ||
3166 | return out, nil | ||
3167 | } | ||
3168 | |||
3169 | func (c *provisionerClient) ValidateProvisionerConfig(ctx context.Context, in *ValidateProvisionerConfig_Request, opts ...grpc.CallOption) (*ValidateProvisionerConfig_Response, error) { | ||
3170 | out := new(ValidateProvisionerConfig_Response) | ||
3171 | err := c.cc.Invoke(ctx, "/tfplugin5.Provisioner/ValidateProvisionerConfig", in, out, opts...) | ||
3172 | if err != nil { | ||
3173 | return nil, err | ||
3174 | } | ||
3175 | return out, nil | ||
3176 | } | ||
3177 | |||
3178 | func (c *provisionerClient) ProvisionResource(ctx context.Context, in *ProvisionResource_Request, opts ...grpc.CallOption) (Provisioner_ProvisionResourceClient, error) { | ||
3179 | stream, err := c.cc.NewStream(ctx, &_Provisioner_serviceDesc.Streams[0], "/tfplugin5.Provisioner/ProvisionResource", opts...) | ||
3180 | if err != nil { | ||
3181 | return nil, err | ||
3182 | } | ||
3183 | x := &provisionerProvisionResourceClient{stream} | ||
3184 | if err := x.ClientStream.SendMsg(in); err != nil { | ||
3185 | return nil, err | ||
3186 | } | ||
3187 | if err := x.ClientStream.CloseSend(); err != nil { | ||
3188 | return nil, err | ||
3189 | } | ||
3190 | return x, nil | ||
3191 | } | ||
3192 | |||
3193 | type Provisioner_ProvisionResourceClient interface { | ||
3194 | Recv() (*ProvisionResource_Response, error) | ||
3195 | grpc.ClientStream | ||
3196 | } | ||
3197 | |||
3198 | type provisionerProvisionResourceClient struct { | ||
3199 | grpc.ClientStream | ||
3200 | } | ||
3201 | |||
3202 | func (x *provisionerProvisionResourceClient) Recv() (*ProvisionResource_Response, error) { | ||
3203 | m := new(ProvisionResource_Response) | ||
3204 | if err := x.ClientStream.RecvMsg(m); err != nil { | ||
3205 | return nil, err | ||
3206 | } | ||
3207 | return m, nil | ||
3208 | } | ||
3209 | |||
3210 | func (c *provisionerClient) Stop(ctx context.Context, in *Stop_Request, opts ...grpc.CallOption) (*Stop_Response, error) { | ||
3211 | out := new(Stop_Response) | ||
3212 | err := c.cc.Invoke(ctx, "/tfplugin5.Provisioner/Stop", in, out, opts...) | ||
3213 | if err != nil { | ||
3214 | return nil, err | ||
3215 | } | ||
3216 | return out, nil | ||
3217 | } | ||
3218 | |||
3219 | // ProvisionerServer is the server API for Provisioner service. | ||
3220 | type ProvisionerServer interface { | ||
3221 | GetSchema(context.Context, *GetProvisionerSchema_Request) (*GetProvisionerSchema_Response, error) | ||
3222 | ValidateProvisionerConfig(context.Context, *ValidateProvisionerConfig_Request) (*ValidateProvisionerConfig_Response, error) | ||
3223 | ProvisionResource(*ProvisionResource_Request, Provisioner_ProvisionResourceServer) error | ||
3224 | Stop(context.Context, *Stop_Request) (*Stop_Response, error) | ||
3225 | } | ||
3226 | |||
3227 | func RegisterProvisionerServer(s *grpc.Server, srv ProvisionerServer) { | ||
3228 | s.RegisterService(&_Provisioner_serviceDesc, srv) | ||
3229 | } | ||
3230 | |||
3231 | func _Provisioner_GetSchema_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||
3232 | in := new(GetProvisionerSchema_Request) | ||
3233 | if err := dec(in); err != nil { | ||
3234 | return nil, err | ||
3235 | } | ||
3236 | if interceptor == nil { | ||
3237 | return srv.(ProvisionerServer).GetSchema(ctx, in) | ||
3238 | } | ||
3239 | info := &grpc.UnaryServerInfo{ | ||
3240 | Server: srv, | ||
3241 | FullMethod: "/tfplugin5.Provisioner/GetSchema", | ||
3242 | } | ||
3243 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||
3244 | return srv.(ProvisionerServer).GetSchema(ctx, req.(*GetProvisionerSchema_Request)) | ||
3245 | } | ||
3246 | return interceptor(ctx, in, info, handler) | ||
3247 | } | ||
3248 | |||
3249 | func _Provisioner_ValidateProvisionerConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||
3250 | in := new(ValidateProvisionerConfig_Request) | ||
3251 | if err := dec(in); err != nil { | ||
3252 | return nil, err | ||
3253 | } | ||
3254 | if interceptor == nil { | ||
3255 | return srv.(ProvisionerServer).ValidateProvisionerConfig(ctx, in) | ||
3256 | } | ||
3257 | info := &grpc.UnaryServerInfo{ | ||
3258 | Server: srv, | ||
3259 | FullMethod: "/tfplugin5.Provisioner/ValidateProvisionerConfig", | ||
3260 | } | ||
3261 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||
3262 | return srv.(ProvisionerServer).ValidateProvisionerConfig(ctx, req.(*ValidateProvisionerConfig_Request)) | ||
3263 | } | ||
3264 | return interceptor(ctx, in, info, handler) | ||
3265 | } | ||
3266 | |||
3267 | func _Provisioner_ProvisionResource_Handler(srv interface{}, stream grpc.ServerStream) error { | ||
3268 | m := new(ProvisionResource_Request) | ||
3269 | if err := stream.RecvMsg(m); err != nil { | ||
3270 | return err | ||
3271 | } | ||
3272 | return srv.(ProvisionerServer).ProvisionResource(m, &provisionerProvisionResourceServer{stream}) | ||
3273 | } | ||
3274 | |||
3275 | type Provisioner_ProvisionResourceServer interface { | ||
3276 | Send(*ProvisionResource_Response) error | ||
3277 | grpc.ServerStream | ||
3278 | } | ||
3279 | |||
3280 | type provisionerProvisionResourceServer struct { | ||
3281 | grpc.ServerStream | ||
3282 | } | ||
3283 | |||
3284 | func (x *provisionerProvisionResourceServer) Send(m *ProvisionResource_Response) error { | ||
3285 | return x.ServerStream.SendMsg(m) | ||
3286 | } | ||
3287 | |||
3288 | func _Provisioner_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { | ||
3289 | in := new(Stop_Request) | ||
3290 | if err := dec(in); err != nil { | ||
3291 | return nil, err | ||
3292 | } | ||
3293 | if interceptor == nil { | ||
3294 | return srv.(ProvisionerServer).Stop(ctx, in) | ||
3295 | } | ||
3296 | info := &grpc.UnaryServerInfo{ | ||
3297 | Server: srv, | ||
3298 | FullMethod: "/tfplugin5.Provisioner/Stop", | ||
3299 | } | ||
3300 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { | ||
3301 | return srv.(ProvisionerServer).Stop(ctx, req.(*Stop_Request)) | ||
3302 | } | ||
3303 | return interceptor(ctx, in, info, handler) | ||
3304 | } | ||
3305 | |||
3306 | var _Provisioner_serviceDesc = grpc.ServiceDesc{ | ||
3307 | ServiceName: "tfplugin5.Provisioner", | ||
3308 | HandlerType: (*ProvisionerServer)(nil), | ||
3309 | Methods: []grpc.MethodDesc{ | ||
3310 | { | ||
3311 | MethodName: "GetSchema", | ||
3312 | Handler: _Provisioner_GetSchema_Handler, | ||
3313 | }, | ||
3314 | { | ||
3315 | MethodName: "ValidateProvisionerConfig", | ||
3316 | Handler: _Provisioner_ValidateProvisionerConfig_Handler, | ||
3317 | }, | ||
3318 | { | ||
3319 | MethodName: "Stop", | ||
3320 | Handler: _Provisioner_Stop_Handler, | ||
3321 | }, | ||
3322 | }, | ||
3323 | Streams: []grpc.StreamDesc{ | ||
3324 | { | ||
3325 | StreamName: "ProvisionResource", | ||
3326 | Handler: _Provisioner_ProvisionResource_Handler, | ||
3327 | ServerStreams: true, | ||
3328 | }, | ||
3329 | }, | ||
3330 | Metadata: "tfplugin5.proto", | ||
3331 | } | ||
3332 | |||
3333 | func init() { proto.RegisterFile("tfplugin5.proto", fileDescriptor_tfplugin5_56820f4fb67360c5) } | ||
3334 | |||
3335 | var fileDescriptor_tfplugin5_56820f4fb67360c5 = []byte{ | ||
3336 | // 1876 bytes of a gzipped FileDescriptorProto | ||
3337 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xcd, 0x6f, 0x23, 0x49, | ||
3338 | 0x15, 0x9f, 0x76, 0xdb, 0x89, 0xfd, 0x9c, 0x0f, 0xa7, 0x66, 0x76, 0x30, 0xbd, 0xbb, 0x10, 0xcc, | ||
3339 | 0x47, 0xb2, 0xda, 0x1d, 0xcf, 0x2a, 0x03, 0xbb, 0x4b, 0x18, 0xad, 0xc8, 0x66, 0x42, 0x26, 0x62, | ||
3340 | 0x26, 0x1b, 0xca, 0xf3, 0x81, 0x84, 0xb4, 0x56, 0x8d, 0xbb, 0xe2, 0x69, 0xc6, 0xee, 0xee, 0xad, | ||
3341 | 0x2e, 0x67, 0x62, 0x71, 0x44, 0x70, 0xe6, 0xc2, 0x87, 0xc4, 0xc7, 0x85, 0x03, 0xff, 0x00, 0x07, | ||
3342 | 0xe0, 0xc6, 0x89, 0x7f, 0x80, 0x1b, 0x70, 0x42, 0x70, 0x43, 0x1c, 0xe1, 0x82, 0x84, 0xea, 0xab, | ||
3343 | 0xbb, 0x6c, 0xb7, 0x93, 0x9e, 0x64, 0x57, 0x88, 0x5b, 0x57, 0xbd, 0x5f, 0xbd, 0xf7, 0xab, 0xf7, | ||
3344 | 0x5e, 0xbd, 0x57, 0x65, 0xc3, 0x2a, 0x3f, 0x8e, 0x07, 0xa3, 0x7e, 0x10, 0x7e, 0xa9, 0x1d, 0xb3, | ||
3345 | 0x88, 0x47, 0xa8, 0x96, 0x4e, 0xb4, 0x6e, 0xc3, 0xd2, 0x9d, 0x71, 0x48, 0x86, 0x41, 0xef, 0x11, | ||
3346 | 0x19, 0x8c, 0x28, 0x6a, 0xc2, 0xe2, 0x30, 0xe9, 0xc7, 0xa4, 0xf7, 0xac, 0xe9, 0xac, 0x3b, 0x9b, | ||
3347 | 0x4b, 0xd8, 0x0c, 0x11, 0x82, 0xf2, 0xb7, 0x93, 0x28, 0x6c, 0x96, 0xe4, 0xb4, 0xfc, 0x6e, 0xfd, | ||
3348 | 0xd5, 0x01, 0xb8, 0x13, 0x90, 0x7e, 0x18, 0x25, 0x3c, 0xe8, 0xa1, 0x6d, 0xa8, 0x26, 0xf4, 0x84, | ||
3349 | 0xb2, 0x80, 0x8f, 0xe5, 0xea, 0x95, 0xad, 0x4f, 0xb5, 0x33, 0xdb, 0x19, 0xb0, 0xdd, 0xd1, 0x28, | ||
3350 | 0x9c, 0xe2, 0x85, 0xe1, 0x64, 0x34, 0x1c, 0x12, 0x36, 0x96, 0x16, 0x6a, 0xd8, 0x0c, 0xd1, 0x75, | ||
3351 | 0x58, 0xf0, 0x29, 0x27, 0xc1, 0xa0, 0xe9, 0x4a, 0x81, 0x1e, 0xa1, 0xb7, 0xa0, 0x46, 0x38, 0x67, | ||
3352 | 0xc1, 0x93, 0x11, 0xa7, 0xcd, 0xf2, 0xba, 0xb3, 0x59, 0xdf, 0x6a, 0x5a, 0xe6, 0x76, 0x8c, 0xec, | ||
3353 | 0x88, 0xf0, 0xa7, 0x38, 0x83, 0xb6, 0x6e, 0x42, 0xd5, 0xd8, 0x47, 0x75, 0x58, 0x3c, 0x38, 0x7c, | ||
3354 | 0xb4, 0x73, 0xef, 0xe0, 0x4e, 0xe3, 0x0a, 0xaa, 0x41, 0x65, 0x0f, 0xe3, 0xf7, 0x71, 0xc3, 0x11, | ||
3355 | 0xf3, 0x8f, 0x77, 0xf0, 0xe1, 0xc1, 0xe1, 0x7e, 0xa3, 0xd4, 0xfa, 0xb3, 0x03, 0xcb, 0x13, 0xda, | ||
3356 | 0xd0, 0x2d, 0xa8, 0x24, 0x9c, 0xc6, 0x49, 0xd3, 0x59, 0x77, 0x37, 0xeb, 0x5b, 0xaf, 0xce, 0x33, | ||
3357 | 0xdb, 0xee, 0x70, 0x1a, 0x63, 0x85, 0xf5, 0x7e, 0xe8, 0x40, 0x59, 0x8c, 0xd1, 0x06, 0xac, 0xa4, | ||
3358 | 0x6c, 0xba, 0x21, 0x19, 0x52, 0xe9, 0xac, 0xda, 0xdd, 0x2b, 0x78, 0x39, 0x9d, 0x3f, 0x24, 0x43, | ||
3359 | 0x8a, 0xda, 0x80, 0xe8, 0x80, 0x0e, 0x69, 0xc8, 0xbb, 0xcf, 0xe8, 0xb8, 0x9b, 0x70, 0x16, 0x84, | ||
3360 | 0x7d, 0xe5, 0x9e, 0xbb, 0x57, 0x70, 0x43, 0xcb, 0xbe, 0x4e, 0xc7, 0x1d, 0x29, 0x41, 0x9b, 0xb0, | ||
3361 | 0x6a, 0xe3, 0x83, 0x90, 0x4b, 0x97, 0xb9, 0x42, 0x73, 0x06, 0x3e, 0x08, 0xf9, 0x7b, 0x20, 0x22, | ||
3362 | 0x35, 0xa0, 0x3d, 0x1e, 0xb1, 0xd6, 0x2d, 0x41, 0x2b, 0x8a, 0xbd, 0x1a, 0x2c, 0x62, 0xfa, 0xe1, | ||
3363 | 0x88, 0x26, 0xdc, 0x5b, 0x87, 0x2a, 0xa6, 0x49, 0x1c, 0x85, 0x09, 0x45, 0xd7, 0xa0, 0xb2, 0xc7, | ||
3364 | 0x58, 0xc4, 0x14, 0x49, 0xac, 0x06, 0xad, 0x1f, 0x39, 0x50, 0xc5, 0xe4, 0x79, 0x87, 0x13, 0x4e, | ||
3365 | 0xd3, 0xd4, 0x70, 0xb2, 0xd4, 0x40, 0xdb, 0xb0, 0x78, 0x3c, 0x20, 0x7c, 0x48, 0xe2, 0x66, 0x49, | ||
3366 | 0x3a, 0x69, 0xdd, 0x72, 0x92, 0x59, 0xd9, 0xfe, 0x9a, 0x82, 0xec, 0x85, 0x9c, 0x8d, 0xb1, 0x59, | ||
3367 | 0xe0, 0x6d, 0xc3, 0x92, 0x2d, 0x40, 0x0d, 0x70, 0x9f, 0xd1, 0xb1, 0x26, 0x20, 0x3e, 0x05, 0xa9, | ||
3368 | 0x13, 0x91, 0xaf, 0x3a, 0x57, 0xd4, 0x60, 0xbb, 0xf4, 0x8e, 0xd3, 0xfa, 0x7b, 0x05, 0x16, 0x3a, | ||
3369 | 0xbd, 0xa7, 0x74, 0x48, 0x44, 0x4a, 0x9d, 0x50, 0x96, 0x04, 0x9a, 0x99, 0x8b, 0xcd, 0x10, 0xdd, | ||
3370 | 0x80, 0xca, 0x93, 0x41, 0xd4, 0x7b, 0x26, 0x97, 0xd7, 0xb7, 0x3e, 0x61, 0x51, 0x53, 0x6b, 0xdb, | ||
3371 | 0xef, 0x09, 0x31, 0x56, 0x28, 0xef, 0x17, 0x0e, 0x54, 0xe4, 0xc4, 0x19, 0x2a, 0xbf, 0x02, 0x90, | ||
3372 | 0x06, 0x2f, 0xd1, 0x5b, 0x7e, 0x79, 0x56, 0x6f, 0x9a, 0x1e, 0xd8, 0x82, 0xa3, 0x77, 0xa1, 0x2e, | ||
3373 | 0x2d, 0x75, 0xf9, 0x38, 0xa6, 0x49, 0xd3, 0x9d, 0xc9, 0x2a, 0xbd, 0xfa, 0x90, 0x26, 0x9c, 0xfa, | ||
3374 | 0x8a, 0x1b, 0xc8, 0x15, 0x0f, 0xc4, 0x02, 0xef, 0x0f, 0x0e, 0xd4, 0x52, 0xcd, 0x22, 0x1c, 0x59, | ||
3375 | 0x56, 0x61, 0xf9, 0x2d, 0xe6, 0x84, 0x6e, 0x73, 0x7a, 0xc5, 0x37, 0x5a, 0x87, 0xba, 0x4f, 0x93, | ||
3376 | 0x1e, 0x0b, 0x62, 0x2e, 0x36, 0xa4, 0x4e, 0x97, 0x3d, 0x85, 0x3c, 0xa8, 0x32, 0xfa, 0xe1, 0x28, | ||
3377 | 0x60, 0xd4, 0x97, 0x27, 0xac, 0x8a, 0xd3, 0xb1, 0x90, 0x45, 0x12, 0x45, 0x06, 0xcd, 0x8a, 0x92, | ||
3378 | 0x99, 0xb1, 0x90, 0xf5, 0xa2, 0x61, 0x3c, 0xe2, 0xd4, 0x6f, 0x2e, 0x28, 0x99, 0x19, 0xa3, 0x57, | ||
3379 | 0xa0, 0x96, 0xd0, 0x30, 0x09, 0x78, 0x70, 0x42, 0x9b, 0x8b, 0x52, 0x98, 0x4d, 0x78, 0xbf, 0x2a, | ||
3380 | 0x41, 0xdd, 0xda, 0x25, 0x7a, 0x19, 0x6a, 0x82, 0xab, 0x75, 0x4c, 0x70, 0x55, 0x4c, 0xc8, 0xf3, | ||
3381 | 0xf1, 0x62, 0x61, 0x44, 0xbb, 0xb0, 0x18, 0xd2, 0x84, 0x8b, 0x33, 0xe4, 0xca, 0xea, 0xf4, 0xda, | ||
3382 | 0x99, 0x1e, 0x96, 0xdf, 0x41, 0xd8, 0xbf, 0x1f, 0xf9, 0x14, 0x9b, 0x95, 0x82, 0xd0, 0x30, 0x08, | ||
3383 | 0xbb, 0x01, 0xa7, 0xc3, 0x44, 0xfa, 0xc4, 0xc5, 0xd5, 0x61, 0x10, 0x1e, 0x88, 0xb1, 0x14, 0x92, | ||
3384 | 0x53, 0x2d, 0xac, 0x68, 0x21, 0x39, 0x95, 0xc2, 0xd6, 0x7d, 0xb5, 0x33, 0xad, 0x71, 0xb2, 0xf4, | ||
3385 | 0x00, 0x2c, 0x74, 0x0e, 0x0e, 0xf7, 0xef, 0xed, 0x35, 0x1c, 0x54, 0x85, 0xf2, 0xbd, 0x83, 0xce, | ||
3386 | 0x83, 0x46, 0x09, 0x2d, 0x82, 0xdb, 0xd9, 0x7b, 0xd0, 0x70, 0xc5, 0xc7, 0xfd, 0x9d, 0xa3, 0x46, | ||
3387 | 0x59, 0x94, 0xa8, 0x7d, 0xfc, 0xfe, 0xc3, 0xa3, 0x46, 0xa5, 0xf5, 0x93, 0x32, 0xac, 0xed, 0x53, | ||
3388 | 0x7e, 0xc4, 0xa2, 0x93, 0xc0, 0xa7, 0x4c, 0xf1, 0xb7, 0x0f, 0xf1, 0xbf, 0x5c, 0xeb, 0x14, 0xdf, | ||
3389 | 0x80, 0x6a, 0xac, 0x91, 0xd2, 0x8d, 0xf5, 0xad, 0xb5, 0x99, 0xcd, 0xe3, 0x14, 0x82, 0x28, 0x34, | ||
3390 | 0x18, 0x4d, 0xa2, 0x11, 0xeb, 0xd1, 0x6e, 0x22, 0x85, 0x26, 0xa7, 0xb7, 0xad, 0x65, 0x33, 0xe6, | ||
3391 | 0xdb, 0xc6, 0x9e, 0xf8, 0x90, 0xab, 0xd5, 0x7c, 0xa2, 0x0e, 0xf8, 0x2a, 0x9b, 0x9c, 0x45, 0x03, | ||
3392 | 0xb8, 0xea, 0x13, 0x4e, 0xba, 0x53, 0x96, 0x54, 0xfe, 0xdf, 0x2e, 0x66, 0xe9, 0x0e, 0xe1, 0xa4, | ||
3393 | 0x33, 0x6b, 0x6b, 0xcd, 0x9f, 0x9e, 0x47, 0x6f, 0x43, 0xdd, 0x4f, 0x7b, 0x90, 0x08, 0x9e, 0xb0, | ||
3394 | 0xf2, 0x52, 0x6e, 0x87, 0xc2, 0x36, 0xd2, 0x7b, 0x08, 0xd7, 0xf2, 0xf6, 0x93, 0x53, 0x97, 0x36, | ||
3395 | 0xec, 0xba, 0x94, 0xeb, 0xe3, 0xac, 0x54, 0x79, 0x8f, 0xe1, 0x7a, 0x3e, 0xf9, 0x4b, 0x2a, 0x6e, | ||
3396 | 0xfd, 0xc9, 0x81, 0x97, 0x8e, 0x18, 0x8d, 0x09, 0xa3, 0xc6, 0x6b, 0xbb, 0x51, 0x78, 0x1c, 0xf4, | ||
3397 | 0xbd, 0xed, 0x34, 0x3d, 0xd0, 0x4d, 0x58, 0xe8, 0xc9, 0x49, 0x9d, 0x0f, 0xf6, 0xe9, 0xb1, 0xaf, | ||
3398 | 0x04, 0x58, 0xc3, 0xbc, 0xef, 0x39, 0x56, 0x3e, 0x7d, 0x15, 0x56, 0x63, 0x65, 0xc1, 0xef, 0x16, | ||
3399 | 0x53, 0xb3, 0x62, 0xf0, 0x8a, 0xca, 0x74, 0x34, 0x4a, 0x45, 0xa3, 0xd1, 0xfa, 0x41, 0x09, 0xae, | ||
3400 | 0x3d, 0x8c, 0xfb, 0x8c, 0xf8, 0x34, 0x8d, 0x8a, 0x68, 0x26, 0x1e, 0xcb, 0x36, 0x77, 0x66, 0xd9, | ||
3401 | 0xb0, 0x8a, 0x78, 0x69, 0xb2, 0x88, 0xbf, 0x09, 0x35, 0x46, 0x9e, 0x77, 0x13, 0xa1, 0x4e, 0xd6, | ||
3402 | 0x88, 0xfa, 0xd6, 0xd5, 0x9c, 0xb6, 0x85, 0xab, 0x4c, 0x7f, 0x79, 0xdf, 0xb5, 0x9d, 0xf2, 0x2e, | ||
3403 | 0xac, 0x8c, 0x14, 0x31, 0x5f, 0xeb, 0x38, 0xc7, 0x27, 0xcb, 0x06, 0xae, 0xfa, 0xe8, 0x85, 0x5d, | ||
3404 | 0xf2, 0x3b, 0x07, 0xbc, 0x47, 0x64, 0x10, 0xf8, 0x82, 0x9c, 0xf6, 0x89, 0xe8, 0x0c, 0x3a, 0xea, | ||
3405 | 0x8f, 0x0b, 0x3a, 0x26, 0x4b, 0x89, 0x52, 0xb1, 0x94, 0xd8, 0xb5, 0x36, 0x3f, 0x45, 0xde, 0x29, | ||
3406 | 0x4c, 0xfe, 0x37, 0x0e, 0x34, 0x0d, 0xf9, 0xec, 0x3c, 0xfc, 0x5f, 0x50, 0xff, 0xad, 0x03, 0x35, | ||
3407 | 0x45, 0x74, 0xc4, 0xa8, 0xd7, 0xcf, 0xb8, 0xbe, 0x0e, 0x6b, 0x9c, 0x32, 0x46, 0x8e, 0x23, 0x36, | ||
3408 | 0xec, 0xda, 0x37, 0x86, 0x1a, 0x6e, 0xa4, 0x82, 0x47, 0x3a, 0xeb, 0xfe, 0x37, 0xdc, 0xff, 0xe9, | ||
3409 | 0xc0, 0x12, 0xa6, 0xc4, 0x37, 0xf9, 0xe2, 0xf9, 0x05, 0x5d, 0x7d, 0x1b, 0x96, 0x7b, 0x23, 0xc6, | ||
3410 | 0xc4, 0x2d, 0x53, 0x25, 0xf9, 0x39, 0xac, 0x97, 0x34, 0x5a, 0x1d, 0x98, 0xb1, 0xc5, 0xfd, 0x8b, | ||
3411 | 0x50, 0x0b, 0xe9, 0xf3, 0x62, 0x47, 0xa5, 0x1a, 0xd2, 0xe7, 0x97, 0x3c, 0x25, 0xbf, 0x2e, 0x03, | ||
3412 | 0x3a, 0x1a, 0x90, 0xd0, 0xec, 0x78, 0xf7, 0x29, 0x09, 0xfb, 0xd4, 0xfb, 0x8f, 0x53, 0x70, 0xe3, | ||
3413 | 0xef, 0x40, 0x3d, 0x66, 0x41, 0xc4, 0x8a, 0x6d, 0x1b, 0x24, 0x56, 0x51, 0xde, 0x03, 0x14, 0xb3, | ||
3414 | 0x28, 0x8e, 0x12, 0xea, 0x77, 0xb3, 0x1d, 0xbb, 0x67, 0x2b, 0x68, 0x98, 0x25, 0x87, 0x66, 0xe7, | ||
3415 | 0x59, 0xa2, 0x94, 0x0b, 0x25, 0x0a, 0xfa, 0x2c, 0x2c, 0x2b, 0xc6, 0x31, 0x0b, 0x4e, 0x84, 0xc9, | ||
3416 | 0x8a, 0xbc, 0xfe, 0x2d, 0xc9, 0xc9, 0x23, 0x35, 0xe7, 0xfd, 0xbc, 0x64, 0x85, 0xe4, 0x36, 0x2c, | ||
3417 | 0xc7, 0x03, 0x12, 0x86, 0x45, 0x2b, 0xd8, 0x92, 0x46, 0x2b, 0x82, 0xbb, 0xe2, 0xda, 0x20, 0xef, | ||
3418 | 0x87, 0x49, 0x97, 0xd1, 0x78, 0x40, 0x7a, 0x54, 0xc7, 0x67, 0xfe, 0xcb, 0x6c, 0xd5, 0xac, 0xc0, | ||
3419 | 0x6a, 0x01, 0xda, 0x80, 0x55, 0x43, 0xc1, 0xd0, 0x76, 0x25, 0xed, 0x15, 0x3d, 0xad, 0x89, 0x5f, | ||
3420 | 0xb8, 0x9f, 0xa3, 0x37, 0x00, 0x0d, 0x68, 0x9f, 0xf4, 0xc6, 0xf2, 0xbe, 0xdd, 0x4d, 0xc6, 0x09, | ||
3421 | 0xa7, 0x43, 0x7d, 0x89, 0x6d, 0x28, 0x89, 0xa8, 0x9e, 0x1d, 0x39, 0xdf, 0xfa, 0xa3, 0x0b, 0x57, | ||
3422 | 0x77, 0xe2, 0x78, 0x30, 0x9e, 0xca, 0x9b, 0x7f, 0x7f, 0xfc, 0x79, 0x33, 0x13, 0x0d, 0xf7, 0x45, | ||
3423 | 0xa2, 0xf1, 0xc2, 0xe9, 0x92, 0xe3, 0xf9, 0x4a, 0x9e, 0xe7, 0xbd, 0xdf, 0x3b, 0x97, 0x3e, 0xc5, | ||
3424 | 0x4d, 0x58, 0x34, 0x36, 0xd4, 0x9b, 0xc4, 0x0c, 0xa7, 0xc3, 0xea, 0x5e, 0x32, 0xac, 0xe5, 0x39, | ||
3425 | 0x61, 0xfd, 0x47, 0x09, 0xae, 0x1e, 0x0c, 0xe3, 0x88, 0xf1, 0xc9, 0x5b, 0xc4, 0x5b, 0x05, 0xa3, | ||
3426 | 0xba, 0x02, 0xa5, 0xc0, 0xd7, 0xef, 0xcf, 0x52, 0xe0, 0x7b, 0xa7, 0xd0, 0x50, 0xea, 0x68, 0x5a, | ||
3427 | 0x52, 0xcf, 0x7d, 0xbd, 0x14, 0x4a, 0x08, 0x85, 0xb2, 0x1d, 0xe6, 0x4e, 0x38, 0xcc, 0xfb, 0xa5, | ||
3428 | 0x1d, 0x8d, 0x0f, 0x00, 0x05, 0x9a, 0x46, 0xd7, 0x5c, 0xb7, 0x4d, 0x5b, 0xb8, 0x69, 0x99, 0xc8, | ||
3429 | 0xd9, 0x7a, 0x7b, 0x9a, 0x3f, 0x5e, 0x0b, 0xa6, 0x66, 0x92, 0x8b, 0x57, 0xdf, 0xbf, 0x38, 0xb0, | ||
3430 | 0x22, 0xfa, 0x4d, 0xd6, 0xe2, 0x3f, 0xbe, 0xe6, 0xce, 0x26, 0x5e, 0x3e, 0x95, 0x42, 0xa9, 0xa9, | ||
3431 | 0xdd, 0x7c, 0xe1, 0xfd, 0xfd, 0xd4, 0x81, 0x6b, 0xe6, 0x99, 0x22, 0xda, 0x7a, 0xde, 0x93, 0xec, | ||
3432 | 0xd4, 0xe2, 0x75, 0x4b, 0x54, 0x85, 0x14, 0x3b, 0xff, 0x51, 0x66, 0xa3, 0x2e, 0xce, 0xee, 0x67, | ||
3433 | 0x0e, 0x7c, 0xd2, 0x5c, 0xb2, 0x2c, 0x8a, 0x1f, 0xc1, 0xb3, 0xe0, 0x23, 0xb9, 0x8c, 0xfc, 0xcd, | ||
3434 | 0x81, 0xb5, 0x94, 0x56, 0x7a, 0x23, 0x49, 0x2e, 0x4e, 0x0b, 0xbd, 0x0d, 0xd0, 0x8b, 0xc2, 0x90, | ||
3435 | 0xf6, 0xb8, 0xb9, 0xe7, 0x9f, 0x55, 0x73, 0x33, 0xa8, 0xf7, 0x2d, 0x6b, 0x3f, 0xd7, 0x61, 0x21, | ||
3436 | 0x1a, 0xf1, 0x78, 0xc4, 0x75, 0x4a, 0xea, 0xd1, 0x85, 0xc3, 0xb0, 0xf5, 0xe3, 0x1a, 0x54, 0xcd, | ||
3437 | 0x93, 0x0c, 0x7d, 0x13, 0x6a, 0xfb, 0x94, 0xeb, 0x1f, 0xab, 0x3e, 0x77, 0xce, 0x6b, 0x57, 0x25, | ||
3438 | 0xd0, 0xe7, 0x0b, 0xbd, 0x89, 0xd1, 0x60, 0xce, 0xfb, 0x0f, 0x6d, 0x5a, 0xeb, 0x73, 0x11, 0xa9, | ||
3439 | 0xa5, 0xd7, 0x0a, 0x20, 0xb5, 0xb5, 0xef, 0x9c, 0xf5, 0xf8, 0x40, 0x37, 0x2c, 0x45, 0xf3, 0x61, | ||
3440 | 0xa9, 0xdd, 0x76, 0x51, 0xb8, 0x36, 0x3e, 0x9a, 0xff, 0x78, 0x40, 0xaf, 0xe7, 0xe8, 0x9a, 0x06, | ||
3441 | 0xa5, 0x86, 0xdf, 0x28, 0x06, 0xd6, 0x66, 0x83, 0xfc, 0x37, 0x28, 0xda, 0xb0, 0xb4, 0xe4, 0x01, | ||
3442 | 0x52, 0x73, 0x9b, 0xe7, 0x03, 0xb5, 0xa9, 0xbb, 0xd6, 0x1b, 0x03, 0xbd, 0x62, 0x2d, 0x4b, 0x67, | ||
3443 | 0x53, 0xa5, 0xaf, 0xce, 0x91, 0x6a, 0x4d, 0xdf, 0x98, 0xbc, 0xf1, 0xa3, 0x4f, 0xdb, 0x6f, 0x5b, | ||
3444 | 0x4b, 0x90, 0xea, 0x5b, 0x9f, 0x0f, 0xd0, 0x2a, 0x7b, 0x79, 0x57, 0x6a, 0x64, 0xa7, 0xe9, 0xac, | ||
3445 | 0x38, 0x55, 0xff, 0x85, 0xf3, 0x60, 0xda, 0xc8, 0x71, 0xee, 0x05, 0x0c, 0xd9, 0xcb, 0x73, 0xe4, | ||
3446 | 0xa9, 0x99, 0x8d, 0x73, 0x71, 0x99, 0x9d, 0x9c, 0xb6, 0x38, 0x61, 0x27, 0xaf, 0x6d, 0xe6, 0xd9, | ||
3447 | 0xc9, 0xc7, 0x69, 0x3b, 0x8f, 0xa7, 0x3b, 0x21, 0xfa, 0xcc, 0x94, 0xa3, 0x33, 0x51, 0xaa, 0xbd, | ||
3448 | 0x75, 0x16, 0x44, 0x2b, 0xfe, 0xb2, 0xfa, 0x29, 0x1f, 0x4d, 0xfc, 0x12, 0xca, 0xa3, 0x38, 0x55, | ||
3449 | 0xd2, 0x9c, 0x15, 0xa8, 0xa5, 0x5b, 0xdf, 0x77, 0xa1, 0x6e, 0x35, 0x06, 0xf4, 0x81, 0x5d, 0x9c, | ||
3450 | 0x36, 0x72, 0xca, 0x8e, 0xdd, 0xe3, 0x72, 0xb3, 0x7a, 0x0e, 0x50, 0x53, 0x3d, 0x3d, 0xa3, 0x1f, | ||
3451 | 0xa1, 0xbc, 0xb3, 0x38, 0x83, 0x4a, 0x8d, 0xde, 0x28, 0x88, 0xd6, 0x96, 0x9f, 0xe4, 0xb4, 0x9a, | ||
3452 | 0x89, 0xf2, 0x3b, 0x23, 0xcd, 0x2d, 0xbf, 0x79, 0x28, 0x65, 0xe1, 0x4d, 0xe7, 0x12, 0x81, 0x78, | ||
3453 | 0xb2, 0x20, 0xff, 0xa3, 0xbb, 0xf5, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc8, 0x16, 0x0b, 0x32, | ||
3454 | 0xb6, 0x1b, 0x00, 0x00, | ||
3455 | } | ||
diff --git a/vendor/github.com/hashicorp/terraform/internal/tfplugin5/tfplugin5.proto b/vendor/github.com/hashicorp/terraform/internal/tfplugin5/tfplugin5.proto new file mode 100644 index 0000000..370faf7 --- /dev/null +++ b/vendor/github.com/hashicorp/terraform/internal/tfplugin5/tfplugin5.proto | |||
@@ -0,0 +1,351 @@ | |||
1 | // Terraform Plugin RPC protocol version 5.0 | ||
2 | // | ||
3 | // This file defines version 5.0 of the RPC protocol. To implement a plugin | ||
4 | // against this protocol, copy this definition into your own codebase and | ||
5 | // use protoc to generate stubs for your target language. | ||
6 | // | ||
7 | // This file will be updated in-place in the source Terraform repository for | ||
8 | // any minor versions of protocol 5, but later minor versions will always be | ||
9 | // backwards compatible. Breaking changes, if any are required, will come | ||
10 | // in a subsequent major version with its own separate proto definition. | ||
11 | // | ||
12 | // Note that only the proto files included in a release tag of Terraform are | ||
13 | // official protocol releases. Proto files taken from other commits may include | ||
14 | // incomplete changes or features that did not make it into a final release. | ||
15 | // In all reasonable cases, plugin developers should take the proto file from | ||
16 | // the tag of the most recent release of Terraform, and not from the master | ||
17 | // branch or any other development branch. | ||
18 | // | ||
19 | syntax = "proto3"; | ||
20 | |||
21 | package tfplugin5; | ||
22 | |||
23 | // DynamicValue is an opaque encoding of terraform data, with the field name | ||
24 | // indicating the encoding scheme used. | ||
25 | message DynamicValue { | ||
26 | bytes msgpack = 1; | ||
27 | bytes json = 2; | ||
28 | } | ||
29 | |||
30 | message Diagnostic { | ||
31 | enum Severity { | ||
32 | INVALID = 0; | ||
33 | ERROR = 1; | ||
34 | WARNING = 2; | ||
35 | } | ||
36 | Severity severity = 1; | ||
37 | string summary = 2; | ||
38 | string detail = 3; | ||
39 | AttributePath attribute = 4; | ||
40 | } | ||
41 | |||
42 | message AttributePath { | ||
43 | message Step { | ||
44 | oneof selector { | ||
45 | // Set "attribute_name" to represent looking up an attribute | ||
46 | // in the current object value. | ||
47 | string attribute_name = 1; | ||
48 | // Set "element_key_*" to represent looking up an element in | ||
49 | // an indexable collection type. | ||
50 | string element_key_string = 2; | ||
51 | int64 element_key_int = 3; | ||
52 | } | ||
53 | } | ||
54 | repeated Step steps = 1; | ||
55 | } | ||
56 | |||
57 | message Stop { | ||
58 | message Request { | ||
59 | } | ||
60 | message Response { | ||
61 | string Error = 1; | ||
62 | } | ||
63 | } | ||
64 | |||
65 | // RawState holds the stored state for a resource to be upgraded by the | ||
66 | // provider. It can be in one of two formats, the current json encoded format | ||
67 | // in bytes, or the legacy flatmap format as a map of strings. | ||
68 | message RawState { | ||
69 | bytes json = 1; | ||
70 | map<string, string> flatmap = 2; | ||
71 | } | ||
72 | |||
73 | // Schema is the configuration schema for a Resource, Provider, or Provisioner. | ||
74 | message Schema { | ||
75 | message Block { | ||
76 | int64 version = 1; | ||
77 | repeated Attribute attributes = 2; | ||
78 | repeated NestedBlock block_types = 3; | ||
79 | } | ||
80 | |||
81 | message Attribute { | ||
82 | string name = 1; | ||
83 | bytes type = 2; | ||
84 | string description = 3; | ||
85 | bool required = 4; | ||
86 | bool optional = 5; | ||
87 | bool computed = 6; | ||
88 | bool sensitive = 7; | ||
89 | } | ||
90 | |||
91 | message NestedBlock { | ||
92 | enum NestingMode { | ||
93 | INVALID = 0; | ||
94 | SINGLE = 1; | ||
95 | LIST = 2; | ||
96 | SET = 3; | ||
97 | MAP = 4; | ||
98 | GROUP = 5; | ||
99 | } | ||
100 | |||
101 | string type_name = 1; | ||
102 | Block block = 2; | ||
103 | NestingMode nesting = 3; | ||
104 | int64 min_items = 4; | ||
105 | int64 max_items = 5; | ||
106 | } | ||
107 | |||
108 | // The version of the schema. | ||
109 | // Schemas are versioned, so that providers can upgrade a saved resource | ||
110 | // state when the schema is changed. | ||
111 | int64 version = 1; | ||
112 | |||
113 | // Block is the top level configuration block for this schema. | ||
114 | Block block = 2; | ||
115 | } | ||
116 | |||
117 | service Provider { | ||
118 | //////// Information about what a provider supports/expects | ||
119 | rpc GetSchema(GetProviderSchema.Request) returns (GetProviderSchema.Response); | ||
120 | rpc PrepareProviderConfig(PrepareProviderConfig.Request) returns (PrepareProviderConfig.Response); | ||
121 | rpc ValidateResourceTypeConfig(ValidateResourceTypeConfig.Request) returns (ValidateResourceTypeConfig.Response); | ||
122 | rpc ValidateDataSourceConfig(ValidateDataSourceConfig.Request) returns (ValidateDataSourceConfig.Response); | ||
123 | rpc UpgradeResourceState(UpgradeResourceState.Request) returns (UpgradeResourceState.Response); | ||
124 | |||
125 | //////// One-time initialization, called before other functions below | ||
126 | rpc Configure(Configure.Request) returns (Configure.Response); | ||
127 | |||
128 | //////// Managed Resource Lifecycle | ||
129 | rpc ReadResource(ReadResource.Request) returns (ReadResource.Response); | ||
130 | rpc PlanResourceChange(PlanResourceChange.Request) returns (PlanResourceChange.Response); | ||
131 | rpc ApplyResourceChange(ApplyResourceChange.Request) returns (ApplyResourceChange.Response); | ||
132 | rpc ImportResourceState(ImportResourceState.Request) returns (ImportResourceState.Response); | ||
133 | |||
134 | rpc ReadDataSource(ReadDataSource.Request) returns (ReadDataSource.Response); | ||
135 | |||
136 | //////// Graceful Shutdown | ||
137 | rpc Stop(Stop.Request) returns (Stop.Response); | ||
138 | } | ||
139 | |||
140 | message GetProviderSchema { | ||
141 | message Request { | ||
142 | } | ||
143 | message Response { | ||
144 | Schema provider = 1; | ||
145 | map<string, Schema> resource_schemas = 2; | ||
146 | map<string, Schema> data_source_schemas = 3; | ||
147 | repeated Diagnostic diagnostics = 4; | ||
148 | } | ||
149 | } | ||
150 | |||
151 | message PrepareProviderConfig { | ||
152 | message Request { | ||
153 | DynamicValue config = 1; | ||
154 | } | ||
155 | message Response { | ||
156 | DynamicValue prepared_config = 1; | ||
157 | repeated Diagnostic diagnostics = 2; | ||
158 | } | ||
159 | } | ||
160 | |||
161 | message UpgradeResourceState { | ||
162 | message Request { | ||
163 | string type_name = 1; | ||
164 | |||
165 | // version is the schema_version number recorded in the state file | ||
166 | int64 version = 2; | ||
167 | |||
168 | // raw_state is the raw states as stored for the resource. Core does | ||
169 | // not have access to the schema of prior_version, so it's the | ||
170 | // provider's responsibility to interpret this value using the | ||
171 | // appropriate older schema. The raw_state will be the json encoded | ||
172 | // state, or a legacy flat-mapped format. | ||
173 | RawState raw_state = 3; | ||
174 | } | ||
175 | message Response { | ||
176 | // new_state is a msgpack-encoded data structure that, when interpreted with | ||
177 | // the _current_ schema for this resource type, is functionally equivalent to | ||
178 | // that which was given in prior_state_raw. | ||
179 | DynamicValue upgraded_state = 1; | ||
180 | |||
181 | // diagnostics describes any errors encountered during migration that could not | ||
182 | // be safely resolved, and warnings about any possibly-risky assumptions made | ||
183 | // in the upgrade process. | ||
184 | repeated Diagnostic diagnostics = 2; | ||
185 | } | ||
186 | } | ||
187 | |||
188 | message ValidateResourceTypeConfig { | ||
189 | message Request { | ||
190 | string type_name = 1; | ||
191 | DynamicValue config = 2; | ||
192 | } | ||
193 | message Response { | ||
194 | repeated Diagnostic diagnostics = 1; | ||
195 | } | ||
196 | } | ||
197 | |||
198 | message ValidateDataSourceConfig { | ||
199 | message Request { | ||
200 | string type_name = 1; | ||
201 | DynamicValue config = 2; | ||
202 | } | ||
203 | message Response { | ||
204 | repeated Diagnostic diagnostics = 1; | ||
205 | } | ||
206 | } | ||
207 | |||
208 | message Configure { | ||
209 | message Request { | ||
210 | string terraform_version = 1; | ||
211 | DynamicValue config = 2; | ||
212 | } | ||
213 | message Response { | ||
214 | repeated Diagnostic diagnostics = 1; | ||
215 | } | ||
216 | } | ||
217 | |||
218 | message ReadResource { | ||
219 | message Request { | ||
220 | string type_name = 1; | ||
221 | DynamicValue current_state = 2; | ||
222 | } | ||
223 | message Response { | ||
224 | DynamicValue new_state = 1; | ||
225 | repeated Diagnostic diagnostics = 2; | ||
226 | } | ||
227 | } | ||
228 | |||
229 | message PlanResourceChange { | ||
230 | message Request { | ||
231 | string type_name = 1; | ||
232 | DynamicValue prior_state = 2; | ||
233 | DynamicValue proposed_new_state = 3; | ||
234 | DynamicValue config = 4; | ||
235 | bytes prior_private = 5; | ||
236 | } | ||
237 | |||
238 | message Response { | ||
239 | DynamicValue planned_state = 1; | ||
240 | repeated AttributePath requires_replace = 2; | ||
241 | bytes planned_private = 3; | ||
242 | repeated Diagnostic diagnostics = 4; | ||
243 | |||
244 | |||
245 | // This may be set only by the helper/schema "SDK" in the main Terraform | ||
246 | // repository, to request that Terraform Core >=0.12 permit additional | ||
247 | // inconsistencies that can result from the legacy SDK type system | ||
248 | // and its imprecise mapping to the >=0.12 type system. | ||
249 | // The change in behavior implied by this flag makes sense only for the | ||
250 | // specific details of the legacy SDK type system, and are not a general | ||
251 | // mechanism to avoid proper type handling in providers. | ||
252 | // | ||
253 | // ==== DO NOT USE THIS ==== | ||
254 | // ==== THIS MUST BE LEFT UNSET IN ALL OTHER SDKS ==== | ||
255 | // ==== DO NOT USE THIS ==== | ||
256 | bool legacy_type_system = 5; | ||
257 | } | ||
258 | } | ||
259 | |||
260 | message ApplyResourceChange { | ||
261 | message Request { | ||
262 | string type_name = 1; | ||
263 | DynamicValue prior_state = 2; | ||
264 | DynamicValue planned_state = 3; | ||
265 | DynamicValue config = 4; | ||
266 | bytes planned_private = 5; | ||
267 | } | ||
268 | message Response { | ||
269 | DynamicValue new_state = 1; | ||
270 | bytes private = 2; | ||
271 | repeated Diagnostic diagnostics = 3; | ||
272 | |||
273 | // This may be set only by the helper/schema "SDK" in the main Terraform | ||
274 | // repository, to request that Terraform Core >=0.12 permit additional | ||
275 | // inconsistencies that can result from the legacy SDK type system | ||
276 | // and its imprecise mapping to the >=0.12 type system. | ||
277 | // The change in behavior implied by this flag makes sense only for the | ||
278 | // specific details of the legacy SDK type system, and are not a general | ||
279 | // mechanism to avoid proper type handling in providers. | ||
280 | // | ||
281 | // ==== DO NOT USE THIS ==== | ||
282 | // ==== THIS MUST BE LEFT UNSET IN ALL OTHER SDKS ==== | ||
283 | // ==== DO NOT USE THIS ==== | ||
284 | bool legacy_type_system = 4; | ||
285 | } | ||
286 | } | ||
287 | |||
288 | message ImportResourceState { | ||
289 | message Request { | ||
290 | string type_name = 1; | ||
291 | string id = 2; | ||
292 | } | ||
293 | |||
294 | message ImportedResource { | ||
295 | string type_name = 1; | ||
296 | DynamicValue state = 2; | ||
297 | bytes private = 3; | ||
298 | } | ||
299 | |||
300 | message Response { | ||
301 | repeated ImportedResource imported_resources = 1; | ||
302 | repeated Diagnostic diagnostics = 2; | ||
303 | } | ||
304 | } | ||
305 | |||
306 | message ReadDataSource { | ||
307 | message Request { | ||
308 | string type_name = 1; | ||
309 | DynamicValue config = 2; | ||
310 | } | ||
311 | message Response { | ||
312 | DynamicValue state = 1; | ||
313 | repeated Diagnostic diagnostics = 2; | ||
314 | } | ||
315 | } | ||
316 | |||
317 | service Provisioner { | ||
318 | rpc GetSchema(GetProvisionerSchema.Request) returns (GetProvisionerSchema.Response); | ||
319 | rpc ValidateProvisionerConfig(ValidateProvisionerConfig.Request) returns (ValidateProvisionerConfig.Response); | ||
320 | rpc ProvisionResource(ProvisionResource.Request) returns (stream ProvisionResource.Response); | ||
321 | rpc Stop(Stop.Request) returns (Stop.Response); | ||
322 | } | ||
323 | |||
324 | message GetProvisionerSchema { | ||
325 | message Request { | ||
326 | } | ||
327 | message Response { | ||
328 | Schema provisioner = 1; | ||
329 | repeated Diagnostic diagnostics = 2; | ||
330 | } | ||
331 | } | ||
332 | |||
333 | message ValidateProvisionerConfig { | ||
334 | message Request { | ||
335 | DynamicValue config = 1; | ||
336 | } | ||
337 | message Response { | ||
338 | repeated Diagnostic diagnostics = 1; | ||
339 | } | ||
340 | } | ||
341 | |||
342 | message ProvisionResource { | ||
343 | message Request { | ||
344 | DynamicValue config = 1; | ||
345 | DynamicValue connection = 2; | ||
346 | } | ||
347 | message Response { | ||
348 | string output = 1; | ||
349 | repeated Diagnostic diagnostics = 2; | ||
350 | } | ||
351 | } | ||