[Task] Move functionality out of api.go and client.go #5481
Labels
area/tech-debt
Leftover improvements in code, testing and building
good first issue
Good for newcomers
priority/important-longterm
Important over the long term, but may not be currently staffed and/or may require multiple releases
Description
This ticket is to refactor the functionality mentioned below and here
api.go
Contains:
func (p ProviderServices) EKS() eksiface.EKSAPI { return p.eks }
On the face of it a lot of this isn't really EKS specific but more general AWS related. We should move this out of this package (:heavy_check_mark: added to proposal at the end of the comment)
The rest of file is made up of:
None of these functions seem related to EKS specifically, so lets move them.
client.go
Contains code for setting up the aws-sdk-go sessions. Should be moved along side the AWS APIs code.
The text was updated successfully, but these errors were encountered: