- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for utilnet (0.11 sec)
-
pkg/api/v1/service/util.go
limitations under the License. */ package service import ( "fmt" "strings" v1 "k8s.io/api/core/v1" utilnet "k8s.io/utils/net" ) const ( defaultLoadBalancerSourceRanges = "0.0.0.0/0" ) // IsAllowAll checks whether the utilnet.IPNet allows traffic from 0.0.0.0/0 func IsAllowAll(ipnets utilnet.IPNetSet) bool { for _, s := range ipnets.StringSlice() { if s == "0.0.0.0/0" { return true } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 30 15:56:47 UTC 2023 - 3.3K bytes - Viewed (0) -
pkg/api/service/util.go
*/ package service import ( "fmt" "strings" api "k8s.io/kubernetes/pkg/apis/core" utilnet "k8s.io/utils/net" ) const ( defaultLoadBalancerSourceRanges = "0.0.0.0/0" ) // IsAllowAll checks whether the utilnet.IPNet allows traffic from 0.0.0.0/0 func IsAllowAll(ipnets utilnet.IPNetSet) bool { for _, s := range ipnets.StringSlice() { if s == "0.0.0.0/0" { return true } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 30 15:56:47 UTC 2023 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/egressselector/egress_selector.go
utilnet "k8s.io/apimachinery/pkg/util/net" "k8s.io/apiserver/pkg/apis/apiserver" egressmetrics "k8s.io/apiserver/pkg/server/egressselector/metrics" "k8s.io/component-base/metrics/legacyregistry" "k8s.io/component-base/tracing" "k8s.io/klog/v2" client "sigs.k8s.io/apiserver-network-proxy/konnectivity-client/pkg/client" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 29 15:48:39 UTC 2023 - 12.5K bytes - Viewed (0) -
pkg/kubeapiserver/options/options.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 20 08:42:09 UTC 2021 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/webhook.go
// Otherwise it returns false for an immediate fail. func DefaultShouldRetry(err error) bool { // these errors indicate a transient error that should be retried. if utilnet.IsConnectionReset(err) || utilnet.IsHTTP2ConnectionLost(err) || apierrors.IsInternalError(err) || apierrors.IsTimeout(err) || apierrors.IsTooManyRequests(err) { return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 20 19:02:55 UTC 2023 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/dial.go
See the License for the specific language governing permissions and limitations under the License. */ package proxy import ( "context" "crypto/tls" "fmt" "net" "net/http" "net/url" utilnet "k8s.io/apimachinery/pkg/util/net" "k8s.io/apimachinery/third_party/forked/golang/netutil" "k8s.io/klog/v2" ) // DialURL will dial the specified URL using the underlying dialer held by the passed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:33:38 UTC 2023 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/addresses_test.go
limitations under the License. */ package discovery import ( "net/http" "reflect" "testing" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" utilnet "k8s.io/apimachinery/pkg/util/net" netutils "k8s.io/utils/net" ) func TestGetServerAddressByClientCIDRs(t *testing.T) { publicAddressCIDRMap := []metav1.ServerAddressByClientCIDR{ { ClientCIDR: "0.0.0.0/0",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 20 08:42:09 UTC 2021 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/dial_test.go
DialContext: tc.Dial, TLSClientConfig: tlsConfigCopy, } extractedDial, err := utilnet.DialerFor(transport) if err != nil { t.Fatal(err) } if fmt.Sprintf("%p", extractedDial) != fmt.Sprintf("%p", tc.Dial) { t.Fatalf("%s: Unexpected dial", k) } extractedTLSConfig, err := utilnet.TLSClientConfig(transport) if err != nil { t.Fatal(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:33:38 UTC 2023 - 8.4K bytes - Viewed (0) -
pkg/proxy/conntrack/conntrack.go
limitations under the License. */ package conntrack import ( "fmt" "strconv" "strings" v1 "k8s.io/api/core/v1" "k8s.io/klog/v2" "k8s.io/utils/exec" utilnet "k8s.io/utils/net" ) // Interface for dealing with conntrack type Interface interface { // ClearEntriesForIP deletes conntrack entries for connections of the given // protocol, to the given IP.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 15 18:09:05 UTC 2024 - 5.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/audit/webhook/webhook.go
package webhook import ( "context" "fmt" "time" "go.opentelemetry.io/otel/attribute" "k8s.io/apimachinery/pkg/runtime/schema" utilnet "k8s.io/apimachinery/pkg/util/net" "k8s.io/apimachinery/pkg/util/wait" auditinternal "k8s.io/apiserver/pkg/apis/audit" "k8s.io/apiserver/pkg/apis/audit/install" "k8s.io/apiserver/pkg/audit"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 21:13:31 UTC 2022 - 4.5K bytes - Viewed (0)