eks-anywhere icon indicating copy to clipboard operation
eks-anywhere copied to clipboard

Business logic in executables package

Open g-gaston opened this issue 3 years ago • 0 comments

The executables package now contains business logic, when it was supposed to be just a wrapper around the low level operations provided by the binaries Any other higher level operation should be composed of these low level operations and moved up, either to a higher level client, provider or just a new type/module

More over, the govc module has some side effects, specifically it updates some of the vsphere cluster config structs. We should try to avoid this: it makes the code more difficult to understand and debug. Any updates to such structs should be done by the type that owns them. In this case, it seems like the vsphere provider or some other vsphere type/submodule

g-gaston avatar Sep 16 '21 15:09 g-gaston