Documentation
¶
Index ¶
Constants ¶
View Source
const ( // TaskName is the name of the GitHub action request task TaskName string = "notification/github-workflow" // DefaultRef is default github reference (branch) DefaultRef string = "master" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Inputs ¶
type Inputs struct {
Repository string `json:"repository" yaml:"repository"`
Workflow string `json:"workflow" yaml:"workflow"`
Secret string `json:"secret" yaml:"secret"`
Ref *string `json:"ref,omitempty" yaml:"ref,omitempty"`
WFInputs []v2alpha2.NamedValue `json:"inputs,omitempty" yaml:"inputs,omitempty"`
VersionInfo []core.VersionInfo `json:"versionInfo,omitempty" yaml:"versionInfo,omitempty"`
IgnoreFailure *bool `json:"ignoreFailure,omitempty" yaml:"ignoreFailure,omitempty"`
}
Inputs contain the name and arguments of the task.
type Task ¶
type Task struct {
core.TaskMeta `json:",inline" yaml:",inline"`
With Inputs `json:"with" yaml:"with"`
}
Task encapsulates the task.
func (*Task) ToHTTPTask ¶
ToHTTPTask converts a Task to an http Task
Click to show internal directories.
Click to hide internal directories.