Documentation
¶
Index ¶
- func DeleteEmpty(s []string) []string
- func FindGVR(gvk *schema.GroupVersionKind, dc discovery.DiscoveryInterface) (*meta.RESTMapping, error)
- func GetResourceFromYaml(path string, dc discovery.DiscoveryInterface, args interface{}) (*meta.RESTMapping, *unstructured.Unstructured, error)
- func IsNodeReady(n corev1.Node) bool
- func PathToOSFile(relativePath string) (*os.File, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteEmpty ¶
func FindGVR ¶
func FindGVR(gvk *schema.GroupVersionKind, dc discovery.DiscoveryInterface) (*meta.RESTMapping, error)
find the corresponding GVR (available in *meta.RESTMapping) for gvk
func GetResourceFromYaml ¶
func GetResourceFromYaml(path string, dc discovery.DiscoveryInterface, args interface{}) (*meta.RESTMapping, *unstructured.Unstructured, error)
func IsNodeReady ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.