func filterString(s []string, ignored []string) []string {
	if ignored == nil {
		return s
	}
	var filteredStrList []string
	for _, str := range s {
		found := false
		for _, ignoredName := range ignored {
			if str == ignoredName {
				found = true
				break
			}
		}
		if !found {
			filteredStrList = append(filteredStrList, str)
		}
	}
	return filteredStrList
}
filterString returns all strings from 's', except those with names matching
'ignored'.
package completion
import (
	"fmt"
	"strings"
	"github.com/spf13/cobra"
	"k8s.io/kubectl/pkg/cmd/get"
	cmdutil "k8s.io/kubectl/pkg/cmd/util"
)