{"modulePath":"github.com/osapi-io/osapi","version":"v0.2.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package timezone\n\nPackage timezone provides timezone-related API handlers.\n\n## Functions\n\n```go\nfunc Handler(\n\tlogger *slog.Logger,\n\tjobClient client.JobClient,\n\tsigningKey string,\n\tcustomRoles map[string][]string,\n) []func(e *echo.Echo)\n```\nHandler returns Timezone route registration functions.\n\n## Types\n\n```go\ntype Timezone struct {\n\t// JobClient provides job-based operations for timezone management.\n\tJobClient client.JobClient\n\t// contains filtered or unexported fields\n}\n```\nTimezone implementation of the Timezone APIs operations.\n\n```go\nfunc New(\n\tlogger *slog.Logger,\n\tjobClient client.JobClient,\n) *Timezone\n```\nNew factory to create a new instance.\n\n```go\nfunc (s *Timezone) GetNodeTimezone(\n\tctx context.Context,\n\trequest gen.GetNodeTimezoneRequestObject,\n) (gen.GetNodeTimezoneResponseObject, error)\n```\nGetNodeTimezone gets the current system timezone on a target node.\n\n```go\nfunc (s *Timezone) PutNodeTimezone(\n\tctx context.Context,\n\trequest gen.PutNodeTimezoneRequestObject,\n) (gen.PutNodeTimezoneResponseObject, error)\n```\nPutNodeTimezone updates the system timezone on a target node.\n\n","path":"github.com/osapi-io/osapi/internal/controller/api/node/timezone","name":"timezone","synopsis":"Package timezone provides timezone-related API handlers.","isRedistributable":true}
