- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 421 for Cfg (1.54 sec)
-
tools/istio-iptables/pkg/capture/run_linux.go
func configureTProxyRoutes(cfg *config.Config) error { if cfg.InboundPortsInclude != "" { if cfg.InboundInterceptionMode == constants.TPROXY { link, err := netlink.LinkByName("lo") if err != nil { return fmt.Errorf("failed to find 'lo' link: %v", err) } tproxyTable, err := strconv.Atoi(cfg.InboundTProxyRouteTable) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/settings.go
return fmt.Errorf("invalid config name") } cfg := currentConfig() if err := cfg.applyURL(q); err != nil { return err } return editSettings(fname, func(s *settings) error { for i, c := range s.Configs { if c.Name == name { s.Configs[i].config = cfg return nil } } s.Configs = append(s.Configs, namedConfig{Name: name, config: cfg}) return nil }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 4.2K bytes - Viewed (0) -
tests/integration/telemetry/tracing/zipkin/main_test.go
Setup(istio.Setup(tracing.GetIstioInstance(), setupConfig)). Setup(tracing.TestSetup). Run() } func setupConfig(ctx resource.Context, cfg *istio.Config) { if cfg == nil { return } cfg.Values["meshConfig.enableTracing"] = "true" cfg.Values["pilot.traceSampling"] = "100.0" cfg.Values["global.proxy.tracer"] = "zipkin"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 07 16:59:18 UTC 2024 - 1.3K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/kubelet_windows_test.go
}, }, }, }, } for _, test := range tests { t.Run(test.name, func(t *testing.T) { mutatePaths(test.cfg, drive) if !reflect.DeepEqual(test.cfg, test.expected) { t.Errorf("Missmatch between expected and got:\nExpected:\n%+v\n---\nGot:\n%+v", test.expected, test.cfg) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 10:26:46 UTC 2024 - 2.6K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
K8sServiceAccountPath: tmp, KubeconfigFilename: "dork.cfg", } expectedKC, err := createKubeConfig(cfg) if err != nil { t.Fatalf("expected no error: %+v", err) } os.WriteFile(filepath.Join(cfg.MountedCNINetDir, cfg.KubeconfigFilename), []byte(expectedKC.Full), 0o644) err = checkExistingKubeConfigFile(cfg, expectedKC) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 5.1K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/initconfiguration_test.go
clusterCfg, }, []byte(constants.YAMLDocumentSeparator)), validate: func(t *testing.T, cfg *kubeadm.InitConfiguration) { if cfg.ClusterConfiguration.CertificatesDir != certDir { t.Errorf("CertificatesDir from ClusterConfiguration holds the wrong value, Expected: %v. Actual: %v", certDir, cfg.ClusterConfiguration.CertificatesDir) } }, }, { name: "v1beta3.full",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 13 09:17:03 UTC 2023 - 5.2K bytes - Viewed (0) -
tools/istio-iptables/pkg/builder/iptables_builder_impl.go
type IptablesRuleBuilder struct { rules Rules cfg *config.Config } // NewIptablesBuilders creates a new IptablesRuleBuilder func NewIptablesRuleBuilder(cfg *config.Config) *IptablesRuleBuilder { if cfg == nil { cfg = &config.Config{} } return &IptablesRuleBuilder{ rules: Rules{ rulesv4: []*Rule{}, rulesv6: []*Rule{}, }, cfg: cfg, } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 14:29:54 UTC 2024 - 8.3K bytes - Viewed (0) -
pkg/scheduler/apis/config/latest/latest.go
versionedCfg := v1.KubeSchedulerConfiguration{} versionedCfg.DebuggingConfiguration = *v1alpha1.NewRecommendedDebuggingConfiguration() scheme.Scheme.Default(&versionedCfg) cfg := config.KubeSchedulerConfiguration{} if err := scheme.Scheme.Convert(&versionedCfg, &cfg, nil); err != nil { return nil, err } // We don't set this field in pkg/scheduler/apis/config/{version}/conversion.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 29 00:47:48 UTC 2022 - 1.6K bytes - Viewed (0) -
pkg/test/util/yml/parts.go
cfgs := SplitString(content) result := map[string]string{} for _, cfg := range cfgs { var typeMeta metav1.TypeMeta if e := yaml.Unmarshal([]byte(cfg), &typeMeta); e != nil { // Ignore invalid parts. This most commonly happens when it's empty or contains only comments. continue } result[typeMeta.Kind] = JoinString(result[typeMeta.Kind], cfg) } return result }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 2.6K bytes - Viewed (0) -
cmd/kube-controller-manager/app/options/nodelifecyclecontroller.go
func (o *NodeLifecycleControllerOptions) ApplyTo(cfg *nodelifecycleconfig.NodeLifecycleControllerConfiguration) error { if o == nil { return nil } cfg.NodeStartupGracePeriod = o.NodeStartupGracePeriod cfg.NodeMonitorGracePeriod = o.NodeMonitorGracePeriod cfg.NodeEvictionRate = o.NodeEvictionRate cfg.SecondaryNodeEvictionRate = o.SecondaryNodeEvictionRate cfg.LargeClusterSizeThreshold = o.LargeClusterSizeThreshold
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 09:25:51 UTC 2023 - 3.8K bytes - Viewed (0)