Versions in this module Expand all Collapse all v0 v0.0.2 Sep 15, 2024 Changes in this version + func RegisterWithKubelet(ctx context.Context, socketName, resourceName, addr string) error + func RegisterWithRestartHandler(ctx context.Context, restart func() error, socketPath string, ...) (func(), error) + type Device struct + Health DeviceHealth + ID string + type DeviceHealth string + const Healthy + const Unhealthy + func (h DeviceHealth) String() string + type DeviceState struct + LastSeenTimestamp int64 + type Server struct + GRPC *grpc.Server + func NewServer(socketPath string) *Server + func (s *Server) GRPCReady(ctx context.Context) error + func (s *Server) GRPCServe(ctx context.Context, errCh chan<- error) error v0.0.1 Sep 1, 2024