package rkt

import "github.com/google/cadvisor/container/rkt"

Handler for "rkt" containers.

Package rkt implements the watcher interface for rkt

Index

Constants

const RktNamespace = "rkt"

Functions

func Client

func Client() (rktapi.PublicAPIClient, error)

func NewPlugin

func NewPlugin() container.Plugin

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

func NewRktContainerWatcher

func NewRktContainerWatcher() (watcher.ContainerWatcher, error)

func Register

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

func RktPath

func RktPath() (string, error)

Source Files

client.go factory.go handler.go helpers.go plugin.go watcher.go

Directories

PathSynopsis
container/rkt/installThe install package registers rkt.NewPlugin() as the "rkt" container provider when imported
Version
v0.34.0
Published
Aug 26, 2019
Platform
js/wasm
Imports
22 packages
Last checked
23 minutes ago

Tools for package owners.