MCPcopy Create free account
hub / github.com/actions/actions-runner-controller / Kind

Struct Kind

testing/testing.go:222–234  ·  view source on GitHub ↗

Kind is a test cluster backend by a kind cluster and the dockerd powering it. It intracts with the kind cluster via the kind command and dockerd via the docker command for various operations that otherwise needs to be automated via shell scripts or makefiles.

Source from the content-addressed store, hash-verified

220// It intracts with the kind cluster via the kind command and dockerd via the docker command
221// for various operations that otherwise needs to be automated via shell scripts or makefiles.
222type Kind struct {
223 // Name is the name of the cluster
224 Name string
225
226 // Dir is the path to the directory that contains various temporary files like a kind cluster config yaml for testing.
227 // This is occasionally the value returned by testing.TempDir() so that
228 // you don't need to clean it up yourself.
229 Dir string
230
231 kubeconfig string
232
233 runtime.Cmdr
234}
235
236type Config struct {
237 // PreloadImages is the list of container images to be pulled and loaded into the cluster.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected