Versions in this module Expand all Collapse all v0 v0.1.1 Apr 18, 2023 Changes in this version + type Client struct + func NewClient(logger hclog.Logger, config *Config) (*Client, error) + func (c *Client) AllocStateUpdated(a *cproto.Allocation) + func (c *Client) Stop() + type Config struct + ControlPlane ControlPlane + NodeID string + PersistentDB *bolt.DB + Volume *HostVolume + type ControlPlane interface + Pull func(nodeId string, ws memdb.WatchSet) ([]*proto.Allocation, error) + UpdateAlloc func(alloc *proto.Allocation) error + type HostVolume struct + Path string + type MetricsUpdater interface + UpdateMetrics func(string, map[string]*dto.MetricFamily) v0.1.0 Oct 25, 2022