package rkt
import "github.com/google/cadvisor/container/rkt"
Handler for "rkt" containers.
Package rkt implements the watcher interface for rkt
Index ¶
- Constants
- func Client() (rktapi.PublicAPIClient, error)
- func NewPlugin() container.Plugin
- func NewRktContainerWatcher() (watcher.ContainerWatcher, error)
- func Register(machineInfoFactory info.MachineInfoFactory, fsInfo fs.FsInfo, includedMetrics container.MetricSet) error
- func RktPath() (string, error)
Constants ¶
const RktNamespace = "rkt"
Functions ¶
func Client ¶
func Client() (rktapi.PublicAPIClient, error)
func NewPlugin ¶
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 ¶
Source Files ¶
client.go factory.go handler.go helpers.go plugin.go watcher.go
Directories ¶
Path | Synopsis |
---|---|
container/rkt/install | The 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.