Documentation ¶
Index ¶
- func DeletePod(client dynamic.Interface, namespace string, name string) error
- func GetPod(client dynamic.Interface, namespace, name string) (*unstructured.Unstructured, error)
- func ListPod(client dynamic.Interface, namespace string) (*unstructured.UnstructuredList, error)
- type Pod
- type PodsList
- type PodsSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPod ¶
func GetPod(client dynamic.Interface, namespace, name string) (*unstructured.Unstructured, error)
func ListPod ¶
func ListPod(client dynamic.Interface, namespace string) (*unstructured.UnstructuredList, error)
Types ¶
type Pod ¶
type Pod struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PodsSpec `json:"spec,omitempty"` }
Click to show internal directories.
Click to hide internal directories.