msaUtils

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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
const (
	Commands_Start   Commands = 0
	Commands_Stop    Commands = 1
	Commands_Restart Commands = 2
)

func (Commands) Descriptor

func (Commands) Descriptor() protoreflect.EnumDescriptor

func (Commands) Enum

func (x Commands) Enum() *Commands

func (Commands) EnumDescriptor deprecated

func (Commands) EnumDescriptor() ([]byte, []int)

Deprecated: Use Commands.Descriptor instead.

func (Commands) Number

func (x Commands) Number() protoreflect.EnumNumber

func (Commands) String

func (x Commands) String() string

func (Commands) Type

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) 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

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) Enum

func (x StatusService) Enum() *StatusService

func (StatusService) EnumDescriptor deprecated

func (StatusService) EnumDescriptor() ([]byte, []int)

Deprecated: Use StatusService.Descriptor instead.

func (StatusService) Number

func (StatusService) String

func (x StatusService) String() string

func (StatusService) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL