mesos

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: Apache-2.0 Imports: 25 Imported by: 0

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