Closed hallyn closed 1 year ago
Looking at cmd/machine/cmd/root.go
; the private methods are:
getMachines getMachine postMachine putMachine
And this PR makes only Get and Put machine ... shouldn't the client API include all of these?
for example, machine init
uses postMachine
console does a Post to the machines/
Do you see adding those after this? or should they all go in now?
I figured we'd add them as they're needed, but I don't mind either way. I can add them now if you like.
Add a client API to get and put a machine. This is used by trust to edit a machine's boot source, iso and disks.