{"modulePath":"github.com/osapi-io/osapi","version":"v0.2.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package gen\n\nPackage gen contains generated code for the schedule API.\n\nPackage gen provides primitives to interact with the openapi HTTP API.\n\nCode generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.1 DO NOT EDIT.\n\n## Constants\n\n```go\nconst (\n\tBearerAuthScopes bearerAuthContextKey = \"BearerAuth.Scopes\"\n)\n```\n\n## Functions\n\n```go\nfunc RegisterHandlers(router EchoRouter, si ServerInterface)\n```\nRegisterHandlers adds each server route to the EchoRouter.\n\n```go\nfunc RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)\n```\nRegisterHandlersWithBaseURL registers handlers and prepends BaseURL to the paths so the API can be served under a prefix.\n\n```go\nfunc RegisterHandlersWithOptions(router EchoRouter, si ServerInterface, options RegisterHandlersOptions)\n```\nRegisterHandlersWithOptions registers handlers using the supplied options, including any per-operation middleware.\n\n## Types\n\n```go\ntype DeleteNodeSchedule200JSONResponse ScheduleDeleteResponse\n```\n\n```go\nfunc (response DeleteNodeSchedule200JSONResponse) VisitDeleteNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeSchedule400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeSchedule400JSONResponse) VisitDeleteNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeSchedule401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeSchedule401JSONResponse) VisitDeleteNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeSchedule403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeSchedule403JSONResponse) VisitDeleteNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeSchedule404JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeSchedule404JSONResponse) VisitDeleteNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeSchedule500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response DeleteNodeSchedule500JSONResponse) VisitDeleteNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype DeleteNodeScheduleRequestObject struct {\n\tHostname Hostname     `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tName     ScheduleName `json:\"name\" validate:\"required,min=1\"`\n}\n```\n\n```go\ntype DeleteNodeScheduleResponseObject interface {\n\tVisitDeleteNodeScheduleResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype EchoRouter interface {\n\tCONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tDELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tGET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tHEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tOPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tPATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tPOST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tPUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n\tTRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) echo.RouteInfo\n}\n```\nThis is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration\n\n```go\ntype ErrorResponse = externalRef0.ErrorResponse\n```\nErrorResponse defines model for ErrorResponse.\n\n```go\ntype GetNodeSchedule200JSONResponse ScheduleCollectionResponse\n```\n\n```go\nfunc (response GetNodeSchedule200JSONResponse) VisitGetNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeSchedule400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeSchedule400JSONResponse) VisitGetNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeSchedule401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeSchedule401JSONResponse) VisitGetNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeSchedule403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeSchedule403JSONResponse) VisitGetNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeSchedule500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeSchedule500JSONResponse) VisitGetNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeScheduleByName200JSONResponse ScheduleGetResponse\n```\n\n```go\nfunc (response GetNodeScheduleByName200JSONResponse) VisitGetNodeScheduleByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeScheduleByName400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeScheduleByName400JSONResponse) VisitGetNodeScheduleByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeScheduleByName401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeScheduleByName401JSONResponse) VisitGetNodeScheduleByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeScheduleByName403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeScheduleByName403JSONResponse) VisitGetNodeScheduleByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeScheduleByName404JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeScheduleByName404JSONResponse) VisitGetNodeScheduleByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeScheduleByName500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response GetNodeScheduleByName500JSONResponse) VisitGetNodeScheduleByNameResponse(w http.ResponseWriter) error\n```\n\n```go\ntype GetNodeScheduleByNameRequestObject struct {\n\tHostname Hostname     `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tName     ScheduleName `json:\"name\" validate:\"required,min=1\"`\n}\n```\n\n```go\ntype GetNodeScheduleByNameResponseObject interface {\n\tVisitGetNodeScheduleByNameResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype GetNodeScheduleRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n}\n```\n\n```go\ntype GetNodeScheduleResponseObject interface {\n\tVisitGetNodeScheduleResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype Hostname = string\n```\nHostname defines model for Hostname.\n\n```go\ntype PostNodeSchedule200JSONResponse ScheduleCreateResponse\n```\n\n```go\nfunc (response PostNodeSchedule200JSONResponse) VisitPostNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeSchedule400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeSchedule400JSONResponse) VisitPostNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeSchedule401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeSchedule401JSONResponse) VisitPostNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeSchedule403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeSchedule403JSONResponse) VisitPostNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeSchedule500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PostNodeSchedule500JSONResponse) VisitPostNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PostNodeScheduleJSONRequestBody = ScheduleCreateRequest\n```\nPostNodeScheduleJSONRequestBody defines body for PostNodeSchedule for application/json ContentType.\n\n```go\ntype PostNodeScheduleRequestObject struct {\n\tHostname Hostname `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tBody     *PostNodeScheduleJSONRequestBody\n}\n```\n\n```go\ntype PostNodeScheduleResponseObject interface {\n\tVisitPostNodeScheduleResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype PutNodeSchedule200JSONResponse ScheduleUpdateResponse\n```\n\n```go\nfunc (response PutNodeSchedule200JSONResponse) VisitPutNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeSchedule400JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PutNodeSchedule400JSONResponse) VisitPutNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeSchedule401JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PutNodeSchedule401JSONResponse) VisitPutNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeSchedule403JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PutNodeSchedule403JSONResponse) VisitPutNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeSchedule404JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PutNodeSchedule404JSONResponse) VisitPutNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeSchedule500JSONResponse externalRef0.ErrorResponse\n```\n\n```go\nfunc (response PutNodeSchedule500JSONResponse) VisitPutNodeScheduleResponse(w http.ResponseWriter) error\n```\n\n```go\ntype PutNodeScheduleJSONRequestBody = ScheduleUpdateRequest\n```\nPutNodeScheduleJSONRequestBody defines body for PutNodeSchedule for application/json ContentType.\n\n```go\ntype PutNodeScheduleRequestObject struct {\n\tHostname Hostname     `json:\"hostname\" validate:\"required,min=1,valid_target\"`\n\tName     ScheduleName `json:\"name\" validate:\"required,min=1\"`\n\tBody     *PutNodeScheduleJSONRequestBody\n}\n```\n\n```go\ntype PutNodeScheduleResponseObject interface {\n\tVisitPutNodeScheduleResponse(w http.ResponseWriter) error\n}\n```\n\n```go\ntype RegisterHandlersOptions struct {\n\t// BaseURL is prepended to every registered path so the API can be served\n\t// under a prefix.\n\tBaseURL string\n\t// OperationMiddlewares lets the caller attach per-operation middleware at\n\t// registration time. The map key is the OpenAPI `operationId` value as it\n\t// appears in the spec (the raw, un-normalized form). Operations that have\n\t// no entry are registered with no extra middleware. A nil map disables\n\t// per-operation middleware entirely.\n\tOperationMiddlewares map[string][]echo.MiddlewareFunc\n}\n```\nRegisterHandlersOptions configures RegisterHandlersWithOptions.\n\n```go\ntype ScheduleCollectionResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID `json:\"job_id,omitempty\"`\n\tResults []ScheduleEntry     `json:\"results\"`\n}\n```\nScheduleCollectionResponse defines model for ScheduleCollectionResponse.\n\n```go\ntype ScheduleCreateRequest struct {\n\t// ContentType Content type: \"raw\" or \"template\". When \"template\", the file content is rendered through Go text/template with agent facts and user-supplied vars.\n\tContentType *ScheduleCreateRequestContentType `json:\"content_type,omitempty\" validate:\"omitempty,oneof=raw template\"`\n\n\t// Interval Periodic interval (hourly, daily, weekly, monthly). Places the script in /etc/cron.{interval}/. Mutually exclusive with schedule — provide exactly one.\n\tInterval *ScheduleCreateRequestInterval `json:\"interval,omitempty\" validate:\"required_without=Schedule,excluded_with=Schedule,omitempty,oneof=hourly daily weekly monthly\"`\n\n\t// Name Name for the scheduled entry. Used as the file name under /etc/cron.d/ or /etc/cron.{interval}/.\n\tName string `json:\"name\" validate:\"required,min=1,max=64\"`\n\n\t// Object Name of the uploaded file in the object store to deploy as the scheduled entry content.\n\tObject string `json:\"object\" validate:\"required,min=1\"`\n\n\t// Schedule Cron schedule expression (e.g., \"*/5 * * * *\"). Mutually exclusive with interval — provide exactly one.\n\tSchedule *string `json:\"schedule,omitempty\" validate:\"required_without=Interval,excluded_with=Interval,omitempty,cron_schedule\"`\n\n\t// User User to run the command as. Only applies when using schedule (cron.d entries include a user field).\n\tUser *string `json:\"user,omitempty\"`\n\n\t// Vars Template variables. Only used when content_type is \"template\".\n\tVars *map[string]interface{} `json:\"vars,omitempty\"`\n}\n```\nScheduleCreateRequest defines model for ScheduleCreateRequest.\n\n```go\ntype ScheduleCreateRequestContentType string\n```\nScheduleCreateRequestContentType Content type: \"raw\" or \"template\". When \"template\", the file content is rendered through Go text/template with agent facts and user-supplied vars.\n\n```go\nconst (\n\tScheduleCreateRequestContentTypeRaw      ScheduleCreateRequestContentType = \"raw\"\n\tScheduleCreateRequestContentTypeTemplate ScheduleCreateRequestContentType = \"template\"\n)\n```\nDefines values for ScheduleCreateRequestContentType.\n\n```go\nfunc (e ScheduleCreateRequestContentType) Valid() bool\n```\nValid indicates whether the value is a known member of the ScheduleCreateRequestContentType enum.\n\n```go\ntype ScheduleCreateRequestInterval string\n```\nScheduleCreateRequestInterval Periodic interval (hourly, daily, weekly, monthly). Places the script in /etc/cron.{interval}/. Mutually exclusive with schedule — provide exactly one.\n\n```go\nconst (\n\tScheduleCreateRequestIntervalDaily   ScheduleCreateRequestInterval = \"daily\"\n\tScheduleCreateRequestIntervalHourly  ScheduleCreateRequestInterval = \"hourly\"\n\tScheduleCreateRequestIntervalMonthly ScheduleCreateRequestInterval = \"monthly\"\n\tScheduleCreateRequestIntervalWeekly  ScheduleCreateRequestInterval = \"weekly\"\n)\n```\nDefines values for ScheduleCreateRequestInterval.\n\n```go\nfunc (e ScheduleCreateRequestInterval) Valid() bool\n```\nValid indicates whether the value is a known member of the ScheduleCreateRequestInterval enum.\n\n```go\ntype ScheduleCreateResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID      `json:\"job_id,omitempty\"`\n\tResults []ScheduleMutationResult `json:\"results\"`\n}\n```\nScheduleCreateResponse defines model for ScheduleCreateResponse.\n\n```go\ntype ScheduleDeleteResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID      `json:\"job_id,omitempty\"`\n\tResults []ScheduleMutationResult `json:\"results\"`\n}\n```\nScheduleDeleteResponse defines model for ScheduleDeleteResponse.\n\n```go\ntype ScheduleEntry struct {\n\t// Error Error message if the agent failed to retrieve this entry.\n\tError *string `json:\"error,omitempty\"`\n\n\t// Hostname Hostname of the agent that reported this entry.\n\tHostname string `json:\"hostname\"`\n\n\t// Interval Periodic interval (hourly, daily, weekly, monthly). Present for /etc/cron.{interval}/ entries.\n\tInterval *ScheduleEntryInterval `json:\"interval,omitempty\"`\n\n\t// Name Scheduled entry name.\n\tName *string `json:\"name,omitempty\"`\n\n\t// Object Object store name for the deployed content.\n\tObject *string `json:\"object,omitempty\"`\n\n\t// Schedule Cron schedule expression. Present for /etc/cron.d/ entries.\n\tSchedule *string `json:\"schedule,omitempty\"`\n\n\t// Source Where the entry lives: \"cron.d\", \"hourly\", \"daily\", \"weekly\", or \"monthly\".\n\tSource *string `json:\"source,omitempty\"`\n\n\t// Status The status of the operation for this host.\n\tStatus ScheduleEntryStatus `json:\"status\"`\n\n\t// User User the scheduled entry runs as.\n\tUser *string `json:\"user,omitempty\"`\n}\n```\nScheduleEntry A scheduled entry.\n\n```go\ntype ScheduleEntryInterval string\n```\nScheduleEntryInterval Periodic interval (hourly, daily, weekly, monthly). Present for /etc/cron.{interval}/ entries.\n\n```go\nconst (\n\tScheduleEntryIntervalDaily   ScheduleEntryInterval = \"daily\"\n\tScheduleEntryIntervalHourly  ScheduleEntryInterval = \"hourly\"\n\tScheduleEntryIntervalMonthly ScheduleEntryInterval = \"monthly\"\n\tScheduleEntryIntervalWeekly  ScheduleEntryInterval = \"weekly\"\n)\n```\nDefines values for ScheduleEntryInterval.\n\n```go\nfunc (e ScheduleEntryInterval) Valid() bool\n```\nValid indicates whether the value is a known member of the ScheduleEntryInterval enum.\n\n```go\ntype ScheduleEntryStatus string\n```\nScheduleEntryStatus The status of the operation for this host.\n\n```go\nconst (\n\tScheduleEntryStatusFailed  ScheduleEntryStatus = \"failed\"\n\tScheduleEntryStatusOk      ScheduleEntryStatus = \"ok\"\n\tScheduleEntryStatusSkipped ScheduleEntryStatus = \"skipped\"\n\tScheduleEntryStatusTimeout ScheduleEntryStatus = \"timeout\"\n)\n```\nDefines values for ScheduleEntryStatus.\n\n```go\nfunc (e ScheduleEntryStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the ScheduleEntryStatus enum.\n\n```go\ntype ScheduleGetResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID `json:\"job_id,omitempty\"`\n\tResults []ScheduleEntry     `json:\"results\"`\n}\n```\nScheduleGetResponse Collection response for a single scheduled entry get operation.\n\n```go\ntype ScheduleMutationResult struct {\n\t// Changed Whether the operation modified system state.\n\tChanged *bool `json:\"changed,omitempty\"`\n\n\t// Error Error message if the agent failed.\n\tError *string `json:\"error,omitempty\"`\n\n\t// Hostname Hostname of the agent that processed this operation.\n\tHostname string `json:\"hostname\"`\n\n\t// Name Scheduled entry name.\n\tName *string `json:\"name,omitempty\"`\n\n\t// Status The status of the operation for this host.\n\tStatus ScheduleMutationResultStatus `json:\"status\"`\n}\n```\nScheduleMutationResult Result of a cron create, update, or delete operation for one host.\n\n```go\ntype ScheduleMutationResultStatus string\n```\nScheduleMutationResultStatus The status of the operation for this host.\n\n```go\nconst (\n\tScheduleMutationResultStatusFailed  ScheduleMutationResultStatus = \"failed\"\n\tScheduleMutationResultStatusOk      ScheduleMutationResultStatus = \"ok\"\n\tScheduleMutationResultStatusSkipped ScheduleMutationResultStatus = \"skipped\"\n\tScheduleMutationResultStatusTimeout ScheduleMutationResultStatus = \"timeout\"\n)\n```\nDefines values for ScheduleMutationResultStatus.\n\n```go\nfunc (e ScheduleMutationResultStatus) Valid() bool\n```\nValid indicates whether the value is a known member of the ScheduleMutationResultStatus enum.\n\n```go\ntype ScheduleName = string\n```\nScheduleName defines model for ScheduleName.\n\n```go\ntype ScheduleUpdateRequest struct {\n\t// ContentType Content type: \"raw\" or \"template\".\n\tContentType *ScheduleUpdateRequestContentType `json:\"content_type,omitempty\" validate:\"omitempty,oneof=raw template\"`\n\n\t// Object New object to deploy (redeploy with updated content).\n\tObject *string `json:\"object,omitempty\" validate:\"omitempty,min=1\"`\n\n\t// Schedule Cron schedule expression (e.g., \"*/5 * * * *\").\n\tSchedule *string `json:\"schedule,omitempty\" validate:\"omitempty,cron_schedule\"`\n\n\t// User User to run the command as.\n\tUser *string `json:\"user,omitempty\"`\n\n\t// Vars Template variables.\n\tVars *map[string]interface{} `json:\"vars,omitempty\"`\n}\n```\nScheduleUpdateRequest defines model for ScheduleUpdateRequest.\n\n```go\ntype ScheduleUpdateRequestContentType string\n```\nScheduleUpdateRequestContentType Content type: \"raw\" or \"template\".\n\n```go\nconst (\n\tScheduleUpdateRequestContentTypeRaw      ScheduleUpdateRequestContentType = \"raw\"\n\tScheduleUpdateRequestContentTypeTemplate ScheduleUpdateRequestContentType = \"template\"\n)\n```\nDefines values for ScheduleUpdateRequestContentType.\n\n```go\nfunc (e ScheduleUpdateRequestContentType) Valid() bool\n```\nValid indicates whether the value is a known member of the ScheduleUpdateRequestContentType enum.\n\n```go\ntype ScheduleUpdateResponse struct {\n\t// JobId The job ID used to process this request.\n\tJobId   *openapi_types.UUID      `json:\"job_id,omitempty\"`\n\tResults []ScheduleMutationResult `json:\"results\"`\n}\n```\nScheduleUpdateResponse defines model for ScheduleUpdateResponse.\n\n```go\ntype ServerInterface interface {\n\t// List all scheduled entries\n\t// (GET /api/node/{hostname}/schedule)\n\tGetNodeSchedule(ctx *echo.Context, hostname Hostname) error\n\t// Create a scheduled entry\n\t// (POST /api/node/{hostname}/schedule)\n\tPostNodeSchedule(ctx *echo.Context, hostname Hostname) error\n\t// Delete a scheduled entry\n\t// (DELETE /api/node/{hostname}/schedule/{name})\n\tDeleteNodeSchedule(ctx *echo.Context, hostname Hostname, name ScheduleName) error\n\t// Get a scheduled entry\n\t// (GET /api/node/{hostname}/schedule/{name})\n\tGetNodeScheduleByName(ctx *echo.Context, hostname Hostname, name ScheduleName) error\n\t// Update a scheduled entry\n\t// (PUT /api/node/{hostname}/schedule/{name})\n\tPutNodeSchedule(ctx *echo.Context, hostname Hostname, name ScheduleName) error\n}\n```\nServerInterface represents all server handlers.\n\n```go\nfunc NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface\n```\n\n```go\ntype ServerInterfaceWrapper struct {\n\tHandler ServerInterface\n}\n```\nServerInterfaceWrapper converts echo contexts to parameters.\n\n```go\nfunc (w *ServerInterfaceWrapper) DeleteNodeSchedule(ctx *echo.Context) error\n```\nDeleteNodeSchedule converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) GetNodeSchedule(ctx *echo.Context) error\n```\nGetNodeSchedule converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) GetNodeScheduleByName(ctx *echo.Context) error\n```\nGetNodeScheduleByName converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) PostNodeSchedule(ctx *echo.Context) error\n```\nPostNodeSchedule converts echo context to params.\n\n```go\nfunc (w *ServerInterfaceWrapper) PutNodeSchedule(ctx *echo.Context) error\n```\nPutNodeSchedule converts echo context to params.\n\n```go\ntype StrictHandlerFunc func(ctx *echo.Context, request any) (any, error)\n```\n\n```go\ntype StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc\n```\n\n```go\ntype StrictServerInterface interface {\n\t// List all scheduled entries\n\t// (GET /api/node/{hostname}/schedule)\n\tGetNodeSchedule(ctx context.Context, request GetNodeScheduleRequestObject) (GetNodeScheduleResponseObject, error)\n\t// Create a scheduled entry\n\t// (POST /api/node/{hostname}/schedule)\n\tPostNodeSchedule(ctx context.Context, request PostNodeScheduleRequestObject) (PostNodeScheduleResponseObject, error)\n\t// Delete a scheduled entry\n\t// (DELETE /api/node/{hostname}/schedule/{name})\n\tDeleteNodeSchedule(ctx context.Context, request DeleteNodeScheduleRequestObject) (DeleteNodeScheduleResponseObject, error)\n\t// Get a scheduled entry\n\t// (GET /api/node/{hostname}/schedule/{name})\n\tGetNodeScheduleByName(ctx context.Context, request GetNodeScheduleByNameRequestObject) (GetNodeScheduleByNameResponseObject, error)\n\t// Update a scheduled entry\n\t// (PUT /api/node/{hostname}/schedule/{name})\n\tPutNodeSchedule(ctx context.Context, request PutNodeScheduleRequestObject) (PutNodeScheduleResponseObject, error)\n}\n```\nStrictServerInterface represents all server handlers.\n\n","path":"github.com/osapi-io/osapi/internal/controller/api/node/schedule/gen","name":"gen","synopsis":"Package gen contains generated code for the schedule API.","isRedistributable":true}
