package
0.0.2
Repository: https://github.com/rtmzk/component-base.git
Documentation: pkg.go.dev

# Functions

FromAPIVersionAndKind returns a GVK representing the provided fields for types that do not use TypeMeta.
ParseGroupKind parse a string to GroupKind.
ParseGroupResource turns "resource.group" string into a GroupResource struct.
ParseGroupVersion turns "group/version" string into a GroupVersion struct.
ParseKindArg takes the common style of string which may be either `Kind.group.com` or `Kind.version.group.com` and parses it out into both possibilities.
ParseResourceArg takes the common style of string which may be either `resource.group.com` or `resource.version.group.com` and parses it out into both possibilities.

# Variables

EmptyObjectKind implements the ObjectKind interface as a noop.

# Structs

GroupKind specifies a Group and a Kind, but does not force a version.
GroupResource specifies a Group and a Resource, but does not force a version.
GroupVersion contains the "group" and the "version", which uniquely identifies the API.
GroupVersionKind unambiguously identifies a kind.
GroupVersionResource unambiguously identifies a resource.

# Interfaces

ObjectKind is used by serialization to set type information from the Scheme onto the serialized version of an object.

# Type aliases

GroupVersions can be used to represent a set of desired group versions.