// Pod returns a pod victim by name.
Pod returns a pod victim by name.
// Pod returns a pod victim by name .
func (d *DaemonSet) Pod(fqn string) (string, error) {
	ds, err := d.GetInstance(fqn)
	if err != nil {
		return "", err
	}
	return podFromSelector(d.Factory, ds.Namespace, ds.Spec.Selector.MatchLabels)
}
func ( d * DaemonSet ) Pod ( fqn string ) ( string , error ) { ds , err := d . GetInstance ( fqn ) if err != nil { return " " , err } return podFromSelector ( d . Factory , ds . Namespace , ds . Spec . Selector . MatchLabels ) }
Pod returns a pod victim by name.
Pod returns a pod victim by name .