Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLabel ¶
func NewLabel(modifiers ...LabelModifier) *github.Label
func NewPullRequestEvent ¶
func NewPullRequestEvent(modifiers ...PullRequestEventModifier) *github.PullRequestEvent
func NewPushEvent ¶
func NewPushEvent(modifiers ...PushEventModifier) *github.PushEvent
Types ¶
type LabelModifier ¶
func SetLabelName ¶
func SetLabelName(name string) LabelModifier
type PullRequestEventModifier ¶
type PullRequestEventModifier func(event *github.PullRequestEvent)
func SetPullRequestEventAction ¶
func SetPullRequestEventAction(action string) PullRequestEventModifier
func SetPullRequestEventBranch ¶
func SetPullRequestEventBranch(branch string) PullRequestEventModifier
func SetPullRequestEventLabels ¶
func SetPullRequestEventLabels(labels []string) PullRequestEventModifier
func SetPullRequestEventTriggeredLabel ¶
func SetPullRequestEventTriggeredLabel(label string) PullRequestEventModifier
type PushEventModifier ¶
func SetPushEventBranch ¶
func SetPushEventBranch(branch string) PushEventModifier
func SetPushEventTag ¶
func SetPushEventTag(tag string) PushEventModifier
Click to show internal directories.
Click to hide internal directories.