Versions in this module Expand all Collapse all v0 v0.2.0 Oct 3, 2026 v0.1.0 Oct 1, 2026 Changes in this version + type Config struct + Servers []string + type CreateResult struct + Changed bool + Error string + type Darwin struct + func NewDarwinProvider() *Darwin + func (d *Darwin) Create(_ context.Context, _ Config) (*CreateResult, error) + func (d *Darwin) Delete(_ context.Context) (*DeleteResult, error) + func (d *Darwin) Get(_ context.Context) (*Status, error) + func (d *Darwin) Update(_ context.Context, _ Config) (*UpdateResult, error) + type Debian struct + func NewDebianProvider(logger *slog.Logger, fs avfs.VFS, execManager exec.Manager) *Debian + func (d *Debian) Create(ctx context.Context, config Config) (*CreateResult, error) + func (d *Debian) Delete(ctx context.Context) (*DeleteResult, error) + func (d *Debian) Get(ctx context.Context) (*Status, error) + func (d *Debian) Update(ctx context.Context, config Config) (*UpdateResult, error) + type DeleteResult struct + Changed bool + Error string + type Linux struct + func NewLinuxProvider() *Linux + func (l *Linux) Create(_ context.Context, _ Config) (*CreateResult, error) + func (l *Linux) Delete(_ context.Context) (*DeleteResult, error) + func (l *Linux) Get(_ context.Context) (*Status, error) + func (l *Linux) Update(_ context.Context, _ Config) (*UpdateResult, error) + type Provider interface + Create func(ctx context.Context, config Config) (*CreateResult, error) + Delete func(ctx context.Context) (*DeleteResult, error) + Get func(ctx context.Context) (*Status, error) + Update func(ctx context.Context, config Config) (*UpdateResult, error) + type Status struct + CurrentSource string + Offset string + Servers []string + Stratum int + Synchronized bool + type UpdateResult struct + Changed bool + Error string