Help us shape the future of Go! Take the 2026 Go Developer Survey

plugintest

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig(t *testing.T, name string) *viper.Viper

GetTestConfig return a valid and complete plugin.Config for testing purposes.

func GetPersona

func GetPersona(t *testing.T, name string) persona.Persona

func IsEnabled

func IsEnabled(t *testing.T, plugin string, config *viper.Viper) bool

IsEnabled checks if the specific plugin is enabled in the provided config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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