Skip to content

Refactor in light of growth #142

@cyclingwithelephants

Description

@cyclingwithelephants

With new resources being added and further resources being requested I'd like to propose some refactoring with the intent to make delivering and maintaining these easier down the line:

  • move separate controllers into their own packages

Once this is done, it will be easier to pull out common interfaces and reason about them, the most obvious changes to me are:

  • move (very gradually) towards a clean architecture approach, to aid in unit testing:
    • in the first instance I think that'd mean converting dependencies on the cloudflare API into an interface and depending on that interface
    • similarly I'd like to hide touching kubernetes behind an interface

You know this code base better than me, so is there anything I've missed that's on your radar?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions