-
Notifications
You must be signed in to change notification settings - Fork 31
/
get_pod_req.go
22 lines (19 loc) · 1.21 KB
/
get_pod_req.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package v1alpha1
import (
"time"
corev1 "k8s.io/api/core/v1"
)
type GetPodSpecReq struct {
Cluster string `protobuf:"bytes,1,opt,name=cluster"`
PipelineName string `protobuf:"bytes,3,opt,name=pipelineName"`
Replica int32 `protobuf:"varint,4,opt,name=replica"`
ImageFormat string `protobuf:"bytes,5,opt,name=imageFormat"`
RunnerImage string `protobuf:"bytes,6,opt,name=runnerImage"`
PullPolicy corev1.PullPolicy `protobuf:"bytes,7,opt,name=pullPolicy,casttype=k8s.io/api/core/v1.PullPolicy"`
UpdateInterval time.Duration `protobuf:"varint,8,opt,name=updateInterval,casttype=time.Duration"`
StepStatus StepStatus `protobuf:"bytes,9,opt,name=stepStatus"`
Sidecar Sidecar `protobuf:"bytes,10,opt,name=sidecar"`
ImagePullSecrets []corev1.LocalObjectReference `protobuf:"bytes,11,rep,name=imagePullSecrets"`
Hostname string `protobuf:"bytes,12,opt,name=hostname"`
Subdomain string `protobuf:"bytes,13,opt,name=subdomain"`
}