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 EnumNamesClass = map[Class]string{
	ClassMESSAGE: "MESSAGE",
	ClassWARNING: "WARNING",
	ClassERROR:   "ERROR",
}
View Source
var EnumNamesState = map[State]string{
	StateACTIVE:        "ACTIVE",
	StateRESET:         "RESET",
	StateNOT_CONTAINED: "NOT_CONTAINED",
}
View Source
var EnumValuesClass = map[string]Class{
	"MESSAGE": ClassMESSAGE,
	"WARNING": ClassWARNING,
	"ERROR":   ClassERROR,
}
View Source
var EnumValuesState = map[string]State{
	"ACTIVE":        StateACTIVE,
	"RESET":         StateRESET,
	"NOT_CONTAINED": StateNOT_CONTAINED,
}

Functions

func ClassConfigAddClassConfig

func ClassConfigAddClassConfig(builder *flatbuffers.Builder, classConfig Class)

func ClassConfigEnd

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

func ClassConfigStart

func ClassConfigStart(builder *flatbuffers.Builder)

func DetailedDiagnosticAddNumber

func DetailedDiagnosticAddNumber(builder *flatbuffers.Builder, number flatbuffers.UOffsetT)

func DetailedDiagnosticAddText

func DetailedDiagnosticAddText(builder *flatbuffers.Builder, text flatbuffers.UOffsetT)

func DetailedDiagnosticAddVersion

func DetailedDiagnosticAddVersion(builder *flatbuffers.Builder, version uint32)

func DetailedDiagnosticEnd

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

func DetailedDiagnosticStart

func DetailedDiagnosticStart(builder *flatbuffers.Builder)

/ Default text of the detailed diagnostics.

func DiagnosisElementAddDiagnosisNumber

func DiagnosisElementAddDiagnosisNumber(builder *flatbuffers.Builder, diagnosisNumber uint32)

func DiagnosisElementAddTextEnglish

func DiagnosisElementAddTextEnglish(builder *flatbuffers.Builder, textEnglish flatbuffers.UOffsetT)

func DiagnosisElementAddVersion

func DiagnosisElementAddVersion(builder *flatbuffers.Builder, version byte)

func DiagnosisElementEnd

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

func DiagnosisElementStart

func DiagnosisElementStart(builder *flatbuffers.Builder)

/ English text of the diagnostics.

func DiagnosisElementsAddDiagnosisElements

func DiagnosisElementsAddDiagnosisElements(builder *flatbuffers.Builder, diagnosisElements flatbuffers.UOffsetT)

func DiagnosisElementsEnd

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

func DiagnosisElementsStart

func DiagnosisElementsStart(builder *flatbuffers.Builder)

/ List of main or detailed diagnostics.

func DiagnosisElementsStartDiagnosisElementsVector

func DiagnosisElementsStartDiagnosisElementsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func DiagnosisIdentificationAddDetailedDiagnosisNumber

func DiagnosisIdentificationAddDetailedDiagnosisNumber(builder *flatbuffers.Builder, detailedDiagnosisNumber flatbuffers.UOffsetT)

func DiagnosisIdentificationAddEntity

func DiagnosisIdentificationAddEntity(builder *flatbuffers.Builder, entity flatbuffers.UOffsetT)

func DiagnosisIdentificationAddMainDiagnosisNumber

func DiagnosisIdentificationAddMainDiagnosisNumber(builder *flatbuffers.Builder, mainDiagnosisNumber flatbuffers.UOffsetT)

func DiagnosisIdentificationEnd

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

func DiagnosisIdentificationStart

func DiagnosisIdentificationStart(builder *flatbuffers.Builder)

/ Entity/resource that is affected.

func DiagnosisIdentificationWithTimestampAddDiagnosisIdentification

func DiagnosisIdentificationWithTimestampAddDiagnosisIdentification(builder *flatbuffers.Builder, diagnosisIdentification flatbuffers.UOffsetT)

func DiagnosisIdentificationWithTimestampAddTimestamp

func DiagnosisIdentificationWithTimestampAddTimestamp(builder *flatbuffers.Builder, timestamp flatbuffers.UOffsetT)

func DiagnosisIdentificationWithTimestampEnd

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

func DiagnosisIdentificationWithTimestampStart

func DiagnosisIdentificationWithTimestampStart(builder *flatbuffers.Builder)

/ Timestamp of the diagnostic log.

func EventType1AddEventCounter

func EventType1AddEventCounter(builder *flatbuffers.Builder, eventCounter uint64)

func EventType1End

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

func EventType1Start

func EventType1Start(builder *flatbuffers.Builder)

func EventType2AddEventCounter

func EventType2AddEventCounter(builder *flatbuffers.Builder, eventCounter uint64)

func EventType2End

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

func EventType2Start

func EventType2Start(builder *flatbuffers.Builder)

func GetDetailedDiagnosisTextAddDetailedDiagnosisNumber

func GetDetailedDiagnosisTextAddDetailedDiagnosisNumber(builder *flatbuffers.Builder, detailedDiagnosisNumber flatbuffers.UOffsetT)

func GetDetailedDiagnosisTextAddRelatedMainDiagnosisNumber

func GetDetailedDiagnosisTextAddRelatedMainDiagnosisNumber(builder *flatbuffers.Builder, relatedMainDiagnosisNumber flatbuffers.UOffsetT)

func GetDetailedDiagnosisTextEnd

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

func GetDetailedDiagnosisTextStart

func GetDetailedDiagnosisTextStart(builder *flatbuffers.Builder)

/ Related main diagnostic number of the diagnostic log.

func GetMainDiagnosisTextAddMainDiagnosisNumber

func GetMainDiagnosisTextAddMainDiagnosisNumber(builder *flatbuffers.Builder, mainDiagnosisNumber flatbuffers.UOffsetT)

func GetMainDiagnosisTextEnd

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

func GetMainDiagnosisTextStart

func GetMainDiagnosisTextStart(builder *flatbuffers.Builder)

/ Main diagnostic number.

func ListDiagnosisIdentificationWithTimestampAddListDiagnosisIdentificationWithTimestamp

func ListDiagnosisIdentificationWithTimestampAddListDiagnosisIdentificationWithTimestamp(builder *flatbuffers.Builder, listDiagnosisIdentificationWithTimestamp flatbuffers.UOffsetT)

func ListDiagnosisIdentificationWithTimestampEnd

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

func ListDiagnosisIdentificationWithTimestampStart

func ListDiagnosisIdentificationWithTimestampStart(builder *flatbuffers.Builder)

/ List of uniquely identifiable diagnostic logs with the related timestamp.

func ListDiagnosisIdentificationWithTimestampStartListDiagnosisIdentificationWithTimestampVector

func ListDiagnosisIdentificationWithTimestampStartListDiagnosisIdentificationWithTimestampVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func LogParametersAddDetailedDiagnosisCode

func LogParametersAddDetailedDiagnosisCode(builder *flatbuffers.Builder, detailedDiagnosisCode flatbuffers.UOffsetT)

func LogParametersAddDynamicDescription

func LogParametersAddDynamicDescription(builder *flatbuffers.Builder, dynamicDescription flatbuffers.UOffsetT)

func LogParametersAddEntity

func LogParametersAddEntity(builder *flatbuffers.Builder, entity flatbuffers.UOffsetT)

func LogParametersAddFileName

func LogParametersAddFileName(builder *flatbuffers.Builder, fileName flatbuffers.UOffsetT)

func LogParametersAddFunctionName

func LogParametersAddFunctionName(builder *flatbuffers.Builder, functionName flatbuffers.UOffsetT)

func LogParametersAddLineNumber

func LogParametersAddLineNumber(builder *flatbuffers.Builder, lineNumber uint32)

func LogParametersAddMainDiagnosisCode

func LogParametersAddMainDiagnosisCode(builder *flatbuffers.Builder, mainDiagnosisCode flatbuffers.UOffsetT)

func LogParametersAddOrigin

func LogParametersAddOrigin(builder *flatbuffers.Builder, origin flatbuffers.UOffsetT)

func LogParametersAddUnitName

func LogParametersAddUnitName(builder *flatbuffers.Builder, unitName flatbuffers.UOffsetT)

func LogParametersAddUserId

func LogParametersAddUserId(builder *flatbuffers.Builder, userId flatbuffers.UOffsetT)

func LogParametersEnd

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

func LogParametersStart

func LogParametersStart(builder *flatbuffers.Builder)

/ Dynamic description to set additional dynamic elements.

func MainDiagnosticAddDetailedDiagnostics

func MainDiagnosticAddDetailedDiagnostics(builder *flatbuffers.Builder, detailedDiagnostics flatbuffers.UOffsetT)

func MainDiagnosticAddNumber

func MainDiagnosticAddNumber(builder *flatbuffers.Builder, number flatbuffers.UOffsetT)

func MainDiagnosticAddText

func MainDiagnosticAddText(builder *flatbuffers.Builder, text flatbuffers.UOffsetT)

func MainDiagnosticAddVersion

func MainDiagnosticAddVersion(builder *flatbuffers.Builder, version uint32)

func MainDiagnosticEnd

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

func MainDiagnosticStart

func MainDiagnosticStart(builder *flatbuffers.Builder)

/ All detailed diagnostics that belong to this main diagnostics.

func MainDiagnosticStartDetailedDiagnosticsVector

func MainDiagnosticStartDetailedDiagnosticsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func PendingDiagnosticStateAddPendingDiagnosticState

func PendingDiagnosticStateAddPendingDiagnosticState(builder *flatbuffers.Builder, pendingDiagnosticState State)

func PendingDiagnosticStateEnd

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

func PendingDiagnosticStateStart

func PendingDiagnosticStateStart(builder *flatbuffers.Builder)

func RegistrationFileAddComponent

func RegistrationFileAddComponent(builder *flatbuffers.Builder, component flatbuffers.UOffsetT)

func RegistrationFileAddLanguage

func RegistrationFileAddLanguage(builder *flatbuffers.Builder, language flatbuffers.UOffsetT)

func RegistrationFileAddMainDiagnostics

func RegistrationFileAddMainDiagnostics(builder *flatbuffers.Builder, mainDiagnostics flatbuffers.UOffsetT)

func RegistrationFileAddProduct

func RegistrationFileAddProduct(builder *flatbuffers.Builder, product flatbuffers.UOffsetT)

func RegistrationFileEnd

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

func RegistrationFileStart

func RegistrationFileStart(builder *flatbuffers.Builder)

/ All main diagnostics (including their related detailed diagnostics) that should be registered.

func RegistrationFileStartMainDiagnosticsVector

func RegistrationFileStartMainDiagnosticsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

Types

type Class

type Class int8

/ Existing log classes/priorities. / Log class ERROR means that only errors are selcted. / Log class WARNING means that warnings and errors are selected. / Log class MESSAGE means that messages, warnings and errors are selected.

const (
	ClassMESSAGE Class = 0
	ClassWARNING Class = 1
	ClassERROR   Class = 2
)

func (Class) String

func (v Class) String() string

type ClassConfig

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

func GetRootAsClassConfig

func GetRootAsClassConfig(buf []byte, offset flatbuffers.UOffsetT) *ClassConfig

func GetSizePrefixedRootAsClassConfig

func GetSizePrefixedRootAsClassConfig(buf []byte, offset flatbuffers.UOffsetT) *ClassConfig

func (*ClassConfig) ClassConfig

func (rcv *ClassConfig) ClassConfig() Class

/ Selection of log class.

func (*ClassConfig) Init

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

func (*ClassConfig) MutateClassConfig

func (rcv *ClassConfig) MutateClassConfig(n Class) bool

/ Selection of log class.

func (*ClassConfig) Table

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

func (*ClassConfig) UnPack

func (rcv *ClassConfig) UnPack() *ClassConfigT

func (*ClassConfig) UnPackTo

func (rcv *ClassConfig) UnPackTo(t *ClassConfigT)

type ClassConfigT

type ClassConfigT struct {
	ClassConfig Class `json:"classConfig"`
}

/ This table defines which log class is selected.

func (*ClassConfigT) Pack

type DetailedDiagnostic

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

func GetRootAsDetailedDiagnostic

func GetRootAsDetailedDiagnostic(buf []byte, offset flatbuffers.UOffsetT) *DetailedDiagnostic

func GetSizePrefixedRootAsDetailedDiagnostic

func GetSizePrefixedRootAsDetailedDiagnostic(buf []byte, offset flatbuffers.UOffsetT) *DetailedDiagnostic

func (*DetailedDiagnostic) Init

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

func (*DetailedDiagnostic) MutateVersion

func (rcv *DetailedDiagnostic) MutateVersion(n uint32) bool

/ Version of the detailed diagnostics starting with 1.

func (*DetailedDiagnostic) Number

func (rcv *DetailedDiagnostic) Number() []byte

/ Detailed diagnostic number.

func (*DetailedDiagnostic) Table

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

func (*DetailedDiagnostic) Text

func (rcv *DetailedDiagnostic) Text() []byte

/ Default text of the detailed diagnostics.

func (*DetailedDiagnostic) UnPack

func (rcv *DetailedDiagnostic) UnPack() *DetailedDiagnosticT

func (*DetailedDiagnostic) UnPackTo

func (rcv *DetailedDiagnostic) UnPackTo(t *DetailedDiagnosticT)

func (*DetailedDiagnostic) Version

func (rcv *DetailedDiagnostic) Version() uint32

/ Detailed diagnostic number. / Version of the detailed diagnostics starting with 1.

type DetailedDiagnosticT

type DetailedDiagnosticT struct {
	Number  string `json:"number"`
	Version uint32 `json:"version"`
	Text    string `json:"text"`
}

/ This table defines the elements of one detailed diagnostics that should be registered.

func (*DetailedDiagnosticT) Pack

type DiagnosisElement

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

func GetRootAsDiagnosisElement

func GetRootAsDiagnosisElement(buf []byte, offset flatbuffers.UOffsetT) *DiagnosisElement

func GetSizePrefixedRootAsDiagnosisElement

func GetSizePrefixedRootAsDiagnosisElement(buf []byte, offset flatbuffers.UOffsetT) *DiagnosisElement

func (*DiagnosisElement) DiagnosisNumber

func (rcv *DiagnosisElement) DiagnosisNumber() uint32

/ Main or detailed diagnostic number.

func (*DiagnosisElement) Init

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

func (*DiagnosisElement) MutateDiagnosisNumber

func (rcv *DiagnosisElement) MutateDiagnosisNumber(n uint32) bool

/ Main or detailed diagnostic number.

func (*DiagnosisElement) MutateVersion

func (rcv *DiagnosisElement) MutateVersion(n byte) bool

/ Version of the diagnostics starting with 1.

func (*DiagnosisElement) Table

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

func (*DiagnosisElement) TextEnglish

func (rcv *DiagnosisElement) TextEnglish() []byte

/ English text of the diagnostics.

func (*DiagnosisElement) UnPack

func (rcv *DiagnosisElement) UnPack() *DiagnosisElementT

func (*DiagnosisElement) UnPackTo

func (rcv *DiagnosisElement) UnPackTo(t *DiagnosisElementT)

func (*DiagnosisElement) Version

func (rcv *DiagnosisElement) Version() byte

/ Version of the diagnostics starting with 1.

type DiagnosisElementT

type DiagnosisElementT struct {
	DiagnosisNumber uint32 `json:"diagnosisNumber"`
	Version         byte   `json:"version"`
	TextEnglish     string `json:"textEnglish"`
}

/ This table defines the elements of a main or detailed diagnostics that should be registered.

func (*DiagnosisElementT) Pack

type DiagnosisElements

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

func GetRootAsDiagnosisElements

func GetRootAsDiagnosisElements(buf []byte, offset flatbuffers.UOffsetT) *DiagnosisElements

func GetSizePrefixedRootAsDiagnosisElements

func GetSizePrefixedRootAsDiagnosisElements(buf []byte, offset flatbuffers.UOffsetT) *DiagnosisElements

func (*DiagnosisElements) DiagnosisElements

func (rcv *DiagnosisElements) DiagnosisElements(obj *DiagnosisElement, j int) bool

/ List of main or detailed diagnostics.

func (*DiagnosisElements) DiagnosisElementsLength

func (rcv *DiagnosisElements) DiagnosisElementsLength() int

func (*DiagnosisElements) Init

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

func (*DiagnosisElements) Table

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

func (*DiagnosisElements) UnPack

func (rcv *DiagnosisElements) UnPack() *DiagnosisElementsT

func (*DiagnosisElements) UnPackTo

func (rcv *DiagnosisElements) UnPackTo(t *DiagnosisElementsT)

type DiagnosisElementsT

type DiagnosisElementsT struct {
	DiagnosisElements []*DiagnosisElementT `json:"diagnosisElements"`
}

/ This table defines a list of main or detailed diagnostics that should be registered.

func (*DiagnosisElementsT) Pack

type DiagnosisIdentification

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

func GetRootAsDiagnosisIdentification

func GetRootAsDiagnosisIdentification(buf []byte, offset flatbuffers.UOffsetT) *DiagnosisIdentification

func GetSizePrefixedRootAsDiagnosisIdentification

func GetSizePrefixedRootAsDiagnosisIdentification(buf []byte, offset flatbuffers.UOffsetT) *DiagnosisIdentification

func (*DiagnosisIdentification) DetailedDiagnosisNumber

func (rcv *DiagnosisIdentification) DetailedDiagnosisNumber() []byte

/ Main diagnostic number. / Detailed diagnostic number.

func (*DiagnosisIdentification) Entity

func (rcv *DiagnosisIdentification) Entity() []byte

/ Detailed diagnostic number. / Entity/resource that is affected.

func (*DiagnosisIdentification) Init

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

func (*DiagnosisIdentification) MainDiagnosisNumber

func (rcv *DiagnosisIdentification) MainDiagnosisNumber() []byte

/ Main diagnostic number.

func (*DiagnosisIdentification) Table

func (*DiagnosisIdentification) UnPack

func (*DiagnosisIdentification) UnPackTo

type DiagnosisIdentificationT

type DiagnosisIdentificationT struct {
	MainDiagnosisNumber     string `json:"mainDiagnosisNumber"`
	DetailedDiagnosisNumber string `json:"detailedDiagnosisNumber"`
	Entity                  string `json:"entity"`
}

/ This table defines all diagnostic elements that are required to uniquely identify a diagnostic log.

func (*DiagnosisIdentificationT) Pack

type DiagnosisIdentificationWithTimestamp

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

func GetRootAsDiagnosisIdentificationWithTimestamp

func GetRootAsDiagnosisIdentificationWithTimestamp(buf []byte, offset flatbuffers.UOffsetT) *DiagnosisIdentificationWithTimestamp

func GetSizePrefixedRootAsDiagnosisIdentificationWithTimestamp

func GetSizePrefixedRootAsDiagnosisIdentificationWithTimestamp(buf []byte, offset flatbuffers.UOffsetT) *DiagnosisIdentificationWithTimestamp

func (*DiagnosisIdentificationWithTimestamp) DiagnosisIdentification

/ Unique identification of the diagnostic log.

func (*DiagnosisIdentificationWithTimestamp) Init

func (*DiagnosisIdentificationWithTimestamp) Table

func (*DiagnosisIdentificationWithTimestamp) Timestamp

func (rcv *DiagnosisIdentificationWithTimestamp) Timestamp() []byte

/ Unique identification of the diagnostic log. / Timestamp of the diagnostic log.

func (*DiagnosisIdentificationWithTimestamp) UnPack

func (*DiagnosisIdentificationWithTimestamp) UnPackTo

type DiagnosisIdentificationWithTimestampT

type DiagnosisIdentificationWithTimestampT struct {
	DiagnosisIdentification *DiagnosisIdentificationT `json:"diagnosisIdentification"`
	Timestamp               string                    `json:"timestamp"`
}

/ This table defines the unique identification of a diagnostic log in combination with the timestamp of the log.

func (*DiagnosisIdentificationWithTimestampT) Pack

type EventType1

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

func GetRootAsEventType1

func GetRootAsEventType1(buf []byte, offset flatbuffers.UOffsetT) *EventType1

func GetSizePrefixedRootAsEventType1

func GetSizePrefixedRootAsEventType1(buf []byte, offset flatbuffers.UOffsetT) *EventType1

func (*EventType1) EventCounter

func (rcv *EventType1) EventCounter() uint64

/ Event counter that is incremented if the selected event occurs.

func (*EventType1) Init

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

func (*EventType1) MutateEventCounter

func (rcv *EventType1) MutateEventCounter(n uint64) bool

/ Event counter that is incremented if the selected event occurs.

func (*EventType1) Table

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

func (*EventType1) UnPack

func (rcv *EventType1) UnPack() *EventType1T

func (*EventType1) UnPackTo

func (rcv *EventType1) UnPackTo(t *EventType1T)

type EventType1T

type EventType1T struct {
	EventCounter uint64 `json:"eventCounter"`
}

/ This table defines the generic event type 1 that is used to evaluate specific diagnostic events.

func (*EventType1T) Pack

type EventType2

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

func GetRootAsEventType2

func GetRootAsEventType2(buf []byte, offset flatbuffers.UOffsetT) *EventType2

func GetSizePrefixedRootAsEventType2

func GetSizePrefixedRootAsEventType2(buf []byte, offset flatbuffers.UOffsetT) *EventType2

func (*EventType2) EventCounter

func (rcv *EventType2) EventCounter() uint64

/ Event counter that is incremented if the selected event occurs.

func (*EventType2) Init

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

func (*EventType2) MutateEventCounter

func (rcv *EventType2) MutateEventCounter(n uint64) bool

/ Event counter that is incremented if the selected event occurs.

func (*EventType2) Table

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

func (*EventType2) UnPack

func (rcv *EventType2) UnPack() *EventType2T

func (*EventType2) UnPackTo

func (rcv *EventType2) UnPackTo(t *EventType2T)

type EventType2T

type EventType2T struct {
	EventCounter uint64 `json:"eventCounter"`
}

/ This table defines the generic event type 2 that is used to evaluate specific diagnostic events.

func (*EventType2T) Pack

type GetDetailedDiagnosisText

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

func GetRootAsGetDetailedDiagnosisText

func GetRootAsGetDetailedDiagnosisText(buf []byte, offset flatbuffers.UOffsetT) *GetDetailedDiagnosisText

func GetSizePrefixedRootAsGetDetailedDiagnosisText

func GetSizePrefixedRootAsGetDetailedDiagnosisText(buf []byte, offset flatbuffers.UOffsetT) *GetDetailedDiagnosisText

func (*GetDetailedDiagnosisText) DetailedDiagnosisNumber

func (rcv *GetDetailedDiagnosisText) DetailedDiagnosisNumber() []byte

/ Detailed diagnostic number of the diagnostic log.

func (*GetDetailedDiagnosisText) Init

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

func (*GetDetailedDiagnosisText) RelatedMainDiagnosisNumber

func (rcv *GetDetailedDiagnosisText) RelatedMainDiagnosisNumber() []byte

/ Detailed diagnostic number of the diagnostic log. / Related main diagnostic number of the diagnostic log.

func (*GetDetailedDiagnosisText) Table

func (*GetDetailedDiagnosisText) UnPack

func (*GetDetailedDiagnosisText) UnPackTo

type GetDetailedDiagnosisTextT

type GetDetailedDiagnosisTextT struct {
	DetailedDiagnosisNumber    string `json:"detailedDiagnosisNumber"`
	RelatedMainDiagnosisNumber string `json:"relatedMainDiagnosisNumber"`
}

/ This table defines the required elements to request the diagnostic text of a diagnostic log.

func (*GetDetailedDiagnosisTextT) Pack

type GetMainDiagnosisText

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

func GetRootAsGetMainDiagnosisText

func GetRootAsGetMainDiagnosisText(buf []byte, offset flatbuffers.UOffsetT) *GetMainDiagnosisText

func GetSizePrefixedRootAsGetMainDiagnosisText

func GetSizePrefixedRootAsGetMainDiagnosisText(buf []byte, offset flatbuffers.UOffsetT) *GetMainDiagnosisText

func (*GetMainDiagnosisText) Init

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

func (*GetMainDiagnosisText) MainDiagnosisNumber

func (rcv *GetMainDiagnosisText) MainDiagnosisNumber() []byte

/ Main diagnostic number.

func (*GetMainDiagnosisText) Table

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

func (*GetMainDiagnosisText) UnPack

func (*GetMainDiagnosisText) UnPackTo

func (rcv *GetMainDiagnosisText) UnPackTo(t *GetMainDiagnosisTextT)

type GetMainDiagnosisTextT

type GetMainDiagnosisTextT struct {
	MainDiagnosisNumber string `json:"mainDiagnosisNumber"`
}

/ This table defines the required element to request the main diagnostic text of a diagnostic log.

func (*GetMainDiagnosisTextT) Pack

type ListDiagnosisIdentificationWithTimestamp

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

func GetRootAsListDiagnosisIdentificationWithTimestamp

func GetRootAsListDiagnosisIdentificationWithTimestamp(buf []byte, offset flatbuffers.UOffsetT) *ListDiagnosisIdentificationWithTimestamp

func GetSizePrefixedRootAsListDiagnosisIdentificationWithTimestamp

func GetSizePrefixedRootAsListDiagnosisIdentificationWithTimestamp(buf []byte, offset flatbuffers.UOffsetT) *ListDiagnosisIdentificationWithTimestamp

func (*ListDiagnosisIdentificationWithTimestamp) Init

func (*ListDiagnosisIdentificationWithTimestamp) ListDiagnosisIdentificationWithTimestamp

func (rcv *ListDiagnosisIdentificationWithTimestamp) ListDiagnosisIdentificationWithTimestamp(obj *DiagnosisIdentificationWithTimestamp, j int) bool

/ List of uniquely identifiable diagnostic logs with the related timestamp.

func (*ListDiagnosisIdentificationWithTimestamp) ListDiagnosisIdentificationWithTimestampLength

func (rcv *ListDiagnosisIdentificationWithTimestamp) ListDiagnosisIdentificationWithTimestampLength() int

func (*ListDiagnosisIdentificationWithTimestamp) Table

func (*ListDiagnosisIdentificationWithTimestamp) UnPack

func (*ListDiagnosisIdentificationWithTimestamp) UnPackTo

type ListDiagnosisIdentificationWithTimestampT

type ListDiagnosisIdentificationWithTimestampT struct {
	ListDiagnosisIdentificationWithTimestamp []*DiagnosisIdentificationWithTimestampT `json:"listDiagnosisIdentificationWithTimestamp"`
}

/ This table defines a list of uniquely identifiable diagnostic logs with the related timestamp (e.g. it is used for the pending diagnostics).

func (*ListDiagnosisIdentificationWithTimestampT) Pack

type LogParameters

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

func GetRootAsLogParameters

func GetRootAsLogParameters(buf []byte, offset flatbuffers.UOffsetT) *LogParameters

func GetSizePrefixedRootAsLogParameters

func GetSizePrefixedRootAsLogParameters(buf []byte, offset flatbuffers.UOffsetT) *LogParameters

func (*LogParameters) DetailedDiagnosisCode

func (rcv *LogParameters) DetailedDiagnosisCode() []byte

/ Main diagnostic number. / Detailed diagnostic number.

func (*LogParameters) DynamicDescription

func (rcv *LogParameters) DynamicDescription() []byte

/ Dynamic description to set additional dynamic elements.

func (*LogParameters) Entity

func (rcv *LogParameters) Entity() []byte

/ User id of the user who sends the log. / Object/resource that notifies the log (e.g. motion/axs/axisY).

func (*LogParameters) FileName

func (rcv *LogParameters) FileName() []byte

/ Unit name of the component that notifies the log (e.g. comm.datalayer). / Name of the file from where the log is set.

func (*LogParameters) FunctionName

func (rcv *LogParameters) FunctionName() []byte

/ Name of the file from where the log is set. / Name of the function from where the log is set.

func (*LogParameters) Init

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

func (*LogParameters) LineNumber

func (rcv *LogParameters) LineNumber() uint32

/ Name of the function from where the log is set. / Line number from where the log is set.

func (*LogParameters) MainDiagnosisCode

func (rcv *LogParameters) MainDiagnosisCode() []byte

/ Main diagnostic number.

func (*LogParameters) MutateLineNumber

func (rcv *LogParameters) MutateLineNumber(n uint32) bool

/ Line number from where the log is set.

func (*LogParameters) Origin

func (rcv *LogParameters) Origin() []byte

/ Object/resource that notifies the log (e.g. motion/axs/axisY). / Application that notifies the log (e.g. rexroth-automationcore).

func (*LogParameters) Table

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

func (*LogParameters) UnPack

func (rcv *LogParameters) UnPack() *LogParametersT

func (*LogParameters) UnPackTo

func (rcv *LogParameters) UnPackTo(t *LogParametersT)

func (*LogParameters) UnitName

func (rcv *LogParameters) UnitName() []byte

/ Application that notifies the log (e.g. rexroth-automationcore). / Unit name of the component that notifies the log (e.g. comm.datalayer).

func (*LogParameters) UserId

func (rcv *LogParameters) UserId() []byte

/ Detailed diagnostic number. / User id of the user who sends the log.

type LogParametersT

type LogParametersT struct {
	MainDiagnosisCode     string `json:"mainDiagnosisCode"`
	DetailedDiagnosisCode string `json:"detailedDiagnosisCode"`
	UserId                string `json:"userId"`
	Entity                string `json:"entity"`
	Origin                string `json:"origin"`
	UnitName              string `json:"unitName"`
	FileName              string `json:"fileName"`
	FunctionName          string `json:"functionName"`
	LineNumber            uint32 `json:"lineNumber"`
	DynamicDescription    string `json:"dynamicDescription"`
}

/ This table defines all elements that can be used to set a diagnostic log. / It is used for diagnostic messages, warnings and errors.

func (*LogParametersT) Pack

type MainDiagnostic

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

func GetRootAsMainDiagnostic

func GetRootAsMainDiagnostic(buf []byte, offset flatbuffers.UOffsetT) *MainDiagnostic

func GetSizePrefixedRootAsMainDiagnostic

func GetSizePrefixedRootAsMainDiagnostic(buf []byte, offset flatbuffers.UOffsetT) *MainDiagnostic

func (*MainDiagnostic) DetailedDiagnostics

func (rcv *MainDiagnostic) DetailedDiagnostics(obj *DetailedDiagnostic, j int) bool

/ Default text of the main diagnostics. / All detailed diagnostics that belong to this main diagnostics.

func (*MainDiagnostic) DetailedDiagnosticsLength

func (rcv *MainDiagnostic) DetailedDiagnosticsLength() int

func (*MainDiagnostic) Init

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

func (*MainDiagnostic) MutateVersion

func (rcv *MainDiagnostic) MutateVersion(n uint32) bool

/ Version of the main diagnostics starting with 1.

func (*MainDiagnostic) Number

func (rcv *MainDiagnostic) Number() []byte

/ Main diagnostic number.

func (*MainDiagnostic) Table

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

func (*MainDiagnostic) Text

func (rcv *MainDiagnostic) Text() []byte

/ Default text of the main diagnostics.

func (*MainDiagnostic) UnPack

func (rcv *MainDiagnostic) UnPack() *MainDiagnosticT

func (*MainDiagnostic) UnPackTo

func (rcv *MainDiagnostic) UnPackTo(t *MainDiagnosticT)

func (*MainDiagnostic) Version

func (rcv *MainDiagnostic) Version() uint32

/ Main diagnostic number. / Version of the main diagnostics starting with 1.

type MainDiagnosticT

type MainDiagnosticT struct {
	Number              string                 `json:"number"`
	Version             uint32                 `json:"version"`
	Text                string                 `json:"text"`
	DetailedDiagnostics []*DetailedDiagnosticT `json:"detailedDiagnostics"`
}

/ This table defines the elements of one main diagnostics that should be registered.

func (*MainDiagnosticT) Pack

type PendingDiagnosticState

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

func GetRootAsPendingDiagnosticState

func GetRootAsPendingDiagnosticState(buf []byte, offset flatbuffers.UOffsetT) *PendingDiagnosticState

func GetSizePrefixedRootAsPendingDiagnosticState

func GetSizePrefixedRootAsPendingDiagnosticState(buf []byte, offset flatbuffers.UOffsetT) *PendingDiagnosticState

func (*PendingDiagnosticState) Init

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

func (*PendingDiagnosticState) MutatePendingDiagnosticState

func (rcv *PendingDiagnosticState) MutatePendingDiagnosticState(n State) bool

/ State of one diagnostic log in the pending diagnostics.

func (*PendingDiagnosticState) PendingDiagnosticState

func (rcv *PendingDiagnosticState) PendingDiagnosticState() State

/ State of one diagnostic log in the pending diagnostics.

func (*PendingDiagnosticState) Table

func (*PendingDiagnosticState) UnPack

func (*PendingDiagnosticState) UnPackTo

type PendingDiagnosticStateT

type PendingDiagnosticStateT struct {
	PendingDiagnosticState State `json:"pendingDiagnosticState"`
}

/ This table defines the state of one diagnostic log in the pending diagnostics.

func (*PendingDiagnosticStateT) Pack

type RegistrationFile

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

func GetRootAsRegistrationFile

func GetRootAsRegistrationFile(buf []byte, offset flatbuffers.UOffsetT) *RegistrationFile

func GetSizePrefixedRootAsRegistrationFile

func GetSizePrefixedRootAsRegistrationFile(buf []byte, offset flatbuffers.UOffsetT) *RegistrationFile

func (*RegistrationFile) Component

func (rcv *RegistrationFile) Component() []byte

/ Product associated to the diagnostics (optional). / Component associated to the diagnostics (optional).

func (*RegistrationFile) Init

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

func (*RegistrationFile) Language

func (rcv *RegistrationFile) Language() []byte

/ Language of the default texts (optional).

func (*RegistrationFile) MainDiagnostics

func (rcv *RegistrationFile) MainDiagnostics(obj *MainDiagnostic, j int) bool

/ Component associated to the diagnostics (optional). / All main diagnostics (including their related detailed diagnostics) that should be registered.

func (*RegistrationFile) MainDiagnosticsLength

func (rcv *RegistrationFile) MainDiagnosticsLength() int

func (*RegistrationFile) Product

func (rcv *RegistrationFile) Product() []byte

/ Language of the default texts (optional). / Product associated to the diagnostics (optional).

func (*RegistrationFile) Table

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

func (*RegistrationFile) UnPack

func (rcv *RegistrationFile) UnPack() *RegistrationFileT

func (*RegistrationFile) UnPackTo

func (rcv *RegistrationFile) UnPackTo(t *RegistrationFileT)

type RegistrationFileT

type RegistrationFileT struct {
	Language        string             `json:"language"`
	Product         string             `json:"product"`
	Component       string             `json:"component"`
	MainDiagnostics []*MainDiagnosticT `json:"mainDiagnostics"`
}

/ This table defines the structure of the registration json file that is needed to register diagnostics.

func (*RegistrationFileT) Pack

type State

type State int8

/ Possible states for a specific diagnostic log in the pending diagnostics. / The state ACTIVE means a diagnostic error or warning is part of the pending diagnostics and is in state active. Solving the cause of the error or warning is necessary. / The state RESET means a diagnostic error is part of the pending diagnostics and is in state reset. An clearing (acknowldgement) of the error is necessary.

const (
	StateACTIVE        State = 0
	StateRESET         State = 1
	StateNOT_CONTAINED State = 2
)

func (State) String

func (v State) String() string

Jump to

Keyboard shortcuts

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