Introduce method "Environment" to the Runners interface.
This way we can relate to which environment a runner belongs.
This commit is contained in:
@@ -19,6 +19,9 @@ type Runner interface {
|
||||
// ID returns the id of the runner.
|
||||
ID() string
|
||||
|
||||
// Environment returns the id of the Environment to which the Runner belongs.
|
||||
Environment() dto.EnvironmentID
|
||||
|
||||
// MappedPorts returns the mapped ports of the runner.
|
||||
MappedPorts() []*dto.MappedPort
|
||||
|
||||
|
Reference in New Issue
Block a user