k3d/pkg/types
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
..
fixes [Cleanup] Types, ready-log-messages & closing connections (#818) 2021-10-27 12:56:04 +02:00
k3s [Cleanup] Types, ready-log-messages & closing connections (#818) 2021-10-27 12:56:04 +02:00
k8s overall/license: update to year range -2021 2021-05-21 13:07:59 +02:00
defaults.go [Cleanup] Types, ready-log-messages & closing connections (#818) 2021-10-27 12:56:04 +02:00
env.go [Cleanup] Types, ready-log-messages & closing connections (#818) 2021-10-27 12:56:04 +02:00
images.go [Cleanup] Types, ready-log-messages & closing connections (#818) 2021-10-27 12:56:04 +02:00
intent.go [Cleanup] Types, ready-log-messages & closing connections (#818) 2021-10-27 12:56:04 +02:00
k3slogs.go [Cleanup] Types, ready-log-messages & closing connections (#818) 2021-10-27 12:56:04 +02:00
loadbalancer.go [Docs] v5 update (#740) 2021-09-17 20:41:57 +02:00
node.go [Feature] CreateNode: add token and network flags and allow remote cluster (#734) 2021-09-07 07:31:18 +02:00
registry.go [Cleanup] Types, ready-log-messages & closing connections (#818) 2021-10-27 12:56:04 +02:00
types.go [Cleanup] Types, ready-log-messages & closing connections (#818) 2021-10-27 12:56:04 +02:00