Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discoverer ¶
type Discoverer interface {
Discover(context.Context) (*types.DiscoveryManifest, error)
}
Discoverer is reesponsible for discovering informataion about the host system.
type FileFilterer ¶
FileFilterer determines the existence of files on the underlying filesystem.
type GlobFileFilterer ¶
type GlobFileFilterer struct{}
GlobFileFilterer is an implementation of the FileFilterer interface that uses glob-based filesystem searches to locate the existence of files.
func NewGlobFileFilterer ¶
func NewGlobFileFilterer() *GlobFileFilterer
NewGlobFileFilterer returns a new instance of GlobFileFilterer.
type MockDiscoverer ¶
type MockDiscoverer struct {
DiscoveryManifest *types.DiscoveryManifest
}
func NewMockDiscoverer ¶
func NewMockDiscoverer() *MockDiscoverer
func (*MockDiscoverer) Discover ¶
func (d *MockDiscoverer) Discover(context.Context) (*types.DiscoveryManifest, error)
type MockFileFilterer ¶
MockFileFilterer is a mock implementation of the FileFilterer interface that provides method spies for testing scenarios.
func NewMockFileFilterer ¶
func NewMockFileFilterer() *MockFileFilterer
NewMockFileFilterer creates a new instance of MockFileFilterer.
type PSUtilDiscoverer ¶
type PSUtilDiscoverer struct {
// contains filtered or unexported fields
}
func NewPSUtilDiscoverer ¶
func NewPSUtilDiscoverer(f ProcessFilterer) *PSUtilDiscoverer
func (*PSUtilDiscoverer) Discover ¶
func (p *PSUtilDiscoverer) Discover(ctx context.Context) (*types.DiscoveryManifest, error)
type PSUtilProcess ¶
func (PSUtilProcess) Cmdline ¶ added in v0.18.17
func (p PSUtilProcess) Cmdline() (string, error)
func (PSUtilProcess) Name ¶
func (p PSUtilProcess) Name() (string, error)
func (PSUtilProcess) PID ¶
func (p PSUtilProcess) PID() int32
type ProcessFilterer ¶
type ProcessFilterer interface {
// contains filtered or unexported methods
}
type RegexProcessFilterer ¶
type RegexProcessFilterer struct {
// contains filtered or unexported fields
}
func NewRegexProcessFilterer ¶
func NewRegexProcessFilterer(r recipes.RecipeFetcher) *RegexProcessFilterer
Click to show internal directories.
Click to hide internal directories.