mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-16 03:31:39 +00:00
types/appctype: define the nodeAttrs type for dns-driven app connectors
Signed-off-by: Tom DNetto <tom@tailscale.com> Updates: https://github.com/tailscale/corp/issues/15440 Code-authored-by: Podtato <podtato@tailscale.com>
This commit is contained in:
parent
a7c80c332a
commit
df4b730438
@ -57,3 +57,16 @@ type SNIProxyConfig struct {
|
|||||||
// the domain starts with a `.` that means any subdomain of the suffix.
|
// the domain starts with a `.` that means any subdomain of the suffix.
|
||||||
AllowedDomains []string `json:",omitempty"`
|
AllowedDomains []string `json:",omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// AppConnectorAttr describes a set of domains
|
||||||
|
// serviced by specified app connectors.
|
||||||
|
type AppConnectorAttr struct {
|
||||||
|
// Name is the name of this collection of domains.
|
||||||
|
Name string `json:"name,omitempty"`
|
||||||
|
// Domains enumerates the domains serviced by the specified app connectors.
|
||||||
|
// Domains can be of the form: example.com, or *.example.com.
|
||||||
|
Domains []string `json:"domains,omitempty"`
|
||||||
|
// Connectors enumerates the app connectors which service these domains.
|
||||||
|
// These can be any target type supported by Tailscale's ACL language.
|
||||||
|
Connectors []string `json:"connectors,omitempty"`
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user