-
-
Notifications
You must be signed in to change notification settings - Fork 973
[management] Add custom dns zones #4849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bcmmbaga
wants to merge
30
commits into
main
Choose a base branch
from
feature/custom-dns-zones
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 13 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
21a3649
wip: add base struct
bcmmbaga 8a39013
implement dns zone
bcmmbaga 9cb95be
implement dns zone record
bcmmbaga 633449c
update DNS record events and validation for zone records
bcmmbaga b4bf3a1
Refactor
bcmmbaga 01741e8
add custom zones network map calculation
bcmmbaga a676a18
fix tests
bcmmbaga cf94a7a
add DNS Zones API client and integration tests
bcmmbaga f5db1b0
use transaction
bcmmbaga 82255ba
Merge branch 'main' into feature/custom-dns-zones
bcmmbaga b0e33bc
Add zone search domain status to proto
bcmmbaga 566a3a6
Skip zone with empty records
bcmmbaga 0e644d2
Fix lint
bcmmbaga 4a946c0
Refactor
bcmmbaga 25c9cb2
Add tests
bcmmbaga 718b713
Enforce domain immutability on zone updates and add unit tests for zo…
bcmmbaga 1782bbe
Update OpenAPI
bcmmbaga 604085d
Add DNS records to zone model and update OpenAPI specs
bcmmbaga 783a120
Merge branch 'main' into feature/custom-dns-zones
bcmmbaga d4416ed
fix merge
bcmmbaga e224ec9
Format cname dns zone record as fqdn
bcmmbaga 65e5eba
Add DNS domain conflict validation for zone creation
bcmmbaga 5e5312f
Add DNS domain conflict check when updating account settings
bcmmbaga e534845
Fix lint
bcmmbaga aa4ab37
Refactor legacy netmap
bcmmbaga dbeeb72
Refactor new netmap
bcmmbaga 2b7d831
Merge branch 'main' into feature/custom-dns-zones
bcmmbaga a98dfb3
fix merge and lint
bcmmbaga 01d752e
Merge branch 'main' into feature/custom-dns-zones
bcmmbaga 176fd64
fix merge
bcmmbaga File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| package zones | ||
|
|
||
| import ( | ||
| "context" | ||
| ) | ||
|
|
||
| type Manager interface { | ||
| GetAllZones(ctx context.Context, accountID, userID string) ([]*Zone, error) | ||
| GetZone(ctx context.Context, accountID, userID, zone string) (*Zone, error) | ||
| CreateZone(ctx context.Context, accountID, userID string, zone *Zone) (*Zone, error) | ||
| UpdateZone(ctx context.Context, accountID, userID string, zone *Zone) (*Zone, error) | ||
| DeleteZone(ctx context.Context, accountID, userID, zoneID string) error | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.