Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PullImageReturns (0.28 sec)

  1. cmd/kubeadm/app/util/runtime/runtime_test.go

    		name        string
    		prepare     func(*fakeImpl)
    		shouldError bool
    	}{
    		{
    			name: "valid",
    		},
    		{
    			name: "invalid: pull image fails",
    			prepare: func(mock *fakeImpl) {
    				mock.PullImageReturns("", errTest)
    			},
    			shouldError: true,
    		},
    	} {
    		t.Run(tc.name, func(t *testing.T) {
    			containerRuntime := NewContainerRuntime("")
    			mock := &fakeImpl{}
    			if tc.prepare != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top