connector

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type Config

type Config struct {
	SyncPeriod        time.Duration //sync interval
	DebounceDuration  time.Duration
	TunnelConfigFile  string
	CertFile          string
	ViciSocket        string
	CNIType           string
	InitMembers       []string
	TunnelInitTimeout uint
	ListenAddress     string

	LeaderElection struct {
		LockName      string
		LeaseDuration time.Duration
		RenewDeadline time.Duration
		RetryPeriod   time.Duration
	}
}

func (*Config) AddFlags

func (c *Config) AddFlags(fs *pflag.FlagSet)

func (Config) Manager

func (c Config) Manager() (*Manager, error)

type IPSetNames added in v0.6.0

type IPSetNames struct {
	EdgePodCIDR   string
	EdgeNodeCIDR  string
	CloudPodCIDR  string
	CloudNodeCIDR string
}

type IPSetSpec added in v0.6.0

type IPSetSpec struct {
	Name     string
	EntrySet sets.String
}

type IPTablesHandler added in v0.6.0

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

type Manager

type Manager struct {
	Config
	// contains filtered or unexported fields
}

func (*Manager) Start

func (m *Manager) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL