func NewDeploymentManifestFromFile(f *os.File) *DeploymentManifest {
	var b []byte
	fi, _ := f.Stat()

	if fi.Size() > 0 {
		b, _ = ioutil.ReadAll(f)
	}
	return NewDeploymentManifest(b)
}
func NewDeploymentManifestFromFile(f *os.File) *DeploymentManifest {
	var b []byte
	fi, _ := f.Stat()

	if fi.Size() > 0 {
		b, _ = ioutil.ReadAll(f)
	}
	return NewDeploymentManifest(b)
}
//NewDeploymentManifestFromFile - will read any implementor of os.File and
//initialize a deployment manifest from its bytes.
//this can be used to read a file or os.Stdin