master
go 35 lines 1.13 KB
Raw
1 // Package cgroups preserves the historical import path for the
2 // cgroups-snapshot service.
3 //
4 // New code should prefer package cgroups_snapshot.
5 package cgroups
6
7 import snapshot "github.com/netdata/netdata/go/plugins/pkg/netipc/service/cgroups_snapshot"
8
9 type ClientState = snapshot.ClientState
10
11 const (
12 StateDisconnected = snapshot.StateDisconnected
13 StateConnecting = snapshot.StateConnecting
14 StateReady = snapshot.StateReady
15 StateNotFound = snapshot.StateNotFound
16 StateAuthFailed = snapshot.StateAuthFailed
17 StateIncompatible = snapshot.StateIncompatible
18 StateBroken = snapshot.StateBroken
19 )
20
21 type ClientStatus = snapshot.ClientStatus
22 type ClientConfig = snapshot.ClientConfig
23 type ServerConfig = snapshot.ServerConfig
24 type SnapshotHandler = snapshot.SnapshotHandler
25 type Handler = snapshot.Handler
26 type Client = snapshot.Client
27 type Server = snapshot.Server
28 type Cache = snapshot.Cache
29 type CacheItem = snapshot.CacheItem
30 type CacheStatus = snapshot.CacheStatus
31
32 var NewClient = snapshot.NewClient
33 var NewServer = snapshot.NewServer
34 var NewServerWithWorkers = snapshot.NewServerWithWorkers
35 var NewCache = snapshot.NewCache