Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver interface {
	GenerateEnsureRequest(

		os string,

		meshCIDRs []string,

		peerCIDRs map[string][]string,

		cloudMembers, edgeMembers [][]*abbotgopb.HostNetworkInterface,
	) *abbotgopb.HostNetworkConfigEnsureRequest
}

func NewWireguardMeshDriver

func NewWireguardMeshDriver(
	logger log.Interface,
	ifname string,
	mtu int,
	provider string,
	addresses []string,
	publicAddresses []string,
	options *WireguardOpts,
) Driver

type WireguardMeshDriver

type WireguardMeshDriver struct {
	// contains filtered or unexported fields
}

func (*WireguardMeshDriver) GenerateEnsureRequest

func (d *WireguardMeshDriver) GenerateEnsureRequest(

	os string,

	meshCIDRs []string,

	peerCIDRs map[string][]string,

	cloudMembers, edgeMembers [][]*abbotgopb.HostNetworkInterface,
) *abbotgopb.HostNetworkConfigEnsureRequest

    nolint:gocyclo

    type WireguardOpts

    type WireguardOpts struct {
    	PrivateKey   string
    	LogLevel     string
    	PreSharedKey string
    
    	KeepaliveSeconds int32
    	ListenPort       int32
    	RoutingTable     int32
    	FirewallMark     int32
    }