LoadImageToKindCluster loads a local docker image to the kind cluster
(name string)
| 84 | |
| 85 | // LoadImageToKindCluster loads a local docker image to the kind cluster |
| 86 | func LoadImageToKindClusterWithName(name string) error { |
| 87 | cmd := exec.Command("make", "load-kind") |
| 88 | _, err := Run(cmd) |
| 89 | return err |
| 90 | } |
| 91 | |
| 92 | // GetNonEmptyLines converts given command output string into individual objects |
| 93 | // according to line breakers, and ignores the empty elements in it. |