loader

package
v0.57.6 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2026 License: Apache-2.0 Imports: 11 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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