Documentation ¶
Index ¶
- Variables
- type HaState
- func (HaState) Descriptor() protoreflect.EnumDescriptor
- func (x HaState) Enum() *HaState
- func (HaState) EnumDescriptor() ([]byte, []int)deprecated
- func (x HaState) Number() protoreflect.EnumNumber
- func (x HaState) String() string
- func (HaState) Type() protoreflect.EnumType
- func (x *HaState) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HaState_name = map[int32]string{ 0: "UNKNOWN", 1: "BACKUP", 2: "DISABLED", 3: "ERROR", 4: "LEADER", 5: "SHUTDOWN", } HaState_value = map[string]int32{ "UNKNOWN": 0, "BACKUP": 1, "DISABLED": 2, "ERROR": 3, "LEADER": 4, "SHUTDOWN": 5, } )
Enum value maps for HaState.
View Source
var File_seesaw_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HaState ¶
type HaState int32
High-Availability states for a Seesaw Node.
const ( // State of the node could not be determined. HaState_UNKNOWN HaState = 0 // Node is in a ready but non-serving state. HaState_BACKUP HaState = 1 // Node is disabled, will not serve traffic. HaState_DISABLED HaState = 2 // Node is in a failure state. HaState_ERROR HaState = 3 // Node is in an active and serving state. HaState_LEADER HaState = 4 // Node is in shutdown state and will stop serving requests. HaState_SHUTDOWN HaState = 5 )
func (HaState) Descriptor ¶
func (HaState) Descriptor() protoreflect.EnumDescriptor
func (HaState) EnumDescriptor
deprecated
func (HaState) Number ¶
func (x HaState) Number() protoreflect.EnumNumber
func (HaState) Type ¶
func (HaState) Type() protoreflect.EnumType
func (*HaState) UnmarshalJSON
deprecated
Click to show internal directories.
Click to hide internal directories.