fbs

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnumNamesControls = map[Controls]string{
	ControlsNONE:  "NONE",
	ControlsDebug: "Debug",
}
View Source
var EnumValuesControls = map[string]Controls{
	"NONE":  ControlsNONE,
	"Debug": ControlsDebug,
}

Functions

func AdminControlsAddControl

func AdminControlsAddControl(builder *flatbuffers.Builder, control flatbuffers.UOffsetT)

func AdminControlsAddControlType

func AdminControlsAddControlType(builder *flatbuffers.Builder, controlType Controls)

func AdminControlsEnd

func AdminControlsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func AdminControlsStart

func AdminControlsStart(builder *flatbuffers.Builder)

/ Special extensions to modify Scheduler and system behavior e.g. activation of DEBUG mode

func DebugAddMachine

func DebugAddMachine(builder *flatbuffers.Builder, machine flatbuffers.UOffsetT)

func DebugEnd

func DebugEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func DebugStart

func DebugStart(builder *flatbuffers.Builder)

/ Machine ID to use the DEBUG configuration only on the intended machine

Types

type AdminControls

type AdminControls struct {
	// contains filtered or unexported fields
}

func GetRootAsAdminControls

func GetRootAsAdminControls(buf []byte, offset flatbuffers.UOffsetT) *AdminControls

func GetSizePrefixedRootAsAdminControls

func GetSizePrefixedRootAsAdminControls(buf []byte, offset flatbuffers.UOffsetT) *AdminControls

func (*AdminControls) Control

func (rcv *AdminControls) Control(obj *flatbuffers.Table) bool

/ Special extensions to modify Scheduler and system behavior e.g. activation of DEBUG mode

func (*AdminControls) ControlType

func (rcv *AdminControls) ControlType() Controls

func (*AdminControls) Init

func (rcv *AdminControls) Init(buf []byte, i flatbuffers.UOffsetT)

func (*AdminControls) MutateControlType

func (rcv *AdminControls) MutateControlType(n Controls) bool

func (*AdminControls) Table

func (rcv *AdminControls) Table() flatbuffers.Table

func (*AdminControls) UnPack

func (rcv *AdminControls) UnPack() *AdminControlsT

func (*AdminControls) UnPackTo

func (rcv *AdminControls) UnPackTo(t *AdminControlsT)

type AdminControlsT

type AdminControlsT struct {
	Control *ControlsT `json:"control"`
}

/ Special extensions to modify Scheduler and system behavior e.g. activation of DEBUG mode

func (*AdminControlsT) Pack

type Controls

type Controls byte

/ Special extensions to modify Scheduler and system behavior e.g. activation of DEBUG mode

const (
	ControlsNONE Controls = 0
	/// Deactivation of hardware watchdog and task watchdogs to enabling debugging of machine
	ControlsDebug Controls = 1
)

func (Controls) String

func (v Controls) String() string

func (Controls) UnPack

func (rcv Controls) UnPack(table flatbuffers.Table) *ControlsT

type ControlsT

type ControlsT struct {
	Type  Controls
	Value interface{}
}

func (*ControlsT) Pack

func (t *ControlsT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

type Debug

type Debug struct {
	// contains filtered or unexported fields
}

func GetRootAsDebug

func GetRootAsDebug(buf []byte, offset flatbuffers.UOffsetT) *Debug

func GetSizePrefixedRootAsDebug

func GetSizePrefixedRootAsDebug(buf []byte, offset flatbuffers.UOffsetT) *Debug

func (*Debug) Init

func (rcv *Debug) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Debug) Machine

func (rcv *Debug) Machine() []byte

/ Machine ID to use the DEBUG configuration only on the intended machine

func (*Debug) Table

func (rcv *Debug) Table() flatbuffers.Table

func (*Debug) UnPack

func (rcv *Debug) UnPack() *DebugT

func (*Debug) UnPackTo

func (rcv *Debug) UnPackTo(t *DebugT)

type DebugT

type DebugT struct {
	Machine string `json:"machine"`
}

/ Machine ID to use the DEBUG configuration only on the intended machine

func (*DebugT) Pack

func (t *DebugT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT

Jump to

Keyboard shortcuts

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