package cluster
import "github.com/docker/docker/libnetwork/cluster"
Index ¶
Constants ¶
const ( // EventSocketChange control socket changed EventSocketChange = iota // EventNodeReady cluster node in ready state EventNodeReady // EventNodeLeave node is leaving the cluster EventNodeLeave // EventNetworkKeysAvailable network keys correctly configured in the networking layer EventNetworkKeysAvailable )
Types ¶
type ConfigEventType ¶
type ConfigEventType uint8
ConfigEventType type of the event produced by the cluster
type Provider ¶
type Provider interface { IsManager() bool IsAgent() bool GetLocalAddress() string GetListenAddress() string GetAdvertiseAddress() string GetDataPathAddress() string GetRemoteAddressList() []string ListenClusterEvents() <-chan ConfigEventType AttachNetwork(string, string, []string) (*network.NetworkingConfig, error) DetachNetwork(string, string) error UpdateAttachment(string, string, *network.NetworkingConfig) error WaitForDetachment(context.Context, string, string, string, string) error }
Provider provides clustering config details
Source Files ¶
- Version
- v23.0.0-rc.1+incompatible
- Published
- Dec 21, 2022
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 9 minutes ago –
Tools for package owners.