File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
- 0.12 .0
1
+ 0.13 .0
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ import (
7
7
"time"
8
8
)
9
9
10
+ const (
11
+ KubernetesRunnerType = "kubernetes"
12
+ )
13
+
10
14
type (
11
15
// IRuntimeEnvironmentAPI declers Codefresh runtime environment API
12
16
IRuntimeEnvironmentAPI interface {
72
76
Namespace string
73
77
HasAgent bool
74
78
StorageClass string
75
- StepsAsPods bool
79
+ RunnerType string
76
80
}
77
81
78
82
ValidateRuntimeOptions struct {
@@ -109,7 +113,7 @@ func (r *runtimeEnvironment) Create(opt *CreateRuntimeOptions) (*RuntimeEnvironm
109
113
"clusterName" : opt .Cluster ,
110
114
"namespace" : opt .Namespace ,
111
115
"storageClassName" : opt .StorageClass ,
112
- "stepsAsPods " : opt .StepsAsPods ,
116
+ "runnerType " : opt .RunnerType ,
113
117
}
114
118
if opt .HasAgent {
115
119
body ["agent" ] = true
You can’t perform that action at this time.
0 commit comments