Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for syncIPAddress (0.11 sec)

  1. pkg/registry/core/service/ipallocator/controller/repairip.go

    	runtime.HandleError(err)
    }
    
    // syncIPAddress verify that the IPAddress that are owned by the ipallocator controller reference an existing Service
    // to avoid leaking IPAddresses. IPAddresses that are owned by other controllers are not processed to avoid hotloops.
    // IPAddress that reference Services and are part of the ClusterIP are validated in the syncService loop.
    func (r *RepairIPAddress) syncIPAddress(key string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  2. pkg/registry/core/service/ipallocator/controller/repairip_test.go

    			r.ipAddressSynced = func() bool { return true }
    			recorder := events.NewFakeRecorder(100)
    			r.recorder = recorder
    			if err := r.syncIPAddress(tt.ip.Name); (err != nil) != tt.wantErr {
    				t.Errorf("RepairIPAddress.syncIPAddress() error = %v, wantErr %v", err, tt.wantErr)
    			}
    			expectAction(t, c.Actions(), tt.actions)
    
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 20.3K bytes
    - Viewed (0)
Back to top