Skip to content
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
@phantomjinx

Description

@phantomjinx

Advantages

  • Detecting compile-time errors;
  • Single connection interface to kubernetes platform, using client-go, rather than being concerned with either oc or kubectl;
  • 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)
  • ....

Metadata

Metadata

Assignees

Labels

EpicUse by ZenHub, typically also for user storiescat/discussionThis issues requires a discussioncat/enhancementEnhancements to existing features and capabilitiescat/featurePR label for a new featurestatus/never-staleMarker that this issue should not be marked as stale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions