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 (
77 "time"
88)
99
10+ const (
11+ KubernetesRunnerType = "kubernetes"
12+ )
13+
1014type (
1115 // IRuntimeEnvironmentAPI declers Codefresh runtime environment API
1216 IRuntimeEnvironmentAPI interface {
7276 Namespace string
7377 HasAgent bool
7478 StorageClass string
75- StepsAsPods bool
79+ RunnerType string
7680 }
7781
7882 ValidateRuntimeOptions struct {
@@ -109,7 +113,7 @@ func (r *runtimeEnvironment) Create(opt *CreateRuntimeOptions) (*RuntimeEnvironm
109113 "clusterName" : opt .Cluster ,
110114 "namespace" : opt .Namespace ,
111115 "storageClassName" : opt .StorageClass ,
112- "stepsAsPods " : opt .StepsAsPods ,
116+ "runnerType " : opt .RunnerType ,
113117 }
114118 if opt .HasAgent {
115119 body ["agent" ] = true
You can’t perform that action at this time.
0 commit comments