Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BatchedEventFilter (0.15 sec)

  1. pkg/kube/krt/util.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package krt
    
    import (
    	"istio.io/istio/pkg/slices"
    )
    
    // BatchedEventFilter allows an event handler to have alternative event suppression mechanics to filter out unnecessary events.
    // For instance, I can make a transformation from `object => object.name` to only trigger events for changes to the name;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 08:27:29 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go

    		netaddr := networkAddress{
    			network: waypointAddress.GetNetwork(),
    			ip:      netip.String(),
    		}
    		return append(make([]networkAddress, 1), netaddr)
    	})
    	WorkloadServices.RegisterBatch(krt.BatchedEventFilter(
    		func(a model.ServiceInfo) *workloadapi.Service {
    			// Only trigger push if the XDS object changed; the rest is just for computation of others
    			return a.Service
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 19 17:19:41 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top