Versions in this module Expand all Collapse all v0 v0.21.0 Mar 11, 2021 Changes in this version + var EmptyObjectKind = emptyObjectKind + func ParseKindArg(arg string) (*GroupVersionKind, GroupKind) + func ParseResourceArg(arg string) (*GroupVersionResource, GroupResource) + type GroupKind struct + Group string + Kind string + func ParseGroupKind(gk string) GroupKind + func (gk GroupKind) Empty() bool + func (gk GroupKind) String() string + func (gk GroupKind) WithVersion(version string) GroupVersionKind + type GroupResource struct + Group string + Resource string + func ParseGroupResource(gr string) GroupResource + func (gr GroupResource) Empty() bool + func (gr GroupResource) String() string + func (gr GroupResource) WithVersion(version string) GroupVersionResource + type GroupVersion struct + Group string + Version string + func ParseGroupVersion(gv string) (GroupVersion, error) + func (gv GroupVersion) Empty() bool + func (gv GroupVersion) Identifier() string + func (gv GroupVersion) KindForGroupVersionKinds(kinds []GroupVersionKind) (target GroupVersionKind, ok bool) + func (gv GroupVersion) String() string + func (gv GroupVersion) WithKind(kind string) GroupVersionKind + func (gv GroupVersion) WithResource(resource string) GroupVersionResource + type GroupVersionKind struct + Group string + Kind string + Version string + func FromAPIVersionAndKind(apiVersion, kind string) GroupVersionKind + func (gvk GroupVersionKind) Empty() bool + func (gvk GroupVersionKind) GroupKind() GroupKind + func (gvk GroupVersionKind) GroupVersion() GroupVersion + func (gvk GroupVersionKind) String() string + func (gvk GroupVersionKind) ToAPIVersionAndKind() (string, string) + type GroupVersionResource struct + Group string + Resource string + Version string + func (gvr GroupVersionResource) Empty() bool + func (gvr GroupVersionResource) GroupResource() GroupResource + func (gvr GroupVersionResource) GroupVersion() GroupVersion + func (gvr GroupVersionResource) String() string + type GroupVersions []GroupVersion + func (gvs GroupVersions) Identifier() string + func (gvs GroupVersions) KindForGroupVersionKinds(kinds []GroupVersionKind) (GroupVersionKind, bool) + type ObjectKind interface + GroupVersionKind func() GroupVersionKind + SetGroupVersionKind func(kind GroupVersionKind)