-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompat.go
More file actions
35 lines (30 loc) · 1.12 KB
/
Copy pathcompat.go
File metadata and controls
35 lines (30 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Package cgroups preserves the historical import path for the
// cgroups-snapshot service.
//
// New code should prefer package cgroups_snapshot.
package cgroups
import snapshot "github.com/netdata/plugin-ipc/go/pkg/netipc/service/cgroups_snapshot"
type ClientState = snapshot.ClientState
const (
StateDisconnected = snapshot.StateDisconnected
StateConnecting = snapshot.StateConnecting
StateReady = snapshot.StateReady
StateNotFound = snapshot.StateNotFound
StateAuthFailed = snapshot.StateAuthFailed
StateIncompatible = snapshot.StateIncompatible
StateBroken = snapshot.StateBroken
)
type ClientStatus = snapshot.ClientStatus
type ClientConfig = snapshot.ClientConfig
type ServerConfig = snapshot.ServerConfig
type SnapshotHandler = snapshot.SnapshotHandler
type Handler = snapshot.Handler
type Client = snapshot.Client
type Server = snapshot.Server
type Cache = snapshot.Cache
type CacheItem = snapshot.CacheItem
type CacheStatus = snapshot.CacheStatus
var NewClient = snapshot.NewClient
var NewServer = snapshot.NewServer
var NewServerWithWorkers = snapshot.NewServerWithWorkers
var NewCache = snapshot.NewCache