schedutil

package
v1.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2025 License: GPL-3.0 Imports: 21 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const AuthModeBasic = "basic"

Variables

This section is empty.

Functions

func BuildFrameworkInfo

func BuildFrameworkInfo() *mesos.FrameworkInfo

func BuildHTTPSched

func BuildHTTPSched(creds credentials) calls.Caller

func BuildWantsExecutorResources

func BuildWantsExecutorResources(executorCPU float64, executorMemory float64) (r mesos.Resources)

func Forever

func Forever(name string, jobRestartDelay time.Duration, counter xmetrics.Counter, f func() error)

func LoadCredentials

func LoadCredentials(username string, password string) (result credentials, err error)

func PrepareExecutorInfo

func PrepareExecutorInfo(
	execBinary, execImage string,
	wantsResources mesos.Resources,
	jobRestartDelay time.Duration,
) (*mesos.ExecutorInfo, error)

Types

type Labels

type Labels []mesos.Label

func (*Labels) Set

func (labels *Labels) Set(value string) error

func (Labels) String

func (labels Labels) String() string

type URL

type URL struct{ url.URL }

func (*URL) Set

func (u *URL) Set(value string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL