Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ClientConfig *rest.Config Clientset *kubernetes.Clientset PreferredResources []*metav1.APIResourceList PreferredNamespacedResources []*metav1.APIResourceList )
Functions ¶
Types ¶
type KubeObject ¶
type KubeObject struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` }
type KubeObjectList ¶
type KubeObjectList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // A list of objects. Items []KubeObject `json:"items" protobuf:"bytes,2,rep,name=items"` }
func ListObjects ¶
func ListObjects(groupVersion string, resourceName string, namespace string) (*KubeObjectList, error)
func (*KubeObjectList) DeepCopyObject ¶
func (in *KubeObjectList) DeepCopyObject() runtime.Object
Click to show internal directories.
Click to hide internal directories.