-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/controller: replace string literals with constants for reasons
- Loading branch information
Showing
6 changed files
with
38 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package v1alpha1 | ||
|
||
const ( | ||
// ReasonReconciling represents for the reconciliation is in progress. | ||
ReasonReconciling = "Reconciling" | ||
// ReasonGettingDevDB represents the reason for getting the dev database. | ||
ReasonGettingDevDB = "GettingDevDB" | ||
// ReasonWhoAmI represents the reason for getting the current user via Atlas CLI | ||
ReasonWhoAmI = "WhoAmI" | ||
// ReasonApplyingMigration represents the reason for applied a schema/migration resource successfully. | ||
ReasonApplied = "Applied" | ||
// ReasonApprovalPending represents the reason for the approval is pending. | ||
ReasonApprovalPending = "ApprovalPending" | ||
// ReasonCreatingAtlasClient represents the reason for creating an Atlas client. | ||
ReasonCreatingAtlasClient = "CreatingAtlasClient" | ||
// ReasonCreatingWorkingDir represents the reason for creating a working directory. | ||
ReasonCreatingWorkingDir = "CreatingWorkingDir" | ||
) |
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