Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 129 for netutils (0.15 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper.go

    func (s *SpdyRoundTripper) dialWithSocks5Proxy(req *http.Request, proxyURL *url.URL) (net.Conn, error) {
    	// ensure we use a canonical host with proxyReq
    	targetHost := netutil.CanonicalAddr(req.URL)
    	proxyDialAddr := netutil.CanonicalAddr(proxyURL)
    
    	var auth *proxy.Auth
    	if proxyURL.User != nil {
    		pass, _ := proxyURL.User.Password()
    		auth = &proxy.Auth{
    			User:     proxyURL.User.Username(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. tools/istio-clean-iptables/pkg/config/config.go

    // limitations under the License.
    
    package config
    
    import (
    	"encoding/json"
    	"fmt"
    	"os/user"
    
    	"github.com/miekg/dns"
    
    	"istio.io/istio/pkg/env"
    	"istio.io/istio/pkg/log"
    	netutil "istio.io/istio/pkg/util/net"
    	types "istio.io/istio/tools/istio-iptables/pkg/config"
    	"istio.io/istio/tools/istio-iptables/pkg/constants"
    )
    
    func DefaultConfig() *Config {
    	return &Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 01 04:37:36 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/proxy/dial.go

    */
    
    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
    // RoundTripper. The primary use of this method is to support proxying upgradable connections.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. cni/pkg/install/cniconfig_test.go

    					}
    					t.Fatalf("did not expect to retrieve a CNI config file %s", resultFilepath)
    				}
    
    				resultConfig := testutils.ReadFile(t, resultFilepath)
    
    				goldenFilepath := filepath.Join("testdata", c.goldenConfName)
    				goldenConfig := testutils.ReadFile(t, goldenFilepath)
    				testutils.CompareBytes(t, resultConfig, goldenConfig, goldenFilepath)
    			}
    		}
    		t.Run("network-config-file "+c.name, test(cfgFile))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/ModelBlockTransformer.java

            for (Statement statement : statements) {
                ScriptBlock scriptBlock = AstUtils.detectScriptBlock(statement, SCRIPT_BLOCK_NAMES);
                if (scriptBlock == null) {
                    // Look for model(«») (i.e. call to model with anything other than non literal closure)
                    MethodCallExpression methodCall = AstUtils.extractBareMethodCall(statement);
                    if (methodCall == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. pkg/dns/server/name_table.go

    package server
    
    import (
    	"strings"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/serviceregistry/provider"
    	"istio.io/istio/pkg/config/constants"
    	dnsProto "istio.io/istio/pkg/dns/proto"
    	netutil "istio.io/istio/pkg/util/net"
    )
    
    // Config for building the name table.
    type Config struct {
    	Node *model.Proxy
    	Push *model.PushContext
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/FixMainScriptTransformer.java

        public void call(SourceUnit source) throws CompilationFailedException {
            ClassNode scriptClass = AstUtils.getScriptClass(source);
            if (scriptClass == null) {
                return;
            }
            for (MethodNode methodNode : scriptClass.getMethods()) {
                if (methodNode.getName().equals("main")) {
                    AstUtils.removeMethod(scriptClass, methodNode);
                    break;
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. ci/devinfra/docker_windows/Dockerfile

        msys ' '; \
        msys 'pacman --noconfirm -Syy bsdcpio bsdtar bzip2'; \
        msys 'pacman --noconfirm -Syy coreutils curl dash file filesystem findutils'; \
        msys 'pacman --noconfirm -Syy flex gawk gcc-libs grep gzip inetutils info'; \
        msys 'pacman --noconfirm -Syy less lndir mintty ncurses pactoys-git patch'; \
        msys 'pacman --noconfirm -Syy pax-git pkgfile rebase sed tar tftp-hpa time tzcode util-linux which'; \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 18 17:24:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RulesVisitor.java

            ClosureExpression closureExpression = AstUtils.getSingleClosureArg(call);
            if (closureExpression != null) {
                // path { ... }
                rewriteAction(call, extractModelPathFromMethodTarget(call), closureExpression, RuleVisitor.displayName(call));
                return;
            }
    
            Pair<ClassExpression, ClosureExpression> args = AstUtils.getClassAndClosureArgs(call);
            if (args != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  10. cni/pkg/install/install_test.go

    			}
    
    			// check if conf file is deleted/conflist file is updated
    			if c.chainedCNIPlugin {
    				resultConfig := testutils.ReadFile(t, cniConfigFilePath)
    
    				goldenFilepath := filepath.Join("testdata", c.expectedConfigFilename)
    				goldenConfig := testutils.ReadFile(t, goldenFilepath)
    				testutils.CompareBytes(t, resultConfig, goldenConfig, goldenFilepath)
    			} else if file.Exists(cniConfigFilePath) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top