Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct {
Object `yaml:",inline"`
Spec struct {
Id struct {
Standard *uint16 `yaml:"standard,omitempty"`
Extended *uint32 `yaml:"extended,omitempty"`
J1939 *struct {
Priority *uint8 `yaml:"priority,omitempty"`
DataPage *bool `yaml:"data_page,omitempty"`
ExtendedDataPage *bool `yaml:"extended_data_page,omitempty"`
PDUFormat *uint8 `yaml:"pdu_format,omitempty"`
PDUSpecific *uint8 `yaml:"pdu_specific,omitempty"`
SourceAddress *uint8 `yaml:"source_address,omitempty"`
} `yaml:"j1939,omitempty"`
} `yaml:"id"`
Length *uint8 `yaml:"length"`
Data []struct {
Name string `yaml:"name,omitempty"`
Size string `yaml:"size,omitempty"`
SLOTReference string `yaml:"slot,omitempty"`
Padding *uint8 `yaml:"padding,omitempty"`
} `yaml:"data" json:"data"`
} `yaml:"spec"`
}
Message
type Object ¶
type Object struct {
APIVersion string `yaml:"apiVersion"`
Kind string `yaml:"kind"`
Metadata struct {
Name string `yaml:"name"`
Namespace string `yaml:"namespace,omitempty"`
Labels map[string]string `yaml:"labels,omitempty"`
} `yaml:"metadata"`
}
Common object attributes
Click to show internal directories.
Click to hide internal directories.