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.
func (GroupVersion) ToAPIVersion ¶ added in v0.21.0
func (gv GroupVersion) ToAPIVersion() string
type GroupVersionInfo ¶
type GroupVersionInfo struct { Group Group Version Version PackageAlias string GroupGoName string LowerCaseGroupGoName string }
GroupVersionInfo contains all the info around a group version.
func ToGroupVersionInfo ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.