core

package
v5.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

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",
}
View Source
var 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,
}

Functions

This section is empty.

Types

type DeviceTransientState

type DeviceTransientState struct {
	TransientState       DeviceTransientState_Types `` /* 141-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*DeviceTransientState) Descriptor

func (*DeviceTransientState) Descriptor() ([]byte, []int)

func (*DeviceTransientState) GetTransientState

func (m *DeviceTransientState) GetTransientState() DeviceTransientState_Types

func (*DeviceTransientState) ProtoMessage

func (*DeviceTransientState) ProtoMessage()

func (*DeviceTransientState) Reset

func (m *DeviceTransientState) Reset()

func (*DeviceTransientState) String

func (m *DeviceTransientState) String() string

func (*DeviceTransientState) XXX_DiscardUnknown

func (m *DeviceTransientState) XXX_DiscardUnknown()

func (*DeviceTransientState) XXX_Marshal

func (m *DeviceTransientState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeviceTransientState) XXX_Merge

func (m *DeviceTransientState) XXX_Merge(src proto.Message)

func (*DeviceTransientState) XXX_Size

func (m *DeviceTransientState) XXX_Size() int

func (*DeviceTransientState) XXX_Unmarshal

func (m *DeviceTransientState) XXX_Unmarshal(b []byte) error

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
)

func (DeviceTransientState_Types) EnumDescriptor

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

func (DeviceTransientState_Types) String

Jump to

Keyboard shortcuts

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