Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NetworkReady (0.13 sec)

  1. pkg/kubelet/container/runtime.go

    const (
    	// RuntimeReady means the runtime is up and ready to accept basic containers.
    	RuntimeReady RuntimeConditionType = "RuntimeReady"
    	// NetworkReady means the runtime network is up and ready to accept containers which require network.
    	NetworkReady RuntimeConditionType = "NetworkReady"
    )
    
    // RuntimeStatus contains the status of the runtime.
    type RuntimeStatus struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/runtime/runtime_test.go

    			prepare: func(mock *fakeImpl) {
    				mock.StatusReturns(&v1.StatusResponse{Status: &v1.RuntimeStatus{
    					Conditions: []*v1.RuntimeCondition{
    						{
    							Type:   v1.NetworkReady,
    							Status: false,
    						},
    					},
    				},
    				}, nil)
    			},
    			shouldError: false,
    		},
    	} {
    		t.Run(tc.name, func(t *testing.T) {
    			containerRuntime := NewContainerRuntime("")
    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