Versions in this module Expand all Collapse all v0 v0.1.0 Aug 9, 2022 Changes in this version + const DefPrefix + func GetFieldTag(field *ast.Field) reflect.StructTag + type CommentInformation struct + RemainingComment string + SynthesizedComment string + type Definition struct + AdditionalProperties interface{} + ContentEncoding string + Default interface{} + Description string + Enum []string + Examples []string + HTMLDescription string + Items *Definition + KubernetesGvk []*GroupVersionKind + OneOf []*Definition + PatternProperties map[string]*Definition + PreferredOrder []string + Properties map[string]*Definition + Ref string + Required []string + Type string + type Generator struct + Definitions map[string]*Definition + FromatRefName RefNameFormatFunc + Importer importer.Importer + Strict bool + TagNamespace string + func (dg *Generator) CollectDefinitionsFromStruct(thisPkg, rootStruct string) + type GroupVersionKind struct + Group string + Kind string + Version string + type Meta struct + NoDerive bool + Required bool + type RefNameFormatFunc func(pkg, name string) string + type TypeParamDefAndValue struct + Defs *ast.FieldList + TypePackages []string + Types []ast.Expr + func (p *TypeParamDefAndValue) Subst(pkg string, in ast.Expr) (string, ast.Expr) + func (p *TypeParamDefAndValue) Validate() error