Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network struct {
NetworkOptions
// contains filtered or unexported fields
}
func NewNetwork ¶
func NewNetwork(log *slog.Logger, opts NetworkOptions) (*Network, error)
func (*Network) SetupConfig ¶
type NetworkOptions ¶
type NetworkOptions struct {
EtcdEndpoints []string
EtcdPrefix string
Interface string
BackendType string
PrevIPv4 netip.Prefix
PrevIPv6 netip.Prefix
// TLS configuration for etcd mTLS (optional)
TLSCert []byte // Client certificate PEM
TLSKey []byte // Client private key PEM
TLSCACert []byte // CA certificate PEM
}
Click to show internal directories.
Click to hide internal directories.