mirror of
https://github.com/zitadel/zitadel
synced 2024-11-22 00:39:36 +00:00
9892fd92b6
* refactor: drop unused code * refactor: drop unused code
16 lines
254 B
Go
16 lines
254 B
Go
package domain
|
|
|
|
type PolicyState int32
|
|
|
|
const (
|
|
PolicyStateUnspecified PolicyState = iota
|
|
PolicyStateActive
|
|
PolicyStateRemoved
|
|
|
|
policyStateCount
|
|
)
|
|
|
|
func (s PolicyState) Exists() bool {
|
|
return s != PolicyStateUnspecified && s != PolicyStateRemoved
|
|
}
|