- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for portRange (0.16 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/net/port_range.go
"fmt" "strconv" "strings" ) // PortRange represents a range of TCP/UDP ports. To represent a single port, // set Size to 1. type PortRange struct { Base int Size int } // Contains tests whether a given port falls within the PortRange. func (pr *PortRange) Contains(p int) bool { return (p >= pr.Base) && ((p - pr.Base) < pr.Size) } // String converts the PortRange to a string representation, which can be
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 10 01:27:56 UTC 2020 - 3.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/strict/testdata/invalid_duplicate_field_kubeproxycfg.yaml
apiVersion: kubeproxy.config.k8s.io/v1alpha1 kind: KubeProxyConfiguration portRange: ""
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 16 00:21:31 UTC 2018 - 102 bytes - Viewed (0) -
pkg/registry/core/service/portallocator/allocator.go
} type PortAllocator struct { portRange net.PortRange alloc allocator.Interface // metrics is a metrics recorder that can be disabled metrics metricsRecorderInterface } // PortAllocator implements Interface and Snapshottable var _ Interface = &PortAllocator{} // New creates a PortAllocator over a net.PortRange, calling allocatorFactory to construct the backing store.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 07:15:02 UTC 2024 - 7.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/util/ports/AbstractPortAllocatorTest.groovy
static ReservedPortRange getPortRange(PortDetector portDetector, int startPort, int endPort) { ReservedPortRange portRange = new ReservedPortRange(startPort, endPort) portRange.portDetector = portDetector return portRange } static boolean isReservedInList(List<ReservedPortRange> reservationList, int startPort, int endPort) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 01 14:49:56 UTC 2016 - 1.7K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/ports/AbstractAvailablePortAllocator.groovy
reservePortRange() } } private ReservedPortRange reservePortRange() { def portRange = getNextPortRange(reservations.size()) ReservedPortRange range = portRangeFactory.getReservedPortRange(portRange.left, portRange.right) reservations.add(range) return range } protected abstract Pair<Integer, Integer> getNextPortRange(int rangeNumber)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 05 16:58:31 UTC 2022 - 3.1K bytes - Viewed (0) -
cmd/ftp-server.go
if serverDebugLog { fmt.Printf("%s < %d %s\n", sessionID, code, message) } } func startFTPServer(args []string) { var ( port int publicIP string portRange string tlsPrivateKey string tlsPublicCert string ) var err error for _, arg := range args { tokens := strings.SplitN(arg, "=", 2) if len(tokens) != 2 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Mar 09 03:07:08 UTC 2024 - 4.8K bytes - Viewed (0) -
pkg/proxy/apis/config/scheme/testdata/KubeProxyConfiguration/roundtrip/default/v1alpha1.yaml
verbosity: 0 metricsBindAddress: 127.0.0.1:10249 mode: "" nftables: masqueradeAll: false masqueradeBit: 14 minSyncPeriod: 1s syncPeriod: 30s nodePortAddresses: null oomScoreAdj: -999 portRange: "" showHiddenMetricsForVersion: "" winkernel: enableDSR: false forwardHealthCheckVip: false networkName: "" rootHnsEndpointName: ""
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 17 12:50:03 UTC 2024 - 1.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/strict/testdata/valid_kubeproxycfg.yaml
apiVersion: kubeproxy.config.k8s.io/v1alpha1 kind: KubeProxyConfiguration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 16 00:21:31 UTC 2018 - 88 bytes - Viewed (0) -
pkg/kubeapiserver/options/options.go
import ( "net" utilnet "k8s.io/apimachinery/pkg/util/net" netutils "k8s.io/utils/net" ) // DefaultServiceNodePortRange is the default port range for NodePort services. var DefaultServiceNodePortRange = utilnet.PortRange{Base: 30000, Size: 2768} // DefaultServiceIPCIDR is a CIDR notation of IP range from which to allocate service cluster IPs var DefaultServiceIPCIDR = net.IPNet{IP: netutils.ParseIPSloppy("10.0.0.0"), Mask: net.CIDRMask(24, 32)}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 20 08:42:09 UTC 2021 - 1.1K bytes - Viewed (0) -
pkg/registry/core/service/portallocator/storage/storage_test.go
d() server.Terminate(t) } return server, storage, backing, s, destroyFunc } func validNewRangeAllocation() *api.RangeAllocation { portRange := fmt.Sprintf("%d-%d", basePortRange, basePortRange+sizePortRange-1) return &api.RangeAllocation{ Range: portRange, } } func key() string { return "/ranges/servicenodeports" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 07:15:02 UTC 2024 - 8.1K bytes - Viewed (0)