Documentation
¶
Index ¶
- func Targeter(sdkRoot string) func(cxt context.Context) ([]string, error)
- type AttributeRef
- type ClusterInfo
- type ClusterRef
- type CommandRef
- type DeviceTypeRef
- type Endpoint
- type EndpointType
- type EventRef
- type File
- type IdlRenderer
- type JSONEndpoint
- type KeyValuePair
- type NumberString
- type Package
- type ProvisionalFilter
- type Reader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AttributeRef ¶
type AttributeRef struct {
Name string `json:"name"`
Code int `json:"code"`
MfgCode *int `json:"mfgCode"`
Side string `json:"side"`
Type string `json:"type"`
Included int `json:"included"`
StorageOption string `json:"storageOption"`
Singleton int `json:"singleton"`
Bounded int `json:"bounded"`
DefaultValue string `json:"defaultValue"`
Reportable int `json:"reportable"`
MinInterval int `json:"minInterval"`
MaxInterval int `json:"maxInterval"`
ReportableChange int `json:"reportableChange"`
}
type ClusterInfo ¶
type ClusterRef ¶
type ClusterRef struct {
Name string `json:"name"`
Code int `json:"code"`
MfgCode *int `json:"mfgCode"`
Define string `json:"define"`
Side string `json:"side"`
ApiMaturity string `json:"apiMaturity"`
Enabled int `json:"enabled"`
Cluster *matter.Cluster `json:"-"`
Attributes []AttributeRef `json:"attributes"`
Commands []CommandRef `json:"commands"`
Events []EventRef `json:"events"`
}
type CommandRef ¶
type DeviceTypeRef ¶
type Endpoint ¶
type Endpoint struct {
ID int
EndpointType
Servers []*ClusterInfo
Clients []*ClusterInfo
}
type EndpointType ¶
type EndpointType struct {
ID int `json:"id"`
Name string `json:"name"`
DeviceTypeRef DeviceTypeRef `json:"deviceTypeRef"`
DeviceTypes []DeviceTypeRef `json:"deviceTypes"`
DeviceVersions []int `json:"deviceVersions"`
DeviceIdentifiers []int `json:"deviceIdentifiers"`
DeviceTypeCode int `json:"deviceTypeCode"`
DeviceTypeProfileId int `json:"deviceTypeProfileId"`
DeviceTypeName string `json:"deviceTypeName"`
Clusters []ClusterRef `json:"clusters"`
DeviceType *matter.DeviceType `json:"-"`
}
type File ¶
type File struct {
FileFormat int `json:"fileFormat"`
FeatureLevel int `json:"featureLevel"`
Creator string `json:"creator"`
KeyValuePairs []KeyValuePair `json:"keyValuePairs"`
Package []Package `json:"package"`
EndpointTypes []EndpointType `json:"endpointTypes"`
Endpoints []JSONEndpoint `json:"endpoints"`
}
type IdlRenderer ¶
type IdlRenderer struct {
SuppressEndpoints bool
SuppressProvisional string
// contains filtered or unexported fields
}
func NewIdlRenderer ¶
func NewIdlRenderer(spec *spec.Specification) (IdlRenderer, error)
func (IdlRenderer) Name ¶
func (p IdlRenderer) Name() string
type JSONEndpoint ¶
type KeyValuePair ¶
type NumberString ¶
func (*NumberString) UnmarshalJSON ¶
func (f *NumberString) UnmarshalJSON(b []byte) error
type ProvisionalFilter ¶
Click to show internal directories.
Click to hide internal directories.