Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶ added in v0.0.2
type Engine interface { // StartEngine performs any general set up work needed independent of any remote connections. StartEngine() error // InstallCable performs any set up work needed for connecting to given remote endpoint. // Once InstallCable completes, it should be possible to connect to remote // Pods or Services behind the given endpoint. InstallCable(remote types.SubmarinerEndpoint) error // RemoveCable disconnects the Engine from the given remote endpoint. Upon completion. // remote Pods and Service may not be accessible any more. RemoveCable(remote types.SubmarinerEndpoint) error // ListCableConnections returns a list of cable connection, and the related status ListCableConnections() (*[]v1.Connection, error) // GetLocalEndpoint returns the local endpoint for this cable engine GetLocalEndpoint() *types.SubmarinerEndpoint // GetHAStatus returns the HA status for this cable engine GetHAStatus() v1.HAStatus }
Engine represents an implementation of some remote connectivity mechanism, such as a VPN gateway. An Engine cooperates with, and delegates work to, a cable.Driver for implementing a secure connection to remote clusters.
func NewEngine ¶ added in v0.2.0
func NewEngine(localCluster types.SubmarinerCluster, localEndpoint types.SubmarinerEndpoint) (Engine, error)
NewEngine creates a new Engine for the local cluster
Click to show internal directories.
Click to hide internal directories.