-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
79 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
package adminconfig | ||
|
||
import ( | ||
"net/url" | ||
|
||
"github.com/hashicorp/go-version" | ||
|
||
"github.com/palantir/go-githubapp/githubapp" | ||
"github.com/runatlantis/atlantis/server/config/valid" | ||
"github.com/runatlantis/atlantis/server/logging" | ||
) | ||
|
||
type AuthConfig struct { | ||
SslCertFile string | ||
SslKeyFile string | ||
} | ||
|
||
type ServerConfig struct { | ||
URL *url.URL | ||
Version string | ||
Port int | ||
} | ||
|
||
type TerraformConfig struct { | ||
DefaultVersion string | ||
DownloadURL string | ||
LogFilters valid.TerraformLogFilters | ||
} | ||
|
||
type ValidationConfig struct { | ||
DefaultVersion *version.Version | ||
Policies valid.PolicySets | ||
} | ||
|
||
type FeatureConfig struct { | ||
FFOwner string | ||
FFRepo string | ||
FFPath string | ||
FFBranch string | ||
} | ||
|
||
// Config is TerraformAdmin (admin mode) specific user config | ||
type Config struct { | ||
AuthCfg AuthConfig | ||
ServerCfg ServerConfig | ||
FeatureConfig FeatureConfig | ||
TemporalCfg valid.Temporal | ||
GithubCfg valid.Github | ||
TerraformCfg TerraformConfig | ||
ValidationConfig ValidationConfig | ||
DeploymentConfig valid.StoreConfig | ||
JobConfig valid.StoreConfig | ||
Metrics valid.Metrics | ||
|
||
StatsNamespace string | ||
|
||
DataDir string | ||
CtxLogger logging.Logger | ||
App githubapp.Config | ||
LyftAuditJobsSnsTopicArn string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters