Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewServiceChangeTracker (0.19 sec)

  1. pkg/proxy/servicechangetracker.go

    // current is state after applying all of the changes.
    type serviceChange struct {
    	previous ServicePortMap
    	current  ServicePortMap
    }
    
    // NewServiceChangeTracker initializes a ServiceChangeTracker
    func NewServiceChangeTracker(makeServiceInfo makeServicePortFunc, ipFamily v1.IPFamily, recorder events.EventRecorder, processServiceMapChange processServiceMapChangeFunc) *ServiceChangeTracker {
    	return &ServiceChangeTracker{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. pkg/proxy/conntrack/cleanup_test.go

    	// provide our own implementation of that interface, or else use a
    	// proxy.ServiceChangeTracker to construct them and fill in the map for us.
    
    	sct := proxy.NewServiceChangeTracker(nil, v1.IPv4Protocol, nil, nil)
    	svc := &v1.Service{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "cleanup-test",
    			Namespace: "test",
    		},
    		Spec: v1.ServiceSpec{
    			ClusterIP:   testClusterIP,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top