gatherers

package
v0.0.0-...-955c50f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package gatherers contains routines for different types of inventory gatherers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mock

type Mock struct {
	mock.Mock
}

Mock represents a mocked gatherer.

func NewMockDefault

func NewMockDefault() *Mock

NewMockDefault returns an instance of Mock with default expectations set.

func (*Mock) Name

func (m *Mock) Name() string

Name mock implementation of namesake

func (*Mock) RequestStop

func (m *Mock) RequestStop() error

RequestStop mock implementation of namesake

func (*Mock) Run

func (m *Mock) Run(context context.T, configuration model.Config) ([]model.Item, error)

Run mock implementation of namesake

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL