ingress-nginx-helm/vendor/github.com/ncabatoff/process-exporter/common.go
Manuel Alejandro de Brito Fontes f4a4daed84 Update go dependencies
2018-12-05 13:27:09 -03:00

18 lines
309 B
Go

package common
import "fmt"
type (
ProcAttributes struct {
Name string
Cmdline []string
Username string
}
MatchNamer interface {
// MatchAndName returns false if the match failed, otherwise
// true and the resulting name.
MatchAndName(ProcAttributes) (bool, string)
fmt.Stringer
}
)