Introduce method "Environment" to the Runners interface.

This way we can relate to which environment a runner belongs.
This commit is contained in:
Maximilian Paß
2022-04-10 21:48:30 +02:00
parent 8feffdae3a
commit b7a20e3114
7 changed files with 35 additions and 34 deletions

View File

@ -61,6 +61,10 @@ func (w *AWSFunctionWorkload) ID() string {
return w.id
}
func (w *AWSFunctionWorkload) Environment() dto.EnvironmentID {
return w.environment.ID()
}
func (w *AWSFunctionWorkload) MappedPorts() []*dto.MappedPort {
return []*dto.MappedPort{}
}