Lines Matching defs:extension
72 type extension struct { struct
73 idlTag string // Example: listType
74 xName string // Example: x-kubernetes-list-type
75 values []string // Example: [atomic]
78 func (e extension) hasAllowedValues() bool {
82 func (e extension) allowedValues() sets.String {
86 func (e extension) hasKind() bool {
90 func (e extension) kind() types.Kind {
94 func (e extension) validateAllowedValues() error {
112 func (e extension) validateType(kind types.Kind) error {
124 func (e extension) hasMultipleValues() bool {
128 func (e extension) isAlwaysArrayFormat() bool {
187 func validateMemberExtensions(extensions []extension, m *types.Member) []error {