type ReplicaSetListerExpansion … type ReplicaSetNamespaceListerExpansion … // GetPodReplicaSets returns a list of ReplicaSets 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 ReplicaSets are found. func (s *replicaSetLister) GetPodReplicaSets(pod *v1.Pod) ([]*apps.ReplicaSet, error) { … }