Documentation ¶
Index ¶
- Constants
- func NewKubernetesDiscovery(namespace string, service string, nodeAddress string, nodeID string, ...) *kubernetesDiscovery
- func NewKubernetesDiscoveryWithClient(clientset *fake.Clientset, namespace string, service string) *kubernetesDiscovery
- func NewPortDiscovery(minPort, maxPort int, host, memberAddress, serverId string, raft *raft.Raft) *portDiscovery
- type Discovery
- type Strategy
Constants ¶
View Source
const ( StrategyPort = "port" StrategyKubernetes = "kubernetes" )
Variables ¶
This section is empty.
Functions ¶
func NewKubernetesDiscovery ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.