- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 35 for NodeAddress (0.16 sec)
-
pkg/util/node/node.go
) // NoMatchError is a typed implementation of the error interface. It indicates a failure to get a matching Node. type NoMatchError struct { addresses []v1.NodeAddress } // Error is the implementation of the conventional interface for // representing an error condition, with the nil value representing no error. func (e *NoMatchError) Error() string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 27 23:24:38 UTC 2023 - 4.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_node_status.go
} } } func (kl *Kubelet) setLastObservedNodeAddresses(addresses []v1.NodeAddress) { kl.lastObservedNodeAddressesMux.Lock() defer kl.lastObservedNodeAddressesMux.Unlock() kl.lastObservedNodeAddresses = addresses } func (kl *Kubelet) getLastObservedNodeAddresses() []v1.NodeAddress { kl.lastObservedNodeAddressesMux.RLock() defer kl.lastObservedNodeAddressesMux.RUnlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 31.1K bytes - Viewed (0) -
pkg/registry/core/node/storage/storage_test.go
}, }, } for _, tweak := range tweaks { tweak(node) } return node } func setNodeIPAddress(addr string) tweak { return func(node *api.Node) { node.Status.Addresses = []api.NodeAddress{ {Type: api.NodeInternalIP, Address: addr}, } } } func setNodeDaemonEndpoint(port int32) tweak { return func(node *api.Node) { node.Status.DaemonEndpoints = api.NodeDaemonEndpoints{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 01 12:49:38 UTC 2023 - 6.8K bytes - Viewed (0) -
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) -
pilot/pkg/xds/mesh_network_test.go
ExternalIPs: []string{"3.3.3.3"}, }, }}, }, corev1.ServiceTypeNodePort: { "cluster-1": { &corev1.Node{Status: corev1.NodeStatus{Addresses: []corev1.NodeAddress{{Type: corev1.NodeExternalIP, Address: "2.2.2.2"}}}}, &corev1.Service{ ObjectMeta: metav1.ObjectMeta{ Name: "istio-ingressgateway", Namespace: "istio-system",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 24.6K bytes - Viewed (0) -
cmd/kube-proxy/app/server_test.go
node := &v1.Node{ ObjectMeta: metav1.ObjectMeta{ Name: name, }, Status: v1.NodeStatus{ Addresses: []v1.NodeAddress{}, }, } if primaryIP != "" { node.Status.Addresses = append(node.Status.Addresses, v1.NodeAddress{Type: v1.NodeInternalIP, Address: primaryIP}, ) } return node } // Test that getNodeIPs retries on failure
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 32.3K bytes - Viewed (0) -
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) -
pkg/apis/core/v1/zz_generated.conversion.go
return err } if err := s.AddGeneratedConversionFunc((*v1.NodeAddress)(nil), (*core.NodeAddress)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1_NodeAddress_To_core_NodeAddress(a.(*v1.NodeAddress), b.(*core.NodeAddress), scope) }); err != nil { return err } if err := s.AddGeneratedConversionFunc((*core.NodeAddress)(nil), (*v1.NodeAddress)(nil), func(a, b interface{}, scope conversion.Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 472.1K bytes - Viewed (0) -
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) -
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)