reservation

package
v0.0.0-...-a69e935 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateReservationLabels

func CreateReservationLabels(
	jobID string, instanceID uint32, hostname string) *mesos.Labels

CreateReservationLabels creates reservation labels for stateful task.

func ParseReservationLabels

func ParseReservationLabels(labels *mesos.Labels) (string, uint32, error)

ParseReservationLabels parses jobid and instanceid from given reservation labels.

Types

This section is empty.

Jump to

Keyboard shortcuts

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