Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupConfigBuildArtifacts ¶
func CleanupConfigBuildArtifacts(rootDir string, loaded *LoadedConfig) error
CleanupConfigBuildArtifacts removes every config build except the one that has already been accepted by the runtime.
func CleanupTestBuildArtifacts ¶
func CleanupTestBuildArtifacts(loaded *LoadedTest) error
CleanupTestBuildArtifacts removes the unique generated source and plugin directory after the plugin has been loaded into the current process.
Types ¶
type LoadedConfig ¶
type LoadedConfig struct {
BuildDir string
BuildID string
GeneratedGoPath string
ArtifactPath string
CompileBytes int64
CompileResult *goxcompiler.CompileResult
Plugin *plugin.Plugin
Config server.Config
}
func CompileConfigPlugin ¶
type LoadedTest ¶
type LoadedTest struct {
SourcePath string
GeneratedGoPath string
ArtifactPath string
CompileResult *goxcompiler.CompileResult
Plugin *plugin.Plugin
Tests map[string]func()
}
Click to show internal directories.
Click to hide internal directories.