Commit Graph

7 Commits

Author SHA1 Message Date
iwilltry42
639daef7fb
Reorder parameters
- runtimes.Runtime should at max. the second function parameter (right
after context.Context)
2020-05-26 12:58:43 +02:00
iwilltry42
0d2c22455d
Overall: use context.Context in top-level exported functions
- package cluster: use context.Context as first function param in every
exported function
- package cmd: pass cmd.Context() to calls to package cluster exported
functions
2020-05-18 12:57:59 +02:00
iwilltry42
d7e71e07d2
fix/loadImage: extract labels from master/worker nodes only
- imageVolume couldn't be determined before in some cases, because it
tried to extract the name from labels on the masterlb which doesn't have
them.
- now we're only trying get the label from master/worker nodes and this
also adds a failover solution
- also, we ignore non-worker/master nodes upon image import
2020-04-23 11:40:13 +02:00
iwilltry42
dc1bbd6965
manage imageVolume lifecycle 2020-04-14 17:30:12 +02:00
iwilltry42
66d545e034
do not access cluster name if it's not found 2020-02-03 11:36:27 +01:00
iwilltry42
bc49f197d9
cleanup and prepare for push to rancher/k3d 2020-01-05 21:16:31 +01:00
iwilltry42
11b937a910 implement load images command 2019-12-04 14:54:58 +01:00