transformers: add Opt variable as object data

This is so you can set Opts on instance creation of
kubernetes.Kubernetes and openshift.Openshift. This is useful
so that we can pass option information arround without having
to do it on the call stack every time.
This commit is contained in:
Dusty Mabe
2016-10-27 11:48:35 -04:00
parent c5e07f4926
commit 51dea8283a
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -43,6 +43,8 @@ import (
)
type Kubernetes struct {
// the user provided options from the command line
Opt kobject.ConvertOptions
}
// timeout is how long we'll wait for the termination of kubernetes resource to be successful