Documentation
¶
Index ¶
Constants ¶
View Source
const (
SyncNetworkPeriod = 60
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyInterfaceController ¶
type DummyInterfaceController interface {
EnsureDummyInterface(ifName string, ifIP net.IP) error
DeleteDummyInterface(ifName string) error
ListDummyInterface(ifName string) ([]net.IP, error)
}
func NewDummyInterfaceController ¶
func NewDummyInterfaceController() DummyInterfaceController
NewDummyInterfaceController returns an instance for create/delete dummy net interface
type NetworkManager ¶
type NetworkManager struct {
// contains filtered or unexported fields
}
func NewNetworkManager ¶
func NewNetworkManager(options *options.YurtHubOptions) (*NetworkManager, error)
func (*NetworkManager) Run ¶
func (m *NetworkManager) Run(stopCh <-chan struct{})
Click to show internal directories.
Click to hide internal directories.