Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newTestGenericPLEGWithRuntimeMock (0.43 sec)

  1. pkg/kubelet/pleg/generic_test.go

    		{ID: "1234", Type: ContainerDied, Data: "c2"},
    		{ID: "1234", Type: ContainerRemoved, Data: "c2"},
    	}
    	actual := getEventsFromChannel(ch)
    	verifyEvents(t, expected, actual)
    }
    
    func newTestGenericPLEGWithRuntimeMock(runtimeMock kubecontainer.Runtime) *GenericPLEG {
    	pleg := &GenericPLEG{
    		relistDuration: &RelistDuration{RelistPeriod: time.Hour, RelistThreshold: 2 * time.Hour},
    		runtime:        runtimeMock,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top