loader

package
v0.56.7 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Overview

Package loader is responsible for scanning for Plugin Definitions at runtime, and matching/loading them from a user's configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAllPlugins

func LoadAllPlugins(namespace, sonobuoyImage, imagePullPolicy, imagePullSecrets string, customAnnotations map[string]string, searchPath []string, selections []plugin.Selection) (ret []plugin.Interface, err error)

LoadAllPlugins loads all plugins by finding plugin definitions in the given directory, taking a user's plugin selections, and a sonobuoy phone home address (host:port) and returning all of the active, configured plugins for this sonobuoy run.

func LoadDefinition added in v0.53.1

func LoadDefinition(bytes []byte) (manifest.Manifest, error)

func LoadDefinitionFromFile added in v0.53.1

func LoadDefinitionFromFile(file string) (*manifest.Manifest, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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