File tree Expand file tree Collapse file tree 3 files changed +205
-183
lines changed
Expand file tree Collapse file tree 3 files changed +205
-183
lines changed Original file line number Diff line number Diff line change @@ -22,23 +22,24 @@ type Volume struct {
2222}
2323
2424type ContainerOpts struct {
25- Env map [string ]string
26- LogOptions map [string ]string
27- Namespace string
28- RestartPolicy corev1.RestartPolicy
29- PodName string
30- Image string
31- LogDriver string
32- Network string
33- ContainerName string
34- Volumes []Volume
35- Secrets []Secret // Kubernetes secrets to create
36- Command []string
37- Args []string
38- Timeout time.Duration
39- AttachStdout bool
40- AttachStderr bool
41- AutoRemove bool
25+ Env map [string ]string
26+ LogOptions map [string ]string
27+ Namespace string
28+ RestartPolicy corev1.RestartPolicy
29+ PodName string
30+ Image string
31+ LogDriver string
32+ Network string
33+ ContainerName string
34+ Volumes []Volume
35+ Secrets []Secret // Kubernetes secrets to create
36+ Command []string
37+ Args []string
38+ Timeout time.Duration
39+ AttachStdout bool
40+ AttachStderr bool
41+ AutoRemove bool
42+ JobTTLSecondsAfterFinished * int32 // TTL for Kubernetes Jobs after completion (in seconds)
4243}
4344
4445func (c * ContainerOpts ) String () string {
You can’t perform that action at this time.
0 commit comments