Documentation ¶
Index ¶
- Constants
- func Test() error
- type Engine
- func (i *Engine) InstallCable(endpoint types.SubmarinerEndpoint) error
- func (i *Engine) PrintConns()
- func (i *Engine) ReloadEngine() error
- func (i *Engine) RemoveCable(cableId string) error
- func (i *Engine) StartEngine(ignition bool) error
- func (i *Engine) StopEngine() error
- func (i *Engine) SyncCables(clusterId string, endpoints []types.SubmarinerEndpoint) error
- type IPSecSpecification
Constants ¶
View Source
const ( // DefaultReplayWindowSize specifies the replay window size for charon DefaultReplayWindowSize = "1024" // DefaultIkeSaRekeyInterval specifies the default rekey interval for IKE_SA DefaultIkeSaRekeyInterval = "4h" // DefaultChildSaRekeyInterval specifies the default rekey interval for CHILD_SA DefaultChildSaRekeyInterval = "1h" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Engine ¶
type Engine struct { sync.Mutex LocalSubnets []string LocalCluster types.SubmarinerCluster LocalEndpoint types.SubmarinerEndpoint SecretKey string ReplayWindowSize string IPSecIkeSaRekeyInterval string IPSecChildSaRekeyInterval string Debug bool LogFile string }
func NewEngine ¶
func NewEngine(localSubnets []string, localCluster types.SubmarinerCluster, localEndpoint types.SubmarinerEndpoint) *Engine
func (*Engine) InstallCable ¶
func (i *Engine) InstallCable(endpoint types.SubmarinerEndpoint) error
func (*Engine) PrintConns ¶
func (i *Engine) PrintConns()
func (*Engine) ReloadEngine ¶
func (*Engine) RemoveCable ¶
func (*Engine) StartEngine ¶
func (*Engine) StopEngine ¶
func (*Engine) SyncCables ¶
func (i *Engine) SyncCables(clusterId string, endpoints []types.SubmarinerEndpoint) error
type IPSecSpecification ¶
Click to show internal directories.
Click to hide internal directories.