aws / aws/eks-anywhere

Refactor CloudStackTemplate object in template.go

Open
#1,645 0 comments 0 reactions 0 assignees View on GitHub
area/providers/capc kind/cleanup team/providers
Dominant language
Go
Stars
2.1k
Forks
328
Avg merge
1d 4h
Merged PRs (30d)
9

Description

**What would you like to be added**:
I would like to refactor the resource CloudStackTemplate because it currently contains within itself a ResourceFetcher, which is confusing. Why would a template contain a resource fetcher? It doesn't make sense. Some nomenclature is inconsistent, or perhaps the Template doesn't really need the ResourceFetcher

**Why is this needed**:
The current nomenclature/design doesn't make sense and leads to confusion and bad coding practices.

Contributor guide

Open the contributing guide

Research direction

Start in template.go by reading CloudStackTemplate and its embedded ResourceFetcher, then trace the related nomenclature and callers. Clarify whether the ResourceFetcher belongs in the template design and define consistent naming before changing the object; done means the ownership and terminology are coherent without breaking its uses.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.