Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubAction ¶
type GithubAction struct { Action string `json:"action"` ActionPath string `json:"action_path"` ActionRef string `json:"action_ref"` ActionRepository string `json:"action_repository"` ActionStatus string `json:"action_status"` Actor string `json:"actor"` BaseRef string `json:"base_ref"` Env string `json:"env"` Event interface{} `json:"event"` EventName string `json:"event_name"` EventPath string `json:"event_path"` Path string `json:"path"` RefType string `json:"ref_type"` Repository string `json:"repository"` RepositoryOwner string `json:"repository_owner"` }
func GetGitHubContext ¶
func GetGitHubContext(ghContext string) (*GithubAction, error)
func (*GithubAction) ToEventPackage ¶
func (g *GithubAction) ToEventPackage() models.EventPackage
func (*GithubAction) UnmarshalJSON ¶
func (g *GithubAction) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.