Documentation ¶
Index ¶
- type CheckRun
- type CheckRunActivityType
- type CheckSuite
- type CheckSuiteActivityType
- type Create
- type Cron
- type Delete
- type Deployment
- type DeploymentStatus
- type Event
- type Fork
- type Gollum
- type IssueComment
- type IssueCommentActivityType
- type Issues
- type IssuesActivityType
- type Label
- type LabelActivityType
- type MergeGroup
- type MergeGroupActivityType
- type Milestone
- type MilestoneActivityType
- type PageBuild
- type Project
- type ProjectActivityType
- type ProjectCard
- type ProjectCardActivityType
- type ProjectColumn
- type ProjectColumnActivityType
- type Public
- type PullRequest
- type PullRequestActivityType
- type PullRequestReview
- type PullRequestReviewActivityType
- type PullRequestReviewComment
- type PullRequestReviewCommentActivityType
- type PullRequestTarget
- type PullRequestTargetActivityType
- type Push
- type RegistryPackage
- type RegistryPackageActivityType
- type Release
- type ReleaseActivityType
- type RepositoryDispatch
- type RepositoryDispatchActivityType
- type Schedule
- type Status
- type Type
- type Watch
- type WatchActivityType
- type WorkflowDispatch
- type WorkflowInput
- type WorkflowRun
- type WorkflowRunActivityType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckRun ¶
type CheckRun struct {
Types []CheckRunActivityType `yaml:",omitempty"`
}
type CheckRunActivityType ¶
type CheckRunActivityType string
const ( CheckRunCreated CheckRunActivityType = "created" CheckRunRerequested CheckRunActivityType = "rerequested" CheckRunCompleted CheckRunActivityType = "completed" CheckRunRequestedAction CheckRunActivityType = "requested_action" )
type CheckSuite ¶
type CheckSuite struct {
Types []CheckSuiteActivityType `yaml:",omitempty"`
}
func (CheckSuite) Type ¶
func (CheckSuite) Type() Type
type CheckSuiteActivityType ¶
type CheckSuiteActivityType string
const ( CheckSuiteCompleted CheckSuiteActivityType = "completed" CheckSuiteRequested CheckSuiteActivityType = "requested" CheckSuiteRerequested CheckSuiteActivityType = "rerequested" )
type Cron ¶
func (Cron) MarshalYAML ¶
type DeploymentStatus ¶
type DeploymentStatus struct{}
func (DeploymentStatus) Type ¶
func (DeploymentStatus) Type() Type
type IssueComment ¶
type IssueComment struct {
Types []IssueCommentActivityType `yaml:",omitempty"`
}
func (IssueComment) Type ¶
func (IssueComment) Type() Type
type IssueCommentActivityType ¶
type IssueCommentActivityType string
const ( IssueCommentCreated IssueCommentActivityType = "created" IssueCommentEdited IssueCommentActivityType = "edited" IssueCommentDeleted IssueCommentActivityType = "deleted" )
type Issues ¶
type Issues struct {
Types []IssuesActivityType `yaml:",omitempty"`
}
type IssuesActivityType ¶
type IssuesActivityType string
const ( IssuesOpened IssuesActivityType = "opened" IssuesEdited IssuesActivityType = "edited" IssuesDeleted IssuesActivityType = "deleted" IssuesTransferred IssuesActivityType = "transferred" IssuesPinned IssuesActivityType = "pinned" IssuesUnpinned IssuesActivityType = "unpinned" IssuesClosed IssuesActivityType = "closed" IssuesReopened IssuesActivityType = "reopened" IssuesAssigned IssuesActivityType = "assigned" IssuesUnassigned IssuesActivityType = "unassigned" IssuesLabeled IssuesActivityType = "labeled" IssuesUnlabeled IssuesActivityType = "unlabeled" IssuesLocked IssuesActivityType = "locked" IssuesUnlocked IssuesActivityType = "unlocked" IssuesMilestoned IssuesActivityType = "milestoned" IssuesDemilestoned IssuesActivityType = "demilestoned" )
type Label ¶
type Label struct {
Types []LabelActivityType `yaml:",omitempty"`
}
type LabelActivityType ¶
type LabelActivityType string
const ( LabelCreated LabelActivityType = "created" LabelEdited LabelActivityType = "edited" LabelDeleted LabelActivityType = "deleted" )
type MergeGroup ¶ added in v1.31.0
type MergeGroup struct { Types []MergeGroupActivityType `yaml:",omitempty"` Branches []string `yaml:",omitempty"` BranchesIgnore []string `yaml:"branches-ignore,omitempty"` Paths []string `yaml:",omitempty"` PathsIgnore []string `yaml:"paths-ignore,omitempty"` }
func (MergeGroup) Type ¶ added in v1.31.0
func (MergeGroup) Type() Type
type MergeGroupActivityType ¶ added in v1.31.0
type MergeGroupActivityType string
const (
MergeGroupChecksRequested MergeGroupActivityType = "checks_requested"
)
type Milestone ¶
type Milestone struct {
Types []MilestoneActivityType `yaml:",omitempty"`
}
type MilestoneActivityType ¶
type MilestoneActivityType string
const ( MilestoneCreated MilestoneActivityType = "created" MilestoneClosed MilestoneActivityType = "closed" MilestoneOpened MilestoneActivityType = "opened" MilestoneEdited MilestoneActivityType = "edited" MilestoneDeleted MilestoneActivityType = "deleted" )
type Project ¶
type Project struct {
Types []ProjectActivityType `yaml:",omitempty"`
}
type ProjectActivityType ¶
type ProjectActivityType string
const ( ProjectCreated ProjectActivityType = "created" ProjectUpdated ProjectActivityType = "updated" ProjectClosed ProjectActivityType = "closed" ProjectReopened ProjectActivityType = "reopened" ProjectEdited ProjectActivityType = "edited" ProjectDeleted ProjectActivityType = "deleted" )
type ProjectCard ¶
type ProjectCard struct {
Types []ProjectCardActivityType `yaml:",omitempty"`
}
func (ProjectCard) Type ¶
func (ProjectCard) Type() Type
type ProjectCardActivityType ¶
type ProjectCardActivityType string
const ( ProjectCardCreated ProjectCardActivityType = "created" ProjectCardMoved ProjectCardActivityType = "moved" ProjectCardConverted ProjectCardActivityType = "converted" ProjectCardEdited ProjectCardActivityType = "edited" ProjectCardDeleted ProjectCardActivityType = "deleted" )
type ProjectColumn ¶
type ProjectColumn struct {
Types []ProjectCardActivityType `yaml:",omitempty"`
}
func (ProjectColumn) Type ¶
func (ProjectColumn) Type() Type
type ProjectColumnActivityType ¶
type ProjectColumnActivityType string
const ( ProjectColumnCreated ProjectColumnActivityType = "created" ProjectColumnUpdated ProjectColumnActivityType = "updated" ProjectColumnMoved ProjectColumnActivityType = "moved" ProjectColumnDeleted ProjectColumnActivityType = "deleted" )
type PullRequest ¶
type PullRequest struct { Types []PullRequestActivityType `yaml:",omitempty"` Branches []string `yaml:",omitempty"` BranchesIgnore []string `yaml:"branches-ignore,omitempty"` Tags []string `yaml:"tags,omitempty"` TagsIgnore []string `yaml:"tags-ignore,omitempty"` Paths []string `yaml:",omitempty"` PathsIgnore []string `yaml:"paths-ignore,omitempty"` }
func (PullRequest) Type ¶
func (PullRequest) Type() Type
type PullRequestActivityType ¶
type PullRequestActivityType string
const ( PullRequestAssigned PullRequestActivityType = "assigned" PullRequestUnassigned PullRequestActivityType = "unassigned" PullRequestLabeled PullRequestActivityType = "labeled" PullRequestUnlabeled PullRequestActivityType = "unlabeled" PullRequestOpened PullRequestActivityType = "opened" PullRequestEdited PullRequestActivityType = "edited" PullRequestClosed PullRequestActivityType = "closed" PullRequestReopened PullRequestActivityType = "reopened" PullRequestSynchronize PullRequestActivityType = "synchronize" PullRequestReadyForReview PullRequestActivityType = "ready_for_review" PullRequestLocked PullRequestActivityType = "locked" PullRequestUnlocked PullRequestActivityType = "unlocked" PullRequestReviewRequested PullRequestActivityType = "review_requested" PullRequestReviewRequestRemoved PullRequestActivityType = "review_request_removed" )
type PullRequestReview ¶
type PullRequestReview struct {
Types []PullRequestReviewActivityType `yaml:",omitempty"`
}
func (PullRequestReview) Type ¶
func (PullRequestReview) Type() Type
type PullRequestReviewActivityType ¶
type PullRequestReviewActivityType string
const ( PullRequestReviewSubmitted PullRequestReviewActivityType = "submitted" PullRequestReviewEdited PullRequestReviewActivityType = "edited" PullRequestReviewDismissed PullRequestReviewActivityType = "dismissed" )
type PullRequestReviewComment ¶
type PullRequestReviewComment struct {
Types []PullRequestReviewCommentActivityType `yaml:",omitempty"`
}
func (PullRequestReviewComment) Type ¶
func (PullRequestReviewComment) Type() Type
type PullRequestReviewCommentActivityType ¶
type PullRequestReviewCommentActivityType string
const ( PullRequestReviewCommentCreated PullRequestReviewCommentActivityType = "created" PullRequestReviewCommentEdited PullRequestReviewCommentActivityType = "edited" PullRequestReviewCommentDeleted PullRequestReviewCommentActivityType = "deleted" )
type PullRequestTarget ¶
type PullRequestTarget struct { Types []PullRequestTargetActivityType `yaml:",omitempty"` Branches []string `yaml:",omitempty"` BranchesIgnore []string `yaml:"branches-ignore,omitempty"` Tags []string `yaml:"tags,omitempty"` TagsIgnore []string `yaml:"tags-ignore,omitempty"` Paths []string `yaml:",omitempty"` PathsIgnore []string `yaml:"paths-ignore,omitempty"` }
func (PullRequestTarget) Type ¶
func (PullRequestTarget) Type() Type
type PullRequestTargetActivityType ¶
type PullRequestTargetActivityType string
const ( PullRequestTargetAssigned PullRequestTargetActivityType = "assigned" PullRequestTargetUnassigned PullRequestTargetActivityType = "unassigned" PullRequestTargetLabeled PullRequestTargetActivityType = "labeled" PullRequestTargetUnlabeled PullRequestTargetActivityType = "unlabeled" PullRequestTargetOpened PullRequestTargetActivityType = "opened" PullRequestTargetEdited PullRequestTargetActivityType = "edited" PullRequestTargetClosed PullRequestTargetActivityType = "closed" PullRequestTargetReopened PullRequestTargetActivityType = "reopened" PullRequestTargetSynchronize PullRequestTargetActivityType = "synchronize" PullRequestTargetReadyForReview PullRequestTargetActivityType = "ready_for_review" PullRequestTargetLocked PullRequestTargetActivityType = "locked" PullRequestTargetUnlocked PullRequestTargetActivityType = "unlocked" PullRequestTargetReviewRequested PullRequestTargetActivityType = "review_requested" PullRequestTargetReviewRequestRemoved PullRequestTargetActivityType = "review_request_removed" )
type Push ¶
type RegistryPackage ¶
type RegistryPackage struct {
Types []RegistryPackageActivityType `yaml:",omitempty"`
}
func (RegistryPackage) Type ¶
func (RegistryPackage) Type() Type
type RegistryPackageActivityType ¶
type RegistryPackageActivityType string
const ( RegistryPackagePublished RegistryPackageActivityType = "published" RegistryPackageUpdated RegistryPackageActivityType = "updated" )
type Release ¶
type Release struct {
Types []ReleaseActivityType `yaml:",omitempty"`
}
type ReleaseActivityType ¶
type ReleaseActivityType string
const ( ReleasePublished ReleaseActivityType = "published" ReleaseUnpublished ReleaseActivityType = "unpublished" ReleaseCreated ReleaseActivityType = "created" ReleaseEdited ReleaseActivityType = "edited" ReleaseDeleted ReleaseActivityType = "deleted" ReleasePrereleased ReleaseActivityType = "prereleased" ReleaseReleased ReleaseActivityType = "released" )
type RepositoryDispatch ¶
type RepositoryDispatch struct {
Types []RepositoryDispatchActivityType `yaml:",omitempty"`
}
func (RepositoryDispatch) Type ¶
func (RepositoryDispatch) Type() Type
type RepositoryDispatchActivityType ¶
type RepositoryDispatchActivityType string
type Type ¶
type Type string
const CheckRunType Type = "check_run"
const CheckSuiteType Type = "check_suite"
const CreateType Type = "create"
const DeleteType Type = "delete"
const DeploymentStatusType Type = "deployment_status"
const DeploymentType Type = "deployment"
const ForkType Type = "fork"
const GollumType Type = "gollum"
const IssueCommentType Type = "issue_comment"
const IssuesType Type = "issues"
const LabelType Type = "label"
const MergeGroupType Type = "merge_group"
const MilestoneType Type = "milestone"
const PageBuildType Type = "page_build"
const ProjectCardType Type = "project_card"
const ProjectColumnType Type = "project_column"
const ProjectType Type = "project"
const PublicType Type = "public"
const PullRequestReviewCommentType Type = "pull_request_review_comment"
const PullRequestReviewType Type = "pull_request_review"
const PullRequestTargetType Type = "pull_request_target"
const PullRequestType Type = "pull_request"
const PushType Type = "push"
const RegistryPackageType Type = "registry_package"
const ReleaseType Type = "release"
const RepositoryDispatchType Type = "repository_dispatch"
const ScheduleType Type = "schedule"
const StatusType Type = "status"
const WatchType Type = "watch"
const WorkflowDispatchType Type = "workflow_dispatch"
const WorkflowRunType Type = "workflow_run"
type Watch ¶
type Watch struct {
Types []WatchActivityType `yaml:",omitempty"`
}
type WatchActivityType ¶
type WatchActivityType string
const (
WatchStarted WatchActivityType = "started"
)
type WorkflowDispatch ¶
type WorkflowDispatch struct {
Inputs map[string]WorkflowInput `yaml:",omitempty"`
}
func (WorkflowDispatch) Type ¶
func (WorkflowDispatch) Type() Type
type WorkflowInput ¶
type WorkflowRun ¶
type WorkflowRun struct { Workflows []string `yaml:",omitempty"` Branches []string `yaml:",omitempty"` BranchesIgnore []string `yaml:"branches-ignore,omitempty"` Types []WorkflowRunActivityType `yaml:",omitempty"` }
func (WorkflowRun) Type ¶
func (WorkflowRun) Type() Type
type WorkflowRunActivityType ¶
type WorkflowRunActivityType string
Source Files ¶
- check_run.go
- check_suite.go
- create.go
- delete.go
- deployment.go
- deployment_status.go
- events.go
- fork.go
- gollum.go
- issue_comment.go
- issues.go
- label.go
- merge_group.go
- milestone.go
- page_build.go
- project.go
- project_card.go
- project_column.go
- public.go
- pull_request.go
- pull_request_review.go
- pull_request_review_comment.go
- pull_request_target.go
- push.go
- registry_package.go
- release.go
- repository_dispatch.go
- schedule.go
- status.go
- watch.go
- workflow_dispatch.go
- workflow_run.go
Click to show internal directories.
Click to hide internal directories.