func printClusterPolicyList(list *authorizationapi.ClusterPolicyList, w io.Writer, withNamespace bool) error { return printPolicyList(authorizationapi.ToPolicyList(list), w, withNamespace) }
func (s *simulatedStorage) ListPolicies(ctx kapi.Context, label labels.Selector, field fields.Selector) (*authorizationapi.PolicyList, error) { ret, err := s.clusterRegistry.ListClusterPolicies(ctx, label, field) return authorizationapi.ToPolicyList(ret), err }