- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 451 for Cfg (0.07 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go
cancelvars[v] = stmt } } return true }) if len(cancelvars) == 0 { return // no need to inspect CFG } // Obtain the CFG. cfgs := pass.ResultOf[ctrlflow.Analyzer].(*ctrlflow.CFGs) var g *cfg.CFG var sig *types.Signature switch node := node.(type) { case *ast.FuncDecl: sig, _ = pass.TypesInfo.Defs[node.Name].Type().(*types.Signature)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 9K bytes - Viewed (0) -
cni/pkg/install/kubeconfig.go
protocol := model.GetOrDefault(cfg.K8sServiceProtocol, "https") cluster := &api.Cluster{ Server: fmt.Sprintf("%s://%s", protocol, net.JoinHostPort(cfg.K8sServiceHost, cfg.K8sServicePort)), } if cfg.SkipTLSVerify { // User explicitly opted into insecure. cluster.InsecureSkipTLSVerify = true } else { caFile := model.GetOrDefault(cfg.KubeCAFile, cfg.K8sServiceAccountPath+"/ca.crt") caContents, err := os.ReadFile(caFile)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 4.8K bytes - Viewed (0) -
tools/istio-clean-iptables/pkg/cmd/root.go
&cfg.CaptureAllDNS) flag.BindEnv(fs, constants.InboundInterceptionMode, "m", "The mode used to redirect inbound connections to Envoy, either \"REDIRECT\" or \"TPROXY\".", &cfg.InboundInterceptionMode) flag.BindEnv(fs, constants.InboundTProxyMark, "t", "", &cfg.InboundTProxyMark) } func GetCommand(logOpts *log.Options) *cobra.Command { cfg := config.DefaultConfig() cmd := &cobra.Command{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 17:46:23 UTC 2024 - 3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/controlplaneprepare.go
// Skip if this is not a control plane if data.Cfg().ControlPlane == nil { return nil } cfg, err := data.InitCfg() if err != nil { return err } fmt.Printf("[certs] Using certificateDir folder %q\n", cfg.CertificatesDir) // if dryrunning, write certificates files to a temporary folder (and defer restore to the path originally specified by the user) certsDir := cfg.CertificatesDir
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:46:34 UTC 2024 - 9.5K bytes - Viewed (0) -
src/net/tcpconn_keepalive_posix_test.go
cfg.Interval = defaultTCPKeepAliveInterval } if cfg.Count == 0 { cfg.Count = defaultTCPKeepAliveCount } if cfg.Idle == -1 { cfg.Idle = oldCfg.Idle } if cfg.Interval == -1 { cfg.Interval = oldCfg.Interval } if cfg.Count == -1 { cfg.Count = oldCfg.Count } tcpKeepAlive, err := syscall.GetsockoptInt(fd, syscall.SOL_SOCKET, syscall.SO_KEEPALIVE) if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 16:02:18 UTC 2024 - 2.5K bytes - Viewed (0) -
pkg/test/framework/components/echo/kube/deployment.go
cfg.ServiceLabels = make(map[string]string) } cfg.ServiceLabels[constants.AmbientUseWaypointLabel] = cfg.ServiceWaypointProxy } return map[string]any{ "Service": cfg.Service, "Headless": cfg.Headless, "ServiceAccount": cfg.ServiceAccount, "ServicePorts": cfg.Ports.GetServicePorts(), "ServiceLabels": cfg.ServiceLabels, "IPFamilies": cfg.IPFamilies, "IPFamilyPolicy": cfg.IPFamilyPolicy,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 12:26:52 UTC 2024 - 24.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/manager.go
// Only use CertificateValidityPeriod as CA renewal is not supported. if rm.cfg.CertificateValidityPeriod != nil { cfg.NotAfter = startTime.Add(rm.cfg.CertificateValidityPeriod.Duration) } // reads the CA caCert, caKey, err := certsphase.LoadCertificateAuthority(rm.cfg.CertificatesDir, handler.CABaseName) if err != nil { return false, err } // create a new certificate with the same config
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 15K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_iptables_linux.go
cfg := config.DefaultConfig() cfg.CNIMode = true cfg.NetworkNamespace = netns cfg.ProxyPort = rdrct.targetPort cfg.ProxyUID = rdrct.noRedirectUID cfg.ProxyGID = rdrct.noRedirectGID cfg.InboundInterceptionMode = rdrct.redirectMode cfg.OutboundIPRangesInclude = rdrct.includeIPCidrs cfg.InboundPortsExclude = rdrct.excludeInboundPorts cfg.InboundPortsInclude = rdrct.includeInboundPorts
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 17:36:41 UTC 2024 - 2.5K bytes - Viewed (0) -
internal/config/drive/drive.go
if d == "" { cfg.MaxTimeout = 30 * time.Second } else { dur, _ := time.ParseDuration(d) if dur < time.Second { cfg.MaxTimeout = 30 * time.Second } else { cfg.MaxTimeout = getMaxTimeout(dur) } } return cfg, err } func getMaxTimeout(t time.Duration) time.Duration { if t > time.Second { return t } // get default value
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certs_test.go
} if test.externalEtcd { if cfg.Etcd.External == nil { cfg.Etcd.External = &kubeadmapi.ExternalEtcd{} } cfg.Etcd.Local = nil cfg.Etcd.External.Endpoints = []string{"192.168.1.1:2379"} } // executes create func if err := test.createFunc(cfg); err != nil { t.Errorf("error executing createFunc: %v", err) continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 23.3K bytes - Viewed (0)