Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
Get(apiVersion string, kind string, name string, namespace string) (metav1.Object, error)
}
Client provides methods for retrieving arbitrary Kubernetes resources, returned as generalised metav1.Object, which can be converted to concrete types, and allows for retrieving common and shared data (namespaces, names etc.)
type UnstructuredClient ¶
type UnstructuredClient struct { Dynamic dynamic.Interface UnstructuredConverter runtime.UnstructuredConverter }
UnstructuredClient is an implementation of the arbitrary resource client that uses a dynamic Kubernetes interface, retrieving unstructured k8s objects and converting them to metav1.Object
Click to show internal directories.
Click to hide internal directories.