Documentation ¶
Index ¶
- func FindDNSServers(client *ssh.Client) ([]string, error)
- func Fuzzy(client *sftp.Client, wd string, l *zap.SugaredLogger) ([]string, error)
- func FuzzyLocal(wd string, l *zap.SugaredLogger) ([]string, error)
- func FuzzyRemote(client *sftp.Client, wd string, l *zap.SugaredLogger) ([]string, error)
- func Glob(wd, pattern string, readDir readDirNamesFunc, lstat lStatFunc) (matches []string, err error)
- func HasMeta(path string) bool
- func LocalGlob(wd, pattern string) ([]string, error)
- func SFTPGlob(wd string, client *sftp.Client, pattern string) ([]string, error)
- func Walk(client *sftp.Client, wd string, cb ListCallback, l *zap.SugaredLogger) error
- func WalkLocal(wd string, cb ListCallback, l *zap.SugaredLogger) error
- func WalkRemote(client *sftp.Client, wd string, cb ListCallback, l *zap.SugaredLogger) error
- type CPUInfo
- type CachedResult
- type ErrResolve
- type FSInfo
- type LinuxStater
- type ListCallback
- type LoadInfo
- type MemInfo
- type Merror
- type NetInfo
- type OpenBSDStater
- type Resolver
- type Stater
- type Stats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FuzzyLocal ¶
func FuzzyLocal(wd string, l *zap.SugaredLogger) ([]string, error)
func FuzzyRemote ¶
func Walk ¶
func Walk(client *sftp.Client, wd string, cb ListCallback, l *zap.SugaredLogger) error
func WalkLocal ¶
func WalkLocal(wd string, cb ListCallback, l *zap.SugaredLogger) error
func WalkRemote ¶
func WalkRemote(client *sftp.Client, wd string, cb ListCallback, l *zap.SugaredLogger) error
Types ¶
type CachedResult ¶
func (CachedResult) Time ¶
func (res CachedResult) Time() time.Time
type ErrResolve ¶
type ErrResolve struct { Err error // contains filtered or unexported fields }
func (ErrResolve) Error ¶
func (e ErrResolve) Error() string
func (ErrResolve) Time ¶
func (e ErrResolve) Time() time.Time
type LinuxStater ¶
type LinuxStater struct {
// contains filtered or unexported fields
}
type ListCallback ¶
type Merror ¶
type Merror struct { Uptime error Hostname error Load error Mem error FS error Net error CPU error }
func (*Merror) IsCanceled ¶
type OpenBSDStater ¶
type OpenBSDStater struct {
// contains filtered or unexported fields
}
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func NewResolver ¶
Click to show internal directories.
Click to hide internal directories.