Documentation ¶
Index ¶
- func GetNamespaceAndNameFromObjectMeta(obj interface{}) (namespace, name string, errs error)
- func GetObjectMetaData(obj interface{}) *metadataOnlyObject
- func GetOrGenKubeConfigPath(kubeconfigContent string) string
- func ValidateDNS1123Name(name string) bool
- func WaitPod(client *kubernetes.Clientset, namespace string, listOptions v1.ListOptions, ...) error
- func WaitResource(client *kubernetes.Clientset, g cache.Getter, namespace string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetObjectMetaData ¶
func GetObjectMetaData(obj interface{}) *metadataOnlyObject
func GetOrGenKubeConfigPath ¶
gen or get kubeconfig from local path by kubeconfig content we would gen or get kubeconfig file named by hash
func ValidateDNS1123Name ¶
func WaitResource ¶
func WaitResource(client *kubernetes.Clientset, g cache.Getter, namespace string, gvk schema.GroupVersionKind, listOptions v1.ListOptions, checker func(interface{}) bool, timeout time.Duration) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.