github.com/leg100/ots@v0.0.7-0.20210919080622-034055ced4bd/agent/executor.go (about)

     1  package agent
     2  
     3  import (
     4  	"github.com/go-logr/logr"
     5  	"github.com/leg100/ots"
     6  )
     7  
     8  type Executor struct {
     9  	logr.Logger
    10  
    11  	RunService                  ots.RunService
    12  	ConfigurationVersionService ots.ConfigurationVersionService
    13  	StateVersionService         ots.StateVersionService
    14  }
    15  
    16  func (e *Executor) Do(run *ots.Run) error {
    17  	return nil
    18  }
    19  
    20  type ExecutorEnvironment struct {
    21  	//lint:ignore U1000 wip
    22  	path string
    23  }