zitadel/internal/v2/domain/machine_key.go

15 lines
184 B
Go
Raw Normal View History

package domain
type MachineKeyType int32
const (
MachineKeyTypeNONE = iota
MachineKeyTypeJSON
keyCount
)
func (f MachineKeyType) Valid() bool {
return f >= 0 && f < keyCount
}