Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupInstallPackage ¶
func ToGroupInstallPackages ¶
func ToGroupInstallPackages(groups []GroupVersions, groupGoNames map[GroupVersion]string) []GroupInstallPackage
type GroupVersion ¶
func ToGroupVersion ¶
func ToGroupVersion(gv string) (GroupVersion, error)
ToGroupVersion turns "group/version" string into a GroupVersion struct. It reports error if it cannot parse the string.
type GroupVersionInfo ¶ added in v1.10.8
type GroupVersionInfo struct { Group Group Version Version PackageAlias string GroupGoName string LowerCaseGroupGoName string }
GroupVersionInfo contains all the info around a group version.
func ToGroupVersionInfo ¶ added in v1.10.8
func ToGroupVersionInfo(groups []GroupVersions, groupGoNames map[GroupVersion]string) []GroupVersionInfo
ToGroupVersionInfo is a helper function used by generators for groups.
type GroupVersions ¶
type GroupVersions struct { // The name of the package for this group, e.g. apps. PackageName string Group Group Versions []PackageVersion }
type PackageVersion ¶ added in v1.10.8
Click to show internal directories.
Click to hide internal directories.