var scheme … func init() { … } // PrepareWatchListOptionsFromListOptions creates a new ListOptions // that can be used for a watch-list request from the given listOptions. // // This function also determines if the given listOptions can be used to form a watch-list request, // which would result in streaming semantically equivalent data from the server. func PrepareWatchListOptionsFromListOptions(listOptions metav1.ListOptions) (metav1.ListOptions, bool, error) { … }