Skip to content
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

feat: expose experimental universe-related options #2264

Merged
merged 8 commits into from
Nov 30, 2023
Prev Previous commit
Next Next commit
redact default from public
  • Loading branch information
shollyman committed Nov 30, 2023
commit bc27a0e6cc24f1732b289cc858116f0d5397773f
13 changes: 0 additions & 13 deletions option/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,16 +356,3 @@ type withUniverseDomain string
func (w withUniverseDomain) Apply(o *internal.DialSettings) {
o.UniverseDomain = string(w)
}

// WithDefaultUniverseDomain returns a ClientOption that sets the universe domain.
//
// This is an EXPERIMENTAL API and may be changed or removed in the future.
func WithDefaultUniverseDomain(ud string) ClientOption {
return withDefaultUniverseDomain(ud)
}

type withDefaultUniverseDomain string

func (w withDefaultUniverseDomain) Apply(o *internal.DialSettings) {
o.DefaultUniverseDomain = string(w)
}