MCPcopy Create free account
hub / github.com/VictoriaMetrics/operator / LoadImageToKindClusterWithName

Function LoadImageToKindClusterWithName

test/utils/utils.go:86–90  ·  view source on GitHub ↗

LoadImageToKindCluster loads a local docker image to the kind cluster

(name string)

Source from the content-addressed store, hash-verified

84
85// LoadImageToKindCluster loads a local docker image to the kind cluster
86func 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.

Callers 1

deploy_test.goFile · 0.92

Calls 1

RunFunction · 0.85

Tested by

no test coverage detected