Documentation
¶
Index ¶
- func ConvertToWorkflow(v starlark.Value) (*workflow.Workflow, error)
- func DefaultBuiltIns() map[string]starlark.StringDict
- func LoadWorkflow(ctx context.Context, hc *http.Client, fn string, ciContext WorkflowContext, ...) (*workflow.Workflow, error)
- func MakeLoad(src modOpener) func(thread *starlark.Thread, module string) (starlark.StringDict, error)
- type Config
- type GithubEvent
- type PrintFunc
- type WorkflowContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToWorkflow ¶ added in v0.11.0
func DefaultBuiltIns ¶ added in v0.11.0
func DefaultBuiltIns() map[string]starlark.StringDict
func LoadWorkflow ¶ added in v0.11.0
Types ¶
type Config ¶ added in v0.11.0
type Config struct { // BuiltIns modules loaded via the "builtin:///" BuiltIns map[string]starlark.StringDict // Predeclared global variables Predeclared starlark.StringDict // Print function for user feedback Print PrintFunc }
type GithubEvent ¶ added in v0.11.0
type GithubEvent interface { GetInstallation() *github.Installation GetRepo() *github.Repository GetSender() *github.User }
type WorkflowContext ¶ added in v0.11.0
type WorkflowContext struct { Repo *github.Repository Entrypoint string Ref string RefType string SHA string ContextData map[string]string PRs []*github.PullRequest Event GithubEvent }
Click to show internal directories.
Click to hide internal directories.