Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var E_PermissionRole = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*Role)(nil), Field: 50000, Name: "axelar.permission.exported.v1beta1.permission_role", Tag: "varint,50000,opt,name=permission_role,enum=axelar.permission.exported.v1beta1.Role", Filename: "axelar/permission/exported/v1beta1/types.proto", }
View Source
var Role_name = map[int32]string{
0: "ROLE_UNSPECIFIED",
1: "ROLE_UNRESTRICTED",
2: "ROLE_CHAIN_MANAGEMENT",
3: "ROLE_ACCESS_CONTROL",
}
View Source
var Role_value = map[string]int32{
"ROLE_UNSPECIFIED": 0,
"ROLE_UNRESTRICTED": 1,
"ROLE_CHAIN_MANAGEMENT": 2,
"ROLE_ACCESS_CONTROL": 3,
}
Functions ¶
This section is empty.
Types ¶
type Role ¶
type Role int32
func GetPermissionRole ¶ added in v0.17.0
func GetPermissionRole(message descriptor.Message) Role
GetPermissionRole returns the role that is defined for the given message. Returns ROLE_UNSPECIFIED if none is set.
func (Role) EnumDescriptor ¶
Click to show internal directories.
Click to hide internal directories.