Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Newport (0.24 sec)

  1. cni/pkg/util/podutil.go

    // otherwise fallback to 'PodIP'.
    //
    // Note that very early in the pod's lifecycle (before all the node CNI plugin invocations finish)
    // K8S may not have received the pod IPs yet, and may not report the pod as having any.
    func GetPodIPsIfPresent(pod *corev1.Pod) []netip.Addr {
    	var podIPs []netip.Addr
    	if len(pod.Status.PodIPs) != 0 {
    		for _, pip := range pod.Status.PodIPs {
    			ip := netip.MustParseAddr(pip.IP)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. common/scripts/setup_env.sh

      # ! does a variable-variable https://stackoverflow.com/a/10757531/374797
      for var in "${VARS[@]}"; do
        echo "${var}"="${!var}"
      done
    else
      for var in "${VARS[@]}"; do
        # shellcheck disable=SC2163
        export "${var}"
      done
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
Back to top