mockplugin

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *kcfg.Config) registry.Plugin

New creates a mock plugin.

Types

type MockPlugin

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

func (*MockPlugin) Compile

func (mp *MockPlugin) Compile(context.Context) error

func (*MockPlugin) Generate

func (mp *MockPlugin) Generate(context.Context) error

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) Start

func (mp *MockPlugin) Start(context.Context) error

func (*MockPlugin) Stop

func (mp *MockPlugin) Stop() error

Jump to

Keyboard shortcuts

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