Documentation
¶
Index ¶
- func CleanName(name string) string
- func ClusterName(path string, errata *errata.SDK, entities []types.Entity) string
- func DataTypeName(dataType *types.DataType) string
- func DeviceTypeName(deviceType *matter.DeviceType, errata *errata.SDK) string
- func FieldToZapDataType(fs matter.FieldSet, f *matter.Field, constraint constraint.Constraint) string
- func GetFallbackValue(cc *matter.ConstraintContext, fallback constraint.Limit) (fallbackValue types.DataTypeExtreme)
- func GetMinMax(cc *matter.ConstraintContext, c constraint.Constraint) (from types.DataTypeExtreme, to types.DataTypeExtreme)
- func IsDisallowed(entity types.Entity, c conformance.Set) bool
- func ToBaseDataType(s string) types.BaseDataType
- type Configurator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterName ¶
func DataTypeName ¶
func DeviceTypeName ¶
func DeviceTypeName(deviceType *matter.DeviceType, errata *errata.SDK) string
func FieldToZapDataType ¶
func FieldToZapDataType(fs matter.FieldSet, f *matter.Field, constraint constraint.Constraint) string
func GetFallbackValue ¶
func GetFallbackValue(cc *matter.ConstraintContext, fallback constraint.Limit) (fallbackValue types.DataTypeExtreme)
func GetMinMax ¶
func GetMinMax(cc *matter.ConstraintContext, c constraint.Constraint) (from types.DataTypeExtreme, to types.DataTypeExtreme)
func IsDisallowed ¶ added in v1.5.38
func IsDisallowed(entity types.Entity, c conformance.Set) bool
func ToBaseDataType ¶
func ToBaseDataType(s string) types.BaseDataType
Types ¶
type Configurator ¶
type Configurator struct {
Spec *spec.Specification
Docs []*asciidoc.Document
Domain string
OutPath string
Features []*matter.Number
Bitmaps map[*matter.Bitmap][]*matter.Number
Enums map[*matter.Enum][]*matter.Number
Clusters map[*matter.Cluster]bool
Structs map[*matter.Struct][]*matter.Number
ClusterIDs []string
Errata *errata.SDK
Global bool
ExternalEntities map[types.Entity]struct{}
}
func NewConfigurator ¶
func (*Configurator) DocLogs ¶
func (c *Configurator) DocLogs() slog.Attr
Source Files
¶
Click to show internal directories.
Click to hide internal directories.