kubectl plugins have access config, global flags and environment

This commit is contained in:
Fabiano Franz
2017-05-05 19:22:10 -03:00
parent da85262f70
commit 18cb56bf78
11 changed files with 427 additions and 25 deletions

View File

@@ -61,8 +61,9 @@ func TestExecRunner(t *testing.T) {
}
ctx := RunningContext{
Out: outBuf,
WorkingDir: ".",
Out: outBuf,
WorkingDir: ".",
EnvProvider: &EmptyEnvProvider{},
}
runner := &ExecPluginRunner{}