Documentation ¶
Index ¶
- Variables
- func ComponentAddMetadata(builder *flatbuffers.Builder, metadata flatbuffers.UOffsetT)
- func ComponentAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func ComponentAddState(builder *flatbuffers.Builder, state flatbuffers.UOffsetT)
- func ComponentEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ComponentStart(builder *flatbuffers.Builder)
- func StateAddState(builder *flatbuffers.Builder, state CurrentState)
- func StateEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func StateStart(builder *flatbuffers.Builder)
- type Component
- func (rcv *Component) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Component) Metadata(obj *comm__datalayer.Metadata) *comm__datalayer.Metadata
- func (rcv *Component) Name() []byte
- func (rcv *Component) State(obj *State) *State
- func (rcv *Component) Table() flatbuffers.Table
- func (rcv *Component) UnPack() *ComponentT
- func (rcv *Component) UnPackTo(t *ComponentT)
- type ComponentT
- type CurrentState
- type State
- type StateT
Constants ¶
This section is empty.
Variables ¶
View Source
var EnumNamesCurrentState = map[CurrentState]string{ CurrentStateINIT: "INIT", CurrentStateSTOP: "STOP", CurrentStateRUN: "RUN", CurrentStateERROR: "ERROR", CurrentStateSYSERROR: "SYSERROR", CurrentStateSHUTDOWN: "SHUTDOWN", CurrentStateWARNING: "WARNING", CurrentStateSERVICE: "SERVICE", CurrentStateSETUP: "SETUP", CurrentStatePARTIAL_OPERATING: "PARTIAL_OPERATING", CurrentStateOPERATING: "OPERATING", }
View Source
var EnumValuesCurrentState = map[string]CurrentState{ "INIT": CurrentStateINIT, "STOP": CurrentStateSTOP, "RUN": CurrentStateRUN, "ERROR": CurrentStateERROR, "SYSERROR": CurrentStateSYSERROR, "SHUTDOWN": CurrentStateSHUTDOWN, "WARNING": CurrentStateWARNING, "SERVICE": CurrentStateSERVICE, "SETUP": CurrentStateSETUP, "PARTIAL_OPERATING": CurrentStatePARTIAL_OPERATING, "OPERATING": CurrentStateOPERATING, }
Functions ¶
func ComponentAddMetadata ¶
func ComponentAddMetadata(builder *flatbuffers.Builder, metadata flatbuffers.UOffsetT)
func ComponentAddName ¶
func ComponentAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func ComponentAddState ¶
func ComponentAddState(builder *flatbuffers.Builder, state flatbuffers.UOffsetT)
func ComponentEnd ¶
func ComponentEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ComponentStart ¶
func ComponentStart(builder *flatbuffers.Builder)
/ Metadata information about the Data Layer child node which will be created for the component
func StateAddState ¶
func StateAddState(builder *flatbuffers.Builder, state CurrentState)
func StateEnd ¶
func StateEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func StateStart ¶
func StateStart(builder *flatbuffers.Builder)
Types ¶
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
func GetRootAsComponent ¶
func GetRootAsComponent(buf []byte, offset flatbuffers.UOffsetT) *Component
func GetSizePrefixedRootAsComponent ¶
func GetSizePrefixedRootAsComponent(buf []byte, offset flatbuffers.UOffsetT) *Component
func (*Component) Metadata ¶
func (rcv *Component) Metadata(obj *comm__datalayer.Metadata) *comm__datalayer.Metadata
/ Current state of component / Metadata information about the Data Layer child node which will be created for the component
func (*Component) Table ¶
func (rcv *Component) Table() flatbuffers.Table
func (*Component) UnPack ¶
func (rcv *Component) UnPack() *ComponentT
func (*Component) UnPackTo ¶
func (rcv *Component) UnPackTo(t *ComponentT)
type ComponentT ¶
type ComponentT struct { Name string `json:"name"` State *StateT `json:"state"` Metadata *comm__datalayer.MetadataT `json:"metadata"` }
/ Information about the component
func (*ComponentT) Pack ¶
func (t *ComponentT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type CurrentState ¶
type CurrentState int8
/ Types of system operation state
const ( /// CurrentStateINIT CurrentState = 0 /// CurrentStateSTOP CurrentState = 1 /// CurrentStateRUN CurrentState = 2 /// At least one error is pending CurrentStateERROR CurrentState = 3 /// CurrentStateSYSERROR CurrentState = 4 /// CurrentStateSHUTDOWN CurrentState = 5 /// At least one warning is pending CurrentStateWARNING CurrentState = 6 /// User tasks and callables are not executed, action with influence on the real-time behavior can be performed CurrentStateSERVICE CurrentState = 7 /// User tasks and callables will executed, changes to the configuration are permitted, action with influence on the real-time behavior (like app installation) are not allowed CurrentStateSETUP CurrentState = 8 /// At least one but not all user tasks and callables are in OPERATING state CurrentStatePARTIAL_OPERATING CurrentState = 9 /// User tasks and callables will executed, changes to the configuration might not be permitted, action with influence on the real-time behavior (like app installation) are not allowed CurrentStateOPERATING CurrentState = 10 )
func (CurrentState) String ¶
func (v CurrentState) String() string
type State ¶
type State struct {
// contains filtered or unexported fields
}
func GetRootAsState ¶
func GetRootAsState(buf []byte, offset flatbuffers.UOffsetT) *State
func GetSizePrefixedRootAsState ¶
func GetSizePrefixedRootAsState(buf []byte, offset flatbuffers.UOffsetT) *State
func (*State) MutateState ¶
func (rcv *State) MutateState(n CurrentState) bool
/ Type selector of system operation state
func (*State) State ¶
func (rcv *State) State() CurrentState
/ Type selector of system operation state
func (*State) Table ¶
func (rcv *State) Table() flatbuffers.Table
type StateT ¶
type StateT struct {
State CurrentState `json:"state"`
}
/ Type selector of system operation state
func (*StateT) Pack ¶
func (t *StateT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
Click to show internal directories.
Click to hide internal directories.