mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Add PrintPluginEnv plugin.
This commit is contained in:
@@ -53,6 +53,11 @@ func (x *PluginTestEnv) Reset() {
|
||||
x.removeWorkDir()
|
||||
}
|
||||
|
||||
// WorkDir allows inspection of the temp working directory.
|
||||
func (x *PluginTestEnv) WorkDir() string {
|
||||
return x.workDir
|
||||
}
|
||||
|
||||
// BuildGoPlugin compiles a Go plugin, leaving the newly
|
||||
// created object code in the right place - a temporary
|
||||
// working directory pointed to by KustomizePluginHomeEnv.
|
||||
|
||||
Reference in New Issue
Block a user