Versions in this module Expand all Collapse all v0 v0.1.0 Aug 2, 2017 Changes in this version + const ProjectConfigFile + func Asset(name string) ([]byte, error) + func AssetDir(name string) ([]string, error) + func AssetInfo(name string) (os.FileInfo, error) + func AssetNames() []string + func MustAsset(name string) []byte + func RestoreAsset(dir, name string) error + func RestoreAssets(dir, name string) error + type ApplyExecutor struct + type Command struct + Environment string + Name CommandName + Verbose bool + type CommandContext struct + BaseRepo models.Repo + Command *Command + HeadRepo models.Repo + Log *logging.SimpleLogger + Pull models.PullRequest + User models.User + type CommandExtraArguments struct + Arguments []string + Name string + type CommandHandler struct + func (c *CommandHandler) ExecuteCommand(ctx *CommandContext) + func (c *CommandHandler) SetLockURL(f func(id string) (url string)) + type CommandName int + const Apply + const Help + const Plan + func (c CommandName) String() string + type CommandResponse struct + Command CommandName + Error error + Failure string + ProjectResults []ProjectResult + type CommonData struct + Command string + Log string + Verbose bool + type ConcurrentRunLocker struct + func NewConcurrentRunLocker() *ConcurrentRunLocker + func (c *ConcurrentRunLocker) TryLock(repoFullName string, env string, pullNum int) bool + func (c *ConcurrentRunLocker) Unlock(repoFullName, env string, pullNum int) + type ConfigReader struct + func (c *ConfigReader) Exists(execPath string) bool + func (c *ConfigReader) Read(execPath string) (ProjectConfig, error) + type ErrData struct + Error string + type EventParser struct + GithubUser string + func (e *EventParser) DetermineCommand(comment *github.IssueCommentEvent) (*Command, error) + func (e *EventParser) ExtractCommentData(comment *github.IssueCommentEvent, ctx *CommandContext) error + func (e *EventParser) ExtractPullData(pull *github.PullRequest) (models.PullRequest, models.Repo, error) + func (e *EventParser) ExtractRepoData(ghRepo *github.Repository) (models.Repo, error) + type FailureData struct + Failure string + type GithubCommentRenderer struct + type GithubStatus struct + func (g *GithubStatus) Update(repo models.Repo, pull models.PullRequest, status Status, step string) error + func (g *GithubStatus) UpdateProjectResult(ctx *CommandContext, projectResults []ProjectResult) error + type HelpExecutor struct + type PlanExecutor struct + LockURL func(id string) (url string) + func (p *PlanExecutor) ModifiedProjects(repoFullName string, modifiedFiles []string) []models.Project + type PlanSuccess struct + LockURL string + TerraformOutput string + type PreApply struct + Commands []string + type PrePlan struct + Commands []string + type ProjectConfig struct + ExtraArguments []CommandExtraArguments + PreApply PreApply + PrePlan PrePlan + TerraformVersion *version.Version + func (c *ProjectConfig) GetExtraArguments(command string) []string + type ProjectConfigYaml struct + ExtraArguments []CommandExtraArguments + PreApply PreApply + PrePlan PrePlan + TerraformVersion string + type ProjectResult struct + ApplySuccess string + Error error + Failure string + Path string + PlanSuccess *PlanSuccess + func (p ProjectResult) Status() Status + type PullClosedExecutor struct + func (p *PullClosedExecutor) CleanUpPull(repo models.Repo, pull models.PullRequest) error + type RequestLogger struct + func NewRequestLogger(logger *logging.SimpleLogger) *RequestLogger + func (l *RequestLogger) ServeHTTP(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc) + type ResultData struct + Results map[string]string + type Server struct + func NewServer(config ServerConfig) (*Server, error) + func (s *Server) Start() error + type ServerConfig struct + AWSRegion string + AssumeRole string + AtlantisURL string + DataDir string + GithubHostname string + GithubToken string + GithubUser string + LogLevel string + Port int + RequireApproval bool + type Status int + const ApplyStep + const Error + const Failure + const Pending + const PlanStep + const Success + func (s Status) String() string + type Workspace struct + func (w *Workspace) Clone(ctx *CommandContext) (string, error) + func (w *Workspace) Delete(repo models.Repo, pull models.PullRequest) error + func (w *Workspace) GetWorkspace(ctx *CommandContext) (string, error)