Documentation ¶ Index ¶ func SetupPlugin(t *testing.T, ctx context.Context) (pluginDir string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SetupPlugin ¶ func SetupPlugin(t *testing.T, ctx context.Context) (pluginDir string) SetupPlugin builds a plugin and creates a temporary directory with the plugin's config.json and rootfs, which will be removed in [t.Cleanup]. It returns the location of the temporary directory. Types ¶ This section is empty. Source Files ¶ View all Source files plugins.go Directories ¶ Show internal Expand all Path Synopsis plugins Click to show internal directories. Click to hide internal directories.