Documentation ¶
Index ¶
Constants ¶
View Source
const ( Namespace string = "namespace" // Namespace specifies the kubernetes namespace ActorSystemName = "actor_system_name" // ActorSystemName specifies the actor system name ApplicationName = "app_name" // ApplicationName specifies the application name. This often matches the actor system name GossipPortName = "gossip-port" ClusterPortName = "cluster-port" RemotingPortName = "remoting-port" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discovery ¶
type Discovery struct {
// contains filtered or unexported fields
}
Discovery represents the kubernetes discovery
func NewDiscovery ¶ added in v0.2.3
func NewDiscovery() *Discovery
NewDiscovery returns an instance of the kubernetes discovery provider
func (*Discovery) Deregister ¶ added in v0.3.0
Deregister removes this node from a service discovery directory.
func (*Discovery) DiscoverPeers ¶ added in v0.3.0
DiscoverPeers returns a list of known nodes.
func (*Discovery) Initialize ¶ added in v0.3.0
Initialize initializes the plugin: registers some internal data structures, clients etc.
Click to show internal directories.
Click to hide internal directories.