Monorepo for Tangled
tangled.org
1// Code generated by protoc-gen-go. DO NOT EDIT.
2// versions:
3// protoc-gen-go v1.36.11
4// protoc (unknown)
5// source: spindle/agent/v1/agent.proto
6
7package agentv1
8
9import (
10 _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 reflect "reflect"
14 sync "sync"
15 unsafe "unsafe"
16)
17
18const (
19 // Verify that this generated code is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21 // Verify that runtime/protoimpl is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23)
24
25type Hello struct {
26 state protoimpl.MessageState `protogen:"open.v1"`
27 ProtocolVersion uint32 `protobuf:"varint,1,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
28 AgentVersion string `protobuf:"bytes,2,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
29 BootId string `protobuf:"bytes,3,opt,name=boot_id,json=bootId,proto3" json:"boot_id,omitempty"`
30 NixVersion string `protobuf:"bytes,4,opt,name=nix_version,json=nixVersion,proto3" json:"nix_version,omitempty"`
31 unknownFields protoimpl.UnknownFields
32 sizeCache protoimpl.SizeCache
33}
34
35func (x *Hello) Reset() {
36 *x = Hello{}
37 mi := &file_spindle_agent_v1_agent_proto_msgTypes[0]
38 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
39 ms.StoreMessageInfo(mi)
40}
41
42func (x *Hello) String() string {
43 return protoimpl.X.MessageStringOf(x)
44}
45
46func (*Hello) ProtoMessage() {}
47
48func (x *Hello) ProtoReflect() protoreflect.Message {
49 mi := &file_spindle_agent_v1_agent_proto_msgTypes[0]
50 if x != nil {
51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
52 if ms.LoadMessageInfo() == nil {
53 ms.StoreMessageInfo(mi)
54 }
55 return ms
56 }
57 return mi.MessageOf(x)
58}
59
60// Deprecated: Use Hello.ProtoReflect.Descriptor instead.
61func (*Hello) Descriptor() ([]byte, []int) {
62 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{0}
63}
64
65func (x *Hello) GetProtocolVersion() uint32 {
66 if x != nil {
67 return x.ProtocolVersion
68 }
69 return 0
70}
71
72func (x *Hello) GetAgentVersion() string {
73 if x != nil {
74 return x.AgentVersion
75 }
76 return ""
77}
78
79func (x *Hello) GetBootId() string {
80 if x != nil {
81 return x.BootId
82 }
83 return ""
84}
85
86func (x *Hello) GetNixVersion() string {
87 if x != nil {
88 return x.NixVersion
89 }
90 return ""
91}
92
93type Init struct {
94 state protoimpl.MessageState `protogen:"open.v1"`
95 JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
96 CacheTrustedPublicKeys []string `protobuf:"bytes,2,rep,name=cache_trusted_public_keys,json=cacheTrustedPublicKeys,proto3" json:"cache_trusted_public_keys,omitempty"`
97 CacheReadProxyPort uint32 `protobuf:"varint,3,opt,name=cache_read_proxy_port,json=cacheReadProxyPort,proto3" json:"cache_read_proxy_port,omitempty"`
98 CacheUploadProxyPort uint32 `protobuf:"varint,4,opt,name=cache_upload_proxy_port,json=cacheUploadProxyPort,proto3" json:"cache_upload_proxy_port,omitempty"`
99 DnsProxyPort uint32 `protobuf:"varint,5,opt,name=dns_proxy_port,json=dnsProxyPort,proto3" json:"dns_proxy_port,omitempty"`
100 unknownFields protoimpl.UnknownFields
101 sizeCache protoimpl.SizeCache
102}
103
104func (x *Init) Reset() {
105 *x = Init{}
106 mi := &file_spindle_agent_v1_agent_proto_msgTypes[1]
107 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
108 ms.StoreMessageInfo(mi)
109}
110
111func (x *Init) String() string {
112 return protoimpl.X.MessageStringOf(x)
113}
114
115func (*Init) ProtoMessage() {}
116
117func (x *Init) ProtoReflect() protoreflect.Message {
118 mi := &file_spindle_agent_v1_agent_proto_msgTypes[1]
119 if x != nil {
120 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
121 if ms.LoadMessageInfo() == nil {
122 ms.StoreMessageInfo(mi)
123 }
124 return ms
125 }
126 return mi.MessageOf(x)
127}
128
129// Deprecated: Use Init.ProtoReflect.Descriptor instead.
130func (*Init) Descriptor() ([]byte, []int) {
131 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{1}
132}
133
134func (x *Init) GetJobId() string {
135 if x != nil {
136 return x.JobId
137 }
138 return ""
139}
140
141func (x *Init) GetCacheTrustedPublicKeys() []string {
142 if x != nil {
143 return x.CacheTrustedPublicKeys
144 }
145 return nil
146}
147
148func (x *Init) GetCacheReadProxyPort() uint32 {
149 if x != nil {
150 return x.CacheReadProxyPort
151 }
152 return 0
153}
154
155func (x *Init) GetCacheUploadProxyPort() uint32 {
156 if x != nil {
157 return x.CacheUploadProxyPort
158 }
159 return 0
160}
161
162func (x *Init) GetDnsProxyPort() uint32 {
163 if x != nil {
164 return x.DnsProxyPort
165 }
166 return 0
167}
168
169type ExecStart struct {
170 state protoimpl.MessageState `protogen:"open.v1"`
171 Argv []string `protobuf:"bytes,1,rep,name=argv,proto3" json:"argv,omitempty"`
172 Env []string `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"`
173 Cwd string `protobuf:"bytes,3,opt,name=cwd,proto3" json:"cwd,omitempty"`
174 User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
175 TimeoutSeconds uint32 `protobuf:"varint,5,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
176 unknownFields protoimpl.UnknownFields
177 sizeCache protoimpl.SizeCache
178}
179
180func (x *ExecStart) Reset() {
181 *x = ExecStart{}
182 mi := &file_spindle_agent_v1_agent_proto_msgTypes[2]
183 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
184 ms.StoreMessageInfo(mi)
185}
186
187func (x *ExecStart) String() string {
188 return protoimpl.X.MessageStringOf(x)
189}
190
191func (*ExecStart) ProtoMessage() {}
192
193func (x *ExecStart) ProtoReflect() protoreflect.Message {
194 mi := &file_spindle_agent_v1_agent_proto_msgTypes[2]
195 if x != nil {
196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
197 if ms.LoadMessageInfo() == nil {
198 ms.StoreMessageInfo(mi)
199 }
200 return ms
201 }
202 return mi.MessageOf(x)
203}
204
205// Deprecated: Use ExecStart.ProtoReflect.Descriptor instead.
206func (*ExecStart) Descriptor() ([]byte, []int) {
207 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{2}
208}
209
210func (x *ExecStart) GetArgv() []string {
211 if x != nil {
212 return x.Argv
213 }
214 return nil
215}
216
217func (x *ExecStart) GetEnv() []string {
218 if x != nil {
219 return x.Env
220 }
221 return nil
222}
223
224func (x *ExecStart) GetCwd() string {
225 if x != nil {
226 return x.Cwd
227 }
228 return ""
229}
230
231func (x *ExecStart) GetUser() string {
232 if x != nil {
233 return x.User
234 }
235 return ""
236}
237
238func (x *ExecStart) GetTimeoutSeconds() uint32 {
239 if x != nil {
240 return x.TimeoutSeconds
241 }
242 return 0
243}
244
245type ExecStdout struct {
246 state protoimpl.MessageState `protogen:"open.v1"`
247 Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
248 unknownFields protoimpl.UnknownFields
249 sizeCache protoimpl.SizeCache
250}
251
252func (x *ExecStdout) Reset() {
253 *x = ExecStdout{}
254 mi := &file_spindle_agent_v1_agent_proto_msgTypes[3]
255 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
256 ms.StoreMessageInfo(mi)
257}
258
259func (x *ExecStdout) String() string {
260 return protoimpl.X.MessageStringOf(x)
261}
262
263func (*ExecStdout) ProtoMessage() {}
264
265func (x *ExecStdout) ProtoReflect() protoreflect.Message {
266 mi := &file_spindle_agent_v1_agent_proto_msgTypes[3]
267 if x != nil {
268 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
269 if ms.LoadMessageInfo() == nil {
270 ms.StoreMessageInfo(mi)
271 }
272 return ms
273 }
274 return mi.MessageOf(x)
275}
276
277// Deprecated: Use ExecStdout.ProtoReflect.Descriptor instead.
278func (*ExecStdout) Descriptor() ([]byte, []int) {
279 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{3}
280}
281
282func (x *ExecStdout) GetData() string {
283 if x != nil {
284 return x.Data
285 }
286 return ""
287}
288
289type ExecStderr struct {
290 state protoimpl.MessageState `protogen:"open.v1"`
291 Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
292 unknownFields protoimpl.UnknownFields
293 sizeCache protoimpl.SizeCache
294}
295
296func (x *ExecStderr) Reset() {
297 *x = ExecStderr{}
298 mi := &file_spindle_agent_v1_agent_proto_msgTypes[4]
299 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
300 ms.StoreMessageInfo(mi)
301}
302
303func (x *ExecStderr) String() string {
304 return protoimpl.X.MessageStringOf(x)
305}
306
307func (*ExecStderr) ProtoMessage() {}
308
309func (x *ExecStderr) ProtoReflect() protoreflect.Message {
310 mi := &file_spindle_agent_v1_agent_proto_msgTypes[4]
311 if x != nil {
312 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
313 if ms.LoadMessageInfo() == nil {
314 ms.StoreMessageInfo(mi)
315 }
316 return ms
317 }
318 return mi.MessageOf(x)
319}
320
321// Deprecated: Use ExecStderr.ProtoReflect.Descriptor instead.
322func (*ExecStderr) Descriptor() ([]byte, []int) {
323 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{4}
324}
325
326func (x *ExecStderr) GetData() string {
327 if x != nil {
328 return x.Data
329 }
330 return ""
331}
332
333type ExecExit struct {
334 state protoimpl.MessageState `protogen:"open.v1"`
335 ExitCode int32 `protobuf:"varint,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
336 Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
337 // set when the guest killed the step on its own timeout timer, so the host
338 // can classify it as a timeout rather than inferring failure from exit_code.
339 TimedOut bool `protobuf:"varint,3,opt,name=timed_out,json=timedOut,proto3" json:"timed_out,omitempty"`
340 unknownFields protoimpl.UnknownFields
341 sizeCache protoimpl.SizeCache
342}
343
344func (x *ExecExit) Reset() {
345 *x = ExecExit{}
346 mi := &file_spindle_agent_v1_agent_proto_msgTypes[5]
347 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
348 ms.StoreMessageInfo(mi)
349}
350
351func (x *ExecExit) String() string {
352 return protoimpl.X.MessageStringOf(x)
353}
354
355func (*ExecExit) ProtoMessage() {}
356
357func (x *ExecExit) ProtoReflect() protoreflect.Message {
358 mi := &file_spindle_agent_v1_agent_proto_msgTypes[5]
359 if x != nil {
360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
361 if ms.LoadMessageInfo() == nil {
362 ms.StoreMessageInfo(mi)
363 }
364 return ms
365 }
366 return mi.MessageOf(x)
367}
368
369// Deprecated: Use ExecExit.ProtoReflect.Descriptor instead.
370func (*ExecExit) Descriptor() ([]byte, []int) {
371 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{5}
372}
373
374func (x *ExecExit) GetExitCode() int32 {
375 if x != nil {
376 return x.ExitCode
377 }
378 return 0
379}
380
381func (x *ExecExit) GetError() string {
382 if x != nil {
383 return x.Error
384 }
385 return ""
386}
387
388func (x *ExecExit) GetTimedOut() bool {
389 if x != nil {
390 return x.TimedOut
391 }
392 return false
393}
394
395type ActivateConfig struct {
396 state protoimpl.MessageState `protogen:"open.v1"`
397 ConfigKey string `protobuf:"bytes,1,opt,name=config_key,json=configKey,proto3" json:"config_key,omitempty"`
398 BaseConfigHash string `protobuf:"bytes,2,opt,name=base_config_hash,json=baseConfigHash,proto3" json:"base_config_hash,omitempty"`
399 UserConfig string `protobuf:"bytes,3,opt,name=user_config,json=userConfig,proto3" json:"user_config,omitempty"`
400 Toplevel string `protobuf:"bytes,4,opt,name=toplevel,proto3" json:"toplevel,omitempty"`
401 TimeoutSeconds uint32 `protobuf:"varint,5,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
402 unknownFields protoimpl.UnknownFields
403 sizeCache protoimpl.SizeCache
404}
405
406func (x *ActivateConfig) Reset() {
407 *x = ActivateConfig{}
408 mi := &file_spindle_agent_v1_agent_proto_msgTypes[6]
409 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
410 ms.StoreMessageInfo(mi)
411}
412
413func (x *ActivateConfig) String() string {
414 return protoimpl.X.MessageStringOf(x)
415}
416
417func (*ActivateConfig) ProtoMessage() {}
418
419func (x *ActivateConfig) ProtoReflect() protoreflect.Message {
420 mi := &file_spindle_agent_v1_agent_proto_msgTypes[6]
421 if x != nil {
422 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
423 if ms.LoadMessageInfo() == nil {
424 ms.StoreMessageInfo(mi)
425 }
426 return ms
427 }
428 return mi.MessageOf(x)
429}
430
431// Deprecated: Use ActivateConfig.ProtoReflect.Descriptor instead.
432func (*ActivateConfig) Descriptor() ([]byte, []int) {
433 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{6}
434}
435
436func (x *ActivateConfig) GetConfigKey() string {
437 if x != nil {
438 return x.ConfigKey
439 }
440 return ""
441}
442
443func (x *ActivateConfig) GetBaseConfigHash() string {
444 if x != nil {
445 return x.BaseConfigHash
446 }
447 return ""
448}
449
450func (x *ActivateConfig) GetUserConfig() string {
451 if x != nil {
452 return x.UserConfig
453 }
454 return ""
455}
456
457func (x *ActivateConfig) GetToplevel() string {
458 if x != nil {
459 return x.Toplevel
460 }
461 return ""
462}
463
464func (x *ActivateConfig) GetTimeoutSeconds() uint32 {
465 if x != nil {
466 return x.TimeoutSeconds
467 }
468 return 0
469}
470
471type ActivateConfigResult struct {
472 state protoimpl.MessageState `protogen:"open.v1"`
473 ConfigKey string `protobuf:"bytes,1,opt,name=config_key,json=configKey,proto3" json:"config_key,omitempty"`
474 Toplevel string `protobuf:"bytes,2,opt,name=toplevel,proto3" json:"toplevel,omitempty"`
475 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
476 unknownFields protoimpl.UnknownFields
477 sizeCache protoimpl.SizeCache
478}
479
480func (x *ActivateConfigResult) Reset() {
481 *x = ActivateConfigResult{}
482 mi := &file_spindle_agent_v1_agent_proto_msgTypes[7]
483 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
484 ms.StoreMessageInfo(mi)
485}
486
487func (x *ActivateConfigResult) String() string {
488 return protoimpl.X.MessageStringOf(x)
489}
490
491func (*ActivateConfigResult) ProtoMessage() {}
492
493func (x *ActivateConfigResult) ProtoReflect() protoreflect.Message {
494 mi := &file_spindle_agent_v1_agent_proto_msgTypes[7]
495 if x != nil {
496 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
497 if ms.LoadMessageInfo() == nil {
498 ms.StoreMessageInfo(mi)
499 }
500 return ms
501 }
502 return mi.MessageOf(x)
503}
504
505// Deprecated: Use ActivateConfigResult.ProtoReflect.Descriptor instead.
506func (*ActivateConfigResult) Descriptor() ([]byte, []int) {
507 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{7}
508}
509
510func (x *ActivateConfigResult) GetConfigKey() string {
511 if x != nil {
512 return x.ConfigKey
513 }
514 return ""
515}
516
517func (x *ActivateConfigResult) GetToplevel() string {
518 if x != nil {
519 return x.Toplevel
520 }
521 return ""
522}
523
524func (x *ActivateConfigResult) GetError() string {
525 if x != nil {
526 return x.Error
527 }
528 return ""
529}
530
531type BuiltPaths struct {
532 state protoimpl.MessageState `protogen:"open.v1"`
533 Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
534 Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
535 unknownFields protoimpl.UnknownFields
536 sizeCache protoimpl.SizeCache
537}
538
539func (x *BuiltPaths) Reset() {
540 *x = BuiltPaths{}
541 mi := &file_spindle_agent_v1_agent_proto_msgTypes[8]
542 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
543 ms.StoreMessageInfo(mi)
544}
545
546func (x *BuiltPaths) String() string {
547 return protoimpl.X.MessageStringOf(x)
548}
549
550func (*BuiltPaths) ProtoMessage() {}
551
552func (x *BuiltPaths) ProtoReflect() protoreflect.Message {
553 mi := &file_spindle_agent_v1_agent_proto_msgTypes[8]
554 if x != nil {
555 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
556 if ms.LoadMessageInfo() == nil {
557 ms.StoreMessageInfo(mi)
558 }
559 return ms
560 }
561 return mi.MessageOf(x)
562}
563
564// Deprecated: Use BuiltPaths.ProtoReflect.Descriptor instead.
565func (*BuiltPaths) Descriptor() ([]byte, []int) {
566 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{8}
567}
568
569func (x *BuiltPaths) GetPaths() []string {
570 if x != nil {
571 return x.Paths
572 }
573 return nil
574}
575
576func (x *BuiltPaths) GetReason() string {
577 if x != nil {
578 return x.Reason
579 }
580 return ""
581}
582
583type CacheDrain struct {
584 state protoimpl.MessageState `protogen:"open.v1"`
585 TimeoutSeconds uint32 `protobuf:"varint,1,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
586 unknownFields protoimpl.UnknownFields
587 sizeCache protoimpl.SizeCache
588}
589
590func (x *CacheDrain) Reset() {
591 *x = CacheDrain{}
592 mi := &file_spindle_agent_v1_agent_proto_msgTypes[9]
593 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
594 ms.StoreMessageInfo(mi)
595}
596
597func (x *CacheDrain) String() string {
598 return protoimpl.X.MessageStringOf(x)
599}
600
601func (*CacheDrain) ProtoMessage() {}
602
603func (x *CacheDrain) ProtoReflect() protoreflect.Message {
604 mi := &file_spindle_agent_v1_agent_proto_msgTypes[9]
605 if x != nil {
606 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
607 if ms.LoadMessageInfo() == nil {
608 ms.StoreMessageInfo(mi)
609 }
610 return ms
611 }
612 return mi.MessageOf(x)
613}
614
615// Deprecated: Use CacheDrain.ProtoReflect.Descriptor instead.
616func (*CacheDrain) Descriptor() ([]byte, []int) {
617 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{9}
618}
619
620func (x *CacheDrain) GetTimeoutSeconds() uint32 {
621 if x != nil {
622 return x.TimeoutSeconds
623 }
624 return 0
625}
626
627type CacheDrainResult struct {
628 state protoimpl.MessageState `protogen:"open.v1"`
629 Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
630 CacheQueued uint32 `protobuf:"varint,2,opt,name=cache_queued,json=cacheQueued,proto3" json:"cache_queued,omitempty"`
631 CacheActive uint32 `protobuf:"varint,3,opt,name=cache_active,json=cacheActive,proto3" json:"cache_active,omitempty"`
632 CacheUploaded uint32 `protobuf:"varint,4,opt,name=cache_uploaded,json=cacheUploaded,proto3" json:"cache_uploaded,omitempty"`
633 CacheFailed uint32 `protobuf:"varint,5,opt,name=cache_failed,json=cacheFailed,proto3" json:"cache_failed,omitempty"`
634 unknownFields protoimpl.UnknownFields
635 sizeCache protoimpl.SizeCache
636}
637
638func (x *CacheDrainResult) Reset() {
639 *x = CacheDrainResult{}
640 mi := &file_spindle_agent_v1_agent_proto_msgTypes[10]
641 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
642 ms.StoreMessageInfo(mi)
643}
644
645func (x *CacheDrainResult) String() string {
646 return protoimpl.X.MessageStringOf(x)
647}
648
649func (*CacheDrainResult) ProtoMessage() {}
650
651func (x *CacheDrainResult) ProtoReflect() protoreflect.Message {
652 mi := &file_spindle_agent_v1_agent_proto_msgTypes[10]
653 if x != nil {
654 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
655 if ms.LoadMessageInfo() == nil {
656 ms.StoreMessageInfo(mi)
657 }
658 return ms
659 }
660 return mi.MessageOf(x)
661}
662
663// Deprecated: Use CacheDrainResult.ProtoReflect.Descriptor instead.
664func (*CacheDrainResult) Descriptor() ([]byte, []int) {
665 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{10}
666}
667
668func (x *CacheDrainResult) GetError() string {
669 if x != nil {
670 return x.Error
671 }
672 return ""
673}
674
675func (x *CacheDrainResult) GetCacheQueued() uint32 {
676 if x != nil {
677 return x.CacheQueued
678 }
679 return 0
680}
681
682func (x *CacheDrainResult) GetCacheActive() uint32 {
683 if x != nil {
684 return x.CacheActive
685 }
686 return 0
687}
688
689func (x *CacheDrainResult) GetCacheUploaded() uint32 {
690 if x != nil {
691 return x.CacheUploaded
692 }
693 return 0
694}
695
696func (x *CacheDrainResult) GetCacheFailed() uint32 {
697 if x != nil {
698 return x.CacheFailed
699 }
700 return 0
701}
702
703type Poweroff struct {
704 state protoimpl.MessageState `protogen:"open.v1"`
705 unknownFields protoimpl.UnknownFields
706 sizeCache protoimpl.SizeCache
707}
708
709func (x *Poweroff) Reset() {
710 *x = Poweroff{}
711 mi := &file_spindle_agent_v1_agent_proto_msgTypes[11]
712 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
713 ms.StoreMessageInfo(mi)
714}
715
716func (x *Poweroff) String() string {
717 return protoimpl.X.MessageStringOf(x)
718}
719
720func (*Poweroff) ProtoMessage() {}
721
722func (x *Poweroff) ProtoReflect() protoreflect.Message {
723 mi := &file_spindle_agent_v1_agent_proto_msgTypes[11]
724 if x != nil {
725 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
726 if ms.LoadMessageInfo() == nil {
727 ms.StoreMessageInfo(mi)
728 }
729 return ms
730 }
731 return mi.MessageOf(x)
732}
733
734// Deprecated: Use Poweroff.ProtoReflect.Descriptor instead.
735func (*Poweroff) Descriptor() ([]byte, []int) {
736 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{11}
737}
738
739type PoweroffResult struct {
740 state protoimpl.MessageState `protogen:"open.v1"`
741 Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
742 unknownFields protoimpl.UnknownFields
743 sizeCache protoimpl.SizeCache
744}
745
746func (x *PoweroffResult) Reset() {
747 *x = PoweroffResult{}
748 mi := &file_spindle_agent_v1_agent_proto_msgTypes[12]
749 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
750 ms.StoreMessageInfo(mi)
751}
752
753func (x *PoweroffResult) String() string {
754 return protoimpl.X.MessageStringOf(x)
755}
756
757func (*PoweroffResult) ProtoMessage() {}
758
759func (x *PoweroffResult) ProtoReflect() protoreflect.Message {
760 mi := &file_spindle_agent_v1_agent_proto_msgTypes[12]
761 if x != nil {
762 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
763 if ms.LoadMessageInfo() == nil {
764 ms.StoreMessageInfo(mi)
765 }
766 return ms
767 }
768 return mi.MessageOf(x)
769}
770
771// Deprecated: Use PoweroffResult.ProtoReflect.Descriptor instead.
772func (*PoweroffResult) Descriptor() ([]byte, []int) {
773 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{12}
774}
775
776func (x *PoweroffResult) GetError() string {
777 if x != nil {
778 return x.Error
779 }
780 return ""
781}
782
783type OpenDebugShell struct {
784 state protoimpl.MessageState `protogen:"open.v1"`
785 VsockPort uint32 `protobuf:"varint,1,opt,name=vsock_port,json=vsockPort,proto3" json:"vsock_port,omitempty"`
786 Term string `protobuf:"bytes,2,opt,name=term,proto3" json:"term,omitempty"`
787 Rows uint32 `protobuf:"varint,3,opt,name=rows,proto3" json:"rows,omitempty"`
788 Cols uint32 `protobuf:"varint,4,opt,name=cols,proto3" json:"cols,omitempty"`
789 unknownFields protoimpl.UnknownFields
790 sizeCache protoimpl.SizeCache
791}
792
793func (x *OpenDebugShell) Reset() {
794 *x = OpenDebugShell{}
795 mi := &file_spindle_agent_v1_agent_proto_msgTypes[13]
796 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
797 ms.StoreMessageInfo(mi)
798}
799
800func (x *OpenDebugShell) String() string {
801 return protoimpl.X.MessageStringOf(x)
802}
803
804func (*OpenDebugShell) ProtoMessage() {}
805
806func (x *OpenDebugShell) ProtoReflect() protoreflect.Message {
807 mi := &file_spindle_agent_v1_agent_proto_msgTypes[13]
808 if x != nil {
809 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
810 if ms.LoadMessageInfo() == nil {
811 ms.StoreMessageInfo(mi)
812 }
813 return ms
814 }
815 return mi.MessageOf(x)
816}
817
818// Deprecated: Use OpenDebugShell.ProtoReflect.Descriptor instead.
819func (*OpenDebugShell) Descriptor() ([]byte, []int) {
820 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{13}
821}
822
823func (x *OpenDebugShell) GetVsockPort() uint32 {
824 if x != nil {
825 return x.VsockPort
826 }
827 return 0
828}
829
830func (x *OpenDebugShell) GetTerm() string {
831 if x != nil {
832 return x.Term
833 }
834 return ""
835}
836
837func (x *OpenDebugShell) GetRows() uint32 {
838 if x != nil {
839 return x.Rows
840 }
841 return 0
842}
843
844func (x *OpenDebugShell) GetCols() uint32 {
845 if x != nil {
846 return x.Cols
847 }
848 return 0
849}
850
851// changes meaning based on who sends this:
852// guest->host is shell output, host->guest is keyboard input
853type PtyData struct {
854 state protoimpl.MessageState `protogen:"open.v1"`
855 Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
856 unknownFields protoimpl.UnknownFields
857 sizeCache protoimpl.SizeCache
858}
859
860func (x *PtyData) Reset() {
861 *x = PtyData{}
862 mi := &file_spindle_agent_v1_agent_proto_msgTypes[14]
863 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
864 ms.StoreMessageInfo(mi)
865}
866
867func (x *PtyData) String() string {
868 return protoimpl.X.MessageStringOf(x)
869}
870
871func (*PtyData) ProtoMessage() {}
872
873func (x *PtyData) ProtoReflect() protoreflect.Message {
874 mi := &file_spindle_agent_v1_agent_proto_msgTypes[14]
875 if x != nil {
876 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
877 if ms.LoadMessageInfo() == nil {
878 ms.StoreMessageInfo(mi)
879 }
880 return ms
881 }
882 return mi.MessageOf(x)
883}
884
885// Deprecated: Use PtyData.ProtoReflect.Descriptor instead.
886func (*PtyData) Descriptor() ([]byte, []int) {
887 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{14}
888}
889
890func (x *PtyData) GetData() []byte {
891 if x != nil {
892 return x.Data
893 }
894 return nil
895}
896
897type PtyResize struct {
898 state protoimpl.MessageState `protogen:"open.v1"`
899 Rows uint32 `protobuf:"varint,1,opt,name=rows,proto3" json:"rows,omitempty"`
900 Cols uint32 `protobuf:"varint,2,opt,name=cols,proto3" json:"cols,omitempty"`
901 unknownFields protoimpl.UnknownFields
902 sizeCache protoimpl.SizeCache
903}
904
905func (x *PtyResize) Reset() {
906 *x = PtyResize{}
907 mi := &file_spindle_agent_v1_agent_proto_msgTypes[15]
908 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
909 ms.StoreMessageInfo(mi)
910}
911
912func (x *PtyResize) String() string {
913 return protoimpl.X.MessageStringOf(x)
914}
915
916func (*PtyResize) ProtoMessage() {}
917
918func (x *PtyResize) ProtoReflect() protoreflect.Message {
919 mi := &file_spindle_agent_v1_agent_proto_msgTypes[15]
920 if x != nil {
921 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
922 if ms.LoadMessageInfo() == nil {
923 ms.StoreMessageInfo(mi)
924 }
925 return ms
926 }
927 return mi.MessageOf(x)
928}
929
930// Deprecated: Use PtyResize.ProtoReflect.Descriptor instead.
931func (*PtyResize) Descriptor() ([]byte, []int) {
932 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{15}
933}
934
935func (x *PtyResize) GetRows() uint32 {
936 if x != nil {
937 return x.Rows
938 }
939 return 0
940}
941
942func (x *PtyResize) GetCols() uint32 {
943 if x != nil {
944 return x.Cols
945 }
946 return 0
947}
948
949type Message struct {
950 state protoimpl.MessageState `protogen:"open.v1"`
951 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
952 Hello *Hello `protobuf:"bytes,2,opt,name=hello,proto3" json:"hello,omitempty"`
953 Init *Init `protobuf:"bytes,3,opt,name=init,proto3" json:"init,omitempty"`
954 ExecStart *ExecStart `protobuf:"bytes,4,opt,name=exec_start,json=execStart,proto3" json:"exec_start,omitempty"`
955 ExecStdout *ExecStdout `protobuf:"bytes,5,opt,name=exec_stdout,json=execStdout,proto3" json:"exec_stdout,omitempty"`
956 ExecStderr *ExecStderr `protobuf:"bytes,6,opt,name=exec_stderr,json=execStderr,proto3" json:"exec_stderr,omitempty"`
957 ExecExit *ExecExit `protobuf:"bytes,7,opt,name=exec_exit,json=execExit,proto3" json:"exec_exit,omitempty"`
958 ActivateConfig *ActivateConfig `protobuf:"bytes,8,opt,name=activate_config,json=activateConfig,proto3" json:"activate_config,omitempty"`
959 ActivateConfigResult *ActivateConfigResult `protobuf:"bytes,9,opt,name=activate_config_result,json=activateConfigResult,proto3" json:"activate_config_result,omitempty"`
960 BuiltPaths *BuiltPaths `protobuf:"bytes,10,opt,name=built_paths,json=builtPaths,proto3" json:"built_paths,omitempty"`
961 CacheDrain *CacheDrain `protobuf:"bytes,11,opt,name=cache_drain,json=cacheDrain,proto3" json:"cache_drain,omitempty"`
962 CacheDrainResult *CacheDrainResult `protobuf:"bytes,12,opt,name=cache_drain_result,json=cacheDrainResult,proto3" json:"cache_drain_result,omitempty"`
963 Poweroff *Poweroff `protobuf:"bytes,13,opt,name=poweroff,proto3" json:"poweroff,omitempty"`
964 PoweroffResult *PoweroffResult `protobuf:"bytes,14,opt,name=poweroff_result,json=poweroffResult,proto3" json:"poweroff_result,omitempty"`
965 OpenDebugShell *OpenDebugShell `protobuf:"bytes,15,opt,name=open_debug_shell,json=openDebugShell,proto3" json:"open_debug_shell,omitempty"`
966 PtyData *PtyData `protobuf:"bytes,16,opt,name=pty_data,json=ptyData,proto3" json:"pty_data,omitempty"`
967 PtyResize *PtyResize `protobuf:"bytes,17,opt,name=pty_resize,json=ptyResize,proto3" json:"pty_resize,omitempty"`
968 unknownFields protoimpl.UnknownFields
969 sizeCache protoimpl.SizeCache
970}
971
972func (x *Message) Reset() {
973 *x = Message{}
974 mi := &file_spindle_agent_v1_agent_proto_msgTypes[16]
975 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
976 ms.StoreMessageInfo(mi)
977}
978
979func (x *Message) String() string {
980 return protoimpl.X.MessageStringOf(x)
981}
982
983func (*Message) ProtoMessage() {}
984
985func (x *Message) ProtoReflect() protoreflect.Message {
986 mi := &file_spindle_agent_v1_agent_proto_msgTypes[16]
987 if x != nil {
988 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
989 if ms.LoadMessageInfo() == nil {
990 ms.StoreMessageInfo(mi)
991 }
992 return ms
993 }
994 return mi.MessageOf(x)
995}
996
997// Deprecated: Use Message.ProtoReflect.Descriptor instead.
998func (*Message) Descriptor() ([]byte, []int) {
999 return file_spindle_agent_v1_agent_proto_rawDescGZIP(), []int{16}
1000}
1001
1002func (x *Message) GetId() string {
1003 if x != nil {
1004 return x.Id
1005 }
1006 return ""
1007}
1008
1009func (x *Message) GetHello() *Hello {
1010 if x != nil {
1011 return x.Hello
1012 }
1013 return nil
1014}
1015
1016func (x *Message) GetInit() *Init {
1017 if x != nil {
1018 return x.Init
1019 }
1020 return nil
1021}
1022
1023func (x *Message) GetExecStart() *ExecStart {
1024 if x != nil {
1025 return x.ExecStart
1026 }
1027 return nil
1028}
1029
1030func (x *Message) GetExecStdout() *ExecStdout {
1031 if x != nil {
1032 return x.ExecStdout
1033 }
1034 return nil
1035}
1036
1037func (x *Message) GetExecStderr() *ExecStderr {
1038 if x != nil {
1039 return x.ExecStderr
1040 }
1041 return nil
1042}
1043
1044func (x *Message) GetExecExit() *ExecExit {
1045 if x != nil {
1046 return x.ExecExit
1047 }
1048 return nil
1049}
1050
1051func (x *Message) GetActivateConfig() *ActivateConfig {
1052 if x != nil {
1053 return x.ActivateConfig
1054 }
1055 return nil
1056}
1057
1058func (x *Message) GetActivateConfigResult() *ActivateConfigResult {
1059 if x != nil {
1060 return x.ActivateConfigResult
1061 }
1062 return nil
1063}
1064
1065func (x *Message) GetBuiltPaths() *BuiltPaths {
1066 if x != nil {
1067 return x.BuiltPaths
1068 }
1069 return nil
1070}
1071
1072func (x *Message) GetCacheDrain() *CacheDrain {
1073 if x != nil {
1074 return x.CacheDrain
1075 }
1076 return nil
1077}
1078
1079func (x *Message) GetCacheDrainResult() *CacheDrainResult {
1080 if x != nil {
1081 return x.CacheDrainResult
1082 }
1083 return nil
1084}
1085
1086func (x *Message) GetPoweroff() *Poweroff {
1087 if x != nil {
1088 return x.Poweroff
1089 }
1090 return nil
1091}
1092
1093func (x *Message) GetPoweroffResult() *PoweroffResult {
1094 if x != nil {
1095 return x.PoweroffResult
1096 }
1097 return nil
1098}
1099
1100func (x *Message) GetOpenDebugShell() *OpenDebugShell {
1101 if x != nil {
1102 return x.OpenDebugShell
1103 }
1104 return nil
1105}
1106
1107func (x *Message) GetPtyData() *PtyData {
1108 if x != nil {
1109 return x.PtyData
1110 }
1111 return nil
1112}
1113
1114func (x *Message) GetPtyResize() *PtyResize {
1115 if x != nil {
1116 return x.PtyResize
1117 }
1118 return nil
1119}
1120
1121var File_spindle_agent_v1_agent_proto protoreflect.FileDescriptor
1122
1123const file_spindle_agent_v1_agent_proto_rawDesc = "" +
1124 "\n" +
1125 "\x1cspindle/agent/v1/agent.proto\x12\x10spindle.agent.v1\x1a\x1bbuf/validate/validate.proto\"\x91\x01\n" +
1126 "\x05Hello\x12)\n" +
1127 "\x10protocol_version\x18\x01 \x01(\rR\x0fprotocolVersion\x12#\n" +
1128 "\ragent_version\x18\x02 \x01(\tR\fagentVersion\x12\x17\n" +
1129 "\aboot_id\x18\x03 \x01(\tR\x06bootId\x12\x1f\n" +
1130 "\vnix_version\x18\x04 \x01(\tR\n" +
1131 "nixVersion\"\xe8\x01\n" +
1132 "\x04Init\x12\x15\n" +
1133 "\x06job_id\x18\x01 \x01(\tR\x05jobId\x129\n" +
1134 "\x19cache_trusted_public_keys\x18\x02 \x03(\tR\x16cacheTrustedPublicKeys\x121\n" +
1135 "\x15cache_read_proxy_port\x18\x03 \x01(\rR\x12cacheReadProxyPort\x125\n" +
1136 "\x17cache_upload_proxy_port\x18\x04 \x01(\rR\x14cacheUploadProxyPort\x12$\n" +
1137 "\x0edns_proxy_port\x18\x05 \x01(\rR\fdnsProxyPort\"\x80\x01\n" +
1138 "\tExecStart\x12\x12\n" +
1139 "\x04argv\x18\x01 \x03(\tR\x04argv\x12\x10\n" +
1140 "\x03env\x18\x02 \x03(\tR\x03env\x12\x10\n" +
1141 "\x03cwd\x18\x03 \x01(\tR\x03cwd\x12\x12\n" +
1142 "\x04user\x18\x04 \x01(\tR\x04user\x12'\n" +
1143 "\x0ftimeout_seconds\x18\x05 \x01(\rR\x0etimeoutSeconds\" \n" +
1144 "\n" +
1145 "ExecStdout\x12\x12\n" +
1146 "\x04data\x18\x01 \x01(\tR\x04data\" \n" +
1147 "\n" +
1148 "ExecStderr\x12\x12\n" +
1149 "\x04data\x18\x01 \x01(\tR\x04data\"Z\n" +
1150 "\bExecExit\x12\x1b\n" +
1151 "\texit_code\x18\x01 \x01(\x05R\bexitCode\x12\x14\n" +
1152 "\x05error\x18\x02 \x01(\tR\x05error\x12\x1b\n" +
1153 "\ttimed_out\x18\x03 \x01(\bR\btimedOut\"\xbf\x01\n" +
1154 "\x0eActivateConfig\x12\x1d\n" +
1155 "\n" +
1156 "config_key\x18\x01 \x01(\tR\tconfigKey\x12(\n" +
1157 "\x10base_config_hash\x18\x02 \x01(\tR\x0ebaseConfigHash\x12\x1f\n" +
1158 "\vuser_config\x18\x03 \x01(\tR\n" +
1159 "userConfig\x12\x1a\n" +
1160 "\btoplevel\x18\x04 \x01(\tR\btoplevel\x12'\n" +
1161 "\x0ftimeout_seconds\x18\x05 \x01(\rR\x0etimeoutSeconds\"g\n" +
1162 "\x14ActivateConfigResult\x12\x1d\n" +
1163 "\n" +
1164 "config_key\x18\x01 \x01(\tR\tconfigKey\x12\x1a\n" +
1165 "\btoplevel\x18\x02 \x01(\tR\btoplevel\x12\x14\n" +
1166 "\x05error\x18\x03 \x01(\tR\x05error\":\n" +
1167 "\n" +
1168 "BuiltPaths\x12\x14\n" +
1169 "\x05paths\x18\x01 \x03(\tR\x05paths\x12\x16\n" +
1170 "\x06reason\x18\x02 \x01(\tR\x06reason\"5\n" +
1171 "\n" +
1172 "CacheDrain\x12'\n" +
1173 "\x0ftimeout_seconds\x18\x01 \x01(\rR\x0etimeoutSeconds\"\xb8\x01\n" +
1174 "\x10CacheDrainResult\x12\x14\n" +
1175 "\x05error\x18\x01 \x01(\tR\x05error\x12!\n" +
1176 "\fcache_queued\x18\x02 \x01(\rR\vcacheQueued\x12!\n" +
1177 "\fcache_active\x18\x03 \x01(\rR\vcacheActive\x12%\n" +
1178 "\x0ecache_uploaded\x18\x04 \x01(\rR\rcacheUploaded\x12!\n" +
1179 "\fcache_failed\x18\x05 \x01(\rR\vcacheFailed\"\n" +
1180 "\n" +
1181 "\bPoweroff\"&\n" +
1182 "\x0ePoweroffResult\x12\x14\n" +
1183 "\x05error\x18\x01 \x01(\tR\x05error\"k\n" +
1184 "\x0eOpenDebugShell\x12\x1d\n" +
1185 "\n" +
1186 "vsock_port\x18\x01 \x01(\rR\tvsockPort\x12\x12\n" +
1187 "\x04term\x18\x02 \x01(\tR\x04term\x12\x12\n" +
1188 "\x04rows\x18\x03 \x01(\rR\x04rows\x12\x12\n" +
1189 "\x04cols\x18\x04 \x01(\rR\x04cols\"\x1d\n" +
1190 "\aPtyData\x12\x12\n" +
1191 "\x04data\x18\x01 \x01(\fR\x04data\"3\n" +
1192 "\tPtyResize\x12\x12\n" +
1193 "\x04rows\x18\x01 \x01(\rR\x04rows\x12\x12\n" +
1194 "\x04cols\x18\x02 \x01(\rR\x04cols\"\x8e\n" +
1195 "\n" +
1196 "\aMessage\x12\x17\n" +
1197 "\x02id\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\x02id\x12-\n" +
1198 "\x05hello\x18\x02 \x01(\v2\x17.spindle.agent.v1.HelloR\x05hello\x12*\n" +
1199 "\x04init\x18\x03 \x01(\v2\x16.spindle.agent.v1.InitR\x04init\x12:\n" +
1200 "\n" +
1201 "exec_start\x18\x04 \x01(\v2\x1b.spindle.agent.v1.ExecStartR\texecStart\x12=\n" +
1202 "\vexec_stdout\x18\x05 \x01(\v2\x1c.spindle.agent.v1.ExecStdoutR\n" +
1203 "execStdout\x12=\n" +
1204 "\vexec_stderr\x18\x06 \x01(\v2\x1c.spindle.agent.v1.ExecStderrR\n" +
1205 "execStderr\x127\n" +
1206 "\texec_exit\x18\a \x01(\v2\x1a.spindle.agent.v1.ExecExitR\bexecExit\x12I\n" +
1207 "\x0factivate_config\x18\b \x01(\v2 .spindle.agent.v1.ActivateConfigR\x0eactivateConfig\x12\\\n" +
1208 "\x16activate_config_result\x18\t \x01(\v2&.spindle.agent.v1.ActivateConfigResultR\x14activateConfigResult\x12=\n" +
1209 "\vbuilt_paths\x18\n" +
1210 " \x01(\v2\x1c.spindle.agent.v1.BuiltPathsR\n" +
1211 "builtPaths\x12=\n" +
1212 "\vcache_drain\x18\v \x01(\v2\x1c.spindle.agent.v1.CacheDrainR\n" +
1213 "cacheDrain\x12P\n" +
1214 "\x12cache_drain_result\x18\f \x01(\v2\".spindle.agent.v1.CacheDrainResultR\x10cacheDrainResult\x126\n" +
1215 "\bpoweroff\x18\r \x01(\v2\x1a.spindle.agent.v1.PoweroffR\bpoweroff\x12I\n" +
1216 "\x0fpoweroff_result\x18\x0e \x01(\v2 .spindle.agent.v1.PoweroffResultR\x0epoweroffResult\x12J\n" +
1217 "\x10open_debug_shell\x18\x0f \x01(\v2 .spindle.agent.v1.OpenDebugShellR\x0eopenDebugShell\x124\n" +
1218 "\bpty_data\x18\x10 \x01(\v2\x19.spindle.agent.v1.PtyDataR\aptyData\x12:\n" +
1219 "\n" +
1220 "pty_resize\x18\x11 \x01(\v2\x1b.spindle.agent.v1.PtyResizeR\tptyResize:\xe1\x01\xbaH\xdd\x01\"\xda\x01\n" +
1221 "\x05hello\n" +
1222 "\x04init\n" +
1223 "\n" +
1224 "exec_start\n" +
1225 "\vexec_stdout\n" +
1226 "\vexec_stderr\n" +
1227 "\texec_exit\n" +
1228 "\x0factivate_config\n" +
1229 "\x16activate_config_result\n" +
1230 "\vbuilt_paths\n" +
1231 "\vcache_drain\n" +
1232 "\x12cache_drain_result\n" +
1233 "\bpoweroff\n" +
1234 "\x0fpoweroff_result\n" +
1235 "\x10open_debug_shell\n" +
1236 "\bpty_data\n" +
1237 "\n" +
1238 "pty_resize\x10\x01B1Z/tangled.org/core/spindle/agentproto/gen;agentv1b\x06proto3"
1239
1240var (
1241 file_spindle_agent_v1_agent_proto_rawDescOnce sync.Once
1242 file_spindle_agent_v1_agent_proto_rawDescData []byte
1243)
1244
1245func file_spindle_agent_v1_agent_proto_rawDescGZIP() []byte {
1246 file_spindle_agent_v1_agent_proto_rawDescOnce.Do(func() {
1247 file_spindle_agent_v1_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_spindle_agent_v1_agent_proto_rawDesc), len(file_spindle_agent_v1_agent_proto_rawDesc)))
1248 })
1249 return file_spindle_agent_v1_agent_proto_rawDescData
1250}
1251
1252var file_spindle_agent_v1_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
1253var file_spindle_agent_v1_agent_proto_goTypes = []any{
1254 (*Hello)(nil), // 0: spindle.agent.v1.Hello
1255 (*Init)(nil), // 1: spindle.agent.v1.Init
1256 (*ExecStart)(nil), // 2: spindle.agent.v1.ExecStart
1257 (*ExecStdout)(nil), // 3: spindle.agent.v1.ExecStdout
1258 (*ExecStderr)(nil), // 4: spindle.agent.v1.ExecStderr
1259 (*ExecExit)(nil), // 5: spindle.agent.v1.ExecExit
1260 (*ActivateConfig)(nil), // 6: spindle.agent.v1.ActivateConfig
1261 (*ActivateConfigResult)(nil), // 7: spindle.agent.v1.ActivateConfigResult
1262 (*BuiltPaths)(nil), // 8: spindle.agent.v1.BuiltPaths
1263 (*CacheDrain)(nil), // 9: spindle.agent.v1.CacheDrain
1264 (*CacheDrainResult)(nil), // 10: spindle.agent.v1.CacheDrainResult
1265 (*Poweroff)(nil), // 11: spindle.agent.v1.Poweroff
1266 (*PoweroffResult)(nil), // 12: spindle.agent.v1.PoweroffResult
1267 (*OpenDebugShell)(nil), // 13: spindle.agent.v1.OpenDebugShell
1268 (*PtyData)(nil), // 14: spindle.agent.v1.PtyData
1269 (*PtyResize)(nil), // 15: spindle.agent.v1.PtyResize
1270 (*Message)(nil), // 16: spindle.agent.v1.Message
1271}
1272var file_spindle_agent_v1_agent_proto_depIdxs = []int32{
1273 0, // 0: spindle.agent.v1.Message.hello:type_name -> spindle.agent.v1.Hello
1274 1, // 1: spindle.agent.v1.Message.init:type_name -> spindle.agent.v1.Init
1275 2, // 2: spindle.agent.v1.Message.exec_start:type_name -> spindle.agent.v1.ExecStart
1276 3, // 3: spindle.agent.v1.Message.exec_stdout:type_name -> spindle.agent.v1.ExecStdout
1277 4, // 4: spindle.agent.v1.Message.exec_stderr:type_name -> spindle.agent.v1.ExecStderr
1278 5, // 5: spindle.agent.v1.Message.exec_exit:type_name -> spindle.agent.v1.ExecExit
1279 6, // 6: spindle.agent.v1.Message.activate_config:type_name -> spindle.agent.v1.ActivateConfig
1280 7, // 7: spindle.agent.v1.Message.activate_config_result:type_name -> spindle.agent.v1.ActivateConfigResult
1281 8, // 8: spindle.agent.v1.Message.built_paths:type_name -> spindle.agent.v1.BuiltPaths
1282 9, // 9: spindle.agent.v1.Message.cache_drain:type_name -> spindle.agent.v1.CacheDrain
1283 10, // 10: spindle.agent.v1.Message.cache_drain_result:type_name -> spindle.agent.v1.CacheDrainResult
1284 11, // 11: spindle.agent.v1.Message.poweroff:type_name -> spindle.agent.v1.Poweroff
1285 12, // 12: spindle.agent.v1.Message.poweroff_result:type_name -> spindle.agent.v1.PoweroffResult
1286 13, // 13: spindle.agent.v1.Message.open_debug_shell:type_name -> spindle.agent.v1.OpenDebugShell
1287 14, // 14: spindle.agent.v1.Message.pty_data:type_name -> spindle.agent.v1.PtyData
1288 15, // 15: spindle.agent.v1.Message.pty_resize:type_name -> spindle.agent.v1.PtyResize
1289 16, // [16:16] is the sub-list for method output_type
1290 16, // [16:16] is the sub-list for method input_type
1291 16, // [16:16] is the sub-list for extension type_name
1292 16, // [16:16] is the sub-list for extension extendee
1293 0, // [0:16] is the sub-list for field type_name
1294}
1295
1296func init() { file_spindle_agent_v1_agent_proto_init() }
1297func file_spindle_agent_v1_agent_proto_init() {
1298 if File_spindle_agent_v1_agent_proto != nil {
1299 return
1300 }
1301 type x struct{}
1302 out := protoimpl.TypeBuilder{
1303 File: protoimpl.DescBuilder{
1304 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1305 RawDescriptor: unsafe.Slice(unsafe.StringData(file_spindle_agent_v1_agent_proto_rawDesc), len(file_spindle_agent_v1_agent_proto_rawDesc)),
1306 NumEnums: 0,
1307 NumMessages: 17,
1308 NumExtensions: 0,
1309 NumServices: 0,
1310 },
1311 GoTypes: file_spindle_agent_v1_agent_proto_goTypes,
1312 DependencyIndexes: file_spindle_agent_v1_agent_proto_depIdxs,
1313 MessageInfos: file_spindle_agent_v1_agent_proto_msgTypes,
1314 }.Build()
1315 File_spindle_agent_v1_agent_proto = out.File
1316 file_spindle_agent_v1_agent_proto_goTypes = nil
1317 file_spindle_agent_v1_agent_proto_depIdxs = nil
1318}