mesos

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: Apache-2.0 Imports: 25 Imported by: 0 modules, 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

Overview

Handler for "mesos" containers.

Index

Constants

View Source
const MesosNamespace = "mesos"

The namespace under which mesos aliases are unique.

Variables

View Source
var MesosAgentAddress = flag.String("mesos_agent", "127.0.0.1:5051", "Mesos agent address")
View Source
var MesosAgentTimeout = flag.Duration("mesos_agent_timeout", 10*time.Second, "Mesos agent timeout")

Functions

func Client

func Client() (mesosAgentClient, error)

Client is an interface to query mesos agent http endpoints

func ContainerNameToMesosId

func ContainerNameToMesosId(name string) string

ContainerNameToMesosId returns the Mesos ID from the full container name.

func NewPlugin added in v0.34.0

func NewPlugin() container.Plugin

NewPlugin returns an implementation of container.Plugin suitable for passing to container.RegisterPlugin()

func Register

func Register(
	machineInfoFactory info.MachineInfoFactory,
	fsInfo fs.FsInfo,
	includedMetrics container.MetricSet,
) error

Types

This section is empty.

Directories

Path Synopsis
The install package registers mesos.NewPlugin() as the "mesos" container provider when imported
The install package registers mesos.NewPlugin() as the "mesos" container provider when imported

Jump to

Keyboard shortcuts

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