Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NearErr = fmt.Errorf("recent query gvk error")
Functions ¶
func GetGroupVersionResource ¶
func GetGroupVersionResource(restMapper meta.RESTMapper, gvk schema.GroupVersionKind) (schema.GroupVersionResource, error)
GetGroupVersionResource is a helper to map GVK(schema.GroupVersionKind) to GVR(schema.GroupVersionResource).
func NewCachedRESTMapper ¶
func NewCachedRESTMapper(cfg *rest.Config, underlyingMapper meta.RESTMapper) (meta.RESTMapper, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.