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) []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 GroupVersionPackage ¶
type GroupVersionPackage 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 GroupVersion string PackageName string }
GroupVersionPackage contains group name, version name, and the package name client-gen will generate for this group version.
func ToGroupVersionPackages ¶
func ToGroupVersionPackages(groups []GroupVersions) []GroupVersionPackage
ToGroupVersionPackages is a helper function used by generators for groups.
type GroupVersions ¶
Click to show internal directories.
Click to hide internal directories.