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 Darwin struct + func NewDarwinProvider() *Darwin + func (d *Darwin) Get(_ context.Context) (*Info, error) + func (d *Darwin) Update(_ context.Context, _ string) (*UpdateResult, error) + type Debian struct + func NewDebianProvider(logger *slog.Logger, execManager exec.Manager) *Debian + func (d *Debian) Get(ctx context.Context) (*Info, error) + func (d *Debian) Update(ctx context.Context, timezone string) (*UpdateResult, error) + type Info struct + Timezone string + UTCOffset string + type Linux struct + func NewLinuxProvider() *Linux + func (l *Linux) Get(_ context.Context) (*Info, error) + func (l *Linux) Update(_ context.Context, _ string) (*UpdateResult, error) + type Provider interface + Get func(ctx context.Context) (*Info, error) + Update func(ctx context.Context, tz string) (*UpdateResult, error) + type UpdateResult struct + Changed bool + Error string + Timezone string