Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 421 for Cfg (0.17 sec)

  1. tests/integration/pilot/grpc_probe_test.go

    ) {
    	ctx.Helper()
    
    	var grpcProbe echo.Instance
    	cfg := echo.Config{
    		Namespace:         ns,
    		Service:           name,
    		ReadinessGRPCPort: "1234",
    		Subsets: []echo.SubsetConfig{
    			{
    				Annotations: map[string]string{annotation.SidecarRewriteAppHTTPProbers.Name: strconv.FormatBool(rewrite)},
    			},
    		},
    	}
    
    	if openPort {
    		cfg.Ports = []echo.Port{{
    			Name:         "readiness-grpc-port",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. pilot/pkg/security/authn/policy_applier.go

    					meshCfg = cfg
    				}
    			} else {
    				if namespaceCfg == nil || cfg.CreationTimestamp.Before(namespaceCfg.CreationTimestamp) {
    					authnLog.Debugf("Switch selected namespace policy to %s.%s (%v)", cfg.Name, cfg.Namespace, cfg.CreationTimestamp)
    					namespaceCfg = cfg
    				}
    			}
    		} else if cfg.Namespace != rootNamespace {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/stacks.go

    func (ui *webInterface) stackView(w http.ResponseWriter, req *http.Request) {
    	// Get all data in a report.
    	rpt, errList := ui.makeReport(w, req, []string{"svg"}, func(cfg *config) {
    		cfg.CallTree = true
    		cfg.Trim = false
    		cfg.Granularity = "filefunctions"
    	})
    	if rpt == nil {
    		return // error already reported
    	}
    
    	// Make stack data and generate corresponding JSON.
    	stacks := rpt.Stacks()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/controlplane/manifests_test.go

    			defer os.RemoveAll(tmpdir)
    			test.cfg.CertificatesDir = tmpdir
    
    			if err := certs.CreatePKIAssets(test.cfg); err != nil {
    				t.Errorf("failed creating pki assets: %v", err)
    			}
    
    			// delete ca.key and front-proxy-ca.key if test.caKeyPresent is false
    			if !test.caKeyPresent {
    				if err := os.Remove(filepath.Join(test.cfg.CertificatesDir, kubeadmconstants.CAKeyName)); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceentry/conversion.go

    	// in SE. Used for multi-network support.
    	return cfg
    }
    
    // convertServices transforms a ServiceEntry config to a list of internal Service objects.
    func convertServices(cfg config.Config) []*model.Service {
    	serviceEntry := cfg.Spec.(*networking.ServiceEntry)
    	creationTime := cfg.CreationTimestamp
    
    	var resolution model.Resolution
    	switch serviceEntry.Resolution {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. pkg/istio-agent/agent.go

    			return
    		}
    	}
    }
    
    func (a *Agent) initLocalDNSServer() (err error) {
    	// we don't need dns server on gateways
    	if a.cfg.DNSCapture && a.cfg.ProxyType == model.SidecarProxy {
    		if a.localDNSServer, err = dnsClient.NewLocalDNSServer(a.cfg.ProxyNamespace, a.cfg.ProxyDomain, a.cfg.DNSAddr,
    			a.cfg.DNSForwardParallel); err != nil {
    			return err
    		}
    		a.localDNSServer.StartDNS()
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  7. pilot/pkg/model/extensions.go

    			case extensions.EnvValueSource_INLINE:
    				cfg.VmConfig.EnvironmentVariables.KeyValues[e.Name] = e.Value
    			case extensions.EnvValueSource_HOST:
    				hostEnvKeys = append(hostEnvKeys, e.Name)
    			}
    		}
    		cfg.VmConfig.EnvironmentVariables.HostEnvKeys = hostEnvKeys
    	}
    
    	return cfg
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. pkg/test/framework/components/namespace/kube.go

    func createNamespaceLabels(ctx resource.Context, cfg Config) map[string]string {
    	l := make(map[string]string)
    	l["istio-testing"] = "istio-test"
    	if cfg.Inject {
    		// do not add namespace labels when running compatibility tests since
    		// this disables the necessary object selectors
    		if !ctx.Settings().Compatibility {
    			if cfg.Revision != "" {
    				l[label.IoIstioRev.Name] = cfg.Revision
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/clean/clean.go

    					base.Error(err)
    				}
    			}
    		}
    	}
    
    	if cleanModcache {
    		if cfg.GOMODCACHE == "" {
    			base.Fatalf("go: cannot clean -modcache without a module cache")
    		}
    		if cfg.BuildN || cfg.BuildX {
    			sh.ShowCmd("", "rm -rf %s", cfg.GOMODCACHE)
    		}
    		if !cfg.BuildN {
    			if err := modfetch.RemoveAll(cfg.GOMODCACHE); err != nil {
    				base.Error(err)
    			}
    		}
    	}
    
    	if cleanFuzzcache {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. tests/integration/pilot/multiplecontrolplanes/main_test.go

    		})).
    		Setup(istio.Setup(nil, func(ctx resource.Context, cfg *istio.Config) {
    			s := ctx.Settings()
    			// TODO test framework has to be enhanced to use istioNamespace in istioctl commands used for VM config
    			s.SkipWorkloadClasses = append(s.SkipWorkloadClasses, echo.VM)
    
    			cfg.Values["global.istioNamespace"] = userGroup2NS.Name()
    			cfg.SystemNamespace = userGroup2NS.Name()
    			cfg.ControlPlaneValues = fmt.Sprintf(`
    namespace: %s
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top