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 ¶
type GroupVersionInfo struct { Group Group Version Version // If a user calls a group client without specifying the version (e.g., // c.Core(), instead of c.CoreV1()), the default version will be returned. IsDefaultVersion bool 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.