Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stat ¶
type Stat struct {
Path string `json:"fpath"` // /opt/opensvc/etc/vcluster.conf
RealPath string `json:"realpath"` // /opt/opensvc/etc/vcluster.conf
Dev Dev `json:"dev"` // 66306
UID uint32 `json:"uid"` // 0
GID uint32 `json:"gid"` // 0
ModeOctStr string `json:"mode"` // "0o100600",
Mode Mode
Size int64
CTime timestamp.T `json:"ctime"` // 1640331980
MTime timestamp.T `json:"mtime"` // 1640331980
Nlink Nlink `json:"nlink"` // 1
}
Stat contains the metadata of a tracked file
type Stats ¶
type Stats []Stat
Stats is the list of the metadata of all tracked files. The serialized Stats is tracked as a special file, so tracked files metadata changes are also tracked.
type T ¶
type T struct {
// contains filtered or unexported fields
}
func (*T) SetCollectorClient ¶
func (*T) SetConfigDir ¶
func (*T) SetConfigReader ¶
Click to show internal directories.
Click to hide internal directories.