Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultStatusCheck ¶ added in v0.2.27
type DefaultStatusCheck int
const ( DefaultStatusCheckNone DefaultStatusCheck = iota DefaultStatusCheckSuccess DefaultStatusCheckAlways DefaultStatusCheckCanceled DefaultStatusCheckFailure )
func (DefaultStatusCheck) String ¶ added in v0.2.27
func (dsc DefaultStatusCheck) String() string
type EvaluationEnvironment ¶
type EvaluationEnvironment struct { Github *model.GithubContext Env map[string]string Job *model.JobContext Steps map[string]*model.StepResult Runner map[string]interface{} Secrets map[string]string Strategy map[string]interface{} Matrix map[string]interface{} Needs map[string]map[string]map[string]string Inputs map[string]interface{} }
type Interpreter ¶
type Interpreter interface {
Evaluate(input string, defaultStatusCheck DefaultStatusCheck) (interface{}, error)
}
func NewInterpeter ¶
func NewInterpeter(env *EvaluationEnvironment, config Config) Interpreter
Click to show internal directories.
Click to hide internal directories.