Documentation ¶
Index ¶
- Variables
- type Commands
- type RoleService
- func (RoleService) Descriptor() protoreflect.EnumDescriptor
- func (x RoleService) Enum() *RoleService
- func (RoleService) EnumDescriptor() ([]byte, []int)deprecated
- func (x RoleService) Number() protoreflect.EnumNumber
- func (x RoleService) String() string
- func (RoleService) Type() protoreflect.EnumType
- type StatusService
- func (StatusService) Descriptor() protoreflect.EnumDescriptor
- func (x StatusService) Enum() *StatusService
- func (StatusService) EnumDescriptor() ([]byte, []int)deprecated
- func (x StatusService) Number() protoreflect.EnumNumber
- func (x StatusService) String() string
- func (StatusService) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RoleService_name = map[int32]string{ 0: "Observer", 1: "Monitor", 2: "Support", 3: "Interface", } RoleService_value = map[string]int32{ "Observer": 0, "Monitor": 1, "Support": 2, "Interface": 3, } )
Enum value maps for RoleService.
View Source
var ( StatusService_name = map[int32]string{ 0: "On", 1: "Off", 2: "Starts", 3: "Stops", 4: "Restarts", 5: "Down", 6: "Created", 7: "Updated", 8: "Deleted", } StatusService_value = map[string]int32{ "On": 0, "Off": 1, "Starts": 2, "Stops": 3, "Restarts": 4, "Down": 5, "Created": 6, "Updated": 7, "Deleted": 8, } )
Enum value maps for StatusService.
View Source
var ( Commands_name = map[int32]string{ 0: "Start", 1: "Stop", 2: "Restart", } Commands_value = map[string]int32{ "Start": 0, "Stop": 1, "Restart": 2, } )
Enum value maps for Commands.
View Source
var File_proto_msa_utils_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Commands ¶
type Commands int32
func (Commands) Descriptor ¶
func (Commands) Descriptor() protoreflect.EnumDescriptor
func (Commands) EnumDescriptor
deprecated
func (Commands) Number ¶
func (x Commands) Number() protoreflect.EnumNumber
func (Commands) Type ¶
func (Commands) Type() protoreflect.EnumType
type RoleService ¶
type RoleService int32
const ( RoleService_Observer RoleService = 0 RoleService_Monitor RoleService = 1 RoleService_Support RoleService = 2 RoleService_Interface RoleService = 3 )
func (RoleService) Descriptor ¶
func (RoleService) Descriptor() protoreflect.EnumDescriptor
func (RoleService) Enum ¶
func (x RoleService) Enum() *RoleService
func (RoleService) EnumDescriptor
deprecated
func (RoleService) EnumDescriptor() ([]byte, []int)
Deprecated: Use RoleService.Descriptor instead.
func (RoleService) Number ¶
func (x RoleService) Number() protoreflect.EnumNumber
func (RoleService) String ¶
func (x RoleService) String() string
func (RoleService) Type ¶
func (RoleService) Type() protoreflect.EnumType
type StatusService ¶
type StatusService int32
const ( StatusService_On StatusService = 0 StatusService_Off StatusService = 1 StatusService_Starts StatusService = 2 StatusService_Stops StatusService = 3 StatusService_Restarts StatusService = 4 StatusService_Down StatusService = 5 StatusService_Created StatusService = 6 StatusService_Updated StatusService = 7 StatusService_Deleted StatusService = 8 )
func (StatusService) Descriptor ¶
func (StatusService) Descriptor() protoreflect.EnumDescriptor
func (StatusService) Enum ¶
func (x StatusService) Enum() *StatusService
func (StatusService) EnumDescriptor
deprecated
func (StatusService) EnumDescriptor() ([]byte, []int)
Deprecated: Use StatusService.Descriptor instead.
func (StatusService) Number ¶
func (x StatusService) Number() protoreflect.EnumNumber
func (StatusService) String ¶
func (x StatusService) String() string
func (StatusService) Type ¶
func (StatusService) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.