Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NodeAddress (0.44 sec)

  1. pkg/kubelet/kubelet_node_status_test.go

    		Name   string
    		Before []v1.NodeAddress
    		After  []v1.NodeAddress
    	}{
    		{
    			Name:   "nil to populated",
    			Before: nil,
    			After: []v1.NodeAddress{
    				{Type: v1.NodeInternalIP, Address: "127.0.0.1"},
    				{Type: v1.NodeHostName, Address: testKubeletHostname},
    			},
    		},
    		{
    			Name:   "empty to populated",
    			Before: []v1.NodeAddress{},
    			After: []v1.NodeAddress{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods_test.go

    }
    
    func TestGenerateAPIPodStatusHostNetworkPodIPs(t *testing.T) {
    	testcases := []struct {
    		name          string
    		nodeAddresses []v1.NodeAddress
    		criPodIPs     []string
    		podIPs        []v1.PodIP
    	}{
    		{
    			name: "Simple",
    			nodeAddresses: []v1.NodeAddress{
    				{Type: v1.NodeInternalIP, Address: "10.0.0.1"},
    			},
    			podIPs: []v1.PodIP{
    				{IP: "10.0.0.1"},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers_test.go

    	}{
    		{
    			node: api.Node{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo1"},
    				Status: api.NodeStatus{
    					NodeInfo:  api.NodeSystemInfo{OSImage: "fake-os-image"},
    					Addresses: []api.NodeAddress{{Type: api.NodeExternalIP, Address: "1.1.1.1"}},
    				},
    			},
    			// Columns: Name, Status, Roles, Age, KubeletVersion, NodeInternalIP, NodeExternalIP, OSImage, KernelVersion, ContainerRuntimeVersion
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  4. pkg/apis/core/zz_generated.deepcopy.go

    func (in *NodeAddress) DeepCopyInto(out *NodeAddress) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddress.
    func (in *NodeAddress) DeepCopy() *NodeAddress {
    	if in == nil {
    		return nil
    	}
    	out := new(NodeAddress)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    func (in *NodeAddress) DeepCopyInto(out *NodeAddress) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddress.
    func (in *NodeAddress) DeepCopy() *NodeAddress {
    	if in == nil {
    		return nil
    	}
    	out := new(NodeAddress)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_test.go

    					Conditions: []v1.NodeCondition{
    						{
    							Type:    v1.NodeReady,
    							Status:  v1.ConditionTrue,
    							Reason:  "Ready",
    							Message: "Node ready",
    						},
    					},
    					Addresses: []v1.NodeAddress{
    						{
    							Type:    v1.NodeInternalIP,
    							Address: testKubeletHostIP,
    						},
    						{
    							Type:    v1.NodeInternalIP,
    							Address: testKubeletHostIPv6,
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet.go

    	// pods.
    	mirrorPodClient kubepod.MirrorClient
    
    	rootDirectory    string
    	podLogsDirectory string
    
    	lastObservedNodeAddressesMux sync.RWMutex
    	lastObservedNodeAddresses    []v1.NodeAddress
    
    	// onRepeatedHeartbeatFailure is called when a heartbeat operation fails more than once. optional.
    	onRepeatedHeartbeatFailure func()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top