package mesos
import "github.com/google/cadvisor/container/mesos"
Handler for "mesos" containers.
Index ¶
- Constants
- Variables
- func Client() (mesosAgentClient, error)
- func ContainerNameToMesosId(name string) string
- func NewPlugin() container.Plugin
- func Register( machineInfoFactory info.MachineInfoFactory, fsInfo fs.FsInfo, includedMetrics container.MetricSet, ) error
Constants ¶
const MesosNamespace = "mesos"
The namespace under which mesos aliases are unique.
Variables ¶
Functions ¶
func Client ¶
func Client() (mesosAgentClient, error)
Client is an interface to query mesos agent http endpoints
func ContainerNameToMesosId ¶
ContainerNameToMesosId returns the Mesos ID from the full container name.
func NewPlugin ¶
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
Source Files ¶
client.go factory.go handler.go mesos_agent.go plugin.go
Directories ¶
Path | Synopsis |
---|---|
container/mesos/install | The install package registers mesos.NewPlugin() as the "mesos" container provider when imported |
- Version
- v0.35.1
- Published
- Nov 5, 2020
- Platform
- darwin/amd64
- Imports
- 25 packages
- Last checked
- 35 seconds ago –
Tools for package owners.