forked from flyteorg/flyteidl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidecar.pb.go
96 lines (83 loc) · 3.92 KB
/
sidecar.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: flyteidl/plugins/sidecar.proto
package plugins
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
v1 "k8s.io/api/core/v1"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// A sidecar job brings up the desired pod_spec.
// The plugin executor is responsible for keeping the pod alive until the primary container terminates
// or the task itself times out.
type SidecarJob struct {
PodSpec *v1.PodSpec `protobuf:"bytes,1,opt,name=pod_spec,json=podSpec,proto3" json:"pod_spec,omitempty"`
PrimaryContainerName string `protobuf:"bytes,2,opt,name=primary_container_name,json=primaryContainerName,proto3" json:"primary_container_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SidecarJob) Reset() { *m = SidecarJob{} }
func (m *SidecarJob) String() string { return proto.CompactTextString(m) }
func (*SidecarJob) ProtoMessage() {}
func (*SidecarJob) Descriptor() ([]byte, []int) {
return fileDescriptor_b34ccf0cecf5c059, []int{0}
}
func (m *SidecarJob) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SidecarJob.Unmarshal(m, b)
}
func (m *SidecarJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SidecarJob.Marshal(b, m, deterministic)
}
func (m *SidecarJob) XXX_Merge(src proto.Message) {
xxx_messageInfo_SidecarJob.Merge(m, src)
}
func (m *SidecarJob) XXX_Size() int {
return xxx_messageInfo_SidecarJob.Size(m)
}
func (m *SidecarJob) XXX_DiscardUnknown() {
xxx_messageInfo_SidecarJob.DiscardUnknown(m)
}
var xxx_messageInfo_SidecarJob proto.InternalMessageInfo
func (m *SidecarJob) GetPodSpec() *v1.PodSpec {
if m != nil {
return m.PodSpec
}
return nil
}
func (m *SidecarJob) GetPrimaryContainerName() string {
if m != nil {
return m.PrimaryContainerName
}
return ""
}
func init() {
proto.RegisterType((*SidecarJob)(nil), "flyteidl.plugins.SidecarJob")
}
func init() { proto.RegisterFile("flyteidl/plugins/sidecar.proto", fileDescriptor_b34ccf0cecf5c059) }
var fileDescriptor_b34ccf0cecf5c059 = []byte{
// 224 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x8f, 0x3f, 0x4b, 0x03, 0x41,
0x10, 0x47, 0x39, 0x0b, 0xff, 0xac, 0x8d, 0x1c, 0x22, 0x41, 0x41, 0x42, 0xaa, 0x34, 0xce, 0x10,
0xa3, 0x62, 0xad, 0x9d, 0x85, 0x48, 0xd2, 0xd9, 0x1c, 0x7b, 0xbb, 0x93, 0x75, 0xf0, 0x6e, 0x67,
0xd8, 0xdb, 0x04, 0xce, 0x4f, 0x2f, 0x7a, 0x39, 0x0b, 0xbb, 0x81, 0xc7, 0x3c, 0x7e, 0xcf, 0x5c,
0x6f, 0x9a, 0x3e, 0x13, 0xfb, 0x06, 0xb5, 0xd9, 0x06, 0x8e, 0x1d, 0x76, 0xec, 0xc9, 0xd9, 0x04,
0x9a, 0x24, 0x4b, 0x79, 0x36, 0x72, 0xd8, 0xf3, 0xcb, 0xd9, 0xe7, 0x63,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