Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeTopLevelFuncs ¶
func MakeTopLevelFuncs(outputFile string, selectFromGroups map[string][]model.Group, resourcesToSelect map[schema.GroupVersion][]string) template.FuncMap
make funcs for "Top Level" templates, i.e.: templates which combine resources from multiple (including externally defined) codegen Groups.
selectFromGroups = a map of Go modules to (a superset of) the imported codegen Groups. only required if the codegen group is defined in a different go module than the types (i.e. it is using a CustomTypesImportPath) resourcesToSelect = the GVKs of the resources which we want to select from the provided groups
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.