Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { Action string `json:"action"` Actor string `json:"actor"` Event json.RawMessage `json:"event"` EventName string `json:"event_name"` EventPath string `json:"event_path"` Job string `json:"job"` Ref string `json:"ref"` Repository string `json:"repository"` RepositoryOwner string `json:"repository_owner"` RunId string `json:"run_id"` RunNumber string `json:"run_number"` ServerUrl string `json:"server_url"` SHA string `json:"sha"` Token string `json:"token,omitempty"` Workflow string `json:"workflow"` Workspace string `json:"workspace"` }
func ParseContext ¶
type CurrentBuildEnvironment ¶
func ParseBuild ¶
func ParseBuild(envs *string) (*CurrentBuildEnvironment, error)
func (*CurrentBuildEnvironment) FilterEnvs ¶
func (in *CurrentBuildEnvironment) FilterEnvs() map[string]string
func (*CurrentBuildEnvironment) GetEnvs ¶
func (in *CurrentBuildEnvironment) GetEnvs() map[string]string
type RunnerContext ¶
type RunnerContext struct { Name string `json:"name"` Arch string `json:"arch"` OS string `json:"os"` Temp string `json:"temp"` ToolCache string `json:"tool_cache"` }
func ParseRunner ¶
func ParseRunner(runner *string) (*RunnerContext, error)
Click to show internal directories.
Click to hide internal directories.