Lines Matching defs:extension
60 type extension struct { struct
61 idlTag string // Example: listType
62 xName string // Example: x-kubernetes-list-type
63 values []string // Example: [atomic]
66 func (e extension) hasAllowedValues() bool {
70 func (e extension) allowedValues() sets.String {
74 func (e extension) hasKind() bool {
78 func (e extension) kind() types.Kind {
82 func (e extension) validateAllowedValues() error {
100 func (e extension) validateType(kind types.Kind) error {
112 func (e extension) hasMultipleValues() bool {
171 func validateMemberExtensions(extensions []extension, m *types.Member) []error {