Documentation ¶
Index ¶
- Variables
- func CyclicAddErrorCount(builder *flatbuffers.Builder, errorCount uint32)
- func CyclicAddErrorReaction(builder *flatbuffers.Builder, errorReaction flatbuffers.UOffsetT)
- func CyclicAddReset(builder *flatbuffers.Builder, reset bool)
- func CyclicEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func CyclicStart(builder *flatbuffers.Builder)
- func DurationAddErrorCount(builder *flatbuffers.Builder, errorCount uint32)
- func DurationAddErrorReaction(builder *flatbuffers.Builder, errorReaction flatbuffers.UOffsetT)
- func DurationAddReset(builder *flatbuffers.Builder, reset bool)
- func DurationAddTime(builder *flatbuffers.Builder, time uint32)
- func DurationEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func DurationStart(builder *flatbuffers.Builder)
- func ErrorReactionAddClass(builder *flatbuffers.Builder, class flatbuffers.UOffsetT)
- func ErrorReactionAddConfiguration(builder *flatbuffers.Builder, configuration flatbuffers.UOffsetT)
- func ErrorReactionAddMaxConsecutiveErrors(builder *flatbuffers.Builder, maxConsecutiveErrors uint32)
- func ErrorReactionEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ErrorReactionStart(builder *flatbuffers.Builder)
- func TypeAddType(builder *flatbuffers.Builder, type_ CurrentType)
- func TypeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func TypeStart(builder *flatbuffers.Builder)
- func WatchdogAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func WatchdogAddType(builder *flatbuffers.Builder, type_ flatbuffers.UOffsetT)
- func WatchdogAddVariant(builder *flatbuffers.Builder, variant flatbuffers.UOffsetT)
- func WatchdogAddVariantType(builder *flatbuffers.Builder, variantType WatchdogVariant)
- func WatchdogEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func WatchdogStart(builder *flatbuffers.Builder)
- type CurrentType
- type Cyclic
- func (rcv *Cyclic) ErrorCount() uint32
- func (rcv *Cyclic) ErrorReaction(obj *ErrorReaction) *ErrorReaction
- func (rcv *Cyclic) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Cyclic) MutateErrorCount(n uint32) bool
- func (rcv *Cyclic) MutateReset(n bool) bool
- func (rcv *Cyclic) Reset() bool
- func (rcv *Cyclic) Table() flatbuffers.Table
- func (rcv *Cyclic) UnPack() *CyclicT
- func (rcv *Cyclic) UnPackTo(t *CyclicT)
- type CyclicT
- type Duration
- func (rcv *Duration) ErrorCount() uint32
- func (rcv *Duration) ErrorReaction(obj *ErrorReaction) *ErrorReaction
- func (rcv *Duration) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Duration) MutateErrorCount(n uint32) bool
- func (rcv *Duration) MutateReset(n bool) bool
- func (rcv *Duration) MutateTime(n uint32) bool
- func (rcv *Duration) Reset() bool
- func (rcv *Duration) Table() flatbuffers.Table
- func (rcv *Duration) Time() uint32
- func (rcv *Duration) UnPack() *DurationT
- func (rcv *Duration) UnPackTo(t *DurationT)
- type DurationT
- type ErrorReaction
- func (rcv *ErrorReaction) Class(obj *common__scheduler__watchdog__errorreaction__fbs.Class) *common__scheduler__watchdog__errorreaction__fbs.Class
- func (rcv *ErrorReaction) Configuration(obj *common__scheduler__watchdog__errorreaction__fbs.Configuration) *common__scheduler__watchdog__errorreaction__fbs.Configuration
- func (rcv *ErrorReaction) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *ErrorReaction) MaxConsecutiveErrors() uint32
- func (rcv *ErrorReaction) MutateMaxConsecutiveErrors(n uint32) bool
- func (rcv *ErrorReaction) Table() flatbuffers.Table
- func (rcv *ErrorReaction) UnPack() *ErrorReactionT
- func (rcv *ErrorReaction) UnPackTo(t *ErrorReactionT)
- type ErrorReactionT
- type Type
- type TypeT
- type Watchdog
- func (rcv *Watchdog) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Watchdog) MutateVariantType(n WatchdogVariant) bool
- func (rcv *Watchdog) Name() []byte
- func (rcv *Watchdog) Table() flatbuffers.Table
- func (rcv *Watchdog) Type(obj *Type) *Type
- func (rcv *Watchdog) UnPack() *WatchdogT
- func (rcv *Watchdog) UnPackTo(t *WatchdogT)
- func (rcv *Watchdog) Variant(obj *flatbuffers.Table) bool
- func (rcv *Watchdog) VariantType() WatchdogVariant
- type WatchdogT
- type WatchdogVariant
- type WatchdogVariantT
Constants ¶
This section is empty.
Variables ¶
View Source
var EnumNamesCurrentType = map[CurrentType]string{ CurrentTypeCYCLE: "CYCLE", CurrentTypeNONE: "NONE", }
View Source
var EnumNamesWatchdogVariant = map[WatchdogVariant]string{ WatchdogVariantNONE: "NONE", WatchdogVariantCyclic: "Cyclic", }
View Source
var EnumValuesCurrentType = map[string]CurrentType{ "CYCLE": CurrentTypeCYCLE, "NONE": CurrentTypeNONE, }
View Source
var EnumValuesWatchdogVariant = map[string]WatchdogVariant{ "NONE": WatchdogVariantNONE, "Cyclic": WatchdogVariantCyclic, }
Functions ¶
func CyclicAddErrorCount ¶
func CyclicAddErrorCount(builder *flatbuffers.Builder, errorCount uint32)
func CyclicAddErrorReaction ¶
func CyclicAddErrorReaction(builder *flatbuffers.Builder, errorReaction flatbuffers.UOffsetT)
func CyclicAddReset ¶
func CyclicAddReset(builder *flatbuffers.Builder, reset bool)
func CyclicEnd ¶
func CyclicEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func CyclicStart ¶
func CyclicStart(builder *flatbuffers.Builder)
func DurationAddErrorCount ¶
func DurationAddErrorCount(builder *flatbuffers.Builder, errorCount uint32)
func DurationAddErrorReaction ¶
func DurationAddErrorReaction(builder *flatbuffers.Builder, errorReaction flatbuffers.UOffsetT)
func DurationAddReset ¶
func DurationAddReset(builder *flatbuffers.Builder, reset bool)
func DurationAddTime ¶
func DurationAddTime(builder *flatbuffers.Builder, time uint32)
func DurationEnd ¶
func DurationEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func DurationStart ¶
func DurationStart(builder *flatbuffers.Builder)
func ErrorReactionAddClass ¶
func ErrorReactionAddClass(builder *flatbuffers.Builder, class flatbuffers.UOffsetT)
func ErrorReactionAddConfiguration ¶
func ErrorReactionAddConfiguration(builder *flatbuffers.Builder, configuration flatbuffers.UOffsetT)
func ErrorReactionAddMaxConsecutiveErrors ¶
func ErrorReactionAddMaxConsecutiveErrors(builder *flatbuffers.Builder, maxConsecutiveErrors uint32)
func ErrorReactionEnd ¶
func ErrorReactionEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ErrorReactionStart ¶
func ErrorReactionStart(builder *flatbuffers.Builder)
func TypeAddType ¶
func TypeAddType(builder *flatbuffers.Builder, type_ CurrentType)
func TypeEnd ¶
func TypeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func TypeStart ¶
func TypeStart(builder *flatbuffers.Builder)
func WatchdogAddName ¶
func WatchdogAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func WatchdogAddType ¶
func WatchdogAddType(builder *flatbuffers.Builder, type_ flatbuffers.UOffsetT)
func WatchdogAddVariant ¶
func WatchdogAddVariant(builder *flatbuffers.Builder, variant flatbuffers.UOffsetT)
func WatchdogAddVariantType ¶
func WatchdogAddVariantType(builder *flatbuffers.Builder, variantType WatchdogVariant)
func WatchdogEnd ¶
func WatchdogEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func WatchdogStart ¶
func WatchdogStart(builder *flatbuffers.Builder)
Types ¶
type CurrentType ¶
type CurrentType int8
/ Type of watchdog of the task
const ( /// Task will be monitored regarding the consumed cycle time CurrentTypeCYCLE CurrentType = 0 /// No watchdog used CurrentTypeNONE CurrentType = 1 )
func (CurrentType) String ¶
func (v CurrentType) String() string
type Cyclic ¶
type Cyclic struct {
// contains filtered or unexported fields
}
func GetRootAsCyclic ¶
func GetRootAsCyclic(buf []byte, offset flatbuffers.UOffsetT) *Cyclic
func GetSizePrefixedRootAsCyclic ¶
func GetSizePrefixedRootAsCyclic(buf []byte, offset flatbuffers.UOffsetT) *Cyclic
func (*Cyclic) ErrorCount ¶
func (*Cyclic) ErrorReaction ¶
func (rcv *Cyclic) ErrorReaction(obj *ErrorReaction) *ErrorReaction
func (*Cyclic) MutateErrorCount ¶
func (*Cyclic) MutateReset ¶
func (*Cyclic) Table ¶
func (rcv *Cyclic) Table() flatbuffers.Table
type CyclicT ¶ added in v1.1.0
type CyclicT struct { ErrorCount uint32 Reset bool ErrorReaction *ErrorReactionT }
func (*CyclicT) Pack ¶ added in v1.1.0
func (t *CyclicT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type Duration ¶
type Duration struct {
// contains filtered or unexported fields
}
func GetRootAsDuration ¶
func GetRootAsDuration(buf []byte, offset flatbuffers.UOffsetT) *Duration
func GetSizePrefixedRootAsDuration ¶
func GetSizePrefixedRootAsDuration(buf []byte, offset flatbuffers.UOffsetT) *Duration
func (*Duration) ErrorCount ¶
func (*Duration) ErrorReaction ¶
func (rcv *Duration) ErrorReaction(obj *ErrorReaction) *ErrorReaction
func (*Duration) MutateErrorCount ¶
func (*Duration) MutateReset ¶
func (*Duration) MutateTime ¶
func (*Duration) Table ¶
func (rcv *Duration) Table() flatbuffers.Table
type DurationT ¶ added in v1.1.0
type DurationT struct { Time uint32 ErrorCount uint32 Reset bool ErrorReaction *ErrorReactionT }
func (*DurationT) Pack ¶ added in v1.1.0
func (t *DurationT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type ErrorReaction ¶
type ErrorReaction struct {
// contains filtered or unexported fields
}
func GetRootAsErrorReaction ¶
func GetRootAsErrorReaction(buf []byte, offset flatbuffers.UOffsetT) *ErrorReaction
func GetSizePrefixedRootAsErrorReaction ¶
func GetSizePrefixedRootAsErrorReaction(buf []byte, offset flatbuffers.UOffsetT) *ErrorReaction
func (*ErrorReaction) Configuration ¶
func (rcv *ErrorReaction) Configuration(obj *common__scheduler__watchdog__errorreaction__fbs.Configuration) *common__scheduler__watchdog__errorreaction__fbs.Configuration
func (*ErrorReaction) Init ¶
func (rcv *ErrorReaction) Init(buf []byte, i flatbuffers.UOffsetT)
func (*ErrorReaction) MaxConsecutiveErrors ¶
func (rcv *ErrorReaction) MaxConsecutiveErrors() uint32
func (*ErrorReaction) MutateMaxConsecutiveErrors ¶
func (rcv *ErrorReaction) MutateMaxConsecutiveErrors(n uint32) bool
func (*ErrorReaction) Table ¶
func (rcv *ErrorReaction) Table() flatbuffers.Table
func (*ErrorReaction) UnPack ¶ added in v1.1.0
func (rcv *ErrorReaction) UnPack() *ErrorReactionT
func (*ErrorReaction) UnPackTo ¶ added in v1.1.0
func (rcv *ErrorReaction) UnPackTo(t *ErrorReactionT)
type ErrorReactionT ¶ added in v1.1.0
type ErrorReactionT struct { Class *common__scheduler__watchdog__errorreaction__fbs.ClassT Configuration *common__scheduler__watchdog__errorreaction__fbs.ConfigurationT MaxConsecutiveErrors uint32 }
func (*ErrorReactionT) Pack ¶ added in v1.1.0
func (t *ErrorReactionT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type Type ¶
type Type struct {
// contains filtered or unexported fields
}
func GetRootAsType ¶
func GetRootAsType(buf []byte, offset flatbuffers.UOffsetT) *Type
func GetSizePrefixedRootAsType ¶
func GetSizePrefixedRootAsType(buf []byte, offset flatbuffers.UOffsetT) *Type
func (*Type) MutateType ¶
func (rcv *Type) MutateType(n CurrentType) bool
/ Type of watchdog of the task
func (*Type) Table ¶
func (rcv *Type) Table() flatbuffers.Table
type TypeT ¶ added in v1.1.0
type TypeT struct {
Type CurrentType
}
/ Type of watchdog of the task
func (*TypeT) Pack ¶ added in v1.1.0
func (t *TypeT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type Watchdog ¶
type Watchdog struct {
// contains filtered or unexported fields
}
func GetRootAsWatchdog ¶
func GetRootAsWatchdog(buf []byte, offset flatbuffers.UOffsetT) *Watchdog
func GetSizePrefixedRootAsWatchdog ¶
func GetSizePrefixedRootAsWatchdog(buf []byte, offset flatbuffers.UOffsetT) *Watchdog
func (*Watchdog) MutateVariantType ¶
func (rcv *Watchdog) MutateVariantType(n WatchdogVariant) bool
func (*Watchdog) Table ¶
func (rcv *Watchdog) Table() flatbuffers.Table
func (*Watchdog) VariantType ¶
func (rcv *Watchdog) VariantType() WatchdogVariant
type WatchdogT ¶ added in v1.1.0
type WatchdogT struct { Name string Type *TypeT Variant *WatchdogVariantT }
func (*WatchdogT) Pack ¶ added in v1.1.0
func (t *WatchdogT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type WatchdogVariant ¶
type WatchdogVariant byte
const ( WatchdogVariantNONE WatchdogVariant = 0 WatchdogVariantCyclic WatchdogVariant = 1 )
func (WatchdogVariant) String ¶
func (v WatchdogVariant) String() string
func (WatchdogVariant) UnPack ¶ added in v1.1.0
func (rcv WatchdogVariant) UnPack(table flatbuffers.Table) *WatchdogVariantT
type WatchdogVariantT ¶ added in v1.1.0
type WatchdogVariantT struct { Type WatchdogVariant Value interface{} }
func (*WatchdogVariantT) Pack ¶ added in v1.1.0
func (t *WatchdogVariantT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
Click to show internal directories.
Click to hide internal directories.