Skip to content

refactor: extract client and alarm handling to dedicated packages(3/4)#141

Draft
ravisastryk wants to merge 3 commits intoahrtr:mainfrom
ravisastryk:refactor/pr3-client-alarm
Draft

refactor: extract client and alarm handling to dedicated packages(3/4)#141
ravisastryk wants to merge 3 commits intoahrtr:mainfrom
ravisastryk:refactor/pr3-client-alarm

Conversation

@ravisastryk
Copy link
Copy Markdown
Contributor

refactor: extract client and alarm handling to dedicated packages(3/4)

  • Move disalarm.go → internal/alarm/disalarm.go
  • Create internal/client/client.go for etcd client wrapper

Part of codebase reorganization (Issue #137).
No functional changes.

PR 3 of 4 in the stacked refactoring series.

- Move version.go → pkg/version/version.go (public API)
- Move config.go → internal/config/config.go

Part of codebase reorganization (Issue ahrtr#137).
No functional changes.

PR 1 of 4 in the stacked refactoring series.
- Move rule evaluation logic to internal/eval
- Move endpoint resolution and filtering to internal/endpoint
- Relocate associated tests to new package locations

Part of codebase reorganization (Issue ahrtr#137).
No functional changes.

PR 2 of 4 in the stacked refactoring series.
- Move disalarm.go → internal/alarm/disalarm.go
- Create internal/client/client.go for etcd client wrapper

Part of codebase reorganization (Issue ahrtr#137).
No functional changes.

PR 3 of 4 in the stacked refactoring series.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant