Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for end (0.11 sec)

  1. common/scripts/kind_provisioner.sh

    net_len = pow(2, net_bits - net.prefixlen)
    start, end = int(net_len / 4 * 3), net_len
    if net_len > 2000:
      start, end = 1000, 2000
    
    [print(str(ip) + "/" + str(ip.max_prefixlen)) for ip in islice(ip_network('$CIDR').hosts(), start, end)]
    EOF
    }
    
    function ips_to_cidrs() {
      IP_RANGE_START="$1"
      IP_RANGE_END="$2"
      python3 - <<EOF
    from ipaddress import summarize_address_range, IPv4Address
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  2. common/scripts/tracing.sh

      TRACEPARENT="00-${tid}-${sid}-01" "${@:2}"
      local result="$?"
      { set +x; } 2>/dev/null
    
      local end
      end="$(date -u +%s.%N)"
    
      # Now report this span. We override the IDs to the ones we set before.
      otel-cli span \
        --service "${BASH_SOURCE[-1]}" \
        --name "$1" \
        --start "$start" \
        --end "$end" \
        --force-trace-id "$tid" \
        --force-span-id "$sid" \
        --attrs "$(_genattrs)"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jul 28 15:25:47 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top