Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(mastership mastershipstore.Store, changes changestore.Store, snapshots snapstore.Store) *controller.Controller
NewController returns a new device snapshot controller
Types ¶
type Partitioner ¶
type Partitioner struct { }
Partitioner is a WorkPartitioner for device snapshots
func (*Partitioner) Partition ¶
func (p *Partitioner) Partition(id types.ID) (controller.PartitionKey, error)
Partition returns the device as a partition key
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler is a device snapshot reconciler
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(id types.ID) (controller.Result, error)
Reconcile reconciles the state of a device snapshot
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver is a DeviceResolver that resolves device IDs from device snapshot IDs
Click to show internal directories.
Click to hide internal directories.