cloud-bulldozer / go-commons

Code repository with all go common packages and libraries
Apache License 2.0
4 stars 9 forks source link

Initial draft for client-go abstraction (Reusable Components) #32

Open vishnuchalla opened 1 year ago

vishnuchalla commented 1 year ago

Type of change

Description

This PR follows a Repository Design Pattern to implement reusable components for resources that we use on our cluster while we run workloads.

This is a Draft PR but has Deployment Component Working. Please feel free to simply run the example/deployment/main.go file to see its different types of usage and working in action. Once this approach is approved will move forward with actual PRs of each component at a time.

Related Tickets & Documents

Checklist before requesting a review

Testing

Tested on self managed AWS cluster using the example/deployment/main.go file. Can use the same to reproduce the testing and to play-around.

codecov[bot] commented 1 year ago

Codecov Report

Merging #32 (9ee69ca) into main (9dc8764) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #32   +/-   ##
=======================================
  Coverage   85.13%   85.13%           
=======================================
  Files           6        6           
  Lines         343      343           
=======================================
  Hits          292      292           
  Misses         37       37           
  Partials       14       14