Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRunnerParameters ¶
func NewRunnerParameters() eventline.RunnerParameters
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) ExecuteStep ¶
func (r *Runner) ExecuteStep(ctx context.Context, se *eventline.StepExecution, step *eventline.Step, stdout, stderr io.WriteCloser) error
type RunnerCfg ¶
type RunnerCfg struct { URI string `json:"uri,omitempty"` CACertificatePath string `json:"ca_certificate_path,omitempty"` CertificatePath string `json:"certificate_path,omitempty"` PrivateKeyPath string `json:"private_key_path,omitempty"` MountPoints []RunnerCfgMountPoint `json:"mount_points,omitempty"` }
func (*RunnerCfg) ValidateJSON ¶ added in v1.1.0
type RunnerCfgMountPoint ¶ added in v1.0.0
type RunnerCfgMountPoint struct { Source string `json:"source"` Target string `json:"target"` ReadOnly bool `json:"read_only,omitempty"` }
func (*RunnerCfgMountPoint) ValidateJSON ¶ added in v1.1.0
func (cfg *RunnerCfgMountPoint) ValidateJSON(v *ejson.Validator)
type RunnerParameters ¶
type RunnerParameters struct { Image string `json:"image"` CPULimit float64 `json:"cpu_limit,omitempty"` MemoryLimit int `json:"memory_limit,omitempty"` // megabytes }
func (*RunnerParameters) ValidateJSON ¶ added in v1.1.0
func (r *RunnerParameters) ValidateJSON(v *ejson.Validator)
Click to show internal directories.
Click to hide internal directories.