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.
| 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. |
| 222 | type 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 | |
| 236 | type Config struct { |
| 237 | // PreloadImages is the list of container images to be pulled and loaded into the cluster. |
nothing calls this directly
no outgoing calls
no test coverage detected