Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetContainerReadiness (0.39 sec)

  1. pkg/kubelet/status/testing/mock_pod_status_provider.go

    }
    
    // SetContainerReadiness mocks base method.
    func (m *MockManager) SetContainerReadiness(podUID types.UID, containerID container.ContainerID, ready bool) {
    	m.ctrl.T.Helper()
    	m.ctrl.Call(m, "SetContainerReadiness", podUID, containerID, ready)
    }
    
    // SetContainerReadiness indicates an expected call of SetContainerReadiness.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. pkg/kubelet/status/status_manager.go

    	// SetPodStatus caches updates the cached status for the given pod, and triggers a status update.
    	SetPodStatus(pod *v1.Pod, status v1.PodStatus)
    
    	// SetContainerReadiness updates the cached container status with the given readiness, and
    	// triggers a status update.
    	SetContainerReadiness(podUID types.UID, containerID kubecontainer.ContainerID, ready bool)
    
    	// SetContainerStartup updates the cached container status with the given startup, and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  3. pkg/kubelet/prober/prober_manager_test.go

    	update := <-m.readinessManager.Updates()
    	// This code corresponds to an extract from kubelet.syncLoopIteration()
    	ready := update.Result == results.Success
    	m.statusManager.SetContainerReadiness(update.PodUID, update.ContainerID, ready)
    }
    
    func TestUpdateReadiness(t *testing.T) {
    	testPod := getTestPod()
    	setTestProbe(testPod, readiness, v1.Probe{})
    	m := newTestManager()
    	defer cleanup(t, m)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top