hooks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MeshChecksResultHook

type MeshChecksResultHook struct {
	Plugins []plugin.Symbol
	Plug    *uplugin.PluginLoader
}

MeshChecksResultHook hold the plugin symbol for Lxd bench audit result Hook

type PluginWorker

type PluginWorker struct {
	// contains filtered or unexported fields
}

PluginWorker instance which match command data to specific pattern

func NewPluginWorker

func NewPluginWorker(commandMatchData *PluginWorkerData, log *zap.Logger) *PluginWorker

NewPluginWorker return new plugin worker instance

func (*PluginWorker) Invoke

func (pm *PluginWorker) Invoke()

Invoke invoke plugin accept audit bench results

type PluginWorkerData

type PluginWorkerData struct {
	// contains filtered or unexported fields
}

PluginWorkerData encapsulate plugin worker properties

func NewPluginWorkerData

func NewPluginWorkerData(plChan chan models.MeshCheckResults, hook MeshChecksResultHook, completedChan chan bool) *PluginWorkerData

NewPluginWorkerData return new plugin worker instance

Jump to

Keyboard shortcuts

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