type StatefulSetListerExpansion … type StatefulSetNamespaceListerExpansion … // GetPodStatefulSets returns a list of StatefulSets that potentially match a pod. // Only the one specified in the Pod's ControllerRef will actually manage it. // Returns an error only if no matching StatefulSets are found. func (s *statefulSetLister) GetPodStatefulSets(pod *v1.Pod) ([]*apps.StatefulSet, error) { … }