Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuabezaleel committed Jun 18, 2022
1 parent ad4b965 commit 183eaee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/porter/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,11 @@ type DisplayInstallation struct {
Status storage.InstallationStatus `json:"status,omitempty" yaml:"status,omitempty" toml:"status,omitempty"`
DisplayInstallationMetadata `json:"_calculated" yaml:"_calculated"`

DisplayInstallationState string `json:"displayInstallationState,omitempty" yaml:"displayInstallationState,omitempty" toml:"displayInstallationState,omitempty"`
// DisplayInstallationState is the latest state of the installation.
// It is either "installed", "uninstalled", or "defined".
DisplayInstallationState string `json:"displayInstallationState,omitempty" yaml:"displayInstallationState,omitempty" toml:"displayInstallationState,omitempty"`
// DisplayInstallationStatus is the latest status of the installation.
// It is either "succeeded, "failed", "installing", "uninstalling", "upgrading", or "running <custom action>"
DisplayInstallationStatus string `json:"displayInstallationStatus,omitempty" yaml:"displayInstallationStatus,omitempty" toml:"displayInstallationStatus,omitempty"`
}

Expand Down

0 comments on commit 183eaee

Please sign in to comment.