Documentation ¶
Index ¶
- type FakeControllerManager
- func (fcm *FakeControllerManager) CleanupStaleNetworks(validNetworks ...util.NetInfo) error
- func (fcm *FakeControllerManager) GetDefaultNetworkController() networkmanager.ReconcilableNetworkController
- func (fcm *FakeControllerManager) NewNetworkController(netInfo util.NetInfo) (networkmanager.NetworkController, error)
- type FakeNetworkController
- type FakeNetworkManager
- func (nc *FakeNetworkManager) DoWithLock(f func(network util.NetInfo) error) error
- func (fnm *FakeNetworkManager) GetActiveNetworkForNamespace(namespace string) (util.NetInfo, error)
- func (nc *FakeNetworkManager) GetActiveNetworkNamespaces(networkName string) ([]string, error)
- func (nc *FakeNetworkManager) GetNetwork(networkName string) util.NetInfo
- func (fnm *FakeNetworkManager) Start() error
- func (fnm *FakeNetworkManager) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeControllerManager ¶
type FakeControllerManager struct{}
func (*FakeControllerManager) CleanupStaleNetworks ¶
func (fcm *FakeControllerManager) CleanupStaleNetworks(validNetworks ...util.NetInfo) error
func (*FakeControllerManager) GetDefaultNetworkController ¶
func (fcm *FakeControllerManager) GetDefaultNetworkController() networkmanager.ReconcilableNetworkController
func (*FakeControllerManager) NewNetworkController ¶
func (fcm *FakeControllerManager) NewNetworkController(netInfo util.NetInfo) (networkmanager.NetworkController, error)
type FakeNetworkController ¶
func (*FakeNetworkController) Cleanup ¶
func (fnc *FakeNetworkController) Cleanup() error
func (*FakeNetworkController) Reconcile ¶
func (nc *FakeNetworkController) Reconcile(util.NetInfo) error
func (*FakeNetworkController) Start ¶
func (fnc *FakeNetworkController) Start(ctx context.Context) error
func (*FakeNetworkController) Stop ¶
func (fnc *FakeNetworkController) Stop()
type FakeNetworkManager ¶
func (*FakeNetworkManager) DoWithLock ¶
func (nc *FakeNetworkManager) DoWithLock(f func(network util.NetInfo) error) error
func (*FakeNetworkManager) GetActiveNetworkForNamespace ¶
func (fnm *FakeNetworkManager) GetActiveNetworkForNamespace(namespace string) (util.NetInfo, error)
func (*FakeNetworkManager) GetActiveNetworkNamespaces ¶
func (nc *FakeNetworkManager) GetActiveNetworkNamespaces(networkName string) ([]string, error)
func (*FakeNetworkManager) GetNetwork ¶
func (nc *FakeNetworkManager) GetNetwork(networkName string) util.NetInfo
func (*FakeNetworkManager) Start ¶
func (fnm *FakeNetworkManager) Start() error
func (*FakeNetworkManager) Stop ¶
func (fnm *FakeNetworkManager) Stop()
Click to show internal directories.
Click to hide internal directories.