Versions in this module Expand all Collapse all v0 v0.246.3 Jul 2, 2023 Changes in this version + var ContainerNewContainer = container.NewContainer + func EvalBool(ctx context.Context, evaluator ExpressionEvaluator, expr string, ...) (bool, error) + func Masks(ctx context.Context) *[]string + func WithCompositeLogger(ctx context.Context, masks *[]string) context.Context + func WithCompositeStepLogger(ctx context.Context, stepID string) context.Context + func WithJobLogger(ctx context.Context, jobID string, jobName string, config *Config, ...) context.Context + func WithJobLoggerFactory(ctx context.Context, factory JobLoggerFactory) context.Context + func WithMasks(ctx context.Context, masks *[]string) context.Context + type Config struct + ActionCacheDir string + Actor string + ArtifactServerAddr string + ArtifactServerPath string + ArtifactServerPort string + AutoRemove bool + BindWorkdir bool + ContainerArchitecture string + ContainerCapAdd []string + ContainerCapDrop []string + ContainerDaemonSocket string + ContainerMaxLifetime time.Duration + ContainerNamePrefix string + ContainerNetworkMode docker_container.NetworkMode + ContainerOptions string + DefaultActionInstance string + DefaultBranch string + Env map[string]string + EventJSON string + EventName string + EventPath string + ForcePull bool + ForceRebuild bool + GitHubInstance string + Inputs map[string]string + InsecureSecrets bool + JSONLogger bool + JobLoggerLevel *log.Level + LogOutput bool + Matrix map[string]map[string]bool + NoSkipCheckout bool + PlatformPicker func(labels []string) string + Platforms map[string]string + PresetGitHubContext *model.GithubContext + Privileged bool + RemoteName string + ReplaceGheActionTokenWithGithubCom string + ReplaceGheActionWithGithubCom []string + ReuseContainers bool + Secrets map[string]string + Token string + UseGitIgnore bool + UsernsMode string + ValidVolumes []string + Vars map[string]string + Workdir string + func (c Config) GetToken() string + type ExpressionEvaluator interface + EvaluateYamlNode func(context.Context, *yaml.Node) error + Interpolate func(context.Context, string) string + type JobLoggerFactory interface + WithJobLogger func() *logrus.Logger + type MappableOutput struct + OutputName string + StepID string + type RunContext struct + ActionPath string + Config *Config + CurrentStep string + Env map[string]string + EventJSON string + ExprEval ExpressionEvaluator + ExtraPath []string + GlobalEnv map[string]string + IntraActionState map[string]map[string]string + JobContainer container.ExecutionsEnvironment + JobName string + Masks []string + Matrix map[string]interface{} + Name string + OutputMappings map[MappableOutput]MappableOutput + Parent *RunContext + Run *model.Run + ServiceContainers []container.ExecutionsEnvironment + StepResults map[string]*model.StepResult + func (rc *RunContext) ActionCacheDir() string + func (rc *RunContext) AddMask(mask string) + func (rc *RunContext) ApplyExtraPath(ctx context.Context, env *map[string]string) + func (rc *RunContext) Executor() common.Executor + func (rc *RunContext) GetBindsAndMounts() ([]string, map[string]string) + func (rc *RunContext) GetEnv() map[string]string + func (rc *RunContext) GetServiceBindsAndMounts(svcVolumes []string) ([]string, map[string]string) + func (rc *RunContext) IsHostEnv(ctx context.Context) bool + func (rc *RunContext) NewExpressionEvaluator(ctx context.Context) ExpressionEvaluator + func (rc *RunContext) NewExpressionEvaluatorWithEnv(ctx context.Context, env map[string]string) ExpressionEvaluator + func (rc *RunContext) NewStepExpressionEvaluator(ctx context.Context, step step) ExpressionEvaluator + func (rc *RunContext) String() string + func (rc *RunContext) UpdateExtraPath(ctx context.Context, githubEnvPath string) error + type Runner interface + NewPlanExecutor func(plan *model.Plan) common.Executor + func New(runnerConfig *Config) (Runner, error) + func NewReusableWorkflowRunner(rc *RunContext) (Runner, error)