Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFoundError ¶
Types ¶
type Client ¶
type Client interface { ListPullRequests(ctx context.Context, r Repository, revision string) ([]PullRequest, error) CreateComment(ctx context.Context, r Repository, pullNumber int, body string) error CreateDeploymentStatus(ctx context.Context, d Deployment, ds DeploymentStatus) error FindLatestDeploymentStatus(ctx context.Context, d Deployment) (*DeploymentStatus, error) }
type Comment ¶
type Comment struct { Repository Repository CommitSHA string Body string }
type Deployment ¶
type Deployment struct { Repository Repository Id int64 }
func ParseDeploymentURL ¶
func ParseDeploymentURL(s string) *Deployment
ParseDeploymentURL parses the URL. For example, https://api.github.com/repos/int128/sandbox/deployments/422988781
type DeploymentStatus ¶
type PullRequest ¶
type Repository ¶
func ParseRepositoryURL ¶
func ParseRepositoryURL(s string) *Repository
Click to show internal directories.
Click to hide internal directories.