Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultResolveInterval = 45 * time.Second
Variables ¶
This section is empty.
Functions ¶
func WithForceSendUpdate ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(resolver resolvers.IpResolver, signature verification.SignatureKeypair, reconciler *Reconciler, notifyImpl notification.Notification, opts ...Opts) (*Client, error)
func (*Client) GetLastStateChange ¶
type EventDispatch ¶
type EventDispatch interface {
Notify(msg *common.UpdateRecordRequest) error
}
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
func NewReconciler ¶
func NewReconciler(dispatchers map[string]EventDispatch, stopAfterFirstSuccess bool) (*Reconciler, error)
func (*Reconciler) RegisterUpdate ¶
func (r *Reconciler) RegisterUpdate(env *common.UpdateRecordRequest) error
func (*Reconciler) Run ¶
func (r *Reconciler) Run()
Click to show internal directories.
Click to hide internal directories.