Update go dependencies
This commit is contained in:
parent
432f534383
commit
f4a4daed84
1299 changed files with 71186 additions and 91183 deletions
12
vendor/github.com/ncabatoff/process-exporter/common.go
generated
vendored
12
vendor/github.com/ncabatoff/process-exporter/common.go
generated
vendored
|
|
@ -1,14 +1,18 @@
|
|||
package common
|
||||
|
||||
import "fmt"
|
||||
|
||||
type (
|
||||
NameAndCmdline struct {
|
||||
Name string
|
||||
Cmdline []string
|
||||
ProcAttributes struct {
|
||||
Name string
|
||||
Cmdline []string
|
||||
Username string
|
||||
}
|
||||
|
||||
MatchNamer interface {
|
||||
// MatchAndName returns false if the match failed, otherwise
|
||||
// true and the resulting name.
|
||||
MatchAndName(NameAndCmdline) (bool, string)
|
||||
MatchAndName(ProcAttributes) (bool, string)
|
||||
fmt.Stringer
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue