Documentation ¶
Index ¶
- Constants
- type Discovery
- func (k *Discovery) EarliestNode(ctx context.Context) (*discovery.Node, error)
- func (k *Discovery) ID() string
- func (k *Discovery) Nodes(ctx context.Context) ([]*discovery.Node, error)
- func (k *Discovery) Start(ctx context.Context, meta discovery.Meta) error
- func (k *Discovery) Stop() error
- func (k *Discovery) Watch(ctx context.Context) (<-chan discovery.Event, error)
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 )
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 (*Discovery) EarliestNode ¶
EarliestNode returns the earliest node. This is based upon the node timestamp
Click to show internal directories.
Click to hide internal directories.