Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(topo topo.Store, conns gnmi.ConnManager, proposals proposalstore.Store, configurations configuration.Store, pluginRegistry pluginregistry.PluginRegistry) *controller.Controller
NewController returns a proposal controller
Types ¶
type ConfigurationWatcher ¶
type ConfigurationWatcher struct {
// contains filtered or unexported fields
}
ConfigurationWatcher configuration store watcher
func (*ConfigurationWatcher) Start ¶
func (w *ConfigurationWatcher) Start(ch chan<- controller.ID) error
Start starts the watcher
type Partitioner ¶
type Partitioner struct{}
Partitioner is a proposal partitioner
func (*Partitioner) Partition ¶
func (p *Partitioner) Partition(id controller.ID) (controller.PartitionKey, error)
Partition partitions proposals by target ID
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler reconciles proposals
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(id controller.ID) (controller.Result, error)
Reconcile reconciles target proposals
Click to show internal directories.
Click to hide internal directories.