mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-23 16:00:52 +00:00
22 lines
604 B
Go
22 lines
604 B
Go
package sync
|
|
|
|
type Status string
|
|
|
|
const (
|
|
StatusReady Status = "ready"
|
|
StatusExisting Status = "existing"
|
|
StatusRemove Status = "remove"
|
|
StatusBlocked Status = "blocked"
|
|
)
|
|
|
|
type ReasonCode string
|
|
|
|
const (
|
|
ReasonInvalidPolicy ReasonCode = "invalid_policy"
|
|
ReasonAlreadyExists ReasonCode = "already_exists_in_target"
|
|
ReasonOnlyExistsInTarget ReasonCode = "only_exists_in_target"
|
|
ReasonManagedOnlyInTarget ReasonCode = "managed_only_exists_in_target"
|
|
ReasonUnsafeRemoval ReasonCode = "unsafe_managed_rule_removal"
|
|
ReasonReadOnlyRule ReasonCode = "read_only_rule"
|
|
)
|