Documentation
¶
Index ¶
- func Compose(dc *matter.DeviceTypeComposition) (composedClusters map[*matter.Cluster]*matter.ClusterComposition, err error)
- func SplitZAPDocs(cxt context.Context, spec *spec.Specification, inputs spec.DocSet) (clusters spec.DocSet, deviceTypes spec.DocSet, namespaces spec.DocSet, ...)
- func ZAPTemplateDestinations(sdkRoot string, docPath string, entities []types.Entity, errata *errata.SDK) (destinations map[string][]types.Entity)
- type ClusterComposition
- type ClusterListPatcher
- type DependencyTracer
- type DeviceTypesPatcher
- type ElementComposition
- type GlobalObjectsRenderer
- type IndexFilesPatcher
- type NamespacePatcher
- type TemplateGenerator
- type TemplateOptions
- type ZclPatcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Compose ¶
func Compose(dc *matter.DeviceTypeComposition) (composedClusters map[*matter.Cluster]*matter.ClusterComposition, err error)
func SplitZAPDocs ¶
Types ¶
type ClusterComposition ¶
type ClusterComposition struct {
Cluster *matter.Cluster
Server conformance.State
Client conformance.State
Elements []*ElementComposition
}
type ClusterListPatcher ¶
type ClusterListPatcher struct {
// contains filtered or unexported fields
}
func NewClusterListPatcher ¶
func NewClusterListPatcher(spec *spec.Specification, sdkRoot string) *ClusterListPatcher
func (ClusterListPatcher) Name ¶
func (p ClusterListPatcher) Name() string
type DependencyTracer ¶
type DependencyTracer struct {
GlobalObjectDependencies spec.DocSet
// contains filtered or unexported fields
}
func NewDependencyTracer ¶
func NewDependencyTracer(specification *spec.Specification) *DependencyTracer
func (DependencyTracer) Name ¶
func (p DependencyTracer) Name() string
type DeviceTypesPatcher ¶
type DeviceTypesPatcher struct {
// contains filtered or unexported fields
}
func NewDeviceTypesPatcher ¶
func NewDeviceTypesPatcher(sdkRoot string, spec *spec.Specification, clusterAliases pipeline.Map[string, []string], options TemplateOptions) *DeviceTypesPatcher
func (DeviceTypesPatcher) Name ¶
func (p DeviceTypesPatcher) Name() string
type ElementComposition ¶
type ElementComposition struct {
ElementRequirement *matter.ElementRequirement
State conformance.State
}
type GlobalObjectsRenderer ¶
type GlobalObjectsRenderer struct {
// contains filtered or unexported fields
}
func NewGlobalObjectsRenderer ¶
func NewGlobalObjectsRenderer(spec *spec.Specification, sdkRoot string, generator *TemplateGenerator) *GlobalObjectsRenderer
func (GlobalObjectsRenderer) Name ¶
func (p GlobalObjectsRenderer) Name() string
type IndexFilesPatcher ¶
type IndexFilesPatcher struct {
// contains filtered or unexported fields
}
func NewIndexFilesPatcher ¶
func NewIndexFilesPatcher(sdkRoot string, spec *spec.Specification) *IndexFilesPatcher
func (IndexFilesPatcher) Name ¶
func (ifp IndexFilesPatcher) Name() string
type NamespacePatcher ¶
type NamespacePatcher struct {
// contains filtered or unexported fields
}
func NewNamespacePatcher ¶
func NewNamespacePatcher(sdkRoot string, specification *spec.Specification) *NamespacePatcher
func (NamespacePatcher) Name ¶
func (p NamespacePatcher) Name() string
type TemplateGenerator ¶
type TemplateGenerator struct {
ClusterAliases pipeline.Map[string, []string]
// contains filtered or unexported fields
}
func NewTemplateGenerator ¶
func NewTemplateGenerator(spec *spec.Specification, pipelineOptions pipeline.ProcessingOptions, sdkRoot string, options TemplateOptions) (*TemplateGenerator, error)
func (TemplateGenerator) Name ¶
func (tg TemplateGenerator) Name() string
type TemplateOptions ¶
type TemplateOptions struct {
FeatureXML bool `default:"true" aliases:"featureXML" help:"write new style feature XML" group:"ZAP:"`
ConformanceXML bool `default:"true" aliases:"conformanceXML" help:"write new style conformance XML" group:"ZAP:"`
EndpointCompositionXML bool `default:"false" aliases:"endpointCompositionXML" help:"write new style endpoint composition XML" group:"ZAP:"`
SpecOrder bool `default:"false" aliases:"specOrder" help:"write ZAP template XML in spec order" group:"ZAP:"`
ExtendedQuality bool `` /* 136-byte string literal not displayed */
ProvisionalPolicy string `enum:"none,loose,strict" default:"none" help:"enforce a provisional policy for generating ZAP XML" group:"ZAP:"`
}
type ZclPatcher ¶
type ZclPatcher struct {
// contains filtered or unexported fields
}
func NewZclPatcher ¶
func NewZclPatcher(sdkRoot string, spec *spec.Specification, provisionalZclFiles pipeline.StringSet) *ZclPatcher
func (ZclPatcher) Name ¶
func (p ZclPatcher) Name() string
Source Files
¶
- access.go
- attribute.go
- bitmap.go
- build.go
- cluster.go
- cluster_list.go
- command.go
- composed.go
- configurator.go
- conformance.go
- constraint.go
- dependencies.go
- devicetypes.go
- enum.go
- event.go
- features.go
- field.go
- generate.go
- global.go
- index.go
- license.go
- lint.go
- namespaces.go
- option.go
- patch.go
- path.go
- provisional.go
- quality.go
- reorder.go
- requirements.go
- struct.go
- template.go
- version.go
- yaml.go
- zcl.go
Click to show internal directories.
Click to hide internal directories.