Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 211 for Cfg (0.74 sec)

  1. cmd/kubeadm/app/util/apiclient/wait.go

    // control plane components and their secure ports.
    func getControlPlaneComponents(cfg *kubeadmapi.ClusterConfiguration) []controlPlaneComponent {
    	portArg := "secure-port"
    	portAPIServer, idx := kubeadmapi.GetArgValue(cfg.APIServer.ExtraArgs, portArg, -1)
    	if idx == -1 {
    		portAPIServer = "6443"
    	}
    	portKCM, idx := kubeadmapi.GetArgValue(cfg.ControllerManager.ExtraArgs, portArg, -1)
    	if idx == -1 {
    		portKCM = "10257"
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go

    	cmd []string, configEditor func(*config)) (*report.Report, []string) {
    	cfg := currentConfig()
    	if err := cfg.applyURL(req.URL.Query()); err != nil {
    		http.Error(w, err.Error(), http.StatusBadRequest)
    		ui.options.UI.PrintErr(err)
    		return nil, nil
    	}
    	if configEditor != nil {
    		configEditor(&cfg)
    	}
    	catcher := &errorCatcher{UI: ui.options.UI}
    	options := *ui.options
    	options.UI = catcher
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. tests/integration/security/filebased_tls_origination/egress_gateway_origination_test.go

    		}, VirtualService).
    		ApplyOrFail(t)
    }
    
    func clusterName(target echo.Instance, port echo.Port) string {
    	cfg := target.Config()
    	return fmt.Sprintf("outbound|%d||%s.%s.svc.%s", port.ServicePort, cfg.Service, cfg.Namespace.Name(), cfg.Domain)
    }
    
    // Wait for the server to NOT be callable by the client. This allows us to simulate external traffic.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/addons/dns/dns_test.go

    	}
    }
    
    func TestCoreDNSAddon(t *testing.T) {
    	type args struct {
    		cfg           *kubeadmapi.ClusterConfiguration
    		client        clientset.Interface
    		printManifest bool
    	}
    	tests := []struct {
    		name    string
    		args    args
    		wantOut string
    		wantErr bool
    	}{
    		{
    			name: "cfg is empty",
    			args: args{
    				cfg:           &kubeadmapi.ClusterConfiguration{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/certs/certlist.go

    	cfg, err := k.GetConfig(ic)
    	if err != nil {
    		return errors.Wrapf(err, "couldn't create %q certificate", k.Name)
    	}
    	cert, key, err := pkiutil.NewCertAndKey(caCert, caKey, cfg)
    	if err != nil {
    		return err
    	}
    	err = writeCertificateFilesIfNotExist(
    		ic.CertificatesDir,
    		k.BaseName,
    		caCert,
    		cert,
    		key,
    		cfg,
    	)
    
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. pilot/pkg/model/typed_xds_cache.go

    		dependents := sets.New(dependentConfigs...).DifferenceInPlace(sets.New(newDependents...))
    		for cfg := range dependents {
    			sets.DeleteCleanupLast(l.configIndex, cfg, k)
    		}
    		return
    	}
    	for _, cfg := range dependentConfigs {
    		sets.DeleteCleanupLast(l.configIndex, cfg, k)
    	}
    }
    
    // assertUnchanged checks that a cache entry is not changed. This helps catch bad cache invalidation
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modfetch/cache.go

    func checkCacheDir(ctx context.Context) error {
    	if cfg.GOMODCACHE == "" {
    		// modload.Init exits if GOPATH[0] is empty, and cfg.GOMODCACHE
    		// is set to GOPATH[0]/pkg/mod if GOMODCACHE is empty, so this should never happen.
    		return fmt.Errorf("module cache not found: neither GOMODCACHE nor GOPATH is set")
    	}
    	if !filepath.IsAbs(cfg.GOMODCACHE) {
    		counterErrorsGOMODCACHEEntryRelative.Inc()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. cmd/common-main.go

    	for name, cfg := range pcfgs {
    		callback := getConsoleEndpoints()[0] + "/oauth_callback"
    		if cfg.RedirectURI != "" {
    			callback = cfg.RedirectURI
    		}
    		m[name] = consoleoauth2.ProviderConfig{
    			URL:                     cfg.URL.String(),
    			DisplayName:             cfg.DisplayName,
    			ClientID:                cfg.ClientID,
    			ClientSecret:            cfg.ClientSecret,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin.go

    	return &conf, nil
    }
    
    func GetLoggingOptions(cfg *Config) *log.Options {
    	loggingOptions := log.DefaultOptions()
    	loggingOptions.OutputPaths = []string{"stderr"}
    	loggingOptions.JSONEncoding = true
    	if cfg != nil {
    		// Tee all logs to UDS. Stdout will go to kubelet (hard to access, UDS will be read by the CNI DaemonSet and exposed
    		// by normal `kubectl logs`
    		if cfg.LogUDSAddress != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/app/core.go

    		if cfg.NodeCIDRMaskSize != 0 {
    			return nil, errors.New("usage of --node-cidr-mask-size is not allowed with dual-stack clusters")
    
    		}
    
    		if cfg.NodeCIDRMaskSizeIPv4 != 0 {
    			ipv4Mask = int(cfg.NodeCIDRMaskSizeIPv4)
    		}
    		if cfg.NodeCIDRMaskSizeIPv6 != 0 {
    			ipv6Mask = int(cfg.NodeCIDRMaskSizeIPv6)
    		}
    		return sortedSizes(ipv4Mask, ipv6Mask), nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 39K bytes
    - Viewed (0)
Back to top