cadvisor: github.com/google/cadvisor/cmd/internal/container/mesos Index | Files | Directories

package mesos

import "github.com/google/cadvisor/cmd/internal/container/mesos"

Handler for "mesos" containers.

Index

Package Files

client.go factory.go handler.go mesos_agent.go plugin.go

Constants

const MesosNamespace = "mesos"

The namespace under which mesos aliases are unique.

Variables

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

func Client Uses

func Client() (mesosAgentClient, error)

Client is an interface to query mesos agent http endpoints

func ContainerNameToMesosId Uses

func ContainerNameToMesosId(name string) string

ContainerNameToMesosId returns the Mesos ID from the full container name.

func NewPlugin Uses

func NewPlugin() container.Plugin

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

func Register Uses

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

Directories

PathSynopsis
installThe install package registers mesos.NewPlugin() as the "mesos" container provider when imported

Package mesos imports 23 packages (graph) and is imported by 1 packages. Updated 2020-06-10. Refresh now. Tools for package owners.