Documentation
¶
Index ¶
Constants ¶
View Source
const ( StateOK = "ok" StateWarn = "warn" StateMissing = "missing" StateUnknown = "unknown" )
Variables ¶
This section is empty.
Functions ¶
func ExpectedGeneratedFiles ¶
func ExpectedGeneratedFiles() []string
func HasActiveProject ¶
func HasActiveProject() bool
Types ¶
type Project ¶
type Project struct {
ID string `json:"id,omitempty"`
Path string `json:"path"`
// Registered reports whether the user registered this directory. Only a
// registered project has a credential set devvault trusts, so this is what
// tells a consumer apart "no credentials configured yet" from "devvault
// deliberately determines none".
Registered bool `json:"registered"`
Customer string `json:"customer"`
Name string `json:"name"`
CredentialSet string `json:"credential_set"`
AWSProfile string `json:"aws_profile"`
Terraform string `json:"terraform"`
Backend string `json:"backend"`
}
type Report ¶
type Report struct {
Project Project `json:"project"`
Checks []Check `json:"checks"`
BackendChecks []status.DoctorResult `json:"backend_checks"`
ActiveBackend string `json:"active_backend,omitempty"`
OverallStatus string `json:"overall_status"`
NextCommands []string `json:"next_commands,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.