• Lubomir I. Ivanov's avatar
    kubeadm: fix a couple of problems related to initData/joinData · 1b0ba920
    Lubomir I. Ivanov authored
    Fix a couple of problems related to data used by the phases runners
    of `init` and `join`.
    
    1) make `newInitData()` and `newJoinData()` return pointers.
    
    Methods of the data objects returned by these functions should
    be able to modify fields in the data objects - e.g.
    `func (d initData) Client()`. This allows us to store a state and
    not execute the same logic multiple times - e.g. obtaining a client.
    
    A side effect of this change is that the `new...` functions must return
    pointers, so that casting the data object in a phase, from
    `workflow.RunData` to a locally defined interface, works.
    
    2) Make it possible to pass arguments from a parent command
    to a sub-phase with regards to data initialization.
    1b0ba920
Name
Last commit
Last update
..
clicheck Loading commit data...
cloud-controller-manager Loading commit data...
controller-manager Loading commit data...
gendocs Loading commit data...
genkubedocs Loading commit data...
genman Loading commit data...
genswaggertypedocs Loading commit data...
genutils Loading commit data...
genyaml Loading commit data...
hyperkube Loading commit data...
importverifier Loading commit data...
kube-apiserver Loading commit data...
kube-controller-manager Loading commit data...
kube-proxy Loading commit data...
kube-scheduler Loading commit data...
kubeadm Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
linkcheck Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...