Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Namespace specifies the kubernetes namespace Namespace string // ApplicationName specifies the application name ApplicationName string // DiscoveryPortName specifies the gossip port name DiscoveryPortName string // RemotingPortName specifies the remoting port name RemotingPortName string // PeersPortName specifies the cluster port name PeersPortName string // ActorSystemName specifies the given actor system name ActorSystemName string }
Config defines the kubernetes discovery configuration
type Discovery ¶
type Discovery struct {
// contains filtered or unexported fields
}
Discovery represents the kubernetes discovery
func NewDiscovery ¶
NewDiscovery returns an instance of the kubernetes discovery provider
func (*Discovery) Deregister ¶
Deregister removes this node from a service discovery directory.
func (*Discovery) DiscoverPeers ¶
DiscoverPeers returns a list of known nodes.
func (*Discovery) Initialize ¶
Initialize initializes the plugin: registers some internal data structures, clients etc.
Click to show internal directories.
Click to hide internal directories.