- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NetworkInterfaces (0.35 sec)
-
pkg/proxy/util/testing/fake.go
// FakeNetwork implements the NetworkInterfacer interface for test purpose. type FakeNetwork struct { NetworkInterfaces []net.Interface // The key of map Addrs is the network interface name Address map[string][]net.Addr } // NewFakeNetwork initializes a FakeNetwork. func NewFakeNetwork() *FakeNetwork { return &FakeNetwork{ NetworkInterfaces: make([]net.Interface, 0), Address: make(map[string][]net.Addr), } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 05 08:08:19 UTC 2021 - 1.5K bytes - Viewed (0) -
cluster/gce/upgrade-aliases.sh
# IP_ALIAS_SUBNETWORK function detect-k8s-subnetwork() { local subnetwork_url subnetwork_url=$(gcloud compute instances describe \ "${KUBE_MASTER}" --project="${PROJECT}" --zone="${ZONE}" \ --format='value(networkInterfaces[0].subnetwork)') if [[ -n ${subnetwork_url} ]]; then IP_ALIAS_SUBNETWORK=${subnetwork_url##*/} fi } # Set IP_ALIAS_SUBNETWORK's allowSubnetCidrRoutesOverlap to a boolean value.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 03:36:35 UTC 2024 - 6K bytes - Viewed (0) -
cluster/gce/util.sh
local ip="${3}" local aliases aliases=$(gcloud compute instances describe "${name}" --project "${PROJECT}" --zone "${zone}" --flatten='networkInterfaces[0].aliasIpRanges[]' --format='value[separator=':'](networkInterfaces[0].aliasIpRanges.subnetworkRangeName,networkInterfaces[0].aliasIpRanges.ipCidrRange)' | sed 's/^://' | paste -s -d';' -) aliases="${aliases:+${aliases};}${ip}/32"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 21:47:17 UTC 2024 - 161.6K bytes - Viewed (0)