Documentation ¶
Overview ¶
Package bootstrap is used to make getting started with atlantis easier
Index ¶
- func Start() error
- type Client
- func (g *Client) CheckForkSuccess(ownerName string, forkRepoName string) bool
- func (g *Client) CreateFork(owner string, repoName string) error
- func (g *Client) CreatePullRequest(ownerName string, repoName string, head string, base string) (string, error)
- func (g *Client) CreateWebhook(ownerName string, repoName string, hookURL string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client used for github interactions
func (*Client) CheckForkSuccess ¶
CheckForkSuccess waits for github fork to complete
func (*Client) CreateFork ¶
CreateFork forks a github repo into user that is authenticated
func (*Client) CreatePullRequest ¶
func (g *Client) CreatePullRequest(ownerName string, repoName string, head string, base string) (string, error)
CreatePullRequest creates a github pull request with custom title and description. It first checks if there's already a pull request open for this branch
Click to show internal directories.
Click to hide internal directories.