mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-25 11:11:18 -08:00
k8s-operator: starting network proxy ha mode
Signed-off-by: chaosinthecrd <[email protected]>
This commit is contained in:
2 files changed
+1079
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,20 @@
|
||||
package ingressservices
|
||||
|
||||
import "net/netip"
|
||||
|
||||
const (
|
||||
IngressConfigKey = "ingress-config.json"
|
||||
)
|
||||
|
||||
// Configs contains the desired configuration for egress services keyed by
|
||||
// service name.
|
||||
type Configs map[string]Config
|
||||
|
||||
type Mapping map[netip.Addr]netip.Addr
|
||||
|
||||
// Config is an ingress service configuration.
|
||||
type Config struct {
|
||||
VIPServiceIP netip.Addr `json:"vipServiceIP"`
|
||||
IPv4Mapping Mapping `json:"IPv4Mapping"`
|
||||
IPv6Mapping Mapping `json:"IPv6Mapping"`
|
||||
}
|
||||
Reference in new issue
Block a user