package tail
import "github.com/google/cadvisor/utils/tail"
Package tail implements "tail -F" functionality following rotated logs
Index ¶
Types ¶
type Tail ¶
type Tail struct {
// contains filtered or unexported fields
}
func NewTail ¶
NewTail starts opens the given file and watches it for deletion/rotation
func (*Tail) Close ¶
Close stops watching and closes the file
func (*Tail) Read ¶
Read implements the io.Reader interface for Tail
Source Files ¶
- Version
- v0.27.3
- Published
- Nov 22, 2017
- Platform
- darwin/amd64
- Imports
- 9 packages
- Last checked
- 1 day ago –
Tools for package owners.