Lines Matching defs:extension
62 type extension struct { struct
63 idlTag string // Example: listType
64 xName string // Example: x-kubernetes-list-type
65 values []string // Example: [atomic]
68 func (e extension) hasAllowedValues() bool {
72 func (e extension) allowedValues() sets.String {
76 func (e extension) hasKind() bool {
80 func (e extension) kind() types.Kind {
84 func (e extension) validateAllowedValues() error {
102 func (e extension) validateType(kind types.Kind) error {
114 func (e extension) hasMultipleValues() bool {
118 func (e extension) isAlwaysArrayFormat() bool {
177 func validateMemberExtensions(extensions []extension, m *types.Member) []error {