Documentation
¶
Index ¶
- Variables
- type DeviceTransientState
- func (*DeviceTransientState) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceTransientState) GetTransientState() DeviceTransientState_Types
- func (*DeviceTransientState) ProtoMessage()
- func (x *DeviceTransientState) ProtoReflect() protoreflect.Message
- func (x *DeviceTransientState) Reset()
- func (x *DeviceTransientState) String() string
- type DeviceTransientState_Types
- func (DeviceTransientState_Types) Descriptor() protoreflect.EnumDescriptor
- func (x DeviceTransientState_Types) Enum() *DeviceTransientState_Types
- func (DeviceTransientState_Types) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeviceTransientState_Types) Number() protoreflect.EnumNumber
- func (x DeviceTransientState_Types) String() string
- func (DeviceTransientState_Types) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DeviceTransientState_Types_name = map[int32]string{ 0: "NONE", 1: "ANY", 2: "FORCE_DELETING", 3: "DELETING_FROM_ADAPTER", 4: "DELETING_POST_ADAPTER_RESPONSE", 5: "DELETE_FAILED", 6: "RECONCILE_IN_PROGRESS", 7: "REBOOT_IN_PROGRESS", } DeviceTransientState_Types_value = map[string]int32{ "NONE": 0, "ANY": 1, "FORCE_DELETING": 2, "DELETING_FROM_ADAPTER": 3, "DELETING_POST_ADAPTER_RESPONSE": 4, "DELETE_FAILED": 5, "RECONCILE_IN_PROGRESS": 6, "REBOOT_IN_PROGRESS": 7, } )
Enum value maps for DeviceTransientState_Types.
View Source
var File_voltha_protos_core_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DeviceTransientState ¶
type DeviceTransientState struct {
TransientState DeviceTransientState_Types `` /* 141-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*DeviceTransientState) Descriptor
deprecated
func (*DeviceTransientState) Descriptor() ([]byte, []int)
Deprecated: Use DeviceTransientState.ProtoReflect.Descriptor instead.
func (*DeviceTransientState) GetTransientState ¶
func (x *DeviceTransientState) GetTransientState() DeviceTransientState_Types
func (*DeviceTransientState) ProtoMessage ¶
func (*DeviceTransientState) ProtoMessage()
func (*DeviceTransientState) ProtoReflect ¶ added in v5.7.1
func (x *DeviceTransientState) ProtoReflect() protoreflect.Message
func (*DeviceTransientState) Reset ¶
func (x *DeviceTransientState) Reset()
func (*DeviceTransientState) String ¶
func (x *DeviceTransientState) String() string
type DeviceTransientState_Types ¶
type DeviceTransientState_Types int32
Transient State for devices
const ( // The transient state of the device is not set DeviceTransientState_NONE DeviceTransientState_Types = 0 // The state of the device in core is any state, i.e DELETING, DELETED, DELETE_FAILED, NONE. // This state is only used for transitions. DeviceTransientState_ANY DeviceTransientState_Types = 1 // The device is in FORCE_DELETING state DeviceTransientState_FORCE_DELETING DeviceTransientState_Types = 2 // The device is getting deleted from adapter state DeviceTransientState_DELETING_FROM_ADAPTER DeviceTransientState_Types = 3 // The device is deleted from adapter and is getting deleted in core. DeviceTransientState_DELETING_POST_ADAPTER_RESPONSE DeviceTransientState_Types = 4 // State to represent that the device deletion is failed DeviceTransientState_DELETE_FAILED DeviceTransientState_Types = 5 // State to represent that reconcile is in progress DeviceTransientState_RECONCILE_IN_PROGRESS DeviceTransientState_Types = 6 // State to represent that reboot is in progress DeviceTransientState_REBOOT_IN_PROGRESS DeviceTransientState_Types = 7 )
func (DeviceTransientState_Types) Descriptor ¶ added in v5.7.1
func (DeviceTransientState_Types) Descriptor() protoreflect.EnumDescriptor
func (DeviceTransientState_Types) Enum ¶ added in v5.7.1
func (x DeviceTransientState_Types) Enum() *DeviceTransientState_Types
func (DeviceTransientState_Types) EnumDescriptor
deprecated
func (DeviceTransientState_Types) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceTransientState_Types.Descriptor instead.
func (DeviceTransientState_Types) Number ¶ added in v5.7.1
func (x DeviceTransientState_Types) Number() protoreflect.EnumNumber
func (DeviceTransientState_Types) String ¶
func (x DeviceTransientState_Types) String() string
func (DeviceTransientState_Types) Type ¶ added in v5.7.1
func (DeviceTransientState_Types) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.