-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
offload client config generation to the client #6711
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
dmitri-netbird
wants to merge
48
commits into
main
Choose a base branch
from
components-impl-drop-indexes-use-xids
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 all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
2de0283
init int inds migration
crn4 4543780
grpc components encoding with optimisations
crn4 b194af4
wire size benches fix
crn4 9083bdb
capabilities conditioning
crn4 b9a0186
fix routes filtering in account componnents
crn4 672b057
fix Group.Copy losing AccountSeqID
crn4 9bbbafa
int id for networks and posture checks migration
crn4 582cd70
client side and components on shared folder
crn4 728057e
missed files for client side and shared files
crn4 3a1bbeb
review comments
crn4 5fbcdec
more comments
crn4 efa6a3f
missed file
crn4 13e41e4
idp dex fix
crn4 5d5c2d9
filtering fix
crn4 98818e3
merge main\
crn4 21cfec9
comments cleanup
crn4 5969522
wgkey as peer id
crn4 7048b87
fix wasm bin filesize - type aliases
crn4 eab0826
merge main
crn4 db76f33
Merge main
pascal-fischer b1347ad
Merge branch 'main' into nmap/components-impl
pascal-fischer 396ac36
Merge branch 'main' into nmap/components-impl
pascal-fischer 63dd4df
run proto gen
pascal-fischer a59d979
Merge branch 'main' into nmap/components-impl
pascal-fischer 7c7dfd7
fix merge artifacts
pascal-fischer a36a1a3
cleaned up wire representation of components
dmitri-netbird 7cde2c4
regenerated sql store mock
dmitri-netbird 7c83c09
fixed encoder tests
dmitri-netbird 9b9f396
removed unused func
dmitri-netbird 5edc168
use policy ids deduping policies during union
dmitri-netbird 7cae1b9
replaced sequential IDs with xids (random, uuid-like)
dmitri-netbird db231fd
updated decoder
dmitri-netbird ee7806b
Merge remote-tracking branch 'origin/main' into components-impl-drop-…
dmitri-netbird 395bdf8
removed unused code
dmitri-netbird 5941b26
responding to coderabbit comments
dmitri-netbird fc40eb9
fixed a flaky test
dmitri-netbird 35e339b
set session expiry in ToComponentSyncResponse(), same as ToSyncRespon…
dmitri-netbird 384b057
use return from GetValidatedPeerWithComponents when computing Compone…
dmitri-netbird 42c0cb5
sort lookup inconsistencies when processing routes when computing com…
dmitri-netbird 8803a58
inject agent network services when injecting proxy policies
dmitri-netbird 4aa486f
handle nil components consistently
dmitri-netbird aff723e
add migrations for public_id column
dmitri-netbird 9383b6b
fix field tag
dmitri-netbird ff33942
do not instantiate cache to benchmark ToProtocolDNSConfig() without c…
dmitri-netbird 6830777
updated comments in management.proto
dmitri-netbird 315ac71
use version helper
dmitri-netbird 6ea97a8
support ComponentSyncResponse in affected peers sync path
dmitri-netbird 0cb27ac
include the target peer in the minimal NetworkMapEnvelope's Peers field
dmitri-netbird 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
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,15 @@ | ||
| //go:build cgo | ||
|
|
||
| package dex | ||
|
|
||
| import ( | ||
| sql "github.com/dexidp/dex/storage/sql" | ||
| ) | ||
|
|
||
| // newSQLite3 builds the dex SQLite3 config. CGO builds use the upstream | ||
| // struct that takes a File path. Non-CGO builds get an empty stub whose | ||
| // Open() returns the dex "SQLite not available" error — correct behaviour | ||
| // for binaries that can't link sqlite3 (e.g. cross-compiled ARM targets). | ||
| func newSQLite3(file string) *sql.SQLite3 { | ||
| return &sql.SQLite3{File: file} | ||
| } |
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,15 @@ | ||
| //go:build !cgo | ||
|
|
||
| package dex | ||
|
|
||
| import ( | ||
| sql "github.com/dexidp/dex/storage/sql" | ||
| ) | ||
|
|
||
| // newSQLite3 for non-CGO builds. The dex SQLite3 stub has no fields and its | ||
| // Open() returns an error documenting the missing CGO support — correct | ||
| // behaviour for cross-compiled artefacts that never actually run the | ||
| // embedded IdP. The `file` argument is ignored. | ||
| func newSQLite3(_ string) *sql.SQLite3 { | ||
| return &sql.SQLite3{} | ||
| } |
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
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.