- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for cfg (0.14 sec)
-
codereview.cfg
Russ Cox <******@****.***> 1613759983 -0500
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 19 18:44:53 GMT 2021 - 15 bytes - Viewed (0) -
cni/pkg/iptables/iptables_test.go
tt := struct { name string config func(cfg *Config) }{ "default", func(cfg *Config) { cfg.RedirectDNS = true }, } probeSNATipv4 := netip.MustParseAddr("169.254.7.127") cfg := constructTestConfig() tt.config(cfg) ext := &dep.DependenciesStub{} iptConfigurator, _ := NewIptablesConfigurator(cfg, ext, EmptyNlDeps())
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.7K bytes - Viewed (0) -
cmd/config-migrate.go
switch cfg.Version { case "29": // V29 -> V30 cfg.Compression.Enabled = false cfg.Compression.Extensions = strings.Split(compress.DefaultExtensions, config.ValueSeparator) cfg.Compression.MimeTypes = strings.Split(compress.DefaultMimeTypes, config.ValueSeparator) case "30": // V30 -> V31 cfg.OpenID = openid.Config{} cfg.Policy.OPA = opa.Args{ URL: &xnet.URL{},
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Oct 18 18:05:24 GMT 2023 - 5.4K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
tempDir := t.TempDir() cfg := &config.InstallConfig{ MountedCNINetDir: tempDir, KubeCAFile: kubeCAFilepath, K8sServiceHost: k8sServiceHost, K8sServicePort: k8sServicePort, } expectedKC, err := createKubeConfig(cfg) if err != nil { t.Fatalf("expected no error: %+v", err) } err = checkExistingKubeConfigFile(cfg, expectedKC) if err == nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 03:52:24 GMT 2024 - 5.1K bytes - Viewed (0) -
cni/pkg/iptables/nldeps.go
type NetlinkDependencies interface { AddInpodMarkIPRule(cfg *Config) error DelInpodMarkIPRule(cfg *Config) error AddLoopbackRoutes(cfg *Config) error DelLoopbackRoutes(cfg *Config) error } func RealNlDeps() NetlinkDependencies { return &realDeps{} } type realDeps struct{} func (r *realDeps) AddInpodMarkIPRule(cfg *Config) error { return AddInpodMarkIPRule(cfg) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.6K bytes - Viewed (0) -
cni/pkg/iptables/iptables_linux.go
) func AddInpodMarkIPRule(cfg *Config) error { err := forEachInpodMarkIPRule(cfg, netlink.RuleAdd) if errors.Is(err, unix.EEXIST) { log.Debugf("Ignoring exists error adding inpod mark ip rule: %v", err) return nil } return err } func DelInpodMarkIPRule(cfg *Config) error { return forEachInpodMarkIPRule(cfg, netlink.RuleDel) } func forEachInpodMarkIPRule(cfg *Config, f func(*netlink.Rule) error) error {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.3K 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
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 17:36:41 GMT 2024 - 2.5K bytes - Viewed (0) -
internal/config/batch/batch.go
if err != nil { return cfg, err } if eduration < 0 { return cfg, config.ErrInvalidBatchExpirationWorkersWait(nil) } if rduration > 0 { cfg.ReplicationWorkersWait = rduration } if kduration > 0 { cfg.KeyRotationWorkersWait = kduration } if eduration > 0 { cfg.ExpirationWorkersWait = eduration } return cfg, nil
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Dec 06 09:09:22 GMT 2023 - 4.7K bytes - Viewed (0) -
cmd/ilm-config.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 05 02:50:24 GMT 2024 - 1.3K bytes - Viewed (0) -
internal/config/compress/compress.go
if kvs.Empty() { return cfg, nil } return cfg, err } if !cfg.Enabled { return cfg, nil } allowEnc := env.Get(EnvCompressAllowEncryption, kvs.Get(AllowEncrypted)) if allowEnc == "" { allowEnc = env.Get(EnvCompressAllowEncryptionLegacy, "") } cfg.AllowEncrypted, err = config.ParseBool(allowEnc) if err != nil { return cfg, err }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 04 19:57:37 GMT 2023 - 5K bytes - Viewed (0)