Documentation
¶
Index ¶
- func NewAssetInventory(b *beat.Beat, agentConfig *agentconfig.C) (beat.Beater, error)
- func NewClient(pipeline beat.Pipeline, processorsList processors.PluginConfig) (beat.Client, error)
- func NewPosture(b *beat.Beat, agentConfig *agentconfig.C) (beat.Beater, error)
- func NewVulnerability(b *beat.Beat, cfg *agentconfig.C) (beat.Beater, error)
- type MockRepeaterFunc
- type MockRepeaterFunc_Execute_Call
- type MockRepeaterFunc_Expecter
- type Publisher
- type Repeater
- type RepeaterFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAssetInventory ¶
func NewClient ¶
func NewClient(pipeline beat.Pipeline, processorsList processors.PluginConfig) (beat.Client, error)
func NewPosture ¶
NewPosture creates an instance of posture.
func NewVulnerability ¶
NewVulnerability creates an instance of vulnerability.
Types ¶
type MockRepeaterFunc ¶
MockRepeaterFunc is an autogenerated mock type for the RepeaterFunc type
func NewMockRepeaterFunc ¶
func NewMockRepeaterFunc(t interface { mock.TestingT Cleanup(func()) }) *MockRepeaterFunc
NewMockRepeaterFunc creates a new instance of MockRepeaterFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockRepeaterFunc) EXPECT ¶
func (_m *MockRepeaterFunc) EXPECT() *MockRepeaterFunc_Expecter
func (*MockRepeaterFunc) Execute ¶
func (_m *MockRepeaterFunc) Execute() error
Execute provides a mock function with given fields:
type MockRepeaterFunc_Execute_Call ¶
MockRepeaterFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockRepeaterFunc_Execute_Call) Return ¶
func (_c *MockRepeaterFunc_Execute_Call) Return(_a0 error) *MockRepeaterFunc_Execute_Call
func (*MockRepeaterFunc_Execute_Call) Run ¶
func (_c *MockRepeaterFunc_Execute_Call) Run(run func()) *MockRepeaterFunc_Execute_Call
func (*MockRepeaterFunc_Execute_Call) RunAndReturn ¶
func (_c *MockRepeaterFunc_Execute_Call) RunAndReturn(run func() error) *MockRepeaterFunc_Execute_Call
type MockRepeaterFunc_Expecter ¶
type MockRepeaterFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*MockRepeaterFunc_Expecter) Execute ¶
func (_e *MockRepeaterFunc_Expecter) Execute() *MockRepeaterFunc_Execute_Call
Execute is a helper method to define mock.On call
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func NewPublisher ¶
type RepeaterFunc ¶
type RepeaterFunc func() error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.