Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeHomogenousSnapshotFuncs ¶ added in v0.7.17
func MakeHomogenousSnapshotFuncs( snapshotName, 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
func MakeHybridSnapshotFuncs ¶ added in v0.7.17
func MakeHybridSnapshotFuncs( snapshotName, outputFile string, selectFromGroups map[string][]model.Group, localResourcesToSelect, remoteResourcesToSelect 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.