Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helper ¶ added in v0.28.0
type Helper interface { // UpdateInfo sets the mapping and client for the provided Info // object. This must be called at a time when all needed resource // types are available in the RESTMapper. UpdateInfo(info *resource.Info) error BuildInfo(obj *unstructured.Unstructured) (*resource.Info, error) }
Helper provides functions for interacting with Info objects.
func NewHelper ¶ added in v0.28.0
func NewHelper(mapper meta.RESTMapper, unstructuredClientForMapping func(*meta.RESTMapping) (resource.RESTClient, error)) Helper
Click to show internal directories.
Click to hide internal directories.