{"modulePath":"github.com/AliceO2Group/Control","version":"v1.51.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package schedutil\n\nPackage schedutil provides scheduler utility functions for Apache Mesos integration, including resource management and task scheduling helpers.\n\n## Constants\n\n```go\nconst AuthModeBasic = \"basic\"\n```\n\n## Functions\n\n```go\nfunc BuildFrameworkInfo() *mesos.FrameworkInfo\n```\n\n```go\nfunc BuildHTTPSched(creds credentials) calls.Caller\n```\n\n```go\nfunc BuildWantsExecutorResources(executorCPU float64, executorMemory float64) (r mesos.Resources)\n```\n\n```go\nfunc Forever(name string, jobRestartDelay time.Duration, counter xmetrics.Counter, f func() error)\n```\n\n```go\nfunc LoadCredentials(username string, password string) (result credentials, err error)\n```\n\n```go\nfunc PrepareExecutorInfo(\n\texecBinary, execImage string,\n\twantsResources mesos.Resources,\n\tjobRestartDelay time.Duration,\n) (*mesos.ExecutorInfo, error)\n```\n\n## Types\n\n```go\ntype Labels []mesos.Label\n```\n\n```go\nfunc (labels *Labels) Set(value string) error\n```\n\n```go\nfunc (labels Labels) String() string\n```\n\n```go\ntype URL struct{ url.URL }\n```\n\n```go\nfunc (u *URL) Set(value string) error\n```\n\n","path":"github.com/AliceO2Group/Control/core/task/schedutil","name":"schedutil","synopsis":"Package schedutil provides scheduler utility functions for Apache Mesos integration, including resource management and task scheduling helpers.","isRedistributable":true}
