k3d/pkg/runtimes/docker
Thorsten Klein f8f17caf78
[Cleanup] Types, ready-log-messages & closing connections (#818)
- new special internal role `initServer` used only to determine the correct ready-log-message
- ready-log-messages now looked up by role and new `Intent` type (cluster-create/cluster-start/node-create/node-start), as especially for the init server there are different log messages indicating that we can proceed with the next step
- moving types around:
	- K3s env vars now under .../types/k3s/env.go
	- defaults now under .../types/defaults.go
	- ...
- improved waiting for log messages
	- not checking the whole log again and again in a loop
	- follow log with a single reader (and retry in case we see a fatal error, meaning that the K3s container will restart -> backoff after 10 tries)
	- BREAKING: new `*runtimeTypes.NodeLogsOpts` parameter in GetNodeLogs
2021-10-27 12:56:04 +02:00
..
container.go migrate to module rancher/k3d/v5 2021-09-07 08:58:57 +02:00
docker.go migrate to module rancher/k3d/v5 2021-09-07 08:58:57 +02:00
host.go [Enhancement/Fix] Properly use env/runtime info and inject dns accordingly (#758) 2021-09-23 12:41:30 +02:00
image.go overall: make error handling and error logs a bit more streamlined 2021-08-31 09:33:39 +02:00
info.go migrate to module rancher/k3d/v5 2021-09-07 08:58:57 +02:00
kubeconfig.go migrate to module rancher/k3d/v5 2021-09-07 08:58:57 +02:00
machine.go migrate to module rancher/k3d/v5 2021-09-07 08:58:57 +02:00
network.go [Enhancement] More powerful registry-create opt (#727) 2021-09-08 19:09:23 +02:00
node.go [Cleanup] Types, ready-log-messages & closing connections (#818) 2021-10-27 12:56:04 +02:00
translate_test.go [Cleanup] Types, ready-log-messages & closing connections (#818) 2021-10-27 12:56:04 +02:00
translate.go [Cleanup] Types, ready-log-messages & closing connections (#818) 2021-10-27 12:56:04 +02:00
types.go overall/license: update to year range -2021 2021-05-21 13:07:59 +02:00
util.go [Cleanup] Types, ready-log-messages & closing connections (#818) 2021-10-27 12:56:04 +02:00
volume.go migrate to module rancher/k3d/v5 2021-09-07 08:58:57 +02:00