This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
Convert all syndesis bash scripts into single go-lang binary #8762
Open
Description
Advantages
- Detecting compile-time errors;
- Single connection interface to kubernetes platform, using client-go, rather than being concerned with either
oc
orkubectl
; - Architectural elements like structs for inter-functional communication;
- Proper function return typing rather than resorting to eval, global variables or other workarounds;
- Wait functions built-in and typed return objects from kubernetes-related function calls, eg.
kube get secret
returns a secret typed object; - Sync up with other projects such as camel-k.
- ...
Disadvantages
- Compilation requires a binary release;
- Some command-line actions may not be so readily available inside the go-lang environment (helpful to list them as we go along);
- Code maintenance will require a knowledge of go (seems to be a requirement anyway going forward)
- ....