Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EndpointAlreadyDisabledErr = errors.New("endpoint already disabled")
Functions ¶
This section is empty.
Types ¶
type ManagerMap ¶
type ManagerMap struct {
// contains filtered or unexported fields
}
func NewManagerMap ¶
func NewManagerMap() ManagerMap
func (*ManagerMap) Get ¶
func (m *ManagerMap) Get(t types.NetworkType) NetManager
func (*ManagerMap) Set ¶
func (m *ManagerMap) Set(t types.NetworkType, nm NetManager)
type NetManager ¶
type NetManager interface { Ensure(context.Context, types.Network) error Deactivate(context.Context, types.Network) error EnsureEndpoint(context.Context, types.Network, types.Endpoint, params.EndpointActivate) (types.Endpoint, error) DeleteEndpoint(context.Context, types.Network, types.Endpoint) error EnsureEndpointsNeigh(context.Context, types.Network, []types.Endpoint) error AddEndpointNeigh(context.Context, types.Network, types.Endpoint) error RemoveEndpointNeigh(context.Context, types.Network, types.Endpoint) error ListenNetworkChange(context.Context, types.Network) error StopListenNetworkChange(context.Context, types.Network) error }
Click to show internal directories.
Click to hide internal directories.