Documentation ¶
Overview ¶
Copyright (c) Microsoft Corporation. Licensed under the MIT license.
Index ¶
- func New(cfg *kcfg.Config) registry.Plugin
- type MockPlugin
- func (mp *MockPlugin) Compile(context.Context) error
- func (mp *MockPlugin) Generate(context.Context) error
- func (mp *MockPlugin) Init() error
- func (mp *MockPlugin) Name() string
- func (mp *MockPlugin) SetupChannel(chan *hubblev1.Event) error
- func (mp *MockPlugin) Start(context.Context) error
- func (mp *MockPlugin) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockPlugin ¶
type MockPlugin struct {
// contains filtered or unexported fields
}
func (*MockPlugin) Init ¶
func (mp *MockPlugin) Init() error
func (*MockPlugin) Name ¶
func (mp *MockPlugin) Name() string
func (*MockPlugin) SetupChannel ¶
func (mp *MockPlugin) SetupChannel(chan *hubblev1.Event) error
func (*MockPlugin) Stop ¶
func (mp *MockPlugin) Stop() error
Click to show internal directories.
Click to hide internal directories.