Documentation ¶
Index ¶
- Variables
- type UserType
- func (UserType) Descriptor() protoreflect.EnumDescriptor
- func (x UserType) Enum() *UserType
- func (UserType) EnumDescriptor() ([]byte, []int)deprecated
- func (t UserType) Equal(target UserType) bool
- func (t UserType) IsIn(targets ...UserType) bool
- func (t UserType) MarshalJSON() ([]byte, error)
- func (x UserType) Number() protoreflect.EnumNumber
- func (x UserType) String() string
- func (UserType) Type() protoreflect.EnumType
- func (t *UserType) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UserType_name = map[int32]string{ 0: "SUB", 1: "PRIMARY", 2: "SUPPER", 3: "INTERNAL", 4: "DOMAIN_ADMIN", 5: "ORG_ADMIN", 6: "PERM_ADMIN", 7: "AUDIT_ADMIN", } UserType_value = map[string]int32{ "SUB": 0, "PRIMARY": 1, "SUPPER": 2, "INTERNAL": 3, "DOMAIN_ADMIN": 4, "ORG_ADMIN": 5, "PERM_ADMIN": 6, "AUDIT_ADMIN": 7, } )
Enum value maps for UserType.
View Source
var File_pkg_user_pb_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type UserType ¶ added in v0.2.0
type UserType int32
func ParseUserTypeFromString ¶ added in v0.2.0
ParseUserTypeFromString Parse UserType from string
func (UserType) Descriptor ¶ added in v0.2.0
func (UserType) Descriptor() protoreflect.EnumDescriptor
func (UserType) EnumDescriptor
deprecated
added in
v0.2.0
func (UserType) MarshalJSON ¶ added in v0.2.0
MarshalJSON todo
func (UserType) Number ¶ added in v0.2.0
func (x UserType) Number() protoreflect.EnumNumber
func (UserType) Type ¶ added in v0.2.0
func (UserType) Type() protoreflect.EnumType
func (*UserType) UnmarshalJSON ¶ added in v0.2.0
UnmarshalJSON todo
Click to show internal directories.
Click to hide internal directories.